Skip to content

Commit

Permalink
Merging v1.0.51 release
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-kotlin-ci committed Feb 6, 2024
2 parents 39dbaa2 + 47c4f08 commit 22c4de1
Show file tree
Hide file tree
Showing 8 changed files with 998 additions and 30 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## [1.0.51] - 02/06/2024

### Features
* (**appsync**) Support for environment variables in AppSync GraphQL APIs
* (**cloudwatchlogs**) This release adds a new field, logGroupArn, to the response of the logs:DescribeLogGroups action.
* (**elasticsearchservice**) This release adds clear visibility to the customers on the changes that they make on the domain.
* (**opensearch**) This release adds clear visibility to the customers on the changes that they make on the domain.
* (**wafv2**) You can now delete an API key that you've created for use with your CAPTCHA JavaScript integration API.

### Documentation
* (**ecs**) This release is a documentation only update to address customer issues.

## [1.0.50] - 02/05/2024

### Features
Expand Down
178 changes: 178 additions & 0 deletions codegen/sdk/aws-models/appsync.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@
{
"target": "com.amazonaws.appsync#GetGraphqlApi"
},
{
"target": "com.amazonaws.appsync#GetGraphqlApiEnvironmentVariables"
},
{
"target": "com.amazonaws.appsync#GetIntrospectionSchema"
},
Expand Down Expand Up @@ -177,6 +180,9 @@
{
"target": "com.amazonaws.appsync#ListTypesByAssociation"
},
{
"target": "com.amazonaws.appsync#PutGraphqlApiEnvironmentVariables"
},
{
"target": "com.amazonaws.appsync#StartDataSourceIntrospection"
},
Expand Down Expand Up @@ -4226,6 +4232,40 @@
"smithy.api#documentation": "<p>Describes an OpenSearch data source configuration.</p>\n <p>As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is\n deprecated. For new data sources, use <a>OpenSearchServiceDataSourceConfig</a> to specify an OpenSearch data source.</p>"
}
},
"com.amazonaws.appsync#EnvironmentVariableKey": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 2,
"max": 64
},
"smithy.api#pattern": "^[A-Za-z]+\\w*$"
}
},
"com.amazonaws.appsync#EnvironmentVariableMap": {
"type": "map",
"key": {
"target": "com.amazonaws.appsync#EnvironmentVariableKey"
},
"value": {
"target": "com.amazonaws.appsync#EnvironmentVariableValue"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 50
}
}
},
"com.amazonaws.appsync#EnvironmentVariableValue": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 512
}
}
},
"com.amazonaws.appsync#ErrorDetail": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -5081,6 +5121,70 @@
}
}
},
"com.amazonaws.appsync#GetGraphqlApiEnvironmentVariables": {
"type": "operation",
"input": {
"target": "com.amazonaws.appsync#GetGraphqlApiEnvironmentVariablesRequest"
},
"output": {
"target": "com.amazonaws.appsync#GetGraphqlApiEnvironmentVariablesResponse"
},
"errors": [
{
"target": "com.amazonaws.appsync#AccessDeniedException"
},
{
"target": "com.amazonaws.appsync#BadRequestException"
},
{
"target": "com.amazonaws.appsync#InternalFailureException"
},
{
"target": "com.amazonaws.appsync#NotFoundException"
},
{
"target": "com.amazonaws.appsync#UnauthorizedException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves the list of environmental variable key-value pairs associated with an API by its ID value.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/v1/apis/{apiId}/environmentVariables",
"code": 200
}
}
},
"com.amazonaws.appsync#GetGraphqlApiEnvironmentVariablesRequest": {
"type": "structure",
"members": {
"apiId": {
"target": "com.amazonaws.appsync#String",
"traits": {
"smithy.api#documentation": "<p>The ID of the API from which the environmental variable list will be retrieved.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#input": {}
}
},
"com.amazonaws.appsync#GetGraphqlApiEnvironmentVariablesResponse": {
"type": "structure",
"members": {
"environmentVariables": {
"target": "com.amazonaws.appsync#EnvironmentVariableMap",
"traits": {
"smithy.api#documentation": "<p>The payload containing each environmental variable in the <code>\"key\" : \"value\"</code> format.</p>"
}
}
},
"traits": {
"smithy.api#output": {}
}
},
"com.amazonaws.appsync#GetGraphqlApiRequest": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -6944,6 +7048,80 @@
"smithy.api#documentation": "<p>The pipeline configuration for a resolver of kind <code>PIPELINE</code>.</p>"
}
},
"com.amazonaws.appsync#PutGraphqlApiEnvironmentVariables": {
"type": "operation",
"input": {
"target": "com.amazonaws.appsync#PutGraphqlApiEnvironmentVariablesRequest"
},
"output": {
"target": "com.amazonaws.appsync#PutGraphqlApiEnvironmentVariablesResponse"
},
"errors": [
{
"target": "com.amazonaws.appsync#AccessDeniedException"
},
{
"target": "com.amazonaws.appsync#BadRequestException"
},
{
"target": "com.amazonaws.appsync#ConcurrentModificationException"
},
{
"target": "com.amazonaws.appsync#InternalFailureException"
},
{
"target": "com.amazonaws.appsync#NotFoundException"
},
{
"target": "com.amazonaws.appsync#UnauthorizedException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a list of environmental variables in an API by its ID value. </p>\n <p>When creating an environmental variable, it must follow the constraints below:</p>\n <ul>\n <li>\n <p>Both JavaScript and VTL templates support environmental variables.</p>\n </li>\n <li>\n <p>Environmental variables are not evaluated before function invocation.</p>\n </li>\n <li>\n <p>Environmental variables only support string values.</p>\n </li>\n <li>\n <p>Any defined value in an environmental variable is considered a string literal and not\n expanded.</p>\n </li>\n <li>\n <p>Variable evaluations should ideally be performed in the function code.</p>\n </li>\n </ul>\n <p>When creating an environmental variable key-value pair, it must follow the additional constraints\n below:</p>\n <ul>\n <li>\n <p>Keys must begin with a letter.</p>\n </li>\n <li>\n <p>Keys must be at least two characters long.</p>\n </li>\n <li>\n <p>Keys can only contain letters, numbers, and the underscore character (_).</p>\n </li>\n <li>\n <p>Values can be up to 512 characters long.</p>\n </li>\n <li>\n <p>You can configure up to 50 key-value pairs in a GraphQL API.</p>\n </li>\n </ul>\n <p>You can create a list of environmental variables by adding it to the <code>environmentVariables</code>\n payload as a list in the format <code>{\"key1\":\"value1\",\"key2\":\"value2\", …}</code>. Note that each call of the\n <code>PutGraphqlApiEnvironmentVariables</code> action will result in the overwriting of the existing\n environmental variable list of that API. This means the existing environmental variables will be lost. To avoid\n this, you must include all existing and new environmental variables in the list each time you call this\n action.</p>",
"smithy.api#http": {
"method": "PUT",
"uri": "/v1/apis/{apiId}/environmentVariables",
"code": 200
}
}
},
"com.amazonaws.appsync#PutGraphqlApiEnvironmentVariablesRequest": {
"type": "structure",
"members": {
"apiId": {
"target": "com.amazonaws.appsync#String",
"traits": {
"smithy.api#documentation": "<p>The ID of the API to which the environmental variable list will be written.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"environmentVariables": {
"target": "com.amazonaws.appsync#EnvironmentVariableMap",
"traits": {
"smithy.api#documentation": "<p>The list of environmental variables to add to the API.</p>\n <p>When creating an environmental variable key-value pair, it must follow the additional constraints\n below:</p>\n <ul>\n <li>\n <p>Keys must begin with a letter.</p>\n </li>\n <li>\n <p>Keys must be at least two characters long.</p>\n </li>\n <li>\n <p>Keys can only contain letters, numbers, and the underscore character (_).</p>\n </li>\n <li>\n <p>Values can be up to 512 characters long.</p>\n </li>\n <li>\n <p>You can configure up to 50 key-value pairs in a GraphQL API.</p>\n </li>\n </ul>\n <p>You can create a list of environmental variables by adding it to the <code>environmentVariables</code>\n payload as a list in the format <code>{\"key1\":\"value1\",\"key2\":\"value2\", …}</code>. Note that each call of the\n <code>PutGraphqlApiEnvironmentVariables</code> action will result in the overwriting of the existing\n environmental variable list of that API. This means the existing environmental variables will be lost. To avoid\n this, you must include all existing and new environmental variables in the list each time you call this\n action.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#input": {}
}
},
"com.amazonaws.appsync#PutGraphqlApiEnvironmentVariablesResponse": {
"type": "structure",
"members": {
"environmentVariables": {
"target": "com.amazonaws.appsync#EnvironmentVariableMap",
"traits": {
"smithy.api#documentation": "<p>The payload containing each environmental variable in the <code>\"key\" : \"value\"</code> format.</p>"
}
}
},
"traits": {
"smithy.api#output": {}
}
},
"com.amazonaws.appsync#QueryDepthLimit": {
"type": "integer",
"traits": {
Expand Down
Loading

0 comments on commit 22c4de1

Please sign in to comment.