Skip to content

Commit

Permalink
Updates SDK to v2.1676.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Aug 15, 2024
1 parent c0ec9d3 commit d466464
Show file tree
Hide file tree
Showing 23 changed files with 929 additions and 603 deletions.
22 changes: 22 additions & 0 deletions .changes/2.1676.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"type": "feature",
"category": "DocDB",
"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."
},
{
"type": "feature",
"category": "ECS",
"description": "This release introduces a new ContainerDefinition configuration to support the customer-managed keys for ECS container restart feature."
},
{
"type": "feature",
"category": "IAM",
"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."
},
{
"type": "feature",
"category": "S3",
"description": "Amazon Simple Storage Service / Features : Adds support for pagination in the S3 ListBuckets API."
}
]
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1675.0-->
<!--LATEST=2.1676.0-->
<!--ENTRYINSERT-->

## 2.1676.0
* 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.
* feature: ECS: This release introduces a new ContainerDefinition configuration to support the customer-managed keys for ECS container restart feature.
* 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.
* feature: S3: Amazon Simple Storage Service / Features : Adds support for pagination in the S3 ListBuckets API.

## 2.1675.0
* bugfix: s3: omit locationConstraint in createBucket to us-east-1
* feature: CodeBuild: AWS CodeBuild now supports using Secrets Manager to store git credentials and using multiple source credentials in a single project.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,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.1675.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1676.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
34 changes: 31 additions & 3 deletions apis/docdb-2014-10-31.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -1114,6 +1114,34 @@
}
}
},
"FailoverGlobalCluster": {
"input": {
"type": "structure",
"required": [
"GlobalClusterIdentifier",
"TargetDbClusterIdentifier"
],
"members": {
"GlobalClusterIdentifier": {},
"TargetDbClusterIdentifier": {},
"AllowDataLoss": {
"type": "boolean"
},
"Switchover": {
"type": "boolean"
}
}
},
"output": {
"resultWrapper": "FailoverGlobalClusterResult",
"type": "structure",
"members": {
"GlobalCluster": {
"shape": "S1s"
}
}
}
},
"ListTagsForResource": {
"input": {
"type": "structure",
Expand Down Expand Up @@ -1208,7 +1236,7 @@
}
},
"output": {
"shape": "S4a",
"shape": "S4d",
"resultWrapper": "ModifyDBClusterParameterGroupResult"
}
},
Expand Down Expand Up @@ -1460,7 +1488,7 @@
}
},
"output": {
"shape": "S4a",
"shape": "S4d",
"resultWrapper": "ResetDBClusterParameterGroupResult"
}
},
Expand Down Expand Up @@ -2132,7 +2160,7 @@
"locationName": "AttributeValue"
}
},
"S4a": {
"S4d": {
"type": "structure",
"members": {
"DBClusterParameterGroupName": {}
Expand Down
70 changes: 69 additions & 1 deletion apis/docdb-2014-10-31.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -930,6 +930,35 @@
],
"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>"
},
"FailoverGlobalCluster": {
"name": "FailoverGlobalCluster",
"http": {
"method": "POST",
"requestUri": "/"
},
"input": {
"shape": "FailoverGlobalClusterMessage"
},
"output": {
"shape": "FailoverGlobalClusterResult",
"resultWrapper": "FailoverGlobalClusterResult"
},
"errors": [
{
"shape": "GlobalClusterNotFoundFault"
},
{
"shape": "InvalidGlobalClusterStateFault"
},
{
"shape": "InvalidDBClusterStateFault"
},
{
"shape": "DBClusterNotFoundFault"
}
],
"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>"
},
"ListTagsForResource": {
"name": "ListTagsForResource",
"http": {
Expand Down Expand Up @@ -2314,6 +2343,12 @@
"documentation": "<p>Detailed information about a cluster. </p>",
"wrapper": true
},
"DBClusterIdentifier": {
"type": "string",
"max": 255,
"min": 1,
"pattern": "[A-Za-z][0-9A-Za-z-:._]*"
},
"DBClusterList": {
"type": "list",
"member": {
Expand Down Expand Up @@ -3676,6 +3711,39 @@
}
}
},
"FailoverGlobalClusterMessage": {
"type": "structure",
"required": [
"GlobalClusterIdentifier",
"TargetDbClusterIdentifier"
],
"members": {
"GlobalClusterIdentifier": {
"shape": "GlobalClusterIdentifier",
"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>"
},
"TargetDbClusterIdentifier": {
"shape": "DBClusterIdentifier",
"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>"
},
"AllowDataLoss": {
"shape": "BooleanOptional",
"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>"
},
"Switchover": {
"shape": "BooleanOptional",
"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>"
}
}
},
"FailoverGlobalClusterResult": {
"type": "structure",
"members": {
"GlobalCluster": {
"shape": "GlobalCluster"
}
}
},
"Filter": {
"type": "structure",
"required": [
Expand Down Expand Up @@ -4769,7 +4837,7 @@
"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>"
},
"TargetDbClusterIdentifier": {
"shape": "String",
"shape": "DBClusterIdentifier",
"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>"
}
}
Expand Down
Loading

0 comments on commit d466464

Please sign in to comment.