Skip to content

Commit

Permalink
Merge branch 'release-1.34.162'
Browse files Browse the repository at this point in the history
* release-1.34.162:
  Bumping version to 1.34.162
  Update endpoints model
  Update to latest models
  Merge customizations for S3
  • Loading branch information
aws-sdk-python-automation committed Aug 15, 2024
2 parents 71e17f3 + 7c09319 commit 7fdb763
Show file tree
Hide file tree
Showing 11 changed files with 353 additions and 118 deletions.
22 changes: 22 additions & 0 deletions .changes/1.34.162.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"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": "api-change"
},
{
"category": "``ecs``",
"description": "This release introduces a new ContainerDefinition configuration to support the customer-managed keys for ECS container restart feature.",
"type": "api-change"
},
{
"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": "api-change"
},
{
"category": "``s3``",
"description": "Amazon Simple Storage Service / Features : Adds support for pagination in the S3 ListBuckets API.",
"type": "api-change"
}
]
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
CHANGELOG
=========

1.34.162
========

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


1.34.161
========

Expand Down
2 changes: 1 addition & 1 deletion botocore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import os
import re

__version__ = '1.34.161'
__version__ = '1.34.162'


class NullHandler(logging.Handler):
Expand Down
58 changes: 57 additions & 1 deletion botocore/data/docdb/2014-10-31/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,25 @@
],
"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 @@ -1798,6 +1817,12 @@
},
"exception":true
},
"DBClusterIdentifier":{
"type":"string",
"max":255,
"min":1,
"pattern":"[A-Za-z][0-9A-Za-z-:._]*"
},
"DBClusterList":{
"type":"list",
"member":{
Expand Down Expand Up @@ -3362,6 +3387,37 @@
"DBCluster":{"shape":"DBCluster"}
}
},
"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 @@ -4807,7 +4863,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 7fdb763

Please sign in to comment.