@aws-sdk/client-s3 3.936.0 → 3.939.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 +5 -5
package/README.md CHANGED
@@ -418,6 +418,14 @@ DeletePublicAccessBlock
418
418
 
419
419
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeletePublicAccessBlockCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeletePublicAccessBlockCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeletePublicAccessBlockCommandOutput/)
420
420
 
421
+ </details>
422
+ <details>
423
+ <summary>
424
+ GetBucketAbac
425
+ </summary>
426
+
427
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketAbacCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketAbacCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketAbacCommandOutput/)
428
+
421
429
  </details>
422
430
  <details>
423
431
  <summary>
@@ -770,6 +778,14 @@ ListParts
770
778
 
771
779
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/ListPartsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListPartsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListPartsCommandOutput/)
772
780
 
781
+ </details>
782
+ <details>
783
+ <summary>
784
+ PutBucketAbac
785
+ </summary>
786
+
787
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketAbacCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketAbacCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketAbacCommandOutput/)
788
+
773
789
  </details>
774
790
  <details>
775
791
  <summary>
package/dist-cjs/index.js CHANGED
@@ -256,9 +256,10 @@ const _APAc = "AccessPointArn";
256
256
  const _AQRD = "AllowQuotedRecordDelimiter";
257
257
  const _AR = "AcceptRanges";
258
258
  const _ARI = "AbortRuleId";
259
- const _AS = "ArchiveStatus";
259
+ const _AS = "AbacStatus";
260
260
  const _ASBD = "AnalyticsS3BucketDestination";
261
261
  const _ASSEBD = "ApplyServerSideEncryptionByDefault";
262
+ const _ASr = "ArchiveStatus";
262
263
  const _AT = "AccessTier";
263
264
  const _An = "And";
264
265
  const _B = "Bucket";
@@ -480,15 +481,18 @@ const _Fi = "Field";
480
481
  const _Fo = "Format";
481
482
  const _Fr = "Frequency";
482
483
  const _G = "Grants";
483
- const _GBA = "GetBucketAcl";
484
+ const _GBA = "GetBucketAbac";
484
485
  const _GBAC = "GetBucketAccelerateConfiguration";
485
486
  const _GBACO = "GetBucketAccelerateConfigurationOutput";
486
487
  const _GBACOe = "GetBucketAnalyticsConfigurationOutput";
487
488
  const _GBACR = "GetBucketAccelerateConfigurationRequest";
488
489
  const _GBACRe = "GetBucketAnalyticsConfigurationRequest";
489
490
  const _GBACe = "GetBucketAnalyticsConfiguration";
490
- const _GBAO = "GetBucketAclOutput";
491
- const _GBAR = "GetBucketAclRequest";
491
+ const _GBAO = "GetBucketAbacOutput";
492
+ const _GBAOe = "GetBucketAclOutput";
493
+ const _GBAR = "GetBucketAbacRequest";
494
+ const _GBARe = "GetBucketAclRequest";
495
+ const _GBAe = "GetBucketAcl";
492
496
  const _GBC = "GetBucketCors";
493
497
  const _GBCO = "GetBucketCorsOutput";
494
498
  const _GBCR = "GetBucketCorsRequest";
@@ -797,12 +801,14 @@ const _Ob = "Objects";
797
801
  const _Obj = "Object";
798
802
  const _P = "Prefix";
799
803
  const _PABC = "PublicAccessBlockConfiguration";
800
- const _PBA = "PutBucketAcl";
804
+ const _PBA = "PutBucketAbac";
801
805
  const _PBAC = "PutBucketAccelerateConfiguration";
802
806
  const _PBACR = "PutBucketAccelerateConfigurationRequest";
803
807
  const _PBACRu = "PutBucketAnalyticsConfigurationRequest";
804
808
  const _PBACu = "PutBucketAnalyticsConfiguration";
805
- const _PBAR = "PutBucketAclRequest";
809
+ const _PBAR = "PutBucketAbacRequest";
810
+ const _PBARu = "PutBucketAclRequest";
811
+ const _PBAu = "PutBucketAcl";
806
812
  const _PBC = "PutBucketCors";
807
813
  const _PBCR = "PutBucketCorsRequest";
