Skip to content

Commit 22c4de1

Browse files
Merging v1.0.51 release
2 parents 39dbaa2 + 47c4f08 commit 22c4de1

File tree

8 files changed

+998
-30
lines changed

8 files changed

+998
-30
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## [1.0.51] - 02/06/2024
4+
5+
### Features
6+
* (**appsync**) Support for environment variables in AppSync GraphQL APIs
7+
* (**cloudwatchlogs**) This release adds a new field, logGroupArn, to the response of the logs:DescribeLogGroups action.
8+
* (**elasticsearchservice**) This release adds clear visibility to the customers on the changes that they make on the domain.
9+
* (**opensearch**) This release adds clear visibility to the customers on the changes that they make on the domain.
10+
* (**wafv2**) You can now delete an API key that you've created for use with your CAPTCHA JavaScript integration API.
11+
12+
### Documentation
13+
* (**ecs**) This release is a documentation only update to address customer issues.
14+
315
## [1.0.50] - 02/05/2024
416

517
### Features

codegen/sdk/aws-models/appsync.json

Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@
129129
{
130130
"target": "com.amazonaws.appsync#GetGraphqlApi"
131131
},
132+
{
133+
"target": "com.amazonaws.appsync#GetGraphqlApiEnvironmentVariables"
134+
},
132135
{
133136
"target": "com.amazonaws.appsync#GetIntrospectionSchema"
134137
},
@@ -177,6 +180,9 @@
177180
{
178181
"target": "com.amazonaws.appsync#ListTypesByAssociation"
179182
},
183+
{
184+
"target": "com.amazonaws.appsync#PutGraphqlApiEnvironmentVariables"
185+
},
180186
{
181187
"target": "com.amazonaws.appsync#StartDataSourceIntrospection"
182188
},
@@ -4226,6 +4232,40 @@
42264232
"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>"
42274233
}
42284234
},
4235+
"com.amazonaws.appsync#EnvironmentVariableKey": {
4236+
"type": "string",
4237+
"traits": {
4238+
"smithy.api#length": {
4239+
"min": 2,
4240+
"max": 64
4241+
},
4242+
"smithy.api#pattern": "^[A-Za-z]+\\w*$"
4243+
}
4244+
},
4245+
"com.amazonaws.appsync#EnvironmentVariableMap": {
4246+
"type": "map",
4247+
"key": {
4248+
"target": "com.amazonaws.appsync#EnvironmentVariableKey"
4249+
},
4250+
"value": {
4251+
"target": "com.amazonaws.appsync#EnvironmentVariableValue"
4252+
},
4253+
"traits": {
4254+
"smithy.api#length": {
4255+
"min": 0,
4256+
"max": 50
4257+
}
4258+
}
4259+
},
4260+
"com.amazonaws.appsync#EnvironmentVariableValue": {
4261+
"type": "string",
4262+
"traits": {
4263+
"smithy.api#length": {
4264+
"min": 0,
4265+
"max": 512
4266+
}
4267+
}
4268+
},
42294269
"com.amazonaws.appsync#ErrorDetail": {
42304270
"type": "structure",
42314271
"members": {
@@ -5081,6 +5121,70 @@
50815121
}
50825122
}
50835123
},
5124+
"com.amazonaws.appsync#GetGraphqlApiEnvironmentVariables": {
5125+
"type": "operation",
5126+
"input": {
5127+
"target": "com.amazonaws.appsync#GetGraphqlApiEnvironmentVariablesRequest"
5128+
},
5129+
"output": {
5130+
"target": "com.amazonaws.appsync#GetGraphqlApiEnvironmentVariablesResponse"
5131+
},
5132+
"errors": [
5133+
{
5134+
"target": "com.amazonaws.appsync#AccessDeniedException"
5135+
},
5136+
{
5137+
"target": "com.amazonaws.appsync#BadRequestException"
5138+
},
5139+
{
5140+
"target": "com.amazonaws.appsync#InternalFailureException"
5141+
},
5142+
{
5143+
"target": "com.amazonaws.appsync#NotFoundException"
5144+
},
5145+
{
5146+
"target": "com.amazonaws.appsync#UnauthorizedException"
5147+
}
5148+
],
5149+
"traits": {
5150+
"smithy.api#documentation": "<p>Retrieves the list of environmental variable key-value pairs associated with an API by its ID value.</p>",
5151+
"smithy.api#http": {
5152+
"method": "GET",
5153+
"uri": "/v1/apis/{apiId}/environmentVariables",
5154+
"code": 200
5155+
}
5156+
}
5157+
},
5158+
"com.amazonaws.appsync#GetGraphqlApiEnvironmentVariablesRequest": {
5159+
"type": "structure",
5160+
"members": {
5161+
"apiId": {
5162+
"target": "com.amazonaws.appsync#String",
5163+
"traits": {
5164+
"smithy.api#documentation": "<p>The ID of the API from which the environmental variable list will be retrieved.</p>",
5165+
"smithy.api#httpLabel": {},
5166+
"smithy.api#required": {}
5167+
}
5168+
}
5169+
},
5170+
"traits": {
5171+
"smithy.api#input": {}
5172+
}
5173+
},
5174+
"com.amazonaws.appsync#GetGraphqlApiEnvironmentVariablesResponse": {
5175+
"type": "structure",
5176+
"members": {
5177+
"environmentVariables": {
5178+
"target": "com.amazonaws.appsync#EnvironmentVariableMap",
5179+
"traits": {
5180+
"smithy.api#documentation": "<p>The payload containing each environmental variable in the <code>\"key\" : \"value\"</code> format.</p>"
5181+
}
5182+
}
5183+
},
5184+
"traits": {
5185+
"smithy.api#output": {}
5186+
}
5187+
},
50845188
"com.amazonaws.appsync#GetGraphqlApiRequest": {
50855189
"type": "structure",
50865190
"members": {
@@ -6944,6 +7048,80 @@
69447048
"smithy.api#documentation": "<p>The pipeline configuration for a resolver of kind <code>PIPELINE</code>.</p>"
69457049
}
69467050
},
7051+
"com.amazonaws.appsync#PutGraphqlApiEnvironmentVariables": {
7052+
"type": "operation",
7053+
"input": {
7054+
"target": "com.amazonaws.appsync#PutGraphqlApiEnvironmentVariablesRequest"
7055+
},
7056+
"output": {
7057+
"target": "com.amazonaws.appsync#PutGraphqlApiEnvironmentVariablesResponse"
7058+
},
7059+
"errors": [
7060+
{
7061+
"target": "com.amazonaws.appsync#AccessDeniedException"
7062+
},
7063+
{
7064+
"target": "com.amazonaws.appsync#BadRequestException"
7065+
},
7066+
{
7067+
"target": "com.amazonaws.appsync#ConcurrentModificationException"
7068+
},
7069+
{
7070+
"target": "com.amazonaws.appsync#InternalFailureException"
7071+
},
7072+
{
7073+
"target": "com.amazonaws.appsync#NotFoundException"
7074+
},
7075+
{
7076+
"target": "com.amazonaws.appsync#UnauthorizedException"
7077+
}
7078+
],
7079+
"traits": {
7080+
"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>",
7081+
"smithy.api#http": {
7082+
"method": "PUT",
7083+
"uri": "/v1/apis/{apiId}/environmentVariables",
7084+
"code": 200
7085+
}
7086+
}
7087+
},
7088+
"com.amazonaws.appsync#PutGraphqlApiEnvironmentVariablesRequest": {
7089+
"type": "structure",
7090+
"members": {
7091+
"apiId": {
7092+
"target": "com.amazonaws.appsync#String",
7093+
"traits": {
7094+
"smithy.api#documentation": "<p>The ID of the API to which the environmental variable list will be written.</p>",
7095+
"smithy.api#httpLabel": {},
7096+
"smithy.api#required": {}
7097+
}
7098+
},
7099+
"environmentVariables": {
7100+
"target": "com.amazonaws.appsync#EnvironmentVariableMap",
7101+
"traits": {
7102+
"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>",
7103+
"smithy.api#required": {}
7104+
}
7105+
}
7106+
},
7107+
"traits": {
7108+
"smithy.api#input": {}
7109+
}
7110+
},
7111+
"com.amazonaws.appsync#PutGraphqlApiEnvironmentVariablesResponse": {
7112+
"type": "structure",
7113+
"members": {
7114+
"environmentVariables": {
7115+
"target": "com.amazonaws.appsync#EnvironmentVariableMap",
7116+
"traits": {
7117+
"smithy.api#documentation": "<p>The payload containing each environmental variable in the <code>\"key\" : \"value\"</code> format.</p>"
7118+
}
7119+
}
7120+
},
7121+
"traits": {
7122+
"smithy.api#output": {}
7123+
}
7124+
},
69477125
"com.amazonaws.appsync#QueryDepthLimit": {
69487126
"type": "integer",
69497127
"traits": {

0 commit comments

Comments
 (0)