Skip to content

Commit

Permalink
feat(client-s3): This release updates the ListBuckets API Reference d…
Browse files Browse the repository at this point in the history
…ocumentation in support of the new 10,000 general purpose bucket default quota on all AWS accounts. To increase your bucket quota from 10,000 to up to 1 million buckets, simply request a quota increase via Service Quotas.
  • Loading branch information
awstools committed Nov 14, 2024
1 parent bf85814 commit 1e42456
Show file tree
Hide file tree
Showing 6 changed files with 351 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export interface AbortMultipartUploadCommandOutput extends AbortMultipartUploadO
* If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed.
* To delete these in-progress multipart uploads, use the
* <code>ListMultipartUploads</code> operation to list the in-progress multipart
* uploads in the bucket and use the <code>AbortMultupartUpload</code> operation to
* uploads in the bucket and use the <code>AbortMultipartUpload</code> operation to
* abort all the in-progress multipart uploads.
* </p>
* </li>
Expand Down
7 changes: 7 additions & 0 deletions clients/client-s3/src/commands/ListBucketsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ export interface ListBucketsCommandOutput extends ListBucketsOutput, __MetadataB
* this operation, you must have the <code>s3:ListAllMyBuckets</code> permission. </p>
* <p>For information about Amazon S3 buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html">Creating, configuring, and
* working with Amazon S3 buckets</a>.</p>
* <important>
* <p>We strongly recommend using only paginated requests. Unpaginated requests are only supported for
* Amazon Web Services accounts set to the default general purpose bucket quota of 10,000. If you have an approved
* general purpose bucket quota above 10,000, you must send paginated requests to list your account’s buckets.
* All unpaginated ListBuckets requests will be rejected for Amazon Web Services accounts with a general purpose bucket quota
* greater than 10,000. </p>
* </important>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
3 changes: 3 additions & 0 deletions clients/client-s3/src/commands/ListDirectoryBucketsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ export interface ListDirectoryBucketsCommandOutput extends ListDirectoryBucketsO
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
* </dd>
* </dl>
* <note>
* <p> The <code>BucketRegion</code> response element is not part of the <code>ListDirectoryBuckets</code> Response Syntax.</p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface ListMultipartUploadsCommandOutput extends ListMultipartUploadsO
* <b>Directory buckets</b> -
* If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed.
* To delete these in-progress multipart uploads, use the <code>ListMultipartUploads</code> operation to list the in-progress multipart
* uploads in the bucket and use the <code>AbortMultupartUpload</code> operation to abort all the in-progress multipart uploads.
* uploads in the bucket and use the <code>AbortMultipartUpload</code> operation to abort all the in-progress multipart uploads.
* </p>
* </note>
* <p>The <code>ListMultipartUploads</code> operation returns a maximum of 1,000 multipart uploads in the response. The limit of 1,000 multipart
Expand Down
5 changes: 5 additions & 0 deletions clients/client-s3/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11669,6 +11669,11 @@ export interface ListBucketsRequest {
* key. You can use this <code>ContinuationToken</code> for pagination of the list results. </p>
* <p>Length Constraints: Minimum length of 0. Maximum length of 1024.</p>
* <p>Required: No.</p>
* <note>
* <p>If you specify the <code>bucket-region</code>, <code>prefix</code>, or <code>continuation-token</code>
* query parameters without using <code>max-buckets</code> to set the maximum number of buckets returned in the response,
* Amazon S3 applies a default page size of 10,000 and provides a continuation token if there are more buckets.</p>
* </note>
* @public
*/
ContinuationToken?: string | undefined;
Expand Down
340 changes: 334 additions & 6 deletions codegen/sdk-codegen/aws-models/s3.json

Large diffs are not rendered by default.

0 comments on commit 1e42456

Please sign in to comment.