Skip to content

Commit 409f70c

Browse files
Update generated code (#1800)
update generated code
1 parent fdabb07 commit 409f70c

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### Changed
1010

1111
- use strict comparison `null !==` instead of `!`
12+
- AWS enhancement: Documentation updates.
1213

1314
## 2.4.0
1415

src/Input/ListBucketsRequest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ final class ListBucketsRequest extends Input
2525
*
2626
* Required: No.
2727
*
28+
* > If you specify the `bucket-region`, `prefix`, or `continuation-token` query parameters without using `max-buckets`
29+
* > to set the maximum number of buckets returned in the response, Amazon S3 applies a default page size of 10,000 and
30+
* > provides a continuation token if there are more buckets.
31+
*
2832
* @var string|null
2933
*/
3034
private $continuationToken;

src/S3Client.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class S3Client extends AbstractApi
112112
* > - **Directory buckets** - If multipart uploads in a directory bucket are in progress, you can't delete the bucket
113113
* > until all the in-progress multipart uploads are aborted or completed. To delete these in-progress multipart
114114
* > uploads, use the `ListMultipartUploads` operation to list the in-progress multipart uploads in the bucket and use
115-
* > the `AbortMultupartUpload` operation to abort all the in-progress multipart uploads.
115+
* > the `AbortMultipartUpload` operation to abort all the in-progress multipart uploads.
116116
* > - **Directory buckets** - For directory buckets, you must make requests for this API operation to the Zonal
117117
* > endpoint. These endpoints support virtual-hosted-style requests in the format
118118
* > `https://*bucket_name*.s3express-*az_id*.*region*.amazonaws.com/*key-name*`. Path-style requests are not
@@ -1716,6 +1716,12 @@ public function headObject($input): HeadObjectOutput
17161716
*
17171717
* For information about Amazon S3 buckets, see Creating, configuring, and working with Amazon S3 buckets [^1].
17181718
*
1719+
* ! We strongly recommend using only paginated requests. Unpaginated requests are only supported for Amazon Web
1720+
* ! Services accounts set to the default general purpose bucket quota of 10,000. If you have an approved general
1721+
* ! purpose bucket quota above 10,000, you must send paginated requests to list your account’s buckets. All
1722+
* ! unpaginated ListBuckets requests will be rejected for Amazon Web Services accounts with a general purpose bucket
1723+
* ! quota greater than 10,000.
1724+
*
17191725
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html
17201726
*
17211727
* @see http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTServiceGET.html
@@ -1745,7 +1751,7 @@ public function listBuckets($input = []): ListBucketsOutput
17451751
* > **Directory buckets** - If multipart uploads in a directory bucket are in progress, you can't delete the bucket
17461752
* > until all the in-progress multipart uploads are aborted or completed. To delete these in-progress multipart
17471753
* > uploads, use the `ListMultipartUploads` operation to list the in-progress multipart uploads in the bucket and use
1748-
* > the `AbortMultupartUpload` operation to abort all the in-progress multipart uploads.
1754+
* > the `AbortMultipartUpload` operation to abort all the in-progress multipart uploads.
17491755
*
17501756
* The `ListMultipartUploads` operation returns a maximum of 1,000 multipart uploads in the response. The limit of 1,000
17511757
* multipart uploads is also the default value. You can further limit the number of uploads in a response by specifying

0 commit comments

Comments
 (0)