Skip to content

Commit 6291317

Browse files
Update generated code (#1842)
* update generated code * Apply suggestions from code review --------- Co-authored-by: Jérémy Derussé <[email protected]>
1 parent 2177a6e commit 6291317

40 files changed

+327
-266
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"variables": {
3-
"${LATEST}": "3.339.6"
3+
"${LATEST}": "3.339.8"
44
},
55
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
66
"services": {

src/Service/CloudFormation/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Added
66

77
- AWS api-change: Added `us-isof-east-1` and `us-isof-south-1` regions
8+
- AWS api-change: Added `ResourceStatus` constants for new StackRefactor apis.
89

910
## 1.7.2
1011

src/Service/CloudFormation/src/Enum/ResourceStatus.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ final class ResourceStatus
1111
public const DELETE_FAILED = 'DELETE_FAILED';
1212
public const DELETE_IN_PROGRESS = 'DELETE_IN_PROGRESS';
1313
public const DELETE_SKIPPED = 'DELETE_SKIPPED';
14+
public const EXPORT_COMPLETE = 'EXPORT_COMPLETE';
15+
public const EXPORT_FAILED = 'EXPORT_FAILED';
16+
public const EXPORT_IN_PROGRESS = 'EXPORT_IN_PROGRESS';
17+
public const EXPORT_ROLLBACK_COMPLETE = 'EXPORT_ROLLBACK_COMPLETE';
18+
public const EXPORT_ROLLBACK_FAILED = 'EXPORT_ROLLBACK_FAILED';
19+
public const EXPORT_ROLLBACK_IN_PROGRESS = 'EXPORT_ROLLBACK_IN_PROGRESS';
1420
public const IMPORT_COMPLETE = 'IMPORT_COMPLETE';
1521
public const IMPORT_FAILED = 'IMPORT_FAILED';
1622
public const IMPORT_IN_PROGRESS = 'IMPORT_IN_PROGRESS';
@@ -37,6 +43,12 @@ public static function exists(string $value): bool
3743
self::DELETE_FAILED => true,
3844
self::DELETE_IN_PROGRESS => true,
3945
self::DELETE_SKIPPED => true,
46+
self::EXPORT_COMPLETE => true,
47+
self::EXPORT_FAILED => true,
48+
self::EXPORT_IN_PROGRESS => true,
49+
self::EXPORT_ROLLBACK_COMPLETE => true,
50+
self::EXPORT_ROLLBACK_FAILED => true,
51+
self::EXPORT_ROLLBACK_IN_PROGRESS => true,
4052
self::IMPORT_COMPLETE => true,
4153
self::IMPORT_FAILED => true,
4254
self::IMPORT_IN_PROGRESS => true,

src/Service/CloudFormation/src/ValueObject/Parameter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ final class Parameter
3232

3333
/**
3434
* Read-only. The value that corresponds to a Systems Manager parameter key. This field is returned only for Systems
35-
* Manager parameter types in the template. For more information, see Use CloudFormation-supplied parameter types [^1]
36-
* in the *CloudFormation User Guide*.
35+
* Manager parameter types in the template. For more information, see Specify existing resources at runtime with
36+
* CloudFormation-supplied parameter types [^1] in the *CloudFormation User Guide*.
3737
*
3838
* [^1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-supplied-parameter-types.html
3939
*

src/Service/CloudFormation/src/ValueObject/StackEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ final class StackEvent
125125
private $hookStatusReason;
126126

127127
/**
128-
* Invocation points are points in provisioning logic where hooks are initiated.
128+
* Invocation points are points in provisioning logic where Hooks are initiated.
129129
*
130130
* @var HookInvocationPoint::*|null
131131
*/

src/Service/Comprehend/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Added
66

77
- AWS api-change: Added `us-isof-east-1` and `us-isof-south-1` regions
8+
- AWS api-change: Added `fips-ca-central-1` region
89

910
## 1.2.0
1011

src/Service/Comprehend/src/ComprehendClient.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ protected function getEndpointMetadata(?string $region): array
5757
}
5858

5959
switch ($region) {
60+
case 'fips-ca-central-1':
61+
return [
62+
'endpoint' => 'https://comprehend-fips.ca-central-1.amazonaws.com',
63+
'signRegion' => 'ca-central-1',
64+
'signService' => 'comprehend',
65+
'signVersions' => ['v4'],
66+
];
6067
case 'fips-us-east-1':
6168
return [
6269
'endpoint' => 'https://comprehend-fips.us-east-1.amazonaws.com',

src/Service/S3/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
- AWS api-change: This change enhances integrity protections for new SDK requests to S3. S3 SDKs now support the CRC64NVME checksum algorithm, full object checksums for multipart S3 objects, and new default integrity protections for S3 requests.
88
- AWS api-change: Added `us-isof-east-1` and `us-isof-south-1` regions
9+
- AWS api-change: Updated list of the valid AWS Region values for the LocationConstraint parameter for general purpose buckets.
910

1011
## 2.7.0
1112

src/Service/S3/src/Enum/BucketLocationConstraint.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,24 @@ final class BucketLocationConstraint
1212
public const AP_SOUTHEAST_1 = 'ap-southeast-1';
1313
public const AP_SOUTHEAST_2 = 'ap-southeast-2';
1414
public const AP_SOUTHEAST_3 = 'ap-southeast-3';
15+
public const AP_SOUTHEAST_4 = 'ap-southeast-4';
16+
public const AP_SOUTHEAST_5 = 'ap-southeast-5';
1517
public const AP_SOUTH_1 = 'ap-south-1';
1618
public const AP_SOUTH_2 = 'ap-south-2';
1719
public const CA_CENTRAL_1 = 'ca-central-1';
1820
public const CN_NORTHWEST_1 = 'cn-northwest-1';
1921
public const CN_NORTH_1 = 'cn-north-1';
2022
public const EU = 'EU';
2123
public const EU_CENTRAL_1 = 'eu-central-1';
24+
public const EU_CENTRAL_2 = 'eu-central-2';
2225
public const EU_NORTH_1 = 'eu-north-1';
2326
public const EU_SOUTH_1 = 'eu-south-1';
2427
public const EU_SOUTH_2 = 'eu-south-2';
2528
public const EU_WEST_1 = 'eu-west-1';
2629
public const EU_WEST_2 = 'eu-west-2';
2730
public const EU_WEST_3 = 'eu-west-3';
31+
public const IL_CENTRAL_1 = 'il-central-1';
32+
public const ME_CENTRAL_1 = 'me-central-1';
2833
public const ME_SOUTH_1 = 'me-south-1';
2934
public const SA_EAST_1 = 'sa-east-1';
3035
public const US_EAST_2 = 'us-east-2';
@@ -44,19 +49,24 @@ public static function exists(string $value): bool
4449
self::AP_SOUTHEAST_1 => true,
4550
self::AP_SOUTHEAST_2 => true,
4651
self::AP_SOUTHEAST_3 => true,
52+
self::AP_SOUTHEAST_4 => true,
53+
self::AP_SOUTHEAST_5 => true,
4754
self::AP_SOUTH_1 => true,
4855
self::AP_SOUTH_2 => true,
4956
self::CA_CENTRAL_1 => true,
5057
self::CN_NORTHWEST_1 => true,
5158
self::CN_NORTH_1 => true,
5259
self::EU => true,
5360
self::EU_CENTRAL_1 => true,
61+
self::EU_CENTRAL_2 => true,
5462
self::EU_NORTH_1 => true,
5563
self::EU_SOUTH_1 => true,
5664
self::EU_SOUTH_2 => true,
5765
self::EU_WEST_1 => true,
5866
self::EU_WEST_2 => true,
5967
self::EU_WEST_3 => true,
68+
self::IL_CENTRAL_1 => true,
69+
self::ME_CENTRAL_1 => true,
6070
self::ME_SOUTH_1 => true,
6171
self::SA_EAST_1 => true,
6272
self::US_EAST_2 => true,

src/Service/S3/src/Input/AbortMultipartUploadRequest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ final class AbortMultipartUploadRequest extends Input
1616
* **Directory buckets** - When you use this operation with a directory bucket, you must use virtual-hosted-style
1717
* requests in the format `*Bucket-name*.s3express-*zone-id*.*region-code*.amazonaws.com`. Path-style requests are not
1818
* supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names
19-
* must follow the format `*bucket-base-name*--*zone-id*--x-s3` (for example, `*DOC-EXAMPLE-BUCKET*--*usw2-az1*--x-s3`).
20-
* For information about bucket naming restrictions, see Directory bucket naming rules [^1] in the *Amazon S3 User
21-
* Guide*.
19+
* must follow the format `*bucket-base-name*--*zone-id*--x-s3` (for example,
20+
* `*amzn-s3-demo-bucket*--*usw2-az1*--x-s3`). For information about bucket naming restrictions, see Directory bucket
21+
* naming rules [^1] in the *Amazon S3 User Guide*.
2222
*
2323
* **Access points** - When you use this action with an access point, you must provide the alias of the access point in
2424
* place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests
@@ -29,11 +29,11 @@ final class AbortMultipartUploadRequest extends Input
2929
*
3030
* > Access points and Object Lambda access points are not supported by directory buckets.
3131
*
32-
* **S3 on Outposts** - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on
33-
* Outposts hostname. The S3 on Outposts hostname takes the form
32+
* **S3 on Outposts** - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts
33+
* hostname. The S3 on Outposts hostname takes the form
3434
* `*AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com`. When you use this action with S3 on
35-
* Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name.
36-
* For more information about S3 on Outposts ARNs, see What is S3 on Outposts? [^3] in the *Amazon S3 User Guide*.
35+
* Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more
36+
* information about S3 on Outposts, see What is S3 on Outposts? [^3] in the *Amazon S3 User Guide*.
3737
*
3838
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html
3939
* [^2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html

0 commit comments

Comments
 (0)