@aws-sdk/client-s3 3.934.0 → 3.935.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 (91) hide show
  1. package/dist-cjs/index.js +525 -491
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +392 -0
  4. package/dist-es/models/errors.js +173 -0
  5. package/dist-es/models/models_0.js +1 -436
  6. package/dist-es/models/models_1.js +1 -126
  7. package/dist-es/schemas/schemas_0.js +62 -33
  8. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteObjectCommand.d.ts +8 -3
  10. package/dist-types/commands/DeleteObjectsCommand.d.ts +5 -0
  11. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +7 -2
  12. package/dist-types/commands/GetBucketPolicyCommand.d.ts +1 -1
  13. package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -1
  14. package/dist-types/commands/ListObjectVersionsCommand.d.ts +1 -1
  15. package/dist-types/commands/ListObjectsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListObjectsV2Command.d.ts +1 -1
  17. package/dist-types/commands/ListPartsCommand.d.ts +1 -1
  18. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
  19. package/dist-types/commands/PutBucketAclCommand.d.ts +1 -1
  20. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
  21. package/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
  22. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +7 -2
  23. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  24. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  25. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
  26. package/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
  27. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
  28. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
  29. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
  30. package/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -1
  31. package/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
  32. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
  33. package/dist-types/commands/PutBucketTaggingCommand.d.ts +2 -2
  34. package/dist-types/commands/PutBucketVersioningCommand.d.ts +1 -1
  35. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +1 -1
  36. package/dist-types/commands/PutObjectAclCommand.d.ts +1 -1
  37. package/dist-types/commands/PutObjectCommand.d.ts +1 -1
  38. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
  39. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +1 -1
  40. package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -1
  41. package/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
  42. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  43. package/dist-types/commands/RenameObjectCommand.d.ts +1 -1
  44. package/dist-types/commands/RestoreObjectCommand.d.ts +2 -1
  45. package/dist-types/index.d.ts +4 -1
  46. package/dist-types/models/enums.d.ts +960 -0
  47. package/dist-types/models/errors.d.ts +207 -0
  48. package/dist-types/models/models_0.d.ts +3701 -929
  49. package/dist-types/models/models_1.d.ts +3 -3889
  50. package/dist-types/schemas/schemas_0.d.ts +2 -0
  51. package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +2 -1
  82. package/dist-types/ts3.4/index.d.ts +4 -1
  83. package/dist-types/ts3.4/models/enums.d.ts +514 -0
  84. package/dist-types/ts3.4/models/errors.d.ts +87 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +607 -487
  86. package/dist-types/ts3.4/models/models_1.d.ts +11 -677
  87. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  88. package/package.json +16 -16
  89. package/dist-es/models/index.js +0 -2
  90. package/dist-types/models/index.d.ts +0 -2
  91. package/dist-types/ts3.4/models/index.d.ts +0 -2
@@ -37,6 +37,7 @@ const _BA = "BucketArn";
37
37
  const _BAE = "BucketAlreadyExists";
38
38
  const _BAI = "BucketAccountId";
39
39
  const _BAOBY = "BucketAlreadyOwnedByYou";
40
+ const _BET = "BlockedEncryptionTypes";
40
41
  const _BGR = "BypassGovernanceRetention";
41
42
  const _BI = "BucketInfo";
42
43
  const _BKE = "BucketKeyEnabled";
@@ -223,10 +224,11 @@ const _EODM = "ExpiredObjectDeleteMarker";
223
224
  const _EOR = "ExistingObjectReplication";
224
225
  const _ES = "ExpiresString";
225
226
  const _ESBO = "ExpectedSourceBucketOwner";
226
- const _ET = "ETag";
227
+ const _ET = "EncryptionType";
228
+ const _ETL = "EncryptionTypeList";
227
229
  const _ETM = "EncryptionTypeMismatch";
228
- const _ETn = "EncryptionType";
229
- const _ETnc = "EncodingType";
230
+ const _ETa = "ETag";
231
+ const _ETn = "EncodingType";
230
232
  const _ETv = "EventThreshold";
231
233
  const _ETx = "ExpressionType";
232
234
  const _En = "Encryption";
@@ -996,7 +998,7 @@ const _xawrl = "x-amz-website-redirect-location";
996
998
  const _xs = "xsi:type";
997
999
  const n0 = "com.amazonaws.s3";
