Skip to content

Commit b1500f0

Browse files
author
awstools
committed
docs(client-s3-control): Updated max size of Prefixes parameter of Scope data type.
1 parent 8e9b368 commit b1500f0

File tree

3 files changed

+4
-47
lines changed

3 files changed

+4
-47
lines changed

clients/client-s3-control/src/commands/PutAccessPointScopeCommand.ts

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -30,51 +30,8 @@ export interface PutAccessPointScopeCommandOutput extends __MetadataBearer {}
3030

3131
/**
3232
* <p>Creates or replaces the access point scope for a directory bucket. You can use the access point scope to restrict access to specific prefixes, API operations, or a combination of both.</p>
33-
* <p>You can include one or more of the following API operations as permissions:</p>
34-
* <ul>
35-
* <li>
36-
* <p>
37-
* <code>PutObjet</code>
38-
* </p>
39-
* </li>
40-
* <li>
41-
* <p>
42-
* <code>GetObject</code>
43-
* </p>
44-
* </li>
45-
* <li>
46-
* <p>
47-
* <code>DeleteObject</code>
48-
* </p>
49-
* </li>
50-
* <li>
51-
* <p>
52-
* <code>ListBucket</code>
53-
* </p>
54-
* </li>
55-
* <li>
56-
* <p>
57-
* <code>GetObjectAttributes</code>
58-
* </p>
59-
* </li>
60-
* <li>
61-
* <p>
62-
* <code>AbortMultipartUpload</code>
63-
* </p>
64-
* </li>
65-
* <li>
66-
* <p>
67-
* <code>ListBucketMultipartUpload</code>
68-
* </p>
69-
* </li>
70-
* <li>
71-
* <p>
72-
* <code>ListMultiPartUploadParts</code>
73-
* </p>
74-
* </li>
75-
* </ul>
7633
* <note>
77-
* <p>You can specify any amount of prefixes, but the total length of characters of all prefixes must be less than 512 KB in size.</p>
34+
* <p>You can specify any amount of prefixes, but the total length of characters of all prefixes must be less than 256 bytes in size.</p>
7835
* </note>
7936
* <p>To use this operation, you must have the permission to perform the
8037
* <code>s3express:PutAccessPointScope</code> action.</p>

clients/client-s3-control/src/models/models_0.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ export type ScopePermission = (typeof ScopePermission)[keyof typeof ScopePermiss
12721272
*/
12731273
export interface Scope {
12741274
/**
1275-
* <p>You can specify any amount of prefixes, but the total length of characters of all prefixes must be less than 512 KB in size.</p>
1275+
* <p>You can specify any amount of prefixes, but the total length of characters of all prefixes must be less than 256 bytes in size.</p>
12761276
* @public
12771277
*/
12781278
Prefixes?: string[] | undefined;

codegen/sdk-codegen/aws-models/s3-control.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17469,7 +17469,7 @@
1746917469
"target": "smithy.api#Unit"
1747017470
},
1747117471
"traits": {
17472-
"smithy.api#documentation": "<p>Creates or replaces the access point scope for a directory bucket. You can use the access point scope to restrict access to specific prefixes, API operations, or a combination of both.</p>\n <p>You can include one or more of the following API operations as permissions:</p>\n <ul>\n <li>\n <p>\n <code>PutObjet</code>\n </p>\n </li>\n <li>\n <p>\n <code>GetObject</code>\n </p>\n </li>\n <li>\n <p>\n <code>DeleteObject</code>\n </p>\n </li>\n <li>\n <p>\n <code>ListBucket</code>\n </p>\n </li>\n <li>\n <p>\n <code>GetObjectAttributes</code>\n </p>\n </li>\n <li>\n <p>\n <code>AbortMultipartUpload</code>\n </p>\n </li>\n <li>\n <p>\n <code>ListBucketMultipartUpload</code>\n </p>\n </li>\n <li>\n <p>\n <code>ListMultiPartUploadParts</code>\n </p>\n </li>\n </ul>\n <note>\n <p>You can specify any amount of prefixes, but the total length of characters of all prefixes must be less than 512 KB in size.</p>\n </note>\n <p>To use this operation, you must have the permission to perform the\n <code>s3express:PutAccessPointScope</code> action.</p>\n <p>For information about REST API errors, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses\">REST error responses</a>.</p>",
17472+
"smithy.api#documentation": "<p>Creates or replaces the access point scope for a directory bucket. You can use the access point scope to restrict access to specific prefixes, API operations, or a combination of both.</p>\n <note>\n <p>You can specify any amount of prefixes, but the total length of characters of all prefixes must be less than 256 bytes in size.</p>\n </note>\n <p>To use this operation, you must have the permission to perform the\n <code>s3express:PutAccessPointScope</code> action.</p>\n <p>For information about REST API errors, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses\">REST error responses</a>.</p>",
1747317473
"smithy.api#http": {
1747417474
"method": "PUT",
1747517475
"uri": "/v20180820/accesspoint/{Name}/scope",
@@ -19844,7 +19844,7 @@
1984419844
"Prefixes": {
1984519845
"target": "com.amazonaws.s3control#PrefixesList",
1984619846
"traits": {
19847-
"smithy.api#documentation": "<p>You can specify any amount of prefixes, but the total length of characters of all prefixes must be less than 512 KB in size.</p>",
19847+
"smithy.api#documentation": "<p>You can specify any amount of prefixes, but the total length of characters of all prefixes must be less than 256 bytes in size.</p>",
1984819848
"smithy.api#xmlName": "Prefixes"
1984919849
}
1985019850
},

0 commit comments

Comments
 (0)