808
814
  const _PBE = "PutBucketEncryption";
@@ -1240,6 +1246,7 @@ var StreamingBlob = [
1240
1246
  },
1241
1247
  42,
1242
1248
  ];
1249
+ var AbacStatus = [3, n0, _AS, 0, [_S], [0]];
1243
1250
  var AbortIncompleteMultipartUpload = [3, n0, _AIMU, 0, [_DAI], [1]];
1244
1251
  var AbortMultipartUploadOutput = [
1245
1252
  3,
@@ -3157,6 +3164,23 @@ var ErrorDocument = [3, n0, _EDr, 0, [_K], [0]];
3157
3164
  var EventBridgeConfiguration = [3, n0, _EBC, 0, [], []];
3158
3165
  var ExistingObjectReplication = [3, n0, _EOR, 0, [_S], [0]];
3159
3166
  var FilterRule = [3, n0, _FR, 0, [_N, _V], [0, 0]];
3167
+ var GetBucketAbacOutput = [3, n0, _GBAO, 0, [_AS], [[() => AbacStatus, 16]]];
3168
+ var GetBucketAbacRequest = [
3169
+ 3,
3170
+ n0,
3171
+ _GBAR,
3172
+ 0,
3173
+ [_B, _EBO],
3174
+ [
3175
+ [0, 1],
3176
+ [
3177
+ 0,
3178
+ {
3179
+ [_hH]: _xaebo,
3180
+ },
3181
+ ],
3182
+ ],
3183
+ ];
3160
3184
  var GetBucketAccelerateConfigurationOutput = [
3161
3185
  3,
3162
3186
  n0,
@@ -3200,7 +3224,7 @@ var GetBucketAccelerateConfigurationRequest = [
3200
3224
  var GetBucketAclOutput = [
3201
3225
  3,
3202
3226
  n0,
3203
- _GBAO,
3227
+ _GBAOe,
3204
3228
  {
3205
3229
  [_xN]: _ACP,
3206
3230
  },
@@ -3218,7 +3242,7 @@ var GetBucketAclOutput = [
3218
3242
  var GetBucketAclRequest = [
3219
3243
  3,
3220
3244
  n0,
3221
- _GBAR,
3245
+ _GBARe,
3222
3246
  0,
3223
3247
  [_B, _EBO],
3224
3248
  [
@@ -4710,7 +4734,7 @@ var HeadObjectOutput = [
4710
4734
  _AR,
4711
4735
  _E,
4712
4736
  _Re,
4713
- _AS,
4737
+ _ASr,
4714
4738
  _LM,
4715
4739
  _CLo,
4716
4740
  _CCRC,
@@ -6537,6 +6561,41 @@ var PublicAccessBlockConfiguration = [
6537
6561
  ],
6538
6562
  ],
6539
6563
  ];
6564
+ var PutBucketAbacRequest = [
6565
+ 3,
6566
+ n0,
6567
+ _PBAR,
6568
+ 0,
6569
+ [_B, _CMD, _CA, _EBO, _AS],
6570
+ [
6571
+ [0, 1],
6572
+ [
6573
+ 0,
6574
+ {
6575
+ [_hH]: _CM,
6576
+ },
6577
+ ],
6578
+ [
6579
+ 0,
6580
+ {
6581
+ [_hH]: _xasca,
6582
+ },
6583
+ ],
6584
+ [
6585
+ 0,
6586
+ {
6587
+ [_hH]: _xaebo,
6588
+ },
6589
+ ],
6590
+ [
6591
+ () => AbacStatus,
6592
+ {
6593
+ [_xN]: _AS,
6594
+ [_hP]: 1,
6595
+ },
6596
+ ],
6597
+ ],
6598
+ ];
6540
6599
  var PutBucketAccelerateConfigurationRequest = [
6541
6600
  3,
6542
6601
  n0,
@@ -6569,7 +6628,7 @@ var PutBucketAccelerateConfigurationRequest = [
6569
6628
  var PutBucketAclRequest = [
6570
6629
  3,
6571
6630
  n0,
6572
- _PBAR,
6631
+ _PBARu,
6573
6632
  0,
6574
6633
  [_ACL_, _ACP, _B, _CMD, _CA, _GFC, _GR, _GRACP, _GW, _GWACP, _EBO],
6575
6634
  [
@@ -9754,6 +9813,16 @@ var DeletePublicAccessBlock = [
9754
9813
  () => DeletePublicAccessBlockRequest,
9755
9814
  () => __Unit,
9756
9815
  ];
9816
+ var GetBucketAbac = [
9817
+ 9,
9818
+ n0,
9819
+ _GBA,
9820
+ {
9821
+ [_h]: ["GET", "/?abac", 200],
9822
+ },
9823
+ () => GetBucketAbacRequest,
9824
+ () => GetBucketAbacOutput,
9825
+ ];
9757
9826
  var GetBucketAccelerateConfiguration = [
9758
9827
  9,
9759
9828
  n0,
@@ -9767,7 +9836,7 @@ var GetBucketAccelerateConfiguration = [
9767
9836
  var GetBucketAcl = [
9768
9837
  9,
9769
9838
  n0,
9770
- _GBA,
9839
+ _GBAe,
9771
9840
  {
9772
9841
  [_h]: ["GET", "/?acl", 200],
9773
9842
  },
@@ -10194,6 +10263,16 @@ var ListParts = [
10194
10263
  () => ListPartsRequest,
10195
10264
  () => ListPartsOutput,
10196
10265
  ];
10266
+ var PutBucketAbac = [
10267
+ 9,
10268
+ n0,
10269
+ _PBA,
10270
+ {
10271
+ [_h]: ["PUT", "/?abac", 200],
10272
+ },
10273
+ () => PutBucketAbacRequest,
10274
+ () => __Unit,
10275
+ ];
10197
10276
  var PutBucketAccelerateConfiguration = [
10198
10277
  9,
10199
10278
  n0,
@@ -10207,7 +10286,7 @@ var PutBucketAccelerateConfiguration = [
10207
10286
  var PutBucketAcl = [
10208
10287
  9,
10209
10288
  n0,
10210
- _PBA,
10289
+ _PBAu,
10211
10290
  {
10212
10291
  [_h]: ["PUT", "/?acl", 200],
10213
10292
  },
@@ -11083,6 +11162,21 @@ class DeletePublicAccessBlockCommand extends smithyClient.Command
11083
11162
  .build() {
11084
11163
  }
11085
11164
 
11165
+ class GetBucketAbacCommand extends smithyClient.Command
11166
+ .classBuilder()
11167
+ .ep({
11168
+ ...commonParams,
11169
+ Bucket: { type: "contextParams", name: "Bucket" },
11170
+ })
11171
+ .m(function (Command, cs, config, o) {
11172
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), middlewareSdkS3.getThrow200ExceptionsPlugin(config)];
11173
+ })
11174
+ .s("AmazonS3", "GetBucketAbac", {})
11175
+ .n("S3Client", "GetBucketAbacCommand")
11176
+ .sc(GetBucketAbac)
11177
+ .build() {
11178
+ }
11179
+
11086
11180
  class GetBucketAccelerateConfigurationCommand extends smithyClient.Command
11087
11181
  .classBuilder()
11088
11182
  .ep({
@@ -11796,6 +11890,27 @@ class ListPartsCommand extends smithyClient.Command
11796
11890
  .build() {
11797
11891
  }
11798
11892
 
11893
+ class PutBucketAbacCommand extends smithyClient.Command
11894
+ .classBuilder()
11895
+ .ep({
11896
+ ...commonParams,
11897
+ Bucket: { type: "contextParams", name: "Bucket" },
11898
+ })
11899
+ .m(function (Command, cs, config, o) {
11900
+ return [
11901
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
11902
+ middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, {
11903
+ requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
11904
+ requestChecksumRequired: false,
11905
+ }),
11906
+ ];
11907
+ })
11908
+ .s("AmazonS3", "PutBucketAbac", {})
11909
+ .n("S3Client", "PutBucketAbacCommand")
11910
+ .sc(PutBucketAbac)
11911
+ .build() {
11912
+ }
11913
+
11799
11914
  class PutBucketAccelerateConfigurationCommand extends smithyClient.Command
11800
11915
  .classBuilder()
11801
11916
  .ep({
@@ -12513,6 +12628,7 @@ const commands = {
12513
12628
  DeleteObjectsCommand,
12514
12629
  DeleteObjectTaggingCommand,
12515
12630
  DeletePublicAccessBlockCommand,
12631
+ GetBucketAbacCommand,
12516
12632
  GetBucketAccelerateConfigurationCommand,
12517
12633
  GetBucketAclCommand,
12518
12634
  GetBucketAnalyticsConfigurationCommand,
@@ -12557,6 +12673,7 @@ const commands = {
12557
12673
  ListObjectsV2Command,
12558
12674
  ListObjectVersionsCommand,
12559
12675
  ListPartsCommand,
12676
+ PutBucketAbacCommand,
12560
12677
  PutBucketAccelerateConfigurationCommand,
12561
12678
  PutBucketAclCommand,
12562
12679
  PutBucketAnalyticsConfigurationCommand,
@@ -12701,6 +12818,10 @@ const waitUntilObjectNotExists = async (params, input) => {
12701
12818
  return utilWaiter.checkExceptions(result);
12702
12819
  };
12703
12820
 
12821
+ const BucketAbacStatus = {
12822
+ Disabled: "Disabled",
12823
+ Enabled: "Enabled",
12824
+ };
12704
12825
  const RequestCharged = {
12705
12826
  requester: "requester",
12706
12827
  };
@@ -13105,6 +13226,7 @@ Object.defineProperty(exports, "__Client", {
13105
13226
  exports.AbortMultipartUploadCommand = AbortMultipartUploadCommand;
13106
13227
  exports.AnalyticsS3ExportFileFormat = AnalyticsS3ExportFileFormat;
13107
13228
  exports.ArchiveStatus = ArchiveStatus;
13229
+ exports.BucketAbacStatus = BucketAbacStatus;
13108
13230
  exports.BucketAccelerateStatus = BucketAccelerateStatus;
13109
13231
  exports.BucketAlreadyExists = BucketAlreadyExists$1;
13110
13232
  exports.BucketAlreadyOwnedByYou = BucketAlreadyOwnedByYou$1;
@@ -13155,6 +13277,7 @@ exports.ExpirationStatus = ExpirationStatus;
13155
13277
  exports.ExpressionType = ExpressionType;
13156
13278
  exports.FileHeaderInfo = FileHeaderInfo;
13157
13279
  exports.FilterRuleName = FilterRuleName;
13280
+ exports.GetBucketAbacCommand = GetBucketAbacCommand;
13158
13281
  exports.GetBucketAccelerateConfigurationCommand = GetBucketAccelerateConfigurationCommand;
13159
13282
  exports.GetBucketAclCommand = GetBucketAclCommand;
13160
13283
  exports.GetBucketAnalyticsConfigurationCommand = GetBucketAnalyticsConfigurationCommand;
@@ -13237,6 +13360,7 @@ exports.PartitionDateSource = PartitionDateSource;
13237
13360
  exports.Payer = Payer;
13238
13361
  exports.Permission = Permission;
13239
13362
  exports.Protocol = Protocol;
13363
+ exports.PutBucketAbacCommand = PutBucketAbacCommand;
13240
13364
  exports.PutBucketAccelerateConfigurationCommand = PutBucketAccelerateConfigurationCommand;
13241
13365
  exports.PutBucketAclCommand = PutBucketAclCommand;
13242
13366
  exports.PutBucketAnalyticsConfigurationCommand = PutBucketAnalyticsConfigurationCommand;
package/dist-es/S3.js CHANGED
@@ -26,6 +26,7 @@ import { DeleteObjectCommand, } from "./commands/DeleteObjectCommand";
26
26
  import { DeleteObjectsCommand, } from "./commands/DeleteObjectsCommand";
27
27
  import { DeleteObjectTaggingCommand, } from "./commands/DeleteObjectTaggingCommand";
28
28
  import { DeletePublicAccessBlockCommand, } from "./commands/DeletePublicAccessBlockCommand";
29
+ import { GetBucketAbacCommand, } from "./commands/GetBucketAbacCommand";
29
30
  import { GetBucketAccelerateConfigurationCommand, } from "./commands/GetBucketAccelerateConfigurationCommand";
30
31
  import { GetBucketAclCommand, } from "./commands/GetBucketAclCommand";
31
32
  import { GetBucketAnalyticsConfigurationCommand, } from "./commands/GetBucketAnalyticsConfigurationCommand";
@@ -70,6 +71,7 @@ import { ListObjectsCommand } from "./commands/ListObjectsCommand";
70
71
  import { ListObjectsV2Command, } from "./commands/ListObjectsV2Command";
71
72
  import { ListObjectVersionsCommand, } from "./commands/ListObjectVersionsCommand";
72
73
  import { ListPartsCommand } from "./commands/ListPartsCommand";
74
+ import { PutBucketAbacCommand, } from "./commands/PutBucketAbacCommand";
73
75
  import { PutBucketAccelerateConfigurationCommand, } from "./commands/PutBucketAccelerateConfigurationCommand";
74
76
  import { PutBucketAclCommand, } from "./commands/PutBucketAclCommand";
75
77
  import { PutBucketAnalyticsConfigurationCommand, } from "./commands/PutBucketAnalyticsConfigurationCommand";
@@ -132,6 +134,7 @@ const commands = {
132
134
  DeleteObjectsCommand,
133
135
  DeleteObjectTaggingCommand,
134
136
  DeletePublicAccessBlockCommand,
137
+ GetBucketAbacCommand,
135
138
  GetBucketAccelerateConfigurationCommand,
136
139
  GetBucketAclCommand,
137
140
  GetBucketAnalyticsConfigurationCommand,
@@ -176,6 +179,7 @@ const commands = {
176
179
  ListObjectsV2Command,
177
180
  ListObjectVersionsCommand,
178
181
  ListPartsCommand,
182
+ PutBucketAbacCommand,
179
183
  PutBucketAccelerateConfigurationCommand,
180
184
  PutBucketAclCommand,
181
185
  PutBucketAnalyticsConfigurationCommand,
@@ -0,0 +1,20 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetBucketAbac } from "../schemas/schemas_0";
6
+ export { $Command };
7
+ export class GetBucketAbacCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ Bucket: { type: "contextParams", name: "Bucket" },
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ })
16
+ .s("AmazonS3", "GetBucketAbac", {})
17
+ .n("S3Client", "GetBucketAbacCommand")
18
+ .sc(GetBucketAbac)
19
+ .build() {
20
+ }
@@ -0,0 +1,26 @@
1
+ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { PutBucketAbac } from "../schemas/schemas_0";
6
+ export { $Command };
7
+ export class PutBucketAbacCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ Bucket: { type: "contextParams", name: "Bucket" },
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ getFlexibleChecksumsPlugin(config, {
17
+ requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
18
+ requestChecksumRequired: false,
19
+ }),
20
+ ];
21
+ })
22
+ .s("AmazonS3", "PutBucketAbac", {})
23
+ .n("S3Client", "PutBucketAbacCommand")
24
+ .sc(PutBucketAbac)
25
+ .build() {
26
+ }
@@ -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,7 @@
1
+ export const BucketAbacStatus = {
2
+ Disabled: "Disabled",
3
+ Enabled: "Enabled",
4
+ };
1
5
  export const RequestCharged = {
2
6
  requester: "requester",
3
7
  };
@@ -27,9 +27,10 @@ const _APAc = "AccessPointArn";
27
27
  const _AQRD = "AllowQuotedRecordDelimiter";
28
28
  const _AR = "AcceptRanges";
29
29
  const _ARI = "AbortRuleId";
30
- const _AS = "ArchiveStatus";
30
+ const _AS = "AbacStatus";
31
31
  const _ASBD = "AnalyticsS3BucketDestination";
32
32
  const _ASSEBD = "ApplyServerSideEncryptionByDefault";
33
+ const _ASr = "ArchiveStatus";
33
34
  const _AT = "AccessTier";
34
35
  const _An = "And";
35
36
  const _B = "Bucket";
@@ -251,15 +252,18 @@ const _Fi = "Field";
251
252
  const _Fo = "Format";
252
253
  const _Fr = "Frequency";
253
254
  const _G = "Grants";
254
- const _GBA = "GetBucketAcl";
255
+ const _GBA = "GetBucketAbac";
255
256
  const _GBAC = "GetBucketAccelerateConfiguration";
256
257
  const _GBACO = "GetBucketAccelerateConfigurationOutput";
257
258
  const _GBACOe = "GetBucketAnalyticsConfigurationOutput";
258
259
  const _GBACR = "GetBucketAccelerateConfigurationRequest";
259
260
  const _GBACRe = "GetBucketAnalyticsConfigurationRequest";
260
261
  const _GBACe = "GetBucketAnalyticsConfiguration";
261
- const _GBAO = "GetBucketAclOutput";
262
- const _GBAR = "GetBucketAclRequest";
262
+ const _GBAO = "GetBucketAbacOutput";
263
+ const _GBAOe = "GetBucketAclOutput";
264
+ const _GBAR = "GetBucketAbacRequest";
265
+ const _GBARe = "GetBucketAclRequest";
266
+ const _GBAe = "GetBucketAcl";
263
267
  const _GBC = "GetBucketCors";
264
268
  const _GBCO = "GetBucketCorsOutput";
265
269
  const _GBCR = "GetBucketCorsRequest";
@@ -568,12 +572,14 @@ const _Ob = "Objects";
568
572
  const _Obj = "Object";
569
573
  const _P = "Prefix";
570
574
  const _PABC = "PublicAccessBlockConfiguration";
571
- const _PBA = "PutBucketAcl";
575
+ const _PBA = "PutBucketAbac";
572
576
  const _PBAC = "PutBucketAccelerateConfiguration";
573
577
  const _PBACR = "PutBucketAccelerateConfigurationRequest";
574
578
  const _PBACRu = "PutBucketAnalyticsConfigurationRequest";
575
579
  const _PBACu = "PutBucketAnalyticsConfiguration";
576
- const _PBAR = "PutBucketAclRequest";
580
+ const _PBAR = "PutBucketAbacRequest";
581
+ const _PBARu = "PutBucketAclRequest";
582
+ const _PBAu = "PutBucketAcl";
577
583
  const _PBC = "PutBucketCors";
578
584
  const _PBCR = "PutBucketCorsRequest";
579
585
  const _PBE = "PutBucketEncryption";
@@ -1014,6 +1020,7 @@ export var StreamingBlob = [
1014
1020
  },
1015
1021
  42,
1016
1022
  ];
1023
+ export var AbacStatus = [3, n0, _AS, 0, [_S], [0]];
1017
1024
  export var AbortIncompleteMultipartUpload = [3, n0, _AIMU, 0, [_DAI], [1]];
1018
1025
  export var AbortMultipartUploadOutput = [
1019
1026
  3,
@@ -2931,6 +2938,23 @@ export var ErrorDocument = [3, n0, _EDr, 0, [_K], [0]];
2931
2938
  export var EventBridgeConfiguration = [3, n0, _EBC, 0, [], []];
2932
2939
  export var ExistingObjectReplication = [3, n0, _EOR, 0, [_S], [0]];
2933
2940
  export var FilterRule = [3, n0, _FR, 0, [_N, _V], [0, 0]];
2941
+ export var GetBucketAbacOutput = [3, n0, _GBAO, 0, [_AS], [[() => AbacStatus, 16]]];
2942
+ export var GetBucketAbacRequest = [
2943
+ 3,
2944
+ n0,
2945
+ _GBAR,
2946
+ 0,
2947
+ [_B, _EBO],
2948
+ [
2949
+ [0, 1],
2950
+ [
2951
+ 0,
2952
+ {
2953
+ [_hH]: _xaebo,
2954
+ },
2955
+ ],
2956
+ ],
2957
+ ];
2934
2958
  export var GetBucketAccelerateConfigurationOutput = [
2935
2959
  3,
2936
2960
  n0,
@@ -2974,7 +2998,7 @@ export var GetBucketAccelerateConfigurationRequest = [
2974
2998
  export var GetBucketAclOutput = [
2975
2999
  3,
2976
3000
  n0,
2977
- _GBAO,
3001
+ _GBAOe,
2978
3002
  {
2979
3003
  [_xN]: _ACP,
2980
3004
  },
@@ -2992,7 +3016,7 @@ export var GetBucketAclOutput = [
2992
3016
  export var GetBucketAclRequest = [
2993
3017
  3,
2994
3018
  n0,
2995
- _GBAR,
3019
+ _GBARe,
2996
3020
  0,
2997
3021
  [_B, _EBO],
2998
3022
  [
@@ -4484,7 +4508,7 @@ export var HeadObjectOutput = [
4484
4508
  _AR,
4485
4509
  _E,
4486
4510
  _Re,
4487
- _AS,
4511
+ _ASr,
4488
4512
  _LM,
4489
4513
  _CLo,
4490
4514
  _CCRC,
@@ -6311,6 +6335,41 @@ export var PublicAccessBlockConfiguration = [
6311
6335
  ],
6312
6336
  ],
6313
6337
  ];
6338
+ export var PutBucketAbacRequest = [
6339
+ 3,
6340
+ n0,
6341
+ _PBAR,
6342
+ 0,
6343
+ [_B, _CMD, _CA, _EBO, _AS],
6344
+ [
6345
+ [0, 1],
6346
+ [
6347
+ 0,
6348
+ {
6349
+ [_hH]: _CM,
6350
+ },
6351
+ ],
6352
+ [
6353
+ 0,
6354
+ {
6355
+ [_hH]: _xasca,
6356
+ },
6357
+ ],
6358
+ [
6359
+ 0,
6360
+ {
6361
+ [_hH]: _xaebo,
6362
+ },
6363
+ ],
6364
+ [
6365
+ () => AbacStatus,
6366
+ {
6367
+ [_xN]: _AS,
6368
+ [_hP]: 1,
6369
+ },
6370
+ ],
6371
+ ],
6372
+ ];
6314
6373
  export var PutBucketAccelerateConfigurationRequest = [
6315
6374
  3,
6316
6375
  n0,
@@ -6343,7 +6402,7 @@ export var PutBucketAccelerateConfigurationRequest = [
6343
6402
  export var PutBucketAclRequest = [
6344
6403
  3,
6345
6404
  n0,
6346
- _PBAR,
6405
+ _PBARu,
6347
6406
  0,
6348
6407
  [_ACL_, _ACP, _B, _CMD, _CA, _GFC, _GR, _GRACP, _GW, _GWACP, _EBO],
6349
6408
  [
@@ -9537,6 +9596,16 @@ export var DeletePublicAccessBlock = [
9537
9596
  () => DeletePublicAccessBlockRequest,
9538
9597
  () => __Unit,
9539
9598
  ];
9599
+ export var GetBucketAbac = [
9600
+ 9,
9601
+ n0,
9602
+ _GBA,
9603
+ {
9604
+ [_h]: ["GET", "/?abac", 200],
9605
+ },
9606
+ () => GetBucketAbacRequest,
9607
+ () => GetBucketAbacOutput,
9608
+ ];
9540
9609
  export var GetBucketAccelerateConfiguration = [
9541
9610
  9,
9542
9611
  n0,
@@ -9550,7 +9619,7 @@ export var GetBucketAccelerateConfiguration = [
9550
9619
  export var GetBucketAcl = [
9551
9620
  9,
9552
9621
  n0,
9553
- _GBA,
9622
+ _GBAe,
9554
9623
  {
9555
9624
  [_h]: ["GET", "/?acl", 200],
9556
9625
  },
@@ -9977,6 +10046,16 @@ export var ListParts = [
9977
10046
  () => ListPartsRequest,
9978
10047
  () => ListPartsOutput,
9979
10048
  ];
10049
+ export var PutBucketAbac = [
10050
+ 9,
10051
+ n0,
10052
+ _PBA,
10053
+ {
10054
+ [_h]: ["PUT", "/?abac", 200],
10055
+ },
10056
+ () => PutBucketAbacRequest,
10057
+ () => __Unit,
10058
+ ];
9980
10059
  export var PutBucketAccelerateConfiguration = [
9981
10060
  9,
9982
10061
  n0,
@@ -9990,7 +10069,7 @@ export var PutBucketAccelerateConfiguration = [
9990
10069
  export var PutBucketAcl = [
9991
10070
  9,
9992
10071
  n0,
9993
- _PBA,
10072
+ _PBAu,
9994
10073
  {
9995
10074
  [_h]: ["PUT", "/?acl", 200],
9996
10075
  },