Skip to content

Commit

Permalink
Update models for release
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-php-automation committed Aug 15, 2024
1 parent d0e5f0d commit eea129b
Show file tree
Hide file tree
Showing 26 changed files with 467 additions and 228 deletions.
22 changes: 22 additions & 0 deletions .changes/3.320.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"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": "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": "S3",
"description": "Amazon Simple Storage Service \/ Features : Adds support for pagination in the S3 ListBuckets API."
}
]
7 changes: 0 additions & 7 deletions .changes/nextrelease/enhancement-add-phpdoc-doctrine-cache

This file was deleted.

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CHANGELOG

## next release

* `Aws\` - Add missing PHPDoc annotation for Doctrine Cache implementations.
* `Aws\ECS` - This release introduces a new ContainerDefinition configuration to support the customer-managed keys for ECS container restart feature.
* `Aws\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.
* `Aws\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.
* `Aws\S3` - Amazon Simple Storage Service / Features : Adds support for pagination in the S3 ListBuckets API.

## 3.320.0 - 2024-08-14

* `Aws\` - Adds notice for the upcoming deprecation of PHP versions 8.0.x and below.
Expand Down
2 changes: 2 additions & 0 deletions src/DocDB/DocDBClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
* @method \GuzzleHttp\Promise\Promise describePendingMaintenanceActionsAsync(array $args = [])
* @method \Aws\Result failoverDBCluster(array $args = [])
* @method \GuzzleHttp\Promise\Promise failoverDBClusterAsync(array $args = [])
* @method \Aws\Result failoverGlobalCluster(array $args = [])
* @method \GuzzleHttp\Promise\Promise failoverGlobalClusterAsync(array $args = [])
* @method \Aws\Result listTagsForResource(array $args = [])
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
* @method \Aws\Result modifyDBCluster(array $args = [])
Expand Down
45 changes: 44 additions & 1 deletion src/data/docdb/2014-10-31/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,24 @@
{"shape":"InvalidDBInstanceStateFault"}
]
},
"FailoverGlobalCluster":{
"name":"FailoverGlobalCluster",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"FailoverGlobalClusterMessage"},
"output":{
"shape":"FailoverGlobalClusterResult",
"resultWrapper":"FailoverGlobalClusterResult"
},
"errors":[
{"shape":"GlobalClusterNotFoundFault"},
{"shape":"InvalidGlobalClusterStateFault"},
{"shape":"InvalidDBClusterStateFault"},
{"shape":"DBClusterNotFoundFault"}
]
},
"ListTagsForResource":{
"name":"ListTagsForResource",
"http":{
Expand Down Expand Up @@ -1358,6 +1376,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 @@ -2209,6 +2233,25 @@
"DBCluster":{"shape":"DBCluster"}
}
},
"FailoverGlobalClusterMessage":{
"type":"structure",
"required":[
"GlobalClusterIdentifier",
"TargetDbClusterIdentifier"
],
"members":{
"GlobalClusterIdentifier":{"shape":"GlobalClusterIdentifier"},
"TargetDbClusterIdentifier":{"shape":"DBClusterIdentifier"},
"AllowDataLoss":{"shape":"BooleanOptional"},
"Switchover":{"shape":"BooleanOptional"}
}
},
"FailoverGlobalClusterResult":{
"type":"structure",
"members":{
"GlobalCluster":{"shape":"GlobalCluster"}
}
},
"Filter":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -3136,7 +3179,7 @@
],
"members":{
"GlobalClusterIdentifier":{"shape":"GlobalClusterIdentifier"},
"TargetDbClusterIdentifier":{"shape":"String"}
"TargetDbClusterIdentifier":{"shape":"DBClusterIdentifier"}
}
},
"SwitchoverGlobalClusterResult":{
Expand Down
2 changes: 1 addition & 1 deletion src/data/docdb/2014-10-31/api-2.json.php

Large diffs are not rendered by default.

23 changes: 22 additions & 1 deletion src/data/docdb/2014-10-31/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"DescribeOrderableDBInstanceOptions": "<p>Returns a list of orderable instance options for the specified engine.</p>",
"DescribePendingMaintenanceActions": "<p>Returns a list of resources (for example, instances) that have at least one pending maintenance action.</p>",
"FailoverDBCluster": "<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": "<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": "<p>Lists all tags on an Amazon DocumentDB resource.</p>",
"ModifyDBCluster": "<p>Modifies a setting for an Amazon DocumentDB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. </p>",
"ModifyDBClusterParameterGroup": "<p> Modifies the parameters of a cluster parameter group. To modify more than one parameter, submit a list of the following: <code>ParameterName</code>, <code>ParameterValue</code>, and <code>ApplyMethod</code>. A maximum of 20 parameters can be modified in a single request. </p> <note> <p>Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot or maintenance window before the change can take effect.</p> </note> <important> <p>After you create a cluster parameter group, you should wait at least 5 minutes before creating your first cluster that uses that cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the parameter group is used as the default for a new cluster. This step is especially important for parameters that are critical when creating the default database for a cluster, such as the character set for the default database defined by the <code>character_set_database</code> parameter.</p> </important>",
Expand Down Expand Up @@ -172,6 +173,8 @@
"DescribeDBEngineVersionsMessage$ListSupportedCharacterSets": "<p>If this parameter is specified and the requested engine supports the <code>CharacterSetName</code> parameter for <code>CreateDBInstance</code>, the response includes a list of supported character sets for each engine version. </p>",
"DescribeDBEngineVersionsMessage$ListSupportedTimezones": "<p>If this parameter is specified and the requested engine supports the <code>TimeZone</code> parameter for <code>CreateDBInstance</code>, the response includes a list of supported time zones for each engine version. </p>",
"DescribeOrderableDBInstanceOptionsMessage$Vpc": "<p>The virtual private cloud (VPC) filter value. Specify this parameter to show only the available VPC or non-VPC offerings.</p>",
"FailoverGlobalClusterMessage$AllowDataLoss": "<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>",
"FailoverGlobalClusterMessage$Switchover": "<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>",
"GlobalCluster$StorageEncrypted": "<p>The storage encryption setting for the global cluster.</p>",
"GlobalCluster$DeletionProtection": "<p>The deletion protection setting for the new global cluster.</p>",
"ModifyDBClusterMessage$DeletionProtection": "<p>Specifies whether this cluster can be deleted. If <code>DeletionProtection</code> is enabled, the cluster cannot be deleted unless it is modified and <code>DeletionProtection</code> is disabled. <code>DeletionProtection</code> protects clusters from being accidentally deleted.</p>",
Expand Down Expand Up @@ -336,6 +339,13 @@
"refs": {
}
},
"DBClusterIdentifier": {
"base": null,
"refs": {
"FailoverGlobalClusterMessage$TargetDbClusterIdentifier": "<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>",
"SwitchoverGlobalClusterMessage$TargetDbClusterIdentifier": "<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>"
}
},
"DBClusterList": {
"base": null,
"refs": {
Expand Down Expand Up @@ -848,6 +858,16 @@
"refs": {
}
},
"FailoverGlobalClusterMessage": {
"base": null,
"refs": {
}
},
"FailoverGlobalClusterResult": {
"base": null,
"refs": {
}
},
"Filter": {
"base": "<p>A named set of filter values, used to return a more specific list of results. You can use a filter to match a set of resources by specific criteria, such as IDs.</p> <p>Wildcards are not supported in filters.</p>",
"refs": {
Expand Down Expand Up @@ -886,6 +906,7 @@
"refs": {
"CreateGlobalClusterResult$GlobalCluster": null,
"DeleteGlobalClusterResult$GlobalCluster": null,
"FailoverGlobalClusterResult$GlobalCluster": null,
"GlobalClusterList$member": null,
"ModifyGlobalClusterResult$GlobalCluster": null,
"RemoveFromGlobalClusterResult$GlobalCluster": null,
Expand All @@ -904,6 +925,7 @@
"CreateGlobalClusterMessage$GlobalClusterIdentifier": "<p>The cluster identifier of the new global cluster.</p>",
"DeleteGlobalClusterMessage$GlobalClusterIdentifier": "<p>The cluster identifier of the global cluster being deleted.</p>",
"DescribeGlobalClustersMessage$GlobalClusterIdentifier": "<p>The user-supplied cluster identifier. If this parameter is specified, information from only the specific cluster is returned. This parameter isn't case-sensitive.</p>",
"FailoverGlobalClusterMessage$GlobalClusterIdentifier": "<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>",
"GlobalCluster$GlobalClusterIdentifier": "<p>Contains a user-supplied global cluster identifier. This identifier is the unique key that identifies a global cluster. </p>",
"ModifyGlobalClusterMessage$GlobalClusterIdentifier": "<p>The identifier for the global cluster being modified. This parameter isn't case-sensitive.</p> <p>Constraints:</p> <ul> <li> <p>Must match the identifier of an existing global cluster.</p> </li> </ul>",
"ModifyGlobalClusterMessage$NewGlobalClusterIdentifier": "<p>The new identifier for a global cluster when you modify a global cluster. This value is stored as a lowercase string.</p> <ul> <li> <p>Must contain from 1 to 63 letters, numbers, or hyphens</p> <p>The first character must be a letter</p> <p>Can't end with a hyphen or contain two consecutive hyphens</p> </li> </ul> <p>Example: <code>my-cluster2</code> </p>",
Expand Down Expand Up @@ -1685,7 +1707,6 @@
"Subnet$SubnetIdentifier": "<p>Specifies the identifier of the subnet.</p>",
"Subnet$SubnetStatus": "<p>Specifies the status of the subnet.</p>",
"SubnetIdentifierList$member": null,
"SwitchoverGlobalClusterMessage$TargetDbClusterIdentifier": "<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>",
"Tag$Key": "<p>The required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with \"<code>aws:</code>\" or \"<code>rds:</code>\". The string can contain only the set of Unicode letters, digits, white space, '_', '.', '/', '=', '+', '-' (Java regex: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-]*)$\").</p>",
"Tag$Value": "<p>The optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with \"<code>aws:</code>\" or \"<code>rds:</code>\". The string can contain only the set of Unicode letters, digits, white space, '_', '.', '/', '=', '+', '-' (Java regex: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-]*)$\").</p>",
"UpgradeTarget$Engine": "<p>The name of the upgrade target database engine.</p>",
Expand Down
2 changes: 1 addition & 1 deletion src/data/docdb/2014-10-31/docs-2.json.php

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions src/data/ecs/2014-11-13/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1276,6 +1276,7 @@
"links":{"shape":"StringList"},
"portMappings":{"shape":"PortMappingList"},
"essential":{"shape":"BoxedBoolean"},
"restartPolicy":{"shape":"ContainerRestartPolicy"},
"entryPoint":{"shape":"StringList"},
"command":{"shape":"StringList"},
"environment":{"shape":"EnvironmentVariables"},
Expand Down Expand Up @@ -1400,6 +1401,15 @@
"type":"list",
"member":{"shape":"ContainerOverride"}
},
"ContainerRestartPolicy":{
"type":"structure",
"required":["enabled"],
"members":{
"enabled":{"shape":"BoxedBoolean"},
"ignoredExitCodes":{"shape":"IntegerList"},
"restartAttemptPeriod":{"shape":"BoxedInteger"}
}
},
"ContainerStateChange":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -2230,6 +2240,10 @@
"enum":["CONTAINER_RUNTIME"]
},
"Integer":{"type":"integer"},
"IntegerList":{
"type":"list",
"member":{"shape":"BoxedInteger"}
},
"InvalidParameterException":{
"type":"structure",
"members":{
Expand Down
2 changes: 1 addition & 1 deletion src/data/ecs/2014-11-13/api-2.json.php

Large diffs are not rendered by default.

Loading

0 comments on commit eea129b

Please sign in to comment.