Skip to content

Commit

Permalink
Updates SDK to v2.1552.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Feb 6, 2024
1 parent ee2970c commit 9732fcb
Show file tree
Hide file tree
Showing 26 changed files with 3,928 additions and 2,641 deletions.
27 changes: 27 additions & 0 deletions .changes/2.1552.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
{
"type": "feature",
"category": "AppSync",
"description": "Support for environment variables in AppSync GraphQL APIs"
},
{
"type": "feature",
"category": "CloudWatchLogs",
"description": "This release adds a new field, logGroupArn, to the response of the logs:DescribeLogGroups action."
},
{
"type": "feature",
"category": "ES",
"description": "This release adds clear visibility to the customers on the changes that they make on the domain."
},
{
"type": "feature",
"category": "OpenSearch",
"description": "This release adds clear visibility to the customers on the changes that they make on the domain."
},
{
"type": "feature",
"category": "WAFV2",
"description": "You can now delete an API key that you've created for use with your CAPTCHA JavaScript integration API."
}
]
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1551.0-->
<!--LATEST=2.1552.0-->
<!--ENTRYINSERT-->

## 2.1552.0
* feature: AppSync: Support for environment variables in AppSync GraphQL APIs
* feature: CloudWatchLogs: This release adds a new field, logGroupArn, to the response of the logs:DescribeLogGroups action.
* feature: ES: This release adds clear visibility to the customers on the changes that they make on the domain.
* feature: OpenSearch: This release adds clear visibility to the customers on the changes that they make on the domain.
* feature: WAFV2: You can now delete an API key that you've created for use with your CAPTCHA JavaScript integration API.

