Skip to content

Commit 9732fcb

Browse files
author
awstools
committed
Updates SDK to v2.1552.0
1 parent ee2970c commit 9732fcb

26 files changed

+3928
-2641
lines changed

.changes/2.1552.0.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[
2+
{
3+
"type": "feature",
4+
"category": "AppSync",
5+
"description": "Support for environment variables in AppSync GraphQL APIs"
6+
},
7+
{
8+
"type": "feature",
9+
"category": "CloudWatchLogs",
10+
"description": "This release adds a new field, logGroupArn, to the response of the logs:DescribeLogGroups action."
11+
},
12+
{
13+
"type": "feature",
14+
"category": "ES",
15+
"description": "This release adds clear visibility to the customers on the changes that they make on the domain."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "OpenSearch",
20+
"description": "This release adds clear visibility to the customers on the changes that they make on the domain."
21+
},
22+
{
23+
"type": "feature",
24+
"category": "WAFV2",
25+
"description": "You can now delete an API key that you've created for use with your CAPTCHA JavaScript integration API."
26+
}
27+
]

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
# Changelog for AWS SDK for JavaScript
2-
<!--LATEST=2.1551.0-->
2+
<!--LATEST=2.1552.0-->
33
<!--ENTRYINSERT-->
44

5+
## 2.1552.0
6+
* feature: AppSync: Support for environment variables in AppSync GraphQL APIs
7+
* feature: CloudWatchLogs: This release adds a new field, logGroupArn, to the response of the logs:DescribeLogGroups action.
8+
* feature: ES: This release adds clear visibility to the customers on the changes that they make on the domain.
9+
* feature: OpenSearch: This release adds clear visibility to the customers on the changes that they make on the domain.
10+
* feature: WAFV2: You can now delete an API key that you've created for use with your CAPTCHA JavaScript integration API.
11+
512
## 2.1551.0
613
* feature: Glue: Introduce Catalog Encryption Role within Glue Data Catalog Settings. Introduce SASL/PLAIN as an authentication method for Glue Kafka connections
714

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
6969
To use the SDK in the browser, simply add the following script tag to your
7070
HTML pages:
7171

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

7474
You can also build a custom browser SDK with your specified set of AWS services.
7575
This can allow you to reduce the SDK's size, specify different API versions of

apis/appsync-2017-07-25.min.json

Lines changed: 67 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,6 +1072,32 @@
10721072
}
10731073
}
10741074
},
1075+
"GetGraphqlApiEnvironmentVariables": {
1076+
"http": {
1077+
"method": "GET",
1078+
"requestUri": "/v1/apis/{apiId}/environmentVariables"
1079+
},
1080+
"input": {
1081+
"type": "structure",
1082+
"required": [
1083+
"apiId"
1084+
],
1085+
"members": {
1086+
"apiId": {
1087+
"location": "uri",
1088+
"locationName": "apiId"
1089+
}
1090+
}
1091+
},
1092+
"output": {
1093+
"type": "structure",
1094+
"members": {
1095+
"environmentVariables": {
1096+
"shape": "S4n"
1097+
}
1098+
}
1099+
}
1100+
},
10751101
"GetIntrospectionSchema": {
10761102
"http": {
10771103
"method": "GET",
@@ -1461,7 +1487,7 @@
14611487
"type": "structure",
14621488
"members": {
14631489
"resolvers": {
1464-
"shape": "S5h"
1490+
"shape": "S5m"
14651491
},
14661492
"nextToken": {}
14671493
}
@@ -1502,7 +1528,7 @@
15021528
"type": "structure",
15031529
"members": {
15041530
"resolvers": {
1505-
"shape": "S5h"
1531+
"shape": "S5m"
15061532
},
15071533
"nextToken": {}
15081534
}
@@ -1617,7 +1643,7 @@
16171643
"type": "structure",
16181644
"members": {
16191645
"types": {
1620-
"shape": "S5t"
1646+
"shape": "S5y"
16211647
},
16221648
"nextToken": {}
16231649
}
@@ -1663,12 +1689,42 @@
16631689
"type": "structure",
16641690
"members": {
16651691
"types": {
1666-
"shape": "S5t"
1692+
"shape": "S5y"
16671693
},
16681694
"nextToken": {}
16691695
}
16701696
}
16711697
},
1698+
"PutGraphqlApiEnvironmentVariables": {
1699+
"http": {
1700+
"method": "PUT",
1701+
"requestUri": "/v1/apis/{apiId}/environmentVariables"
1702+
},
1703+
"input": {
1704+
"type": "structure",
1705+
"required": [
1706+
"apiId",
1707+
"environmentVariables"
1708+
],
1709+
"members": {
1710+
"apiId": {
1711+
"location": "uri",
1712+
"locationName": "apiId"
1713+
},
1714+
"environmentVariables": {
1715+
"shape": "S4n"
1716+
}
1717+
}
1718+
},
1719+
"output": {
1720+
"type": "structure",
1721+
"members": {
1722+
"environmentVariables": {
1723+
"shape": "S4n"
1724+
}
1725+
}
1726+
}
1727+
},
16721728
"StartDataSourceIntrospection": {
16731729
"http": {
16741730
"requestUri": "/v1/datasources/introspections"
@@ -2677,13 +2733,18 @@
26772733
}
26782734
}
26792735
},
2680-
"S5h": {
2736+
"S4n": {
2737+
"type": "map",
2738+
"key": {},
2739+
"value": {}
2740+
},
2741+
"S5m": {
26812742
"type": "list",
26822743
"member": {
26832744
"shape": "S2k"
26842745
}
26852746
},
2686-
"S5t": {
2747+
"S5y": {
26872748
"type": "list",
26882749
"member": {
26892750
"shape": "S2o"

apis/appsync-2017-07-25.normal.json

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,37 @@
978978
],
979979
"documentation": "<p>Retrieves a <code>GraphqlApi</code> object.</p>"
980980
},
981+
"GetGraphqlApiEnvironmentVariables": {
982+
"name": "GetGraphqlApiEnvironmentVariables",
983+
"http": {
984+
"method": "GET",
985+
"requestUri": "/v1/apis/{apiId}/environmentVariables"
986+
},
987+
"input": {
988+
"shape": "GetGraphqlApiEnvironmentVariablesRequest"
989+
},
990+
"output": {
991+
"shape": "GetGraphqlApiEnvironmentVariablesResponse"
992+
},
993+
"errors": [
994+
{
995+
"shape": "BadRequestException"
996+
},
997+
{
998+
"shape": "NotFoundException"
999+
},
1000+
{
1001+
"shape": "UnauthorizedException"
1002+
},
1003+
{
1004+
"shape": "InternalFailureException"
1005+
},
1006+
{
1007+
"shape": "AccessDeniedException"
1008+
}
1009+
],
1010+
"documentation": "<p>Retrieves the list of environmental variable key-value pairs associated with an API by its ID value.</p>"
1011+
},
9811012
"GetIntrospectionSchema": {
9821013
"name": "GetIntrospectionSchema",
9831014
"http": {
@@ -1432,6 +1463,40 @@
14321463
],
14331464
"documentation": "<p>Lists <code>Type</code> objects by the source API association ID.</p>"
14341465
},
1466+
"PutGraphqlApiEnvironmentVariables": {
1467+
"name": "PutGraphqlApiEnvironmentVariables",
1468+
"http": {
1469+
"method": "PUT",
1470+
"requestUri": "/v1/apis/{apiId}/environmentVariables"
1471+
},
1472+
"input": {
1473+
"shape": "PutGraphqlApiEnvironmentVariablesRequest"
1474+
},
1475+
"output": {
1476+
"shape": "PutGraphqlApiEnvironmentVariablesResponse"
1477+
},
1478+
"errors": [
1479+
{
1480+
"shape": "BadRequestException"
1481+
},
1482+
{
1483+
"shape": "ConcurrentModificationException"
1484+
},
1485+
{
1486+
"shape": "NotFoundException"
1487+
},
1488+
{
1489+
"shape": "UnauthorizedException"
1490+
},
1491+
{
1492+
"shape": "InternalFailureException"
1493+
},
1494+
{
1495+
"shape": "AccessDeniedException"
1496+
}
1497+
],
1498+
"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>"
1499+
},
14351500
"StartDataSourceIntrospection": {
14361501
"name": "StartDataSourceIntrospection",
14371502
"http": {
@@ -3351,6 +3416,28 @@
33513416
},
33523417
"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>"
33533418
},
3419+
"EnvironmentVariableKey": {
3420+
"type": "string",
3421+
"max": 64,
3422+
"min": 2,
3423+
"pattern": "^[A-Za-z]+\\w*$"
3424+
},
3425+
"EnvironmentVariableMap": {
3426+
"type": "map",
3427+
"key": {
3428+
"shape": "EnvironmentVariableKey"
3429+
},
3430+
"value": {
3431+
"shape": "EnvironmentVariableValue"
3432+
},
3433+
"max": 50,
3434+
"min": 0
3435+
},
3436+
"EnvironmentVariableValue": {
3437+
"type": "string",
3438+
"max": 512,
3439+
"min": 0
3440+
},
33543441
"ErrorDetail": {
33553442
"type": "structure",
33563443
"members": {
@@ -3750,6 +3837,29 @@
37503837
}
37513838
}
37523839
},
3840+
"GetGraphqlApiEnvironmentVariablesRequest": {
3841+
"type": "structure",
3842+
"required": [
3843+
"apiId"
3844+
],
3845+
"members": {
3846+
"apiId": {
3847+
"shape": "String",
3848+
"documentation": "<p>The ID of the API from which the environmental variable list will be retrieved.</p>",
3849+
"location": "uri",
3850+
"locationName": "apiId"
3851+
}
3852+
}
3853+
},
3854+
"GetGraphqlApiEnvironmentVariablesResponse": {
3855+
"type": "structure",
3856+
"members": {
3857+
"environmentVariables": {
3858+
"shape": "EnvironmentVariableMap",
3859+
"documentation": "<p>The payload containing each environmental variable in the <code>\"key\" : \"value\"</code> format.</p>"
3860+
}
3861+
}
3862+
},
37533863
"GetGraphqlApiRequest": {
37543864
"type": "structure",
37553865
"required": [
@@ -4698,6 +4808,34 @@
46984808
},
46994809
"documentation": "<p>The pipeline configuration for a resolver of kind <code>PIPELINE</code>.</p>"
47004810
},
4811+
"PutGraphqlApiEnvironmentVariablesRequest": {
4812+
"type": "structure",
4813+
"required": [
4814+
"apiId",
4815+
"environmentVariables"
4816+
],
4817+
"members": {
4818+
"apiId": {
4819+
"shape": "String",
4820+
"documentation": "<p>The ID of the API to which the environmental variable list will be written.</p>",
4821+
"location": "uri",
4822+
"locationName": "apiId"
4823+
},
4824+
"environmentVariables": {
4825+
"shape": "EnvironmentVariableMap",
4826+
"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>"
4827+
}
4828+
}
4829+
},
4830+
"PutGraphqlApiEnvironmentVariablesResponse": {
4831+
"type": "structure",
4832+
"members": {
4833+
"environmentVariables": {
4834+
"shape": "EnvironmentVariableMap",
4835+
"documentation": "<p>The payload containing each environmental variable in the <code>\"key\" : \"value\"</code> format.</p>"
4836+
}
4837+
}
4838+
},
47014839
"QueryDepthLimit": {
47024840
"type": "integer",
47034841
"max": 75,

0 commit comments

Comments
 (0)