998
1000
  import { TypeRegistry } from "@smithy/core/schema";
999
- import { BucketAlreadyExists as __BucketAlreadyExists, BucketAlreadyOwnedByYou as __BucketAlreadyOwnedByYou, EncryptionTypeMismatch as __EncryptionTypeMismatch, IdempotencyParameterMismatch as __IdempotencyParameterMismatch, InvalidObjectState as __InvalidObjectState, InvalidRequest as __InvalidRequest, InvalidWriteOffset as __InvalidWriteOffset, NoSuchBucket as __NoSuchBucket, NoSuchKey as __NoSuchKey, NoSuchUpload as __NoSuchUpload, NotFound as __NotFound, ObjectAlreadyInActiveTierError as __ObjectAlreadyInActiveTierError, ObjectNotInActiveTierError as __ObjectNotInActiveTierError, TooManyParts as __TooManyParts, } from "../models/index";
1001
+ import { BucketAlreadyExists as __BucketAlreadyExists, BucketAlreadyOwnedByYou as __BucketAlreadyOwnedByYou, EncryptionTypeMismatch as __EncryptionTypeMismatch, IdempotencyParameterMismatch as __IdempotencyParameterMismatch, InvalidObjectState as __InvalidObjectState, InvalidRequest as __InvalidRequest, InvalidWriteOffset as __InvalidWriteOffset, NoSuchBucket as __NoSuchBucket, NoSuchKey as __NoSuchKey, NoSuchUpload as __NoSuchUpload, NotFound as __NotFound, ObjectAlreadyInActiveTierError as __ObjectAlreadyInActiveTierError, ObjectNotInActiveTierError as __ObjectNotInActiveTierError, TooManyParts as __TooManyParts, } from "../models/errors";
1000
1002
  import { S3ServiceException as __S3ServiceException } from "../models/S3ServiceException";
1001
1003
  export var CopySourceSSECustomerKey = [0, n0, _CSSSECK, 8, 0];
1002
1004
  export var SessionCredentialValue = [0, n0, _SCV, 8, 0];
@@ -1115,6 +1117,21 @@ export var AnalyticsExportDestination = [
1115
1117
  [() => AnalyticsS3BucketDestination],
1116
1118
  ];
1117
1119
  export var AnalyticsS3BucketDestination = [3, n0, _ASBD, 0, [_Fo, _BAI, _B, _P], [0, 0, 0, 0]];
1120
+ export var BlockedEncryptionTypes = [
1121
+ 3,
1122
+ n0,
1123
+ _BET,
1124
+ 0,
1125
+ [_ET],
1126
+ [
1127
+ [
1128
+ () => EncryptionTypeList,
1129
+ {
1130
+ [_xF]: 1,
1131
+ },
1132
+ ],
1133
+ ],
1134
+ ];
1118
1135
  export var Bucket = [3, n0, _B, 0, [_N, _CD, _BR, _BA], [0, 4, 0, 0]];