## 2.1551.0
* feature: Glue: Introduce Catalog Encryption Role within Glue Data Catalog Settings. Introduce SASL/PLAIN as an authentication method for Glue Kafka connections

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1551.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1552.0.min.js"></script>

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
73 changes: 67 additions & 6 deletions apis/appsync-2017-07-25.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -1072,6 +1072,32 @@
}
}
},
"GetGraphqlApiEnvironmentVariables": {
"http": {
"method": "GET",
"requestUri": "/v1/apis/{apiId}/environmentVariables"
},
"input": {
"type": "structure",
"required": [
"apiId"
],
"members": {
"apiId": {
"location": "uri",
"locationName": "apiId"
}
}
},
"output": {
"type": "structure",
"members": {
"environmentVariables": {
"shape": "S4n"
}
}
}
},
"GetIntrospectionSchema": {
"http": {
"method": "GET",
Expand Down Expand Up @@ -1461,7 +1487,7 @@
"type": "structure",
"members": {
"resolvers": {
"shape": "S5h"
"shape": "S5m"
},
"nextToken": {}
}
Expand Down Expand Up @@ -1502,7 +1528,7 @@
"type": "structure",
"members": {
"resolvers": {
"shape": "S5h"
"shape": "S5m"
},
"nextToken": {}
}
Expand Down Expand Up @@ -1617,7 +1643,7 @@
"type": "structure",
"members": {
"types": {
"shape": "S5t"
"shape": "S5y"
},
"nextToken": {}
}
Expand Down Expand Up @@ -1663,12 +1689,42 @@
"type": "structure",
"members": {
"types": {
"shape": "S5t"
"shape": "S5y"
},
"nextToken": {}
}
}
},
"PutGraphqlApiEnvironmentVariables": {
"http": {
"method": "PUT",
"requestUri": "/v1/apis/{apiId}/environmentVariables"
},
"input": {
"type": "structure",
"required": [
"apiId",
"environmentVariables"
],
"members": {
"apiId": {
"location": "uri",
"locationName": "apiId"
},
"environmentVariables": {
"shape": "S4n"
}
}
},
"output": {
"type": "structure",
"members": {
"environmentVariables": {
"shape": "S4n"
}
}
}
},
"StartDataSourceIntrospection": {
"http": {
"requestUri": "/v1/datasources/introspections"
Expand Down Expand Up @@ -2677,13 +2733,18 @@
}
}
},
"S5h": {
"S4n": {
"type": "map",
"key": {},
"value": {}
},
"S5m": {
"type": "list",
"member": {
"shape": "S2k"
}
},
"S5t": {
"S5y": {
"type": "list",
"member": {
"shape": "S2o"
Expand Down
138 changes: 138 additions & 0 deletions apis/appsync-2017-07-25.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -978,6 +978,37 @@
],
"documentation": "<p>Retrieves a <code>GraphqlApi</code> object.</p>"
},
"GetGraphqlApiEnvironmentVariables": {
"name": "GetGraphqlApiEnvironmentVariables",
"http": {
"method": "GET",
"requestUri": "/v1/apis/{apiId}/environmentVariables"
},
"input": {
"shape": "GetGraphqlApiEnvironmentVariablesRequest"
},
"output": {
"shape": "GetGraphqlApiEnvironmentVariablesResponse"
},
"errors": [
{
"shape": "BadRequestException"
},
{
"shape": "NotFoundException"
},
{
"shape": "UnauthorizedException"
},
{
"shape": "InternalFailureException"
},
{
"shape": "AccessDeniedException"
}
],
"documentation": "<p>Retrieves the list of environmental variable key-value pairs associated with an API by its ID value.</p>"
},
"GetIntrospectionSchema": {
"name": "GetIntrospectionSchema",
"http": {
Expand Down Expand Up @@ -1432,6 +1463,40 @@
],
"documentation": "<p>Lists <code>Type</code> objects by the source API association ID.</p>"
},
"PutGraphqlApiEnvironmentVariables": {
"name": "PutGraphqlApiEnvironmentVariables",
"http": {
"method": "PUT",
"requestUri": "/v1/apis/{apiId}/environmentVariables"
},
"input": {
"shape": "PutGraphqlApiEnvironmentVariablesRequest"
},
"output": {
"shape": "PutGraphqlApiEnvironmentVariablesResponse"
},
"errors": [
{
"shape": "BadRequestException"
},
{
"shape": "ConcurrentModificationException"
},
{
"shape": "NotFoundException"
},
{
"shape": "UnauthorizedException"
},
{
"shape": "InternalFailureException"
},
{
"shape": "AccessDeniedException"
}
],
"documentation": "<p>Creates a list of environmental variables in an API by its ID value. </p> <p>When creating an environmental variable, it must follow the constraints below:</p> <ul> <li> <p>Both JavaScript and VTL templates support environmental variables.</p> </li> <li> <p>Environmental variables are not evaluated before function invocation.</p> </li> <li> <p>Environmental variables only support string values.</p> </li> <li> <p>Any defined value in an environmental variable is considered a string literal and not expanded.</p> </li> <li> <p>Variable evaluations should ideally be performed in the function code.</p> </li> </ul> <p>When creating an environmental variable key-value pair, it must follow the additional constraints below:</p> <ul> <li> <p>Keys must begin with a letter.</p> </li> <li> <p>Keys must be at least two characters long.</p> </li> <li> <p>Keys can only contain letters, numbers, and the underscore character (_).</p> </li> <li> <p>Values can be up to 512 characters long.</p> </li> <li> <p>You can configure up to 50 key-value pairs in a GraphQL API.</p> </li> </ul> <p>You can create a list of environmental variables by adding it to the <code>environmentVariables</code> payload as a list in the format <code>{\"key1\":\"value1\",\"key2\":\"value2\", …}</code>. Note that each call of the <code>PutGraphqlApiEnvironmentVariables</code> action will result in the overwriting of the existing environmental variable list of that API. This means the existing environmental variables will be lost. To avoid this, you must include all existing and new environmental variables in the list each time you call this action.</p>"
},
"StartDataSourceIntrospection": {
"name": "StartDataSourceIntrospection",
"http": {
Expand Down Expand Up @@ -3351,6 +3416,28 @@
},
"documentation": "<p>Describes an OpenSearch data source configuration.</p> <p>As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use <a>OpenSearchServiceDataSourceConfig</a> to specify an OpenSearch data source.</p>"
},
"EnvironmentVariableKey": {
"type": "string",
"max": 64,
"min": 2,
"pattern": "^[A-Za-z]+\\w*$"
},
"EnvironmentVariableMap": {
"type": "map",
"key": {
"shape": "EnvironmentVariableKey"
},
"value": {
"shape": "EnvironmentVariableValue"
},
"max": 50,
"min": 0
},
"EnvironmentVariableValue": {
"type": "string",
"max": 512,
"min": 0
},
"ErrorDetail": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -3750,6 +3837,29 @@
}
}
},
"GetGraphqlApiEnvironmentVariablesRequest": {
"type": "structure",
"required": [
"apiId"
],
"members": {
"apiId": {
"shape": "String",
"documentation": "<p>The ID of the API from which the environmental variable list will be retrieved.</p>",
"location": "uri",
"locationName": "apiId"
}
}
},
"GetGraphqlApiEnvironmentVariablesResponse": {
"type": "structure",
"members": {
"environmentVariables": {
"shape": "EnvironmentVariableMap",
"documentation": "<p>The payload containing each environmental variable in the <code>\"key\" : \"value\"</code> format.</p>"
}
}
},
"GetGraphqlApiRequest": {
"type": "structure",
"required": [
Expand Down Expand Up @@ -4698,6 +4808,34 @@
},
"documentation": "<p>The pipeline configuration for a resolver of kind <code>PIPELINE</code>.</p>"
},
"PutGraphqlApiEnvironmentVariablesRequest": {
"type": "structure",
"required": [
"apiId",
"environmentVariables"
],
"members": {
"apiId": {
"shape": "String",
"documentation": "<p>The ID of the API to which the environmental variable list will be written.</p>",
"location": "uri",
"locationName": "apiId"
},
"environmentVariables": {
"shape": "EnvironmentVariableMap",
"documentation": "<p>The list of environmental variables to add to the API.</p> <p>When creating an environmental variable key-value pair, it must follow the additional constraints below:</p> <ul> <li> <p>Keys must begin with a letter.</p> </li> <li> <p>Keys must be at least two characters long.</p> </li> <li> <p>Keys can only contain letters, numbers, and the underscore character (_).</p> </li> <li> <p>Values can be up to 512 characters long.</p> </li> <li> <p>You can configure up to 50 key-value pairs in a GraphQL API.</p> </li> </ul> <p>You can create a list of environmental variables by adding it to the <code>environmentVariables</code> payload as a list in the format <code>{\"key1\":\"value1\",\"key2\":\"value2\", …}</code>. Note that each call of the <code>PutGraphqlApiEnvironmentVariables</code> action will result in the overwriting of the existing environmental variable list of that API. This means the existing environmental variables will be lost. To avoid this, you must include all existing and new environmental variables in the list each time you call this action.</p>"
}
}
},
"PutGraphqlApiEnvironmentVariablesResponse": {
"type": "structure",
"members": {
"environmentVariables": {
"shape": "EnvironmentVariableMap",
"documentation": "<p>The payload containing each environmental variable in the <code>\"key\" : \"value\"</code> format.</p>"
}
}
},
"QueryDepthLimit": {
"type": "integer",
"max": 75,
Expand Down
Loading

0 comments on commit 9732fcb

Please sign in to comment.