@aws-sdk/client-s3 3.936.0 → 3.937.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +136 -12
  3. package/dist-es/S3.js +4 -0
  4. package/dist-es/commands/GetBucketAbacCommand.js +20 -0
  5. package/dist-es/commands/PutBucketAbacCommand.js +26 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +4 -0
  8. package/dist-es/schemas/schemas_0.js +91 -12
  9. package/dist-types/S3.d.ts +14 -0
  10. package/dist-types/S3Client.d.ts +4 -2
  11. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -1
  12. package/dist-types/commands/GetBucketAbacCommand.d.ts +77 -0
  13. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -1
  14. package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -0
  15. package/dist-types/commands/PutBucketAbacCommand.d.ts +78 -0
  16. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +1 -1
  17. package/dist-types/commands/PutBucketTaggingCommand.d.ts +2 -1
  18. package/dist-types/commands/UploadPartCommand.d.ts +3 -0
  19. package/dist-types/commands/UploadPartCopyCommand.d.ts +3 -0
  20. package/dist-types/commands/index.d.ts +2 -0
  21. package/dist-types/models/enums.d.ts +12 -0
  22. package/dist-types/models/models_0.d.ts +73 -100
  23. package/dist-types/models/models_1.d.ts +101 -2
  24. package/dist-types/schemas/schemas_0.d.ts +6 -0
  25. package/dist-types/ts3.4/S3.d.ts +34 -0
  26. package/dist-types/ts3.4/S3Client.d.ts +12 -0
  27. package/dist-types/ts3.4/commands/GetBucketAbacCommand.d.ts +47 -0
  28. package/dist-types/ts3.4/commands/PutBucketAbacCommand.d.ts +45 -0
  29. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  30. package/dist-types/ts3.4/models/enums.d.ts +6 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +18 -22
  32. package/dist-types/ts3.4/models/models_1.d.ts +25 -2
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
  34. package/package.json +1 -1
@@ -26,6 +26,7 @@ import { DeleteObjectCommandInput, DeleteObjectCommandOutput } from "./commands/
26
26
  import { DeleteObjectsCommandInput, DeleteObjectsCommandOutput } from "./commands/DeleteObjectsCommand";
27
27
  import { DeleteObjectTaggingCommandInput, DeleteObjectTaggingCommandOutput } from "./commands/DeleteObjectTaggingCommand";
28
28
  import { DeletePublicAccessBlockCommandInput, DeletePublicAccessBlockCommandOutput } from "./commands/DeletePublicAccessBlockCommand";
29
+ import { GetBucketAbacCommandInput, GetBucketAbacCommandOutput } from "./commands/GetBucketAbacCommand";
29
30
  import { GetBucketAccelerateConfigurationCommandInput, GetBucketAccelerateConfigurationCommandOutput } from "./commands/GetBucketAccelerateConfigurationCommand";
30
31
  import { GetBucketAclCommandInput, GetBucketAclCommandOutput } from "./commands/GetBucketAclCommand";
31
32
  import { GetBucketAnalyticsConfigurationCommandInput, GetBucketAnalyticsConfigurationCommandOutput } from "./commands/GetBucketAnalyticsConfigurationCommand";
@@ -70,6 +71,7 @@ import { ListObjectsCommandInput, ListObjectsCommandOutput } from "./commands/Li
70
71
  import { ListObjectsV2CommandInput, ListObjectsV2CommandOutput } from "./commands/ListObjectsV2Command";
71
72
  import { ListObjectVersionsCommandInput, ListObjectVersionsCommandOutput } from "./commands/ListObjectVersionsCommand";
72
73
  import { ListPartsCommandInput, ListPartsCommandOutput } from "./commands/ListPartsCommand";
74
+ import { PutBucketAbacCommandInput, PutBucketAbacCommandOutput } from "./commands/PutBucketAbacCommand";
73
75
  import { PutBucketAccelerateConfigurationCommandInput, PutBucketAccelerateConfigurationCommandOutput } from "./commands/PutBucketAccelerateConfigurationCommand";
74
76
  import { PutBucketAclCommandInput, PutBucketAclCommandOutput } from "./commands/PutBucketAclCommand";
75
77
  import { PutBucketAnalyticsConfigurationCommandInput, PutBucketAnalyticsConfigurationCommandOutput } from "./commands/PutBucketAnalyticsConfigurationCommand";
@@ -267,6 +269,12 @@ export interface S3 {
267
269
  deletePublicAccessBlock(args: DeletePublicAccessBlockCommandInput, options?: __HttpHandlerOptions): Promise<DeletePublicAccessBlockCommandOutput>;
268
270
  deletePublicAccessBlock(args: DeletePublicAccessBlockCommandInput, cb: (err: any, data?: DeletePublicAccessBlockCommandOutput) => void): void;
269
271
  deletePublicAccessBlock(args: DeletePublicAccessBlockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePublicAccessBlockCommandOutput) => void): void;
272
+ /**
273
+ * @see {@link GetBucketAbacCommand}
274
+ */
275
+ getBucketAbac(args: GetBucketAbacCommandInput, options?: __HttpHandlerOptions): Promise<GetBucketAbacCommandOutput>;
276
+ getBucketAbac(args: GetBucketAbacCommandInput, cb: (err: any, data?: GetBucketAbacCommandOutput) => void): void;
277
+ getBucketAbac(args: GetBucketAbacCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketAbacCommandOutput) => void): void;
270
278
  /**
271
279
  * @see {@link GetBucketAccelerateConfigurationCommand}
272
280
  */
@@ -533,6 +541,12 @@ export interface S3 {
533
541
  listParts(args: ListPartsCommandInput, options?: __HttpHandlerOptions): Promise<ListPartsCommandOutput>;
534
542
  listParts(args: ListPartsCommandInput, cb: (err: any, data?: ListPartsCommandOutput) => void): void;
535
543
  listParts(args: ListPartsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPartsCommandOutput) => void): void;
544
+ /**
545
+ * @see {@link PutBucketAbacCommand}
546
+ */
547
+ putBucketAbac(args: PutBucketAbacCommandInput, options?: __HttpHandlerOptions): Promise<PutBucketAbacCommandOutput>;
548
+ putBucketAbac(args: PutBucketAbacCommandInput, cb: (err: any, data?: PutBucketAbacCommandOutput) => void): void;
549
+ putBucketAbac(args: PutBucketAbacCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketAbacCommandOutput) => void): void;
536
550
  /**
537
551
  * @see {@link PutBucketAccelerateConfigurationCommand}
538
552
  */