1119
1136
  export var BucketAlreadyExists = [
1120
1137
  -3,
@@ -1188,7 +1205,7 @@ export var CompletedPart = [
1188
1205
  n0,
1189
1206
  _CPo,
1190
1207
  0,
1191
- [_ET, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _PN],
1208
+ [_ETa, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _PN],
1192
1209
  [0, 0, 0, 0, 0, 0, 1],
1193
1210
  ];
1194
1211
  export var CompleteMultipartUploadOutput = [
@@ -1198,7 +1215,7 @@ export var CompleteMultipartUploadOutput = [
1198
1215
  {
1199
1216
  [_xN]: _CMUR,
1200
1217
  },
1201
- [_L, _B, _K, _E, _ET, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CT, _SSE, _VI, _SSEKMSKI, _BKE, _RC],
1218
+ [_L, _B, _K, _E, _ETa, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CT, _SSE, _VI, _SSEKMSKI, _BKE, _RC],
1202
1219
  [
1203
1220
  0,
1204
1221
  0,
@@ -1753,7 +1770,7 @@ export var CopyObjectResult = [
1753
1770
  n0,
1754
1771
  _COR,
1755
1772
  0,
1756
- [_ET, _LM, _CT, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh],
1773
+ [_ETa, _LM, _CT, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh],
1757
1774
  [0, 4, 0, 0, 0, 0, 0, 0],
1758
1775
  ];
1759
1776
  export var CopyPartResult = [
@@ -1761,7 +1778,7 @@ export var CopyPartResult = [
1761
1778
  n0,
1762
1779
  _CPR,
1763
1780
  0,
1764
- [_ET, _LM, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh],
1781
+ [_ETa, _LM, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh],
1765
1782
  [0, 4, 0, 0, 0, 0, 0],
1766
1783
  ];
1767
1784
  export var CORSConfiguration = [
@@ -2893,7 +2910,7 @@ export var Destination = [
2893
2910
  [0, 0, 0, () => AccessControlTranslation, () => EncryptionConfiguration, () => ReplicationTime, () => Metrics],
2894
2911
  ];
2895
2912
  export var DestinationResult = [3, n0, _DRes, 0, [_TBT, _TBA, _TN], [0, 0, 0]];
2896
- export var Encryption = [3, n0, _En, 0, [_ETn, _KMSKI, _KMSC], [0, [() => SSEKMSKeyId, 0], 0]];
2913
+ export var Encryption = [3, n0, _En, 0, [_ET, _KMSKI, _KMSC], [0, [() => SSEKMSKeyId, 0], 0]];
2897
2914
  export var EncryptionConfiguration = [3, n0, _EC, 0, [_RKKID], [0]];
2898
2915
  export var EncryptionTypeMismatch = [
2899
2916
  -3,
@@ -3592,7 +3609,7 @@ export var GetObjectAttributesOutput = [
3592
3609
  {
3593
3610
  [_xN]: _GOARe,
3594
3611
  },
3595
- [_DM, _LM, _VI, _RC, _ET, _C, _OP, _SC, _OS],
3612
+ [_DM, _LM, _VI, _RC, _ETa, _C, _OP, _SC, _OS],
3596
3613
  [
3597
3614
  [
3598
3615
  2,
@@ -3798,7 +3815,7 @@ export var GetObjectOutput = [
3798
3815
  _Re,
3799
3816
  _LM,
3800
3817
  _CLo,
3801
- _ET,
3818
+ _ETa,
3802
3819
  _CCRC,
3803
3820
  _CCRCC,
3804
3821
  _CCRCNVME,
@@ -3872,7 +3889,7 @@ export var GetObjectOutput = [
3872
3889
  [
3873
3890
  0,
3874
3891
  {
3875
- [_hH]: _ET,
3892
+ [_hH]: _ETa,
3876
3893
  },
3877
3894
  ],
3878
3895
  [
@@ -4476,7 +4493,7 @@ export var HeadObjectOutput = [
4476
4493
  _CSHA,
4477
4494
  _CSHAh,
4478
4495
  _CT,
4479
- _ET,
4496
+ _ETa,
4480
4497
  _MM,
4481
4498
  _VI,
4482
4499
  _CC,
@@ -4585,7 +4602,7 @@ export var HeadObjectOutput = [
4585
4602
  [
4586
4603
  0,
4587
4604
  {
4588
- [_hH]: _ET,
4605
+ [_hH]: _ETa,
4589
4606
  },
4590
4607
  ],
4591
4608
  [
@@ -5427,7 +5444,7 @@ export var ListMultipartUploadsOutput = [
5427
5444
  {
5428
5445
  [_xN]: _LMUR,
5429
5446
  },
5430
- [_B, _KM, _UIM, _NKM, _P, _Deli, _NUIM, _MUa, _IT, _U, _CPom, _ETnc, _RC],
5447
+ [_B, _KM, _UIM, _NKM, _P, _Deli, _NUIM, _MUa, _IT, _U, _CPom, _ETn, _RC],
5431
5448
  [
5432
5449
  0,
5433
5450
  0,
@@ -5465,7 +5482,7 @@ export var ListMultipartUploadsRequest = [
5465
5482
  n0,
5466
5483
  _LMURi,
5467
5484
  0,
5468
- [_B, _Deli, _ETnc, _KM, _MUa, _P, _UIM, _EBO, _RP],
5485
+ [_B, _Deli, _ETn, _KM, _MUa, _P, _UIM, _EBO, _RP],
5469
5486
  [
5470
5487
  [0, 1],
5471
5488
  [
@@ -5525,7 +5542,7 @@ export var ListObjectsOutput = [
5525
5542
  {
5526
5543
  [_xN]: _LBRi,
5527
5544
  },
5528
- [_IT, _Ma, _NM, _Con, _N, _P, _Deli, _MK, _CPom, _ETnc, _RC],
5545
+ [_IT, _Ma, _NM, _Con, _N, _P, _Deli, _MK, _CPom, _ETn, _RC],
5529
5546
  [
5530
5547
  2,
5531
5548
  0,
@@ -5560,7 +5577,7 @@ export var ListObjectsRequest = [
5560
5577
  n0,
5561
5578
  _LOR,
5562
5579
  0,
5563
- [_B, _Deli, _ETnc, _Ma, _MK, _P, _RP, _EBO, _OOA],
5580
+ [_B, _Deli, _ETn, _Ma, _MK, _P, _RP, _EBO, _OOA],
5564
5581
  [
5565
5582
  [0, 1],
5566
5583
  [
@@ -5620,7 +5637,7 @@ export var ListObjectsV2Output = [
5620
5637
  {
5621
5638
  [_xN]: _LBRi,
5622
5639
  },
5623
- [_IT, _Con, _N, _P, _Deli, _MK, _CPom, _ETnc, _KC, _CTon, _NCT, _SA, _RC],
5640
+ [_IT, _Con, _N, _P, _Deli, _MK, _CPom, _ETn, _KC, _CTon, _NCT, _SA, _RC],
5624
5641
  [
5625
5642
  2,
5626
5643
  [
@@ -5657,7 +5674,7 @@ export var ListObjectsV2Request = [
5657
5674
  n0,
5658
5675
  _LOVR,
5659
5676
  0,
5660
- [_B, _Deli, _ETnc, _MK, _P, _CTon, _FO, _SA, _RP, _EBO, _OOA],
5677
+ [_B, _Deli, _ETn, _MK, _P, _CTon, _FO, _SA, _RP, _EBO, _OOA],
5661
5678
  [
5662
5679
  [0, 1],
5663
5680
  [
@@ -5729,7 +5746,7 @@ export var ListObjectVersionsOutput = [
5729
5746
  {
5730
5747
  [_xN]: _LVR,
5731
5748
  },
5732
- [_IT, _KM, _VIM, _NKM, _NVIM, _Ve, _DMe, _N, _P, _Deli, _MK, _CPom, _ETnc, _RC],
5749
+ [_IT, _KM, _VIM, _NKM, _NVIM, _Ve, _DMe, _N, _P, _Deli, _MK, _CPom, _ETn, _RC],
5733
5750
  [
5734
5751
  2,
5735
5752
  0,
@@ -5774,7 +5791,7 @@ export var ListObjectVersionsRequest = [
5774
5791
  n0,
5775
5792
  _LOVRi,
5776
5793
  0,
5777
- [_B, _Deli, _ETnc, _KM, _MK, _P, _VIM, _EBO, _RP, _OOA],
5794
+ [_B, _Deli, _ETn, _KM, _MK, _P, _VIM, _EBO, _RP, _OOA],
5778
5795
  [
5779
5796
  [0, 1],
5780
5797
  [
@@ -6104,7 +6121,7 @@ export var _Object = [
6104
6121
  n0,
6105
6122
  _Obj,
6106
6123
  0,
6107
- [_K, _LM, _ET, _CA, _CT, _Si, _SC, _O, _RSe],
6124
+ [_K, _LM, _ETa, _CA, _CT, _Si, _SC, _O, _RSe],
6108
6125
  [
6109
6126
  0,
6110
6127
  4,
@@ -6134,7 +6151,7 @@ export var ObjectAlreadyInActiveTierError = [
6134
6151
  [],
6135
6152
  ];
6136
6153
  TypeRegistry.for(n0).registerError(ObjectAlreadyInActiveTierError, __ObjectAlreadyInActiveTierError);
6137
- export var ObjectIdentifier = [3, n0, _OI, 0, [_K, _VI, _ET, _LMT, _Si], [0, 0, 0, 6, 1]];
6154
+ export var ObjectIdentifier = [3, n0, _OI, 0, [_K, _VI, _ETa, _LMT, _Si], [0, 0, 0, 6, 1]];
6138
6155
  export var ObjectLockConfiguration = [3, n0, _OLC, 0, [_OLE, _Ru], [0, () => ObjectLockRule]];
6139
6156
  export var ObjectLockLegalHold = [3, n0, _OLLH, 0, [_S], [0]];
6140
6157
  export var ObjectLockRetention = [3, n0, _OLR, 0, [_Mo, _RUD], [0, 5]];
@@ -6164,7 +6181,7 @@ export var ObjectVersion = [
6164
6181
  n0,
6165
6182
  _OV,
6166
6183
  0,
6167
- [_ET, _CA, _CT, _Si, _SC, _K, _VI, _IL, _LM, _O, _RSe],
6184
+ [_ETa, _CA, _CT, _Si, _SC, _K, _VI, _IL, _LM, _O, _RSe],
6168
6185
  [
6169
6186
  0,
6170
6187
  [
@@ -6217,7 +6234,7 @@ export var Part = [
6217
6234
  n0,
6218
6235
  _Par,
6219
6236
  0,
6220
- [_PN, _LM, _ET, _Si, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh],
6237
+ [_PN, _LM, _ETa, _Si, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh],
6221
6238
  [1, 4, 0, 1, 0, 0, 0, 0, 0],
6222
6239
  ];
6223
6240
  export var PartitionedPrefix = [
@@ -7182,7 +7199,7 @@ export var PutObjectOutput = [
7182
7199
  0,
7183
7200
  [
7184
7201
  _E,
7185
- _ET,
7202
+ _ETa,
7186
7203
  _CCRC,
7187
7204
  _CCRCC,
7188
7205
  _CCRCNVME,
@@ -7209,7 +7226,7 @@ export var PutObjectOutput = [
7209
7226
  [
7210
7227
  0,
7211
7228
  {
7212
- [_hH]: _ET,
7229
+ [_hH]: _ETa,
7213
7230
  },
7214
7231
  ],
7215
7232
  [
@@ -8119,8 +8136,8 @@ export var ServerSideEncryptionRule = [
8119
8136
  n0,
8120
8137
  _SSER,
8121
8138
  0,
8122
- [_ASSEBD, _BKE],
8123
- [[() => ServerSideEncryptionByDefault, 0], 2],
8139
+ [_ASSEBD, _BKE, _BET],
8140
+ [[() => ServerSideEncryptionByDefault, 0], 2, [() => BlockedEncryptionTypes, 0]],
8124
8141
  ];
8125
8142
  export var SessionCredentials = [
8126
8143
  3,
@@ -8563,7 +8580,7 @@ export var UploadPartOutput = [
8563
8580
  n0,
8564
8581
  _UPO,
8565
8582
  0,
8566
- [_SSE, _ET, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _RC],
8583
+ [_SSE, _ETa, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _RC],
8567
8584
  [
8568
8585
  [
8569
8586
  0,
@@ -8574,7 +8591,7 @@ export var UploadPartOutput = [
8574
8591
  [
8575
8592
  0,
8576
8593
  {
8577
- [_hH]: _ET,
8594
+ [_hH]: _ETa,
8578
8595
  },
8579
8596
  ],
8580
8597
  [
@@ -8810,7 +8827,7 @@ export var WriteGetObjectResponseRequest = [
8810
8827
  _CSHA,
8811
8828
  _CSHAh,
8812
8829
  _DM,
8813
- _ET,
8830
+ _ETa,
8814
8831
  _Ex,
8815
8832
  _E,
8816
8833
  _LM,
@@ -9102,6 +9119,18 @@ export var CompletedPartList = [1, n0, _CPLo, 0, () => CompletedPart];
9102
9119
  export var CORSRules = [1, n0, _CORSR, 0, [() => CORSRule, 0]];
9103
9120
  export var DeletedObjects = [1, n0, _DOe, 0, () => DeletedObject];
9104
9121
  export var DeleteMarkers = [1, n0, _DMe, 0, () => DeleteMarkerEntry];
9122
+ export var EncryptionTypeList = [
9123
+ 1,
9124
+ n0,
9125
+ _ETL,
9126
+ 0,
9127
+ [
9128
+ 0,
9129
+ {
9130
+ [_xN]: _ET,
9131
+ },
9132
+ ],
9133
+ ];
9105
9134
  export var Errors = [1, n0, _Er, 0, () => _Error];
9106
9135
  export var EventList = 64 | 0;
9107
9136
  export var ExposeHeaders = 64 | 0;
@@ -30,7 +30,7 @@ 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 the tags from the bucket.</p>
33
+ * <p>Deletes tags from the bucket.</p>
34
34
  * <p>To use this operation, you must have permission to perform the <code>s3:PutBucketTagging</code>
35
35
  * action. By default, the bucket owner has this permission and can grant this permission to others. </p>
36
36
  * <p>The following operations are related to <code>DeleteBucketTagging</code>:</p>
@@ -102,9 +102,9 @@ declare const DeleteObjectCommand_base: {
102
102
  * <p>
103
103
  * <b>
104
104
  * <code>s3:DeleteObject</code>
105
- * </b> - To delete an
106
- * object from a bucket, you must always have the <code>s3:DeleteObject</code>
107
- * permission.</p>
105
+ * </b> - To
106
+ * delete an object from a bucket, you must always have the
107
+ * <code>s3:DeleteObject</code> permission.</p>
108
108
  * </li>
109
109
  * <li>
110
110
  * <p>
@@ -112,6 +112,11 @@ declare const DeleteObjectCommand_base: {
112
112
  * <code>s3:DeleteObjectVersion</code>
113
113
  * </b> - To delete a specific version of an object from a versioning-enabled
114
114
  * bucket, you must have the <code>s3:DeleteObjectVersion</code> permission.</p>
115
+ * <note>
116
+ * <p>If the <code>s3:DeleteObject</code> or <code>s3:DeleteObjectVersion</code> permissions are explicitly
117
+ * denied in your bucket policy, attempts to delete any unversioned objects
118
+ * result in a <code>403 Access Denied</code> error.</p>
119
+ * </note>
115
120
  * </li>
116
121
  * </ul>
117
122
  * </li>
@@ -90,6 +90,11 @@ declare const DeleteObjectsCommand_base: {
90
90
  * <code>s3:DeleteObjectVersion</code>
91
91
  * </b> - To delete a specific version of an object from a versioning-enabled
92
92
  * bucket, you must specify the <code>s3:DeleteObjectVersion</code> permission.</p>
93
+ * <note>
94
+ * <p>If the <code>s3:DeleteObject</code> or <code>s3:DeleteObjectVersion</code> permissions are explicitly
95
+ * denied in your bucket policy, attempts to delete any unversioned objects
96
+ * result in a <code>403 Access Denied</code> error.</p>
97
+ * </note>
93
98
  * </li>
94
99
  * </ul>
95
100
  * </li>
@@ -28,13 +28,13 @@ 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). </p>
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>
32
32
  * <note>
33
33
  * <ul>
34
34
  * <li>
35
35
  * <p>
36
36
  * <b>General purpose buckets</b> - For information about the bucket
37
- * default encryption feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon S3 Bucket Default Encryption</a> in the
37
+ * default encryption feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html">Amazon S3 Bucket Default Encryption</a> in the
38
38
  * <i>Amazon S3 User Guide</i>.</p>
39
39
  * </li>
40
40
  * <li>
@@ -112,6 +112,11 @@ declare const GetBucketEncryptionCommand_base: {
112
112
  * // KMSMasterKeyID: "STRING_VALUE",
113
113
  * // },
114
114
  * // BucketKeyEnabled: true || false,
115
+ * // BlockedEncryptionTypes: { // BlockedEncryptionTypes
116
+ * // EncryptionType: [ // EncryptionTypeList
117
+ * // "NONE" || "SSE-C",
118
+ * // ],
119
+ * // },
115
120
  * // },
116
121
  * // ],
117
122
  * // },
@@ -137,7 +137,7 @@ declare const GetBucketPolicyCommand_base: {
137
137
  * const response = await client.send(command);
138
138
  * /* response is
139
139
  * {
140
- * Policy: `{"Version":"2008-10-17","Id":"LogPolicy","Statement":[{"Sid":"Enables the log delivery group to publish logs to your bucket ","Effect":"Allow","Principal":{"AWS":"111122223333"},"Action":["s3:GetBucketAcl","s3:GetObjectAcl","s3:PutObject"],"Resource":["arn:aws:s3:::policytest1/*","arn:aws:s3:::policytest1"]}]}`
140
+ * Policy: `{"Version":"2008-10-17",&TCX5-2025-waiver;"Id":"LogPolicy","Statement":[{"Sid":"Enables the log delivery group to publish logs to your bucket ","Effect":"Allow","Principal":{"AWS":"111122223333"},"Action":["s3:GetBucketAcl","s3:GetObjectAcl","s3:PutObject"],"Resource":["arn:aws:s3:::policytest1/*","arn:aws:s3:::policytest1"]}]}`
141
141
  * }
142
142
  * *\/
143
143
  * ```
@@ -30,7 +30,7 @@ declare const GetBucketTaggingCommand_base: {
30
30
  * <note>
31
31
  * <p>This operation is not supported for directory buckets.</p>
32
32
  * </note>
33
- * <p>Returns the tag set associated with the bucket.</p>
33
+ * <p>Returns the tag set associated with the general purpose bucket.</p>
34
34
  * <p>To use this operation, you must have permission to perform the <code>s3:GetBucketTagging</code>
35
35
  * action. By default, the bucket owner has this permission and can grant this permission to others.</p>
36
36
  * <p>
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListObjectVersionsOutput, ListObjectVersionsRequest } from "../models/models_1";
3
+ import { ListObjectVersionsOutput, ListObjectVersionsRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListObjectsOutput, ListObjectsRequest } from "../models/models_1";
3
+ import { ListObjectsOutput, ListObjectsRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListObjectsV2Output, ListObjectsV2Request } from "../models/models_1";
3
+ import { ListObjectsV2Output, ListObjectsV2Request } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListPartsOutput, ListPartsRequest } from "../models/models_1";
3
+ import { ListPartsOutput, ListPartsRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketAccelerateConfigurationRequest } from "../models/models_1";
3
+ import { PutBucketAccelerateConfigurationRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketAclRequest } from "../models/models_1";
3
+ import { PutBucketAclRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketAnalyticsConfigurationRequest } from "../models/models_1";
3
+ import { PutBucketAnalyticsConfigurationRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketCorsRequest } from "../models/models_1";
3
+ import { PutBucketCorsRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketEncryptionRequest } from "../models/models_1";
3
+ import { PutBucketEncryptionRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -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.</p>
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>
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>
@@ -169,6 +169,11 @@ declare const PutBucketEncryptionCommand_base: {
169
169
  * KMSMasterKeyID: "STRING_VALUE",
170
170
  * },
171
171
  * BucketKeyEnabled: true || false,
172
+ * BlockedEncryptionTypes: { // BlockedEncryptionTypes
173
+ * EncryptionType: [ // EncryptionTypeList
174
+ * "NONE" || "SSE-C",
175
+ * ],
176
+ * },
172
177
  * },
173
178
  * ],
174
179
  * },
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketIntelligentTieringConfigurationRequest } from "../models/models_1";
3
+ import { PutBucketIntelligentTieringConfigurationRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketInventoryConfigurationRequest } from "../models/models_1";
3
+ import { PutBucketInventoryConfigurationRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketLifecycleConfigurationOutput, PutBucketLifecycleConfigurationRequest } from "../models/models_1";
3
+ import { PutBucketLifecycleConfigurationOutput, PutBucketLifecycleConfigurationRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketLoggingRequest } from "../models/models_1";
3
+ import { PutBucketLoggingRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketMetricsConfigurationRequest } from "../models/models_1";
3
+ import { PutBucketMetricsConfigurationRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketNotificationConfigurationRequest } from "../models/models_1";
3
+ import { PutBucketNotificationConfigurationRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketOwnershipControlsRequest } from "../models/models_1";
3
+ import { PutBucketOwnershipControlsRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketPolicyRequest } from "../models/models_1";
3
+ import { PutBucketPolicyRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketReplicationRequest } from "../models/models_1";
3
+ import { PutBucketReplicationRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketRequestPaymentRequest } from "../models/models_1";
3
+ import { PutBucketRequestPaymentRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketTaggingRequest } from "../models/models_1";
3
+ import { PutBucketTaggingRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -30,7 +30,7 @@ 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 bucket.</p>
33
+ * <p>Sets the tags for a general purpose bucket. </p>
34
34
  * <p>Use tags to organize your Amazon Web Services bill to reflect your own cost structure. To do this, sign up to get
35
35
  * your Amazon Web Services account bill with tag key values included. Then, to see the cost of combined resources,
36
36
  * organize your billing information according to resources with the same tag key values. For example, you
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketVersioningRequest } from "../models/models_1";
3
+ import { PutBucketVersioningRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketWebsiteRequest } from "../models/models_1";
3
+ import { PutBucketWebsiteRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public