Skip to content

Commit 060dccc

Browse files
Update generated code (#1812)
update generated code
1 parent 5b58af7 commit 060dccc

33 files changed

+558
-424
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.330.1"
3+
"${LATEST}": "3.332.0"
44
},
55
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
66
"services": {

src/Service/EventBridge/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Changed
6+
7+
- AWS enhancement: Documentation updates.
8+
59
## 1.5.5
610

711
### Changed

src/Service/EventBridge/src/EventBridgeClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class EventBridgeClient extends AbstractApi
2424
* PutEvents accepts the data in JSON format. For the JSON number (integer) data type, the constraints are: a minimum
2525
* value of -9,223,372,036,854,775,808 and a maximum value of 9,223,372,036,854,775,807.
2626
*
27-
* > PutEvents will only process nested JSON up to 1100 levels deep.
27+
* > PutEvents will only process nested JSON up to 1000 levels deep.
2828
*
2929
* [^1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-putevent-size.html
3030
*

src/Service/S3/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Added
6+
7+
- AWS api-change: Amazon S3 introduces support for AWS Dedicated Local Zones
8+
59
## 2.6.0
610

711
### Added

src/Service/S3/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"extra": {
3232
"branch-alias": {
33-
"dev-master": "2.6-dev"
33+
"dev-master": "2.7-dev"
3434
}
3535
}
3636
}

src/Service/S3/src/Enum/DataRedundancy.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
final class DataRedundancy
66
{
77
public const SINGLE_AVAILABILITY_ZONE = 'SingleAvailabilityZone';
8+
public const SINGLE_LOCAL_ZONE = 'SingleLocalZone';
89

910
public static function exists(string $value): bool
1011
{
1112
return isset([
1213
self::SINGLE_AVAILABILITY_ZONE => true,
14+
self::SINGLE_LOCAL_ZONE => true,
1315
][$value]);
1416
}
1517
}

src/Service/S3/src/Enum/LocationType.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
final class LocationType
66
{
77
public const AVAILABILITY_ZONE = 'AvailabilityZone';
8+
public const LOCAL_ZONE = 'LocalZone';
89

910
public static function exists(string $value): bool
1011
{
1112
return isset([
1213
self::AVAILABILITY_ZONE => true,
14+
self::LOCAL_ZONE => true,
1315
][$value]);
1416
}
1517
}

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ final class AbortMultipartUploadRequest extends Input
1414
* The bucket name to which the upload was taking place.
1515
*
1616
* **Directory buckets** - When you use this operation with a directory bucket, you must use virtual-hosted-style
17-
* requests in the format `*Bucket_name*.s3express-*az_id*.*region*.amazonaws.com`. Path-style requests are not
18-
* supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format
19-
* `*bucket_base_name*--*az-id*--x-s3` (for example, `*DOC-EXAMPLE-BUCKET*--*usw2-az1*--x-s3`). For information about
20-
* bucket naming restrictions, see Directory bucket naming rules [^1] in the *Amazon S3 User Guide*.
17+
* requests in the format `*Bucket-name*.s3express-*zone-id*.*region-code*.amazonaws.com`. Path-style requests are not
18+
* 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*.
2122
*
2223
* **Access points** - When you use this action with an access point, you must provide the alias of the access point in
2324
* place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests

src/Service/S3/src/Input/CompleteMultipartUploadRequest.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ final class CompleteMultipartUploadRequest extends Input
1515
* Name of the bucket to which the multipart upload was initiated.
1616
*
1717
* **Directory buckets** - When you use this operation with a directory bucket, you must use virtual-hosted-style
18-
* requests in the format `*Bucket_name*.s3express-*az_id*.*region*.amazonaws.com`. Path-style requests are not
19-
* supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format
20-
* `*bucket_base_name*--*az-id*--x-s3` (for example, `*DOC-EXAMPLE-BUCKET*--*usw2-az1*--x-s3`). For information about
21-
* bucket naming restrictions, see Directory bucket naming rules [^1] in the *Amazon S3 User Guide*.
18+
* requests in the format `*Bucket-name*.s3express-*zone-id*.*region-code*.amazonaws.com`. Path-style requests are not
19+
* supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names
20+
* must follow the format `*bucket-base-name*--*zone-id*--x-s3` (for example, `*DOC-EXAMPLE-BUCKET*--*usw2-az1*--x-s3`).
21+
* For information about bucket naming restrictions, see Directory bucket naming rules [^1] in the *Amazon S3 User
22+
* Guide*.
2223
*
2324
* **Access points** - When you use this action with an access point, you must provide the alias of the access point in
2425
* place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests

src/Service/S3/src/Input/CopyObjectRequest.php

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,15 @@ final class CopyObjectRequest extends Input
4848
* The name of the destination bucket.
4949
*
5050
* **Directory buckets** - When you use this operation with a directory bucket, you must use virtual-hosted-style
51-
* requests in the format `*Bucket_name*.s3express-*az_id*.*region*.amazonaws.com`. Path-style requests are not
52-
* supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format
53-
* `*bucket_base_name*--*az-id*--x-s3` (for example, `*DOC-EXAMPLE-BUCKET*--*usw2-az1*--x-s3`). For information about
54-
* bucket naming restrictions, see Directory bucket naming rules [^1] in the *Amazon S3 User Guide*.
51+
* requests in the format `*Bucket-name*.s3express-*zone-id*.*region-code*.amazonaws.com`. Path-style requests are not
52+
* supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names
53+
* must follow the format `*bucket-base-name*--*zone-id*--x-s3` (for example, `*DOC-EXAMPLE-BUCKET*--*usw2-az1*--x-s3`).
54+
* For information about bucket naming restrictions, see Directory bucket naming rules [^1] in the *Amazon S3 User
55+
* Guide*.
56+
*
57+
* > Copying objects across different Amazon Web Services Regions isn't supported when the source or destination bucket
58+
* > is in Amazon Web Services Local Zones. The source and destination buckets must have the same parent Amazon Web
59+
* > Services Region. Otherwise, you get an HTTP `400 Bad Request` error with the error code `InvalidRequest`.
5560
*
5661
* **Access points** - When you use this action with an access point, you must provide the alias of the access point in
5762
* place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests

0 commit comments

Comments
 (0)