@@ -39,6 +39,7 @@ import { DeleteObjectCommandInput, DeleteObjectCommandOutput } from "./commands/
39
39
  import { DeleteObjectsCommandInput, DeleteObjectsCommandOutput } from "./commands/DeleteObjectsCommand";
40
40
  import { DeleteObjectTaggingCommandInput, DeleteObjectTaggingCommandOutput } from "./commands/DeleteObjectTaggingCommand";
41
41
  import { DeletePublicAccessBlockCommandInput, DeletePublicAccessBlockCommandOutput } from "./commands/DeletePublicAccessBlockCommand";
42
+ import { GetBucketAbacCommandInput, GetBucketAbacCommandOutput } from "./commands/GetBucketAbacCommand";
42
43
  import { GetBucketAccelerateConfigurationCommandInput, GetBucketAccelerateConfigurationCommandOutput } from "./commands/GetBucketAccelerateConfigurationCommand";
43
44
  import { GetBucketAclCommandInput, GetBucketAclCommandOutput } from "./commands/GetBucketAclCommand";
44
45
  import { GetBucketAnalyticsConfigurationCommandInput, GetBucketAnalyticsConfigurationCommandOutput } from "./commands/GetBucketAnalyticsConfigurationCommand";
@@ -83,6 +84,7 @@ import { ListObjectsCommandInput, ListObjectsCommandOutput } from "./commands/Li
83
84
  import { ListObjectsV2CommandInput, ListObjectsV2CommandOutput } from "./commands/ListObjectsV2Command";
84
85
  import { ListObjectVersionsCommandInput, ListObjectVersionsCommandOutput } from "./commands/ListObjectVersionsCommand";
85
86
  import { ListPartsCommandInput, ListPartsCommandOutput } from "./commands/ListPartsCommand";
87
+ import { PutBucketAbacCommandInput, PutBucketAbacCommandOutput } from "./commands/PutBucketAbacCommand";
86
88
  import { PutBucketAccelerateConfigurationCommandInput, PutBucketAccelerateConfigurationCommandOutput } from "./commands/PutBucketAccelerateConfigurationCommand";
87
89
  import { PutBucketAclCommandInput, PutBucketAclCommandOutput } from "./commands/PutBucketAclCommand";
88
90
  import { PutBucketAnalyticsConfigurationCommandInput, PutBucketAnalyticsConfigurationCommandOutput } from "./commands/PutBucketAnalyticsConfigurationCommand";
@@ -122,11 +124,11 @@ export { __Client };
122
124
  /**
123
125
  * @public
124
126
  */
125
- export type ServiceInputTypes = AbortMultipartUploadCommandInput | CompleteMultipartUploadCommandInput | CopyObjectCommandInput | CreateBucketCommandInput | CreateBucketMetadataConfigurationCommandInput | CreateBucketMetadataTableConfigurationCommandInput | CreateMultipartUploadCommandInput | CreateSessionCommandInput | DeleteBucketAnalyticsConfigurationCommandInput | DeleteBucketCommandInput | DeleteBucketCorsCommandInput | DeleteBucketEncryptionCommandInput | DeleteBucketIntelligentTieringConfigurationCommandInput | DeleteBucketInventoryConfigurationCommandInput | DeleteBucketLifecycleCommandInput | DeleteBucketMetadataConfigurationCommandInput | DeleteBucketMetadataTableConfigurationCommandInput | DeleteBucketMetricsConfigurationCommandInput | DeleteBucketOwnershipControlsCommandInput | DeleteBucketPolicyCommandInput | DeleteBucketReplicationCommandInput | DeleteBucketTaggingCommandInput | DeleteBucketWebsiteCommandInput | DeleteObjectCommandInput | DeleteObjectTaggingCommandInput | DeleteObjectsCommandInput | DeletePublicAccessBlockCommandInput | GetBucketAccelerateConfigurationCommandInput | GetBucketAclCommandInput | GetBucketAnalyticsConfigurationCommandInput | GetBucketCorsCommandInput | GetBucketEncryptionCommandInput | GetBucketIntelligentTieringConfigurationCommandInput | GetBucketInventoryConfigurationCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketLocationCommandInput | GetBucketLoggingCommandInput | GetBucketMetadataConfigurationCommandInput | GetBucketMetadataTableConfigurationCommandInput | GetBucketMetricsConfigurationCommandInput | GetBucketNotificationConfigurationCommandInput | GetBucketOwnershipControlsCommandInput | GetBucketPolicyCommandInput | GetBucketPolicyStatusCommandInput | GetBucketReplicationCommandInput | GetBucketRequestPaymentCommandInput | GetBucketTaggingCommandInput | GetBucketVersioningCommandInput | GetBucketWebsiteCommandInput | GetObjectAclCommandInput | GetObjectAttributesCommandInput | GetObjectCommandInput | GetObjectLegalHoldCommandInput | GetObjectLockConfigurationCommandInput | GetObjectRetentionCommandInput | GetObjectTaggingCommandInput | GetObjectTorrentCommandInput | GetPublicAccessBlockCommandInput | HeadBucketCommandInput | HeadObjectCommandInput | ListBucketAnalyticsConfigurationsCommandInput | ListBucketIntelligentTieringConfigurationsCommandInput | ListBucketInventoryConfigurationsCommandInput | ListBucketMetricsConfigurationsCommandInput | ListBucketsCommandInput | ListDirectoryBucketsCommandInput | ListMultipartUploadsCommandInput | ListObjectVersionsCommandInput | ListObjectsCommandInput | ListObjectsV2CommandInput | ListPartsCommandInput | PutBucketAccelerateConfigurationCommandInput | PutBucketAclCommandInput | PutBucketAnalyticsConfigurationCommandInput | PutBucketCorsCommandInput | PutBucketEncryptionCommandInput | PutBucketIntelligentTieringConfigurationCommandInput | PutBucketInventoryConfigurationCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketLoggingCommandInput | PutBucketMetricsConfigurationCommandInput | PutBucketNotificationConfigurationCommandInput | PutBucketOwnershipControlsCommandInput | PutBucketPolicyCommandInput | PutBucketReplicationCommandInput | PutBucketRequestPaymentCommandInput | PutBucketTaggingCommandInput | PutBucketVersioningCommandInput | PutBucketWebsiteCommandInput | PutObjectAclCommandInput | PutObjectCommandInput | PutObjectLegalHoldCommandInput | PutObjectLockConfigurationCommandInput | PutObjectRetentionCommandInput | PutObjectTaggingCommandInput | PutPublicAccessBlockCommandInput | RenameObjectCommandInput | RestoreObjectCommandInput | SelectObjectContentCommandInput | UpdateBucketMetadataInventoryTableConfigurationCommandInput | UpdateBucketMetadataJournalTableConfigurationCommandInput | UploadPartCommandInput | UploadPartCopyCommandInput | WriteGetObjectResponseCommandInput;
127
+ export type ServiceInputTypes = AbortMultipartUploadCommandInput | CompleteMultipartUploadCommandInput | CopyObjectCommandInput | CreateBucketCommandInput | CreateBucketMetadataConfigurationCommandInput | CreateBucketMetadataTableConfigurationCommandInput | CreateMultipartUploadCommandInput | CreateSessionCommandInput | DeleteBucketAnalyticsConfigurationCommandInput | DeleteBucketCommandInput | DeleteBucketCorsCommandInput | DeleteBucketEncryptionCommandInput | DeleteBucketIntelligentTieringConfigurationCommandInput | DeleteBucketInventoryConfigurationCommandInput | DeleteBucketLifecycleCommandInput | DeleteBucketMetadataConfigurationCommandInput | DeleteBucketMetadataTableConfigurationCommandInput | DeleteBucketMetricsConfigurationCommandInput | DeleteBucketOwnershipControlsCommandInput | DeleteBucketPolicyCommandInput | DeleteBucketReplicationCommandInput | DeleteBucketTaggingCommandInput | DeleteBucketWebsiteCommandInput | DeleteObjectCommandInput | DeleteObjectTaggingCommandInput | DeleteObjectsCommandInput | DeletePublicAccessBlockCommandInput | GetBucketAbacCommandInput | GetBucketAccelerateConfigurationCommandInput | GetBucketAclCommandInput | GetBucketAnalyticsConfigurationCommandInput | GetBucketCorsCommandInput | GetBucketEncryptionCommandInput | GetBucketIntelligentTieringConfigurationCommandInput | GetBucketInventoryConfigurationCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketLocationCommandInput | GetBucketLoggingCommandInput | GetBucketMetadataConfigurationCommandInput | GetBucketMetadataTableConfigurationCommandInput | GetBucketMetricsConfigurationCommandInput | GetBucketNotificationConfigurationCommandInput | GetBucketOwnershipControlsCommandInput | GetBucketPolicyCommandInput | GetBucketPolicyStatusCommandInput | GetBucketReplicationCommandInput | GetBucketRequestPaymentCommandInput | GetBucketTaggingCommandInput | GetBucketVersioningCommandInput | GetBucketWebsiteCommandInput | GetObjectAclCommandInput | GetObjectAttributesCommandInput | GetObjectCommandInput | GetObjectLegalHoldCommandInput | GetObjectLockConfigurationCommandInput | GetObjectRetentionCommandInput | GetObjectTaggingCommandInput | GetObjectTorrentCommandInput | GetPublicAccessBlockCommandInput | HeadBucketCommandInput | HeadObjectCommandInput | ListBucketAnalyticsConfigurationsCommandInput | ListBucketIntelligentTieringConfigurationsCommandInput | ListBucketInventoryConfigurationsCommandInput | ListBucketMetricsConfigurationsCommandInput | ListBucketsCommandInput | ListDirectoryBucketsCommandInput | ListMultipartUploadsCommandInput | ListObjectVersionsCommandInput | ListObjectsCommandInput | ListObjectsV2CommandInput | ListPartsCommandInput | PutBucketAbacCommandInput | PutBucketAccelerateConfigurationCommandInput | PutBucketAclCommandInput | PutBucketAnalyticsConfigurationCommandInput | PutBucketCorsCommandInput | PutBucketEncryptionCommandInput | PutBucketIntelligentTieringConfigurationCommandInput | PutBucketInventoryConfigurationCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketLoggingCommandInput | PutBucketMetricsConfigurationCommandInput | PutBucketNotificationConfigurationCommandInput | PutBucketOwnershipControlsCommandInput | PutBucketPolicyCommandInput | PutBucketReplicationCommandInput | PutBucketRequestPaymentCommandInput | PutBucketTaggingCommandInput | PutBucketVersioningCommandInput | PutBucketWebsiteCommandInput | PutObjectAclCommandInput | PutObjectCommandInput | PutObjectLegalHoldCommandInput | PutObjectLockConfigurationCommandInput | PutObjectRetentionCommandInput | PutObjectTaggingCommandInput | PutPublicAccessBlockCommandInput | RenameObjectCommandInput | RestoreObjectCommandInput | SelectObjectContentCommandInput | UpdateBucketMetadataInventoryTableConfigurationCommandInput | UpdateBucketMetadataJournalTableConfigurationCommandInput | UploadPartCommandInput | UploadPartCopyCommandInput | WriteGetObjectResponseCommandInput;
126
128
  /**
127
129
  * @public
128
130
  */
129
- export type ServiceOutputTypes = AbortMultipartUploadCommandOutput | CompleteMultipartUploadCommandOutput | CopyObjectCommandOutput | CreateBucketCommandOutput | CreateBucketMetadataConfigurationCommandOutput | CreateBucketMetadataTableConfigurationCommandOutput | CreateMultipartUploadCommandOutput | CreateSessionCommandOutput | DeleteBucketAnalyticsConfigurationCommandOutput | DeleteBucketCommandOutput | DeleteBucketCorsCommandOutput | DeleteBucketEncryptionCommandOutput | DeleteBucketIntelligentTieringConfigurationCommandOutput | DeleteBucketInventoryConfigurationCommandOutput | DeleteBucketLifecycleCommandOutput | DeleteBucketMetadataConfigurationCommandOutput | DeleteBucketMetadataTableConfigurationCommandOutput | DeleteBucketMetricsConfigurationCommandOutput | DeleteBucketOwnershipControlsCommandOutput | DeleteBucketPolicyCommandOutput | DeleteBucketReplicationCommandOutput | DeleteBucketTaggingCommandOutput | DeleteBucketWebsiteCommandOutput | DeleteObjectCommandOutput | DeleteObjectTaggingCommandOutput | DeleteObjectsCommandOutput | DeletePublicAccessBlockCommandOutput | GetBucketAccelerateConfigurationCommandOutput | GetBucketAclCommandOutput | GetBucketAnalyticsConfigurationCommandOutput | GetBucketCorsCommandOutput | GetBucketEncryptionCommandOutput | GetBucketIntelligentTieringConfigurationCommandOutput | GetBucketInventoryConfigurationCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketLocationCommandOutput | GetBucketLoggingCommandOutput | GetBucketMetadataConfigurationCommandOutput | GetBucketMetadataTableConfigurationCommandOutput | GetBucketMetricsConfigurationCommandOutput | GetBucketNotificationConfigurationCommandOutput | GetBucketOwnershipControlsCommandOutput | GetBucketPolicyCommandOutput | GetBucketPolicyStatusCommandOutput | GetBucketReplicationCommandOutput | GetBucketRequestPaymentCommandOutput | GetBucketTaggingCommandOutput | GetBucketVersioningCommandOutput | GetBucketWebsiteCommandOutput | GetObjectAclCommandOutput | GetObjectAttributesCommandOutput | GetObjectCommandOutput | GetObjectLegalHoldCommandOutput | GetObjectLockConfigurationCommandOutput | GetObjectRetentionCommandOutput | GetObjectTaggingCommandOutput | GetObjectTorrentCommandOutput | GetPublicAccessBlockCommandOutput | HeadBucketCommandOutput | HeadObjectCommandOutput | ListBucketAnalyticsConfigurationsCommandOutput | ListBucketIntelligentTieringConfigurationsCommandOutput | ListBucketInventoryConfigurationsCommandOutput | ListBucketMetricsConfigurationsCommandOutput | ListBucketsCommandOutput | ListDirectoryBucketsCommandOutput | ListMultipartUploadsCommandOutput | ListObjectVersionsCommandOutput | ListObjectsCommandOutput | ListObjectsV2CommandOutput | ListPartsCommandOutput | PutBucketAccelerateConfigurationCommandOutput | PutBucketAclCommandOutput | PutBucketAnalyticsConfigurationCommandOutput | PutBucketCorsCommandOutput | PutBucketEncryptionCommandOutput | PutBucketIntelligentTieringConfigurationCommandOutput | PutBucketInventoryConfigurationCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketLoggingCommandOutput | PutBucketMetricsConfigurationCommandOutput | PutBucketNotificationConfigurationCommandOutput | PutBucketOwnershipControlsCommandOutput | PutBucketPolicyCommandOutput | PutBucketReplicationCommandOutput | PutBucketRequestPaymentCommandOutput | PutBucketTaggingCommandOutput | PutBucketVersioningCommandOutput | PutBucketWebsiteCommandOutput | PutObjectAclCommandOutput | PutObjectCommandOutput | PutObjectLegalHoldCommandOutput | PutObjectLockConfigurationCommandOutput | PutObjectRetentionCommandOutput | PutObjectTaggingCommandOutput | PutPublicAccessBlockCommandOutput | RenameObjectCommandOutput | RestoreObjectCommandOutput | SelectObjectContentCommandOutput | UpdateBucketMetadataInventoryTableConfigurationCommandOutput | UpdateBucketMetadataJournalTableConfigurationCommandOutput | UploadPartCommandOutput | UploadPartCopyCommandOutput | WriteGetObjectResponseCommandOutput;
131
+ export type ServiceOutputTypes = AbortMultipartUploadCommandOutput | CompleteMultipartUploadCommandOutput | CopyObjectCommandOutput | CreateBucketCommandOutput | CreateBucketMetadataConfigurationCommandOutput | CreateBucketMetadataTableConfigurationCommandOutput | CreateMultipartUploadCommandOutput | CreateSessionCommandOutput | DeleteBucketAnalyticsConfigurationCommandOutput | DeleteBucketCommandOutput | DeleteBucketCorsCommandOutput | DeleteBucketEncryptionCommandOutput | DeleteBucketIntelligentTieringConfigurationCommandOutput | DeleteBucketInventoryConfigurationCommandOutput | DeleteBucketLifecycleCommandOutput | DeleteBucketMetadataConfigurationCommandOutput | DeleteBucketMetadataTableConfigurationCommandOutput | DeleteBucketMetricsConfigurationCommandOutput | DeleteBucketOwnershipControlsCommandOutput | DeleteBucketPolicyCommandOutput | DeleteBucketReplicationCommandOutput | DeleteBucketTaggingCommandOutput | DeleteBucketWebsiteCommandOutput | DeleteObjectCommandOutput | DeleteObjectTaggingCommandOutput | DeleteObjectsCommandOutput | DeletePublicAccessBlockCommandOutput | GetBucketAbacCommandOutput | GetBucketAccelerateConfigurationCommandOutput | GetBucketAclCommandOutput | GetBucketAnalyticsConfigurationCommandOutput | GetBucketCorsCommandOutput | GetBucketEncryptionCommandOutput | GetBucketIntelligentTieringConfigurationCommandOutput | GetBucketInventoryConfigurationCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketLocationCommandOutput | GetBucketLoggingCommandOutput | GetBucketMetadataConfigurationCommandOutput | GetBucketMetadataTableConfigurationCommandOutput | GetBucketMetricsConfigurationCommandOutput | GetBucketNotificationConfigurationCommandOutput | GetBucketOwnershipControlsCommandOutput | GetBucketPolicyCommandOutput | GetBucketPolicyStatusCommandOutput | GetBucketReplicationCommandOutput | GetBucketRequestPaymentCommandOutput | GetBucketTaggingCommandOutput | GetBucketVersioningCommandOutput | GetBucketWebsiteCommandOutput | GetObjectAclCommandOutput | GetObjectAttributesCommandOutput | GetObjectCommandOutput | GetObjectLegalHoldCommandOutput | GetObjectLockConfigurationCommandOutput | GetObjectRetentionCommandOutput | GetObjectTaggingCommandOutput | GetObjectTorrentCommandOutput | GetPublicAccessBlockCommandOutput | HeadBucketCommandOutput | HeadObjectCommandOutput | ListBucketAnalyticsConfigurationsCommandOutput | ListBucketIntelligentTieringConfigurationsCommandOutput | ListBucketInventoryConfigurationsCommandOutput | ListBucketMetricsConfigurationsCommandOutput | ListBucketsCommandOutput | ListDirectoryBucketsCommandOutput | ListMultipartUploadsCommandOutput | ListObjectVersionsCommandOutput | ListObjectsCommandOutput | ListObjectsV2CommandOutput | ListPartsCommandOutput | PutBucketAbacCommandOutput | PutBucketAccelerateConfigurationCommandOutput | PutBucketAclCommandOutput | PutBucketAnalyticsConfigurationCommandOutput | PutBucketCorsCommandOutput | PutBucketEncryptionCommandOutput | PutBucketIntelligentTieringConfigurationCommandOutput | PutBucketInventoryConfigurationCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketLoggingCommandOutput | PutBucketMetricsConfigurationCommandOutput | PutBucketNotificationConfigurationCommandOutput | PutBucketOwnershipControlsCommandOutput | PutBucketPolicyCommandOutput | PutBucketReplicationCommandOutput | PutBucketRequestPaymentCommandOutput | PutBucketTaggingCommandOutput | PutBucketVersioningCommandOutput | PutBucketWebsiteCommandOutput | PutObjectAclCommandOutput | PutObjectCommandOutput | PutObjectLegalHoldCommandOutput | PutObjectLockConfigurationCommandOutput | PutObjectRetentionCommandOutput | PutObjectTaggingCommandOutput | PutPublicAccessBlockCommandOutput | RenameObjectCommandOutput | RestoreObjectCommandOutput | SelectObjectContentCommandOutput | UpdateBucketMetadataInventoryTableConfigurationCommandOutput | UpdateBucketMetadataJournalTableConfigurationCommandOutput | UploadPartCommandOutput | UploadPartCopyCommandOutput | WriteGetObjectResponseCommandOutput;
130
132
  /**
131
133
  * @public
132
134
  */
@@ -30,7 +30,8 @@ declare const DeleteBucketTaggingCommand_base: {
30
30
  * <note>
31
31
  * <p>This operation is not supported for directory buckets.</p>
32
32
  * </note>
33
- * <p>Deletes tags from the bucket.</p>
33
+ * <p>Deletes tags from the general purpose bucket if attribute based access control (ABAC) is not enabled for the bucket. When you <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html">enable ABAC for a general purpose bucket</a>, you can no longer use this operation for that bucket and must use <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UntagResource.html">UntagResource</a> instead.</p>
34
+ * <p>if ABAC is not enabled for the bucket. When you <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html">enable ABAC for a general purpose bucket</a>, you can no longer use this operation for that bucket and must use <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UntagResource.html">UntagResource</a> instead.</p>
34
35
  * <p>To use this operation, you must have permission to perform the <code>s3:PutBucketTagging</code>
35
36
  * action. By default, the bucket owner has this permission and can grant this permission to others. </p>
36
37
  * <p>The following operations are related to <code>DeleteBucketTagging</code>:</p>
@@ -0,0 +1,77 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetBucketAbacOutput, GetBucketAbacRequest } from "../models/models_0";
4
+ import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetBucketAbacCommand}.
14
+ */
15
+ export interface GetBucketAbacCommandInput extends GetBucketAbacRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetBucketAbacCommand}.
21
+ */
22
+ export interface GetBucketAbacCommandOutput extends GetBucketAbacOutput, __MetadataBearer {
23
+ }
24
+ declare const GetBucketAbacCommand_base: {
25
+ new (input: GetBucketAbacCommandInput): import("@smithy/smithy-client").CommandImpl<GetBucketAbacCommandInput, GetBucketAbacCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetBucketAbacCommandInput): import("@smithy/smithy-client").CommandImpl<GetBucketAbacCommandInput, GetBucketAbacCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns the attribute-based access control (ABAC) property of the general purpose bucket. If the bucket ABAC is enabled, you can use tags for bucket access control. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html">Enabling ABAC in general purpose buckets</a>. Whether ABAC is enabled or disabled, you can use tags for cost tracking. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging.html">Using tags with S3 general purpose buckets</a>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3Client, GetBucketAbacCommand } from "@aws-sdk/client-s3"; // ES Modules import
35
+ * // const { S3Client, GetBucketAbacCommand } = require("@aws-sdk/client-s3"); // CommonJS import
36
+ * // import type { S3ClientConfig } from "@aws-sdk/client-s3";
37
+ * const config = {}; // type is S3ClientConfig
38
+ * const client = new S3Client(config);
39
+ * const input = { // GetBucketAbacRequest
40
+ * Bucket: "STRING_VALUE", // required
41
+ * ExpectedBucketOwner: "STRING_VALUE",
42
+ * };
43
+ * const command = new GetBucketAbacCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // GetBucketAbacOutput
46
+ * // AbacStatus: { // AbacStatus
47
+ * // Status: "Enabled" || "Disabled",
48
+ * // },
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param GetBucketAbacCommandInput - {@link GetBucketAbacCommandInput}
54
+ * @returns {@link GetBucketAbacCommandOutput}
55
+ * @see {@link GetBucketAbacCommandInput} for command's `input` shape.
56
+ * @see {@link GetBucketAbacCommandOutput} for command's `response` shape.
57
+ * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
58
+ *
59
+ * @throws {@link S3ServiceException}
60
+ * <p>Base exception class for all service exceptions from S3 service.</p>
61
+ *
62
+ *
63
+ * @public
64
+ */
65
+ export declare class GetBucketAbacCommand extends GetBucketAbacCommand_base {
66
+ /** @internal type navigation helper, not in runtime. */
67
+ protected static __types: {
68
+ api: {
69
+ input: GetBucketAbacRequest;
70
+ output: GetBucketAbacOutput;
71
+ };
72
+ sdk: {
73
+ input: GetBucketAbacCommandInput;
74
+ output: GetBucketAbacCommandOutput;
75
+ };
76
+ };
77
+ }
@@ -28,7 +28,7 @@ declare const GetBucketEncryptionCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Returns the default encryption configuration for an Amazon S3 bucket. By default, all buckets have a
31
- * default encryption configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). This operation also returns the <code>BucketKeyEnabled</code> and <code>BlockedEncryptionTypes</code> statuses. </p>
31
+ * default encryption configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). This operation also returns the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_BucketKeyEnabled.html">BucketKeyEnabled</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_BlockedEncryptionTypes.html">BlockedEncryptionTypes</a> statuses. </p>
32
32
  * <note>
33
33
  * <ul>
34
34
  * <li>
@@ -31,6 +31,7 @@ declare const GetBucketTaggingCommand_base: {
31
31
  * <p>This operation is not supported for directory buckets.</p>
32
32
  * </note>
33
33
  * <p>Returns the tag set associated with the general purpose bucket.</p>
34
+ * <p>if ABAC is not enabled for the bucket. When you <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html">enable ABAC for a general purpose bucket</a>, you can no longer use this operation for that bucket and must use <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListTagsForResource.html">ListTagsForResource</a> instead.</p>
34
35
  * <p>To use this operation, you must have permission to perform the <code>s3:GetBucketTagging</code>
35
36
  * action. By default, the bucket owner has this permission and can grant this permission to others.</p>
36
37
  * <p>
@@ -0,0 +1,78 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { PutBucketAbacRequest } from "../models/models_0";
4
+ import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutBucketAbacCommand}.
14
+ */
15
+ export interface PutBucketAbacCommandInput extends PutBucketAbacRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutBucketAbacCommand}.
21
+ */
22
+ export interface PutBucketAbacCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const PutBucketAbacCommand_base: {
25
+ new (input: PutBucketAbacCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketAbacCommandInput, PutBucketAbacCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: PutBucketAbacCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketAbacCommandInput, PutBucketAbacCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Sets the attribute-based access control (ABAC) property of the general purpose bucket. When you enable ABAC, you can use tags for bucket access control. Additionally, when ABAC is enabled, you must use the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_TagResource.html">TagResource</a>, <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UntagResource.html">UntagResource</a>, and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListTagsForResource.html">ListTagsForResource</a> actions to manage bucket tags, and you can nolonger use the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html">PutBucketTagging</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html">DeleteBucketTagging</a> actions to tag the bucket. You must also have the correct permissions for these actions. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html">Enabling ABAC in general purpose buckets</a>. </p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3Client, PutBucketAbacCommand } from "@aws-sdk/client-s3"; // ES Modules import
35
+ * // const { S3Client, PutBucketAbacCommand } = require("@aws-sdk/client-s3"); // CommonJS import
36
+ * // import type { S3ClientConfig } from "@aws-sdk/client-s3";
37
+ * const config = {}; // type is S3ClientConfig
38
+ * const client = new S3Client(config);
39
+ * const input = { // PutBucketAbacRequest
40
+ * Bucket: "STRING_VALUE", // required
41
+ * ContentMD5: "STRING_VALUE",
42
+ * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME",
43
+ * ExpectedBucketOwner: "STRING_VALUE",
44
+ * AbacStatus: { // AbacStatus
45
+ * Status: "Enabled" || "Disabled",
46
+ * },
47
+ * };
48
+ * const command = new PutBucketAbacCommand(input);
49
+ * const response = await client.send(command);
50
+ * // {};
51
+ *
52
+ * ```
53
+ *
54
+ * @param PutBucketAbacCommandInput - {@link PutBucketAbacCommandInput}
55
+ * @returns {@link PutBucketAbacCommandOutput}
56
+ * @see {@link PutBucketAbacCommandInput} for command's `input` shape.
57
+ * @see {@link PutBucketAbacCommandOutput} for command's `response` shape.
58
+ * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
59
+ *
60
+ * @throws {@link S3ServiceException}
61
+ * <p>Base exception class for all service exceptions from S3 service.</p>
62
+ *
63
+ *
64
+ * @public
65
+ */
66
+ export declare class PutBucketAbacCommand extends PutBucketAbacCommand_base {
67
+ /** @internal type navigation helper, not in runtime. */
68
+ protected static __types: {
69
+ api: {
70
+ input: PutBucketAbacRequest;
71
+ output: {};
72
+ };
73
+ sdk: {
74
+ input: PutBucketAbacCommandInput;
75
+ output: PutBucketAbacCommandOutput;
76
+ };
77
+ };
78
+ }
@@ -27,7 +27,7 @@ declare const PutBucketEncryptionCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>This operation configures default encryption and Amazon S3 Bucket Keys for an existing bucket. You can also block encryption types using this operation.</p>
30
+ * <p>This operation configures default encryption and Amazon S3 Bucket Keys for an existing bucket. You can also <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_BlockedEncryptionTypes.html">block encryption types</a> using this operation.</p>
31
31
  * <note>
32
32
  * <p>
33
33
  * <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
@@ -30,7 +30,8 @@ declare const PutBucketTaggingCommand_base: {
30
30
  * <note>
31
31
  * <p>This operation is not supported for directory buckets.</p>
32
32
  * </note>
33
- * <p>Sets the tags for a general purpose bucket. </p>
33
+ * <p>Sets the tags for a general purpose bucket if attribute based access control (ABAC) is not enabled for the bucket. When you <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html">enable ABAC for a general purpose bucket</a>, you can no longer use this operation for that bucket and must use the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_TagResource.html">TagResource</a> or <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UntagResource.html">UntagResource</a> operations instead.</p>
34
+ * <p>if ABAC is not enabled for the bucket. When you <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html">enable ABAC for a general purpose bucket</a>, you can no longer use this operation for that bucket and must use <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_TagResource.html">TagResource</a> instead.</p>
34
35
  * <p>Use tags to organize your Amazon Web Services bill to reflect your own cost structure. To do this, sign up to get
35
36
  * your Amazon Web Services account bill with tag key values included. Then, to see the cost of combined resources,
36
37
  * organize your billing information according to resources with the same tag key values. For example, you
@@ -128,6 +128,9 @@ declare const UploadPartCommand_base: {
128
128
  * parameters in each UploadPart request. Instead, you only need to specify the server-side
129
129
  * encryption parameters in the initial Initiate Multipart request. For more information, see
130
130
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html">CreateMultipartUpload</a>.</p>
131
+ * <note>
132
+ * <p>If you have server-side encryption with customer-provided keys (SSE-C) blocked for your general purpose bucket, you will get an HTTP 403 Access Denied error when you specify the SSE-C request headers while writing new data to your bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/blocking-unblocking-s3-c-encryption-gpb.html">Blocking or unblocking SSE-C for a general purpose bucket</a>.</p>
133
+ * </note>
131
134
  * <p>If you request server-side encryption using a customer-provided encryption key (SSE-C) in
132
135
  * your initiate multipart upload request, you must provide identical encryption information in
133
136
  * each part upload using the following request headers.</p>
@@ -149,6 +149,9 @@ declare const UploadPartCopyCommand_base: {
149
149
  * For information about using server-side encryption with
150
150
  * customer-provided encryption keys with the <code>UploadPartCopy</code> operation, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a> and
151
151
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>. </p>
152
+ * <note>
153
+ * <p>If you have server-side encryption with customer-provided keys (SSE-C) blocked for your general purpose bucket, you will get an HTTP 403 Access Denied error when you specify the SSE-C request headers while writing new data to your bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/blocking-unblocking-s3-c-encryption-gpb.html">Blocking or unblocking SSE-C for a general purpose bucket</a>.</p>
154
+ * </note>
152
155
  * </li>
153
156
  * <li>
154
157
  * <p>
@@ -25,6 +25,7 @@ export * from "./DeleteObjectCommand";
25
25
  export * from "./DeleteObjectTaggingCommand";
26
26
  export * from "./DeleteObjectsCommand";
27
27
  export * from "./DeletePublicAccessBlockCommand";
28
+ export * from "./GetBucketAbacCommand";
28
29
  export * from "./GetBucketAccelerateConfigurationCommand";
29
30
  export * from "./GetBucketAclCommand";
30
31
  export * from "./GetBucketAnalyticsConfigurationCommand";
@@ -69,6 +70,7 @@ export * from "./ListObjectVersionsCommand";
69
70
  export * from "./ListObjectsCommand";
70
71
  export * from "./ListObjectsV2Command";
71
72
  export * from "./ListPartsCommand";
73
+ export * from "./PutBucketAbacCommand";
72
74
  export * from "./PutBucketAccelerateConfigurationCommand";
73
75
  export * from "./PutBucketAclCommand";
74
76
  export * from "./PutBucketAnalyticsConfigurationCommand";
@@ -1,3 +1,15 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const BucketAbacStatus: {
6
+ readonly Disabled: "Disabled";
7
+ readonly Enabled: "Enabled";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type BucketAbacStatus = (typeof BucketAbacStatus)[keyof typeof BucketAbacStatus];
1
13
  /**
2
14
  * @public
3
15
  * @enum
@@ -1,5 +1,16 @@
1
1
  import { StreamingBlobTypes } from "@smithy/types";
2
- import { AnalyticsS3ExportFileFormat, ArchiveStatus, BucketAccelerateStatus, BucketCannedACL, BucketLocationConstraint, BucketLogsPermission, BucketType, BucketVersioningStatus, ChecksumAlgorithm, ChecksumMode, ChecksumType, CompressionType, DataRedundancy, DeleteMarkerReplicationStatus, EncodingType, EncryptionType, Event, ExistingObjectReplicationStatus, ExpirationState, ExpirationStatus, FileHeaderInfo, FilterRuleName, IntelligentTieringAccessTier, IntelligentTieringStatus, InventoryConfigurationState, InventoryFormat, InventoryFrequency, InventoryIncludedObjectVersions, InventoryOptionalField, JSONType, LocationType, MetadataDirective, MetricsStatus, MFADelete, MFADeleteStatus, ObjectAttributes, ObjectCannedACL, ObjectLockEnabled, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetentionMode, ObjectOwnership, ObjectStorageClass, ObjectVersionStorageClass, OptionalObjectAttributes, OwnerOverride, PartitionDateSource, Payer, Permission, Protocol, QuoteFields, ReplicaModificationsStatus, ReplicationRuleStatus, ReplicationStatus, ReplicationTimeStatus, RequestCharged, RequestPayer, S3TablesBucketType, ServerSideEncryption, SessionMode, SseKmsEncryptedObjectsStatus, StorageClass, StorageClassAnalysisSchemaVersion, TableSseAlgorithm, TaggingDirective, Tier, TransitionDefaultMinimumObjectSize, TransitionStorageClass, Type } from "./enums";
2
+ import { AnalyticsS3ExportFileFormat, ArchiveStatus, BucketAbacStatus, BucketAccelerateStatus, BucketCannedACL, BucketLocationConstraint, BucketLogsPermission, BucketType, BucketVersioningStatus, ChecksumAlgorithm, ChecksumMode, ChecksumType, DataRedundancy, DeleteMarkerReplicationStatus, EncodingType, EncryptionType, Event, ExistingObjectReplicationStatus, ExpirationState, ExpirationStatus, FileHeaderInfo, FilterRuleName, IntelligentTieringAccessTier, IntelligentTieringStatus, InventoryConfigurationState, InventoryFormat, InventoryFrequency, InventoryIncludedObjectVersions, InventoryOptionalField, JSONType, LocationType, MetadataDirective, MetricsStatus, MFADelete, MFADeleteStatus, ObjectAttributes, ObjectCannedACL, ObjectLockEnabled, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetentionMode, ObjectOwnership, ObjectStorageClass, ObjectVersionStorageClass, OptionalObjectAttributes, OwnerOverride, PartitionDateSource, Payer, Permission, Protocol, ReplicaModificationsStatus, ReplicationRuleStatus, ReplicationStatus, ReplicationTimeStatus, RequestCharged, RequestPayer, S3TablesBucketType, ServerSideEncryption, SessionMode, SseKmsEncryptedObjectsStatus, StorageClass, StorageClassAnalysisSchemaVersion, TableSseAlgorithm, TaggingDirective, Tier, TransitionDefaultMinimumObjectSize, TransitionStorageClass, Type } from "./enums";
3
+ /**
4
+ * <p>The ABAC status of the general purpose bucket. When ABAC is enabled for the general purpose bucket, you can use tags to manage access to the general purpose buckets as well as for cost tracking purposes. When ABAC is disabled for the general purpose buckets, you can only use tags for cost tracking purposes. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging.html">Using tags with S3 general purpose buckets</a>. </p>
5
+ * @public
6
+ */
7
+ export interface AbacStatus {
8
+ /**
9
+ * <p>The ABAC status of the general purpose bucket. </p>
10
+ * @public
11
+ */
12
+ Status?: BucketAbacStatus | undefined;
13
+ }
3
14
  /**
4
15
  * <p>Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before
5
16
  * permanently removing all parts of the upload. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config"> Aborting
@@ -5520,6 +5531,33 @@ export interface DeletePublicAccessBlockRequest {
5520
5531
  */
5521
5532
  ExpectedBucketOwner?: string | undefined;
5522
5533
  }
5534
+ /**
5535
+ * @public
5536
+ */
5537
+ export interface GetBucketAbacOutput {
5538
+ /**
5539
+ * <p>The ABAC status of the general purpose bucket. </p>
5540
+ * @public
5541
+ */
5542
+ AbacStatus?: AbacStatus | undefined;
5543
+ }
5544
+ /**
5545
+ * @public
5546
+ */
5547
+ export interface GetBucketAbacRequest {
5548
+ /**
5549
+ * <p>The name of the general purpose bucket.</p>
5550
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
5551
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
5552
+ * @public
5553
+ */
5554
+ Bucket: string | undefined;
5555
+ /**
5556
+ * <p>The Amazon Web Services account ID of the general purpose bucket's owner. </p>
5557
+ * @public
5558
+ */
5559
+ ExpectedBucketOwner?: string | undefined;
5560
+ }
5523
5561
  /**
5524
5562
  * @public
5525
5563
  */
@@ -12763,6 +12801,40 @@ export interface ListPartsRequest {
12763
12801
  */
12764
12802
  SSECustomerKeyMD5?: string | undefined;
12765
12803
  }
12804
+ /**
12805
+ * @public
12806
+ */
12807
+ export interface PutBucketAbacRequest {
12808
+ /**
12809
+ * <p>The name of the general purpose bucket.</p>
12810
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
12811
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
12812
+ * @public
12813
+ */
12814
+ Bucket: string | undefined;
12815
+ /**
12816
+ * <p>The MD5 hash of the <code>PutBucketAbac</code> request body. </p>
12817
+ * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
12818
+ * @public
12819
+ */
12820
+ ContentMD5?: string | undefined;
12821
+ /**
12822
+ * <p>Indicates the algorithm that you want Amazon S3 to use to create the checksum. For more
12823
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
12824
+ * @public
12825
+ */
12826
+ ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
12827
+ /**
12828
+ * <p>The Amazon Web Services account ID of the general purpose bucket's owner. </p>
12829
+ * @public
12830
+ */
12831
+ ExpectedBucketOwner?: string | undefined;
12832
+ /**
12833
+ * <p>The ABAC status of the general purpose bucket. When ABAC is enabled for the general purpose bucket, you can use tags to manage access to the general purpose buckets as well as for cost tracking purposes. When ABAC is disabled for the general purpose buckets, you can only use tags for cost tracking purposes. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging.html">Using tags with S3 general purpose buckets</a>. </p>
12834
+ * @public
12835
+ */
12836
+ AbacStatus: AbacStatus | undefined;
12837
+ }
12766
12838
  /**
12767
12839
  * @public
12768
12840
  */
@@ -15198,102 +15270,3 @@ export interface JSONInput {
15198
15270
  */
15199
15271
  export interface ParquetInput {
15200
15272
  }
15201
- /**
15202
- * <p>Describes the serialization format of the object.</p>
15203
- * @public
15204
- */
15205
- export interface InputSerialization {
15206
- /**
15207
- * <p>Describes the serialization of a CSV-encoded object.</p>
15208
- * @public
15209
- */
15210
- CSV?: CSVInput | undefined;
15211
- /**
15212
- * <p>Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default Value: NONE.</p>
15213
- * @public
15214
- */
15215
- CompressionType?: CompressionType | undefined;
15216
- /**
15217
- * <p>Specifies JSON as object's input serialization format.</p>
15218
- * @public
15219
- */
15220
- JSON?: JSONInput | undefined;
15221
- /**
15222
- * <p>Specifies Parquet as object's input serialization format.</p>
15223
- * @public
15224
- */
15225
- Parquet?: ParquetInput | undefined;
15226
- }
15227
- /**
15228
- * <p>Describes how uncompressed comma-separated values (CSV)-formatted results are formatted.</p>
15229
- * @public
15230
- */
15231
- export interface CSVOutput {
15232
- /**
15233
- * <p>Indicates whether to use quotation marks around output fields. </p>
15234
- * <ul>
15235
- * <li>
15236
- * <p>
15237
- * <code>ALWAYS</code>: Always use quotation marks for output fields.</p>
15238
- * </li>
15239
- * <li>
15240
- * <p>
15241
- * <code>ASNEEDED</code>: Use quotation marks for output fields when needed.</p>
15242
- * </li>
15243
- * </ul>
15244
- * @public
15245
- */
15246
- QuoteFields?: QuoteFields | undefined;
15247
- /**
15248
- * <p>The single character used for escaping the quote character inside an already escaped value.</p>
15249
- * @public
15250
- */
15251
- QuoteEscapeCharacter?: string | undefined;
15252
- /**
15253
- * <p>A single character used to separate individual records in the output. Instead of the default value,
15254
- * you can specify an arbitrary delimiter.</p>
15255
- * @public
15256
- */
15257
- RecordDelimiter?: string | undefined;
15258
- /**
15259
- * <p>The value used to separate individual fields in a record. You can specify an arbitrary
15260
- * delimiter.</p>
15261
- * @public
15262
- */
15263
- FieldDelimiter?: string | undefined;
15264
- /**
15265
- * <p>A single character used for escaping when the field delimiter is part of the value. For example, if
15266
- * the value is <code>a, b</code>, Amazon S3 wraps this field value in quotation marks, as follows: <code>" a ,
15267
- * b "</code>.</p>
15268
- * @public
15269
- */
15270
- QuoteCharacter?: string | undefined;
15271
- }
15272
- /**
15273
- * <p>Specifies JSON as request's output serialization format.</p>
15274
- * @public
15275
- */
15276
- export interface JSONOutput {
15277
- /**
15278
- * <p>The value used to separate individual records in the output. If no value is specified, Amazon S3 uses a
15279
- * newline character ('\n').</p>
15280
- * @public
15281
- */
15282
- RecordDelimiter?: string | undefined;
15283
- }
15284
- /**
15285
- * <p>Describes how results of the Select job are serialized.</p>
15286
- * @public
15287
- */
15288
- export interface OutputSerialization {
15289
- /**
15290
- * <p>Describes the serialization of CSV-encoded Select results.</p>
15291
- * @public
15292
- */
15293
- CSV?: CSVOutput | undefined;
15294
- /**
15295
- * <p>Specifies JSON as request's output serialization format.</p>
15296
- * @public
15297
- */
15298
- JSON?: JSONOutput | undefined;
15299
- }