Skip to content

Commit d466464

Browse files
author
awstools
committed
Updates SDK to v2.1676.0
1 parent c0ec9d3 commit d466464

23 files changed

+929
-603
lines changed

.changes/2.1676.0.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[
2+
{
3+
"type": "feature",
4+
"category": "DocDB",
5+
"description": "This release adds Global Cluster Failover capability which enables you to change your global cluster's primary AWS region, the region that serves writes, during a regional outage. Performing a failover action preserves your Global Cluster setup."
6+
},
7+
{
8+
"type": "feature",
9+
"category": "ECS",
10+
"description": "This release introduces a new ContainerDefinition configuration to support the customer-managed keys for ECS container restart feature."
11+
},
12+
{
13+
"type": "feature",
14+
"category": "IAM",
15+
"description": "Make the LastUsedDate field in the GetAccessKeyLastUsed response optional. This may break customers who only call the API for access keys with a valid LastUsedDate. This fixes a deserialization issue for access keys without a LastUsedDate, because the field was marked as required but could be null."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "S3",
20+
"description": "Amazon Simple Storage Service / Features : Adds support for pagination in the S3 ListBuckets API."
21+
}
22+
]

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
# Changelog for AWS SDK for JavaScript
2-
<!--LATEST=2.1675.0-->
2+
<!--LATEST=2.1676.0-->
33
<!--ENTRYINSERT-->
44

5+
## 2.1676.0
6+
* feature: DocDB: This release adds Global Cluster Failover capability which enables you to change your global cluster's primary AWS region, the region that serves writes, during a regional outage. Performing a failover action preserves your Global Cluster setup.
7+
* feature: ECS: This release introduces a new ContainerDefinition configuration to support the customer-managed keys for ECS container restart feature.
8+
* feature: IAM: Make the LastUsedDate field in the GetAccessKeyLastUsed response optional. This may break customers who only call the API for access keys with a valid LastUsedDate. This fixes a deserialization issue for access keys without a LastUsedDate, because the field was marked as required but could be null.
9+
* feature: S3: Amazon Simple Storage Service / Features : Adds support for pagination in the S3 ListBuckets API.
10+
511
## 2.1675.0
612
* bugfix: s3: omit locationConstraint in createBucket to us-east-1
713
* feature: CodeBuild: AWS CodeBuild now supports using Secrets Manager to store git credentials and using multiple source credentials in a single project.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
6464
To use the SDK in the browser, simply add the following script tag to your
6565
HTML pages:
6666

67-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1675.0.min.js"></script>
67+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1676.0.min.js"></script>
6868

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

apis/docdb-2014-10-31.min.json

+31-3
Original file line numberDiff line numberDiff line change
@@ -1114,6 +1114,34 @@
11141114
}
11151115
}
11161116
},
1117+
"FailoverGlobalCluster": {
1118+
"input": {
1119+
"type": "structure",
1120+
"required": [
1121+
"GlobalClusterIdentifier",
1122+
"TargetDbClusterIdentifier"
1123+
],
1124+
"members": {
1125+
"GlobalClusterIdentifier": {},
1126+
"TargetDbClusterIdentifier": {},
1127+
"AllowDataLoss": {
1128+
"type": "boolean"
1129+
},
1130+
"Switchover": {
1131+
"type": "boolean"
1132+
}
1133+
}
1134+
},
1135+
"output": {
1136+
"resultWrapper": "FailoverGlobalClusterResult",
1137+
"type": "structure",
1138+
"members": {
1139+
"GlobalCluster": {
1140+
"shape": "S1s"
1141+
}
1142+
}
1143+
}
1144+
},
11171145
"ListTagsForResource": {
11181146
"input": {
11191147
"type": "structure",
@@ -1208,7 +1236,7 @@
12081236
}
12091237
},
12101238
"output": {
1211-
"shape": "S4a",
1239+
"shape": "S4d",
12121240
"resultWrapper": "ModifyDBClusterParameterGroupResult"
12131241
}
12141242
},
@@ -1460,7 +1488,7 @@
14601488
}
14611489
},
14621490
"output": {
1463-
"shape": "S4a",
1491+
"shape": "S4d",
14641492
"resultWrapper": "ResetDBClusterParameterGroupResult"
14651493
}
14661494
},
@@ -2132,7 +2160,7 @@
21322160
"locationName": "AttributeValue"
21332161
}
21342162
},
2135-
"S4a": {
2163+
"S4d": {
21362164
"type": "structure",
21372165
"members": {
21382166
"DBClusterParameterGroupName": {}

apis/docdb-2014-10-31.normal.json

+69-1
Original file line numberDiff line numberDiff line change
@@ -930,6 +930,35 @@
930930
],
931931
"documentation": "<p>Forces a failover for a cluster.</p> <p>A failover for a cluster promotes one of the Amazon DocumentDB replicas (read-only instances) in the cluster to be the primary instance (the cluster writer).</p> <p>If the primary instance fails, Amazon DocumentDB automatically fails over to an Amazon DocumentDB replica, if one exists. You can force a failover when you want to simulate a failure of a primary instance for testing.</p>"
932932
},
933+
"FailoverGlobalCluster": {
934+
"name": "FailoverGlobalCluster",
935+
"http": {
936+
"method": "POST",
937+
"requestUri": "/"
938+
},
939+
"input": {
940+
"shape": "FailoverGlobalClusterMessage"
941+
},
942+
"output": {
943+
"shape": "FailoverGlobalClusterResult",
944+
"resultWrapper": "FailoverGlobalClusterResult"
945+
},
946+
"errors": [
947+
{
948+
"shape": "GlobalClusterNotFoundFault"
949+
},
950+
{
951+
"shape": "InvalidGlobalClusterStateFault"
952+
},
953+
{
954+
"shape": "InvalidDBClusterStateFault"
955+
},
956+
{
957+
"shape": "DBClusterNotFoundFault"
958+
}
959+
],
960+
"documentation": "<p>Promotes the specified secondary DB cluster to be the primary DB cluster in the global cluster when failing over a global cluster occurs.</p> <p>Use this operation to respond to an unplanned event, such as a regional disaster in the primary region. Failing over can result in a loss of write transaction data that wasn't replicated to the chosen secondary before the failover event occurred. However, the recovery process that promotes a DB instance on the chosen seconday DB cluster to be the primary writer DB instance guarantees that the data is in a transactionally consistent state.</p>"
961+
},
933962
"ListTagsForResource": {
934963
"name": "ListTagsForResource",
935964
"http": {
@@ -2314,6 +2343,12 @@
23142343
"documentation": "<p>Detailed information about a cluster. </p>",
23152344
"wrapper": true
23162345
},
2346+
"DBClusterIdentifier": {
2347+
"type": "string",
2348+
"max": 255,
2349+
"min": 1,
2350+
"pattern": "[A-Za-z][0-9A-Za-z-:._]*"
2351+
},
23172352
"DBClusterList": {
23182353
"type": "list",
23192354
"member": {
@@ -3676,6 +3711,39 @@
36763711
}
36773712
}
36783713
},
3714+
"FailoverGlobalClusterMessage": {
3715+
"type": "structure",
3716+
"required": [
3717+
"GlobalClusterIdentifier",
3718+
"TargetDbClusterIdentifier"
3719+
],
3720+
"members": {
3721+
"GlobalClusterIdentifier": {
3722+
"shape": "GlobalClusterIdentifier",
3723+
"documentation": "<p>The identifier of the Amazon DocumentDB global cluster to apply this operation. The identifier is the unique key assigned by the user when the cluster is created. In other words, it's the name of the global cluster.</p> <p>Constraints:</p> <ul> <li> <p>Must match the identifier of an existing global cluster.</p> </li> <li> <p>Minimum length of 1. Maximum length of 255.</p> </li> </ul> <p>Pattern: <code>[A-Za-z][0-9A-Za-z-:._]*</code> </p>"
3724+
},
3725+
"TargetDbClusterIdentifier": {
3726+
"shape": "DBClusterIdentifier",
3727+
"documentation": "<p>The identifier of the secondary Amazon DocumentDB cluster that you want to promote to the primary for the global cluster. Use the Amazon Resource Name (ARN) for the identifier so that Amazon DocumentDB can locate the cluster in its Amazon Web Services region.</p> <p>Constraints:</p> <ul> <li> <p>Must match the identifier of an existing secondary cluster.</p> </li> <li> <p>Minimum length of 1. Maximum length of 255.</p> </li> </ul> <p>Pattern: <code>[A-Za-z][0-9A-Za-z-:._]*</code> </p>"
3728+
},
3729+
"AllowDataLoss": {
3730+
"shape": "BooleanOptional",
3731+
"documentation": "<p>Specifies whether to allow data loss for this global cluster operation. Allowing data loss triggers a global failover operation.</p> <p>If you don't specify <code>AllowDataLoss</code>, the global cluster operation defaults to a switchover.</p> <p>Constraints:</p> <ul> <li> <p>Can't be specified together with the <code>Switchover</code> parameter.</p> </li> </ul>"
3732+
},
3733+
"Switchover": {
3734+
"shape": "BooleanOptional",
3735+
"documentation": "<p>Specifies whether to switch over this global database cluster.</p> <p>Constraints:</p> <ul> <li> <p>Can't be specified together with the <code>AllowDataLoss</code> parameter.</p> </li> </ul>"
3736+
}
3737+
}
3738+
},
3739+
"FailoverGlobalClusterResult": {
3740+
"type": "structure",
3741+
"members": {
3742+
"GlobalCluster": {
3743+
"shape": "GlobalCluster"
3744+
}
3745+
}
3746+
},
36793747
"Filter": {
36803748
"type": "structure",
36813749
"required": [
@@ -4769,7 +4837,7 @@
47694837
"documentation": "<p>The identifier of the Amazon DocumentDB global database cluster to switch over. The identifier is the unique key assigned by the user when the cluster is created. In other words, it's the name of the global cluster. This parameter isn’t case-sensitive.</p> <p>Constraints:</p> <ul> <li> <p>Must match the identifier of an existing global cluster (Amazon DocumentDB global database).</p> </li> <li> <p>Minimum length of 1. Maximum length of 255.</p> </li> </ul> <p>Pattern: <code>[A-Za-z][0-9A-Za-z-:._]*</code> </p>"
47704838
},
47714839
"TargetDbClusterIdentifier": {
4772-
"shape": "String",
4840+
"shape": "DBClusterIdentifier",
47734841
"documentation": "<p>The identifier of the secondary Amazon DocumentDB cluster to promote to the new primary for the global database cluster. Use the Amazon Resource Name (ARN) for the identifier so that Amazon DocumentDB can locate the cluster in its Amazon Web Services region.</p> <p>Constraints:</p> <ul> <li> <p>Must match the identifier of an existing secondary cluster.</p> </li> <li> <p>Minimum length of 1. Maximum length of 255.</p> </li> </ul> <p>Pattern: <code>[A-Za-z][0-9A-Za-z-:._]*</code> </p>"
47744842
}
47754843
}

0 commit comments

Comments
 (0)