@aws-sdk/client-s3 3.933.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
@@ -0,0 +1,514 @@
1
+ export declare const RequestCharged: {
2
+ readonly requester: "requester";
3
+ };
4
+ export type RequestCharged =
5
+ (typeof RequestCharged)[keyof typeof RequestCharged];
6
+ export declare const RequestPayer: {
7
+ readonly requester: "requester";
8
+ };
9
+ export type RequestPayer = (typeof RequestPayer)[keyof typeof RequestPayer];
10
+ export declare const BucketAccelerateStatus: {
11
+ readonly Enabled: "Enabled";
12
+ readonly Suspended: "Suspended";
13
+ };
14
+ export type BucketAccelerateStatus =
15
+ (typeof BucketAccelerateStatus)[keyof typeof BucketAccelerateStatus];
16
+ export declare const Type: {
17
+ readonly AmazonCustomerByEmail: "AmazonCustomerByEmail";
18
+ readonly CanonicalUser: "CanonicalUser";
19
+ readonly Group: "Group";
20
+ };
21
+ export type Type = (typeof Type)[keyof typeof Type];
22
+ export declare const Permission: {
23
+ readonly FULL_CONTROL: "FULL_CONTROL";
24
+ readonly READ: "READ";
25
+ readonly READ_ACP: "READ_ACP";
26
+ readonly WRITE: "WRITE";
27
+ readonly WRITE_ACP: "WRITE_ACP";
28
+ };
29
+ export type Permission = (typeof Permission)[keyof typeof Permission];
30
+ export declare const OwnerOverride: {
31
+ readonly Destination: "Destination";
32
+ };
33
+ export type OwnerOverride = (typeof OwnerOverride)[keyof typeof OwnerOverride];
34
+ export declare const ChecksumType: {
35
+ readonly COMPOSITE: "COMPOSITE";
36
+ readonly FULL_OBJECT: "FULL_OBJECT";
37
+ };
38
+ export type ChecksumType = (typeof ChecksumType)[keyof typeof ChecksumType];
39
+ export declare const ServerSideEncryption: {
40
+ readonly AES256: "AES256";
41
+ readonly aws_fsx: "aws:fsx";
42
+ readonly aws_kms: "aws:kms";
43
+ readonly aws_kms_dsse: "aws:kms:dsse";
44
+ };
45
+ export type ServerSideEncryption =
46
+ (typeof ServerSideEncryption)[keyof typeof ServerSideEncryption];
47
+ export declare const ObjectCannedACL: {
48
+ readonly authenticated_read: "authenticated-read";
49
+ readonly aws_exec_read: "aws-exec-read";
50
+ readonly bucket_owner_full_control: "bucket-owner-full-control";
51
+ readonly bucket_owner_read: "bucket-owner-read";
52
+ readonly private: "private";
53
+ readonly public_read: "public-read";
54
+ readonly public_read_write: "public-read-write";
55
+ };
56
+ export type ObjectCannedACL =
57
+ (typeof ObjectCannedACL)[keyof typeof ObjectCannedACL];
58
+ export declare const ChecksumAlgorithm: {
59
+ readonly CRC32: "CRC32";
60
+ readonly CRC32C: "CRC32C";
61
+ readonly CRC64NVME: "CRC64NVME";
62
+ readonly SHA1: "SHA1";
63
+ readonly SHA256: "SHA256";
64
+ };
65
+ export type ChecksumAlgorithm =
66
+ (typeof ChecksumAlgorithm)[keyof typeof ChecksumAlgorithm];
67
+ export declare const MetadataDirective: {
68
+ readonly COPY: "COPY";
69
+ readonly REPLACE: "REPLACE";
70
+ };
71
+ export type MetadataDirective =
72
+ (typeof MetadataDirective)[keyof typeof MetadataDirective];
73
+ export declare const ObjectLockLegalHoldStatus: {
74
+ readonly OFF: "OFF";
75
+ readonly ON: "ON";
76
+ };
77
+ export type ObjectLockLegalHoldStatus =
78
+ (typeof ObjectLockLegalHoldStatus)[keyof typeof ObjectLockLegalHoldStatus];
79
+ export declare const ObjectLockMode: {
80
+ readonly COMPLIANCE: "COMPLIANCE";
81
+ readonly GOVERNANCE: "GOVERNANCE";
82
+ };
83
+ export type ObjectLockMode =
84
+ (typeof ObjectLockMode)[keyof typeof ObjectLockMode];
85
+ export declare const StorageClass: {
86
+ readonly DEEP_ARCHIVE: "DEEP_ARCHIVE";
87
+ readonly EXPRESS_ONEZONE: "EXPRESS_ONEZONE";
88
+ readonly FSX_OPENZFS: "FSX_OPENZFS";
89
+ readonly GLACIER: "GLACIER";
90
+ readonly GLACIER_IR: "GLACIER_IR";
91
+ readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING";
92
+ readonly ONEZONE_IA: "ONEZONE_IA";
93
+ readonly OUTPOSTS: "OUTPOSTS";
94
+ readonly REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY";
95
+ readonly SNOW: "SNOW";
96
+ readonly STANDARD: "STANDARD";
97
+ readonly STANDARD_IA: "STANDARD_IA";
98
+ };
99
+ export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
100
+ export declare const TaggingDirective: {
101
+ readonly COPY: "COPY";
102
+ readonly REPLACE: "REPLACE";
103
+ };
104
+ export type TaggingDirective =
105
+ (typeof TaggingDirective)[keyof typeof TaggingDirective];
106
+ export declare const BucketCannedACL: {
107
+ readonly authenticated_read: "authenticated-read";
108
+ readonly private: "private";
109
+ readonly public_read: "public-read";
110
+ readonly public_read_write: "public-read-write";
111
+ };
112
+ export type BucketCannedACL =
113
+ (typeof BucketCannedACL)[keyof typeof BucketCannedACL];
114
+ export declare const DataRedundancy: {
115
+ readonly SingleAvailabilityZone: "SingleAvailabilityZone";
116
+ readonly SingleLocalZone: "SingleLocalZone";
117
+ };
118
+ export type DataRedundancy =
119
+ (typeof DataRedundancy)[keyof typeof DataRedundancy];
120
+ export declare const BucketType: {
121
+ readonly Directory: "Directory";
122
+ };
123
+ export type BucketType = (typeof BucketType)[keyof typeof BucketType];
124
+ export declare const LocationType: {
125
+ readonly AvailabilityZone: "AvailabilityZone";
126
+ readonly LocalZone: "LocalZone";
127
+ };
128
+ export type LocationType = (typeof LocationType)[keyof typeof LocationType];
129
+ export declare const BucketLocationConstraint: {
130
+ readonly EU: "EU";
131
+ readonly af_south_1: "af-south-1";
132
+ readonly ap_east_1: "ap-east-1";
133
+ readonly ap_northeast_1: "ap-northeast-1";
134
+ readonly ap_northeast_2: "ap-northeast-2";
135
+ readonly ap_northeast_3: "ap-northeast-3";
136
+ readonly ap_south_1: "ap-south-1";
137
+ readonly ap_south_2: "ap-south-2";
138
+ readonly ap_southeast_1: "ap-southeast-1";
139
+ readonly ap_southeast_2: "ap-southeast-2";
140
+ readonly ap_southeast_3: "ap-southeast-3";
141
+ readonly ap_southeast_4: "ap-southeast-4";
142
+ readonly ap_southeast_5: "ap-southeast-5";
143
+ readonly ca_central_1: "ca-central-1";
144
+ readonly cn_north_1: "cn-north-1";
145
+ readonly cn_northwest_1: "cn-northwest-1";
146
+ readonly eu_central_1: "eu-central-1";
147
+ readonly eu_central_2: "eu-central-2";
148
+ readonly eu_north_1: "eu-north-1";
149
+ readonly eu_south_1: "eu-south-1";
150
+ readonly eu_south_2: "eu-south-2";
151
+ readonly eu_west_1: "eu-west-1";
152
+ readonly eu_west_2: "eu-west-2";
153
+ readonly eu_west_3: "eu-west-3";
154
+ readonly il_central_1: "il-central-1";
155
+ readonly me_central_1: "me-central-1";
156
+ readonly me_south_1: "me-south-1";
157
+ readonly sa_east_1: "sa-east-1";
158
+ readonly us_east_2: "us-east-2";
159
+ readonly us_gov_east_1: "us-gov-east-1";
160
+ readonly us_gov_west_1: "us-gov-west-1";
161
+ readonly us_west_1: "us-west-1";
162
+ readonly us_west_2: "us-west-2";
163
+ };
164
+ export type BucketLocationConstraint =
165
+ (typeof BucketLocationConstraint)[keyof typeof BucketLocationConstraint];
166
+ export declare const ObjectOwnership: {
167
+ readonly BucketOwnerEnforced: "BucketOwnerEnforced";
168
+ readonly BucketOwnerPreferred: "BucketOwnerPreferred";
169
+ readonly ObjectWriter: "ObjectWriter";
170
+ };
171
+ export type ObjectOwnership =
172
+ (typeof ObjectOwnership)[keyof typeof ObjectOwnership];
173
+ export declare const InventoryConfigurationState: {
174
+ readonly DISABLED: "DISABLED";
175
+ readonly ENABLED: "ENABLED";
176
+ };
177
+ export type InventoryConfigurationState =
178
+ (typeof InventoryConfigurationState)[keyof typeof InventoryConfigurationState];
179
+ export declare const TableSseAlgorithm: {
180
+ readonly AES256: "AES256";
181
+ readonly aws_kms: "aws:kms";
182
+ };
183
+ export type TableSseAlgorithm =
184
+ (typeof TableSseAlgorithm)[keyof typeof TableSseAlgorithm];
185
+ export declare const ExpirationState: {
186
+ readonly DISABLED: "DISABLED";
187
+ readonly ENABLED: "ENABLED";
188
+ };
189
+ export type ExpirationState =
190
+ (typeof ExpirationState)[keyof typeof ExpirationState];
191
+ export declare const SessionMode: {
192
+ readonly ReadOnly: "ReadOnly";
193
+ readonly ReadWrite: "ReadWrite";
194
+ };
195
+ export type SessionMode = (typeof SessionMode)[keyof typeof SessionMode];
196
+ export declare const AnalyticsS3ExportFileFormat: {
197
+ readonly CSV: "CSV";
198
+ };
199
+ export type AnalyticsS3ExportFileFormat =
200
+ (typeof AnalyticsS3ExportFileFormat)[keyof typeof AnalyticsS3ExportFileFormat];
201
+ export declare const StorageClassAnalysisSchemaVersion: {
202
+ readonly V_1: "V_1";
203
+ };
204
+ export type StorageClassAnalysisSchemaVersion =
205
+ (typeof StorageClassAnalysisSchemaVersion)[keyof typeof StorageClassAnalysisSchemaVersion];
206
+ export declare const EncryptionType: {
207
+ readonly NONE: "NONE";
208
+ readonly SSE_C: "SSE-C";
209
+ };
210
+ export type EncryptionType =
211
+ (typeof EncryptionType)[keyof typeof EncryptionType];
212
+ export declare const IntelligentTieringStatus: {
213
+ readonly Disabled: "Disabled";
214
+ readonly Enabled: "Enabled";
215
+ };
216
+ export type IntelligentTieringStatus =
217
+ (typeof IntelligentTieringStatus)[keyof typeof IntelligentTieringStatus];
218
+ export declare const IntelligentTieringAccessTier: {
219
+ readonly ARCHIVE_ACCESS: "ARCHIVE_ACCESS";
220
+ readonly DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS";
221
+ };
222
+ export type IntelligentTieringAccessTier =
223
+ (typeof IntelligentTieringAccessTier)[keyof typeof IntelligentTieringAccessTier];
224
+ export declare const InventoryFormat: {
225
+ readonly CSV: "CSV";
226
+ readonly ORC: "ORC";
227
+ readonly Parquet: "Parquet";
228
+ };
229
+ export type InventoryFormat =
230
+ (typeof InventoryFormat)[keyof typeof InventoryFormat];
231
+ export declare const InventoryIncludedObjectVersions: {
232
+ readonly All: "All";
233
+ readonly Current: "Current";
234
+ };
235
+ export type InventoryIncludedObjectVersions =
236
+ (typeof InventoryIncludedObjectVersions)[keyof typeof InventoryIncludedObjectVersions];
237
+ export declare const InventoryOptionalField: {
238
+ readonly BucketKeyStatus: "BucketKeyStatus";
239
+ readonly ChecksumAlgorithm: "ChecksumAlgorithm";
240
+ readonly ETag: "ETag";
241
+ readonly EncryptionStatus: "EncryptionStatus";
242
+ readonly IntelligentTieringAccessTier: "IntelligentTieringAccessTier";
243
+ readonly IsMultipartUploaded: "IsMultipartUploaded";
244
+ readonly LastModifiedDate: "LastModifiedDate";
245
+ readonly ObjectAccessControlList: "ObjectAccessControlList";
246
+ readonly ObjectLockLegalHoldStatus: "ObjectLockLegalHoldStatus";
247
+ readonly ObjectLockMode: "ObjectLockMode";
248
+ readonly ObjectLockRetainUntilDate: "ObjectLockRetainUntilDate";
249
+ readonly ObjectOwner: "ObjectOwner";
250
+ readonly ReplicationStatus: "ReplicationStatus";
251
+ readonly Size: "Size";
252
+ readonly StorageClass: "StorageClass";
253
+ };
254
+ export type InventoryOptionalField =
255
+ (typeof InventoryOptionalField)[keyof typeof InventoryOptionalField];
256
+ export declare const InventoryFrequency: {
257
+ readonly Daily: "Daily";
258
+ readonly Weekly: "Weekly";
259
+ };
260
+ export type InventoryFrequency =
261
+ (typeof InventoryFrequency)[keyof typeof InventoryFrequency];
262
+ export declare const TransitionStorageClass: {
263
+ readonly DEEP_ARCHIVE: "DEEP_ARCHIVE";
264
+ readonly GLACIER: "GLACIER";
265
+ readonly GLACIER_IR: "GLACIER_IR";
266
+ readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING";
267
+ readonly ONEZONE_IA: "ONEZONE_IA";
268
+ readonly STANDARD_IA: "STANDARD_IA";
269
+ };
270
+ export type TransitionStorageClass =
271
+ (typeof TransitionStorageClass)[keyof typeof TransitionStorageClass];
272
+ export declare const ExpirationStatus: {
273
+ readonly Disabled: "Disabled";
274
+ readonly Enabled: "Enabled";
275
+ };
276
+ export type ExpirationStatus =
277
+ (typeof ExpirationStatus)[keyof typeof ExpirationStatus];
278
+ export declare const TransitionDefaultMinimumObjectSize: {
279
+ readonly all_storage_classes_128K: "all_storage_classes_128K";
280
+ readonly varies_by_storage_class: "varies_by_storage_class";
281
+ };
282
+ export type TransitionDefaultMinimumObjectSize =
283
+ (typeof TransitionDefaultMinimumObjectSize)[keyof typeof TransitionDefaultMinimumObjectSize];
284
+ export declare const BucketLogsPermission: {
285
+ readonly FULL_CONTROL: "FULL_CONTROL";
286
+ readonly READ: "READ";
287
+ readonly WRITE: "WRITE";
288
+ };
289
+ export type BucketLogsPermission =
290
+ (typeof BucketLogsPermission)[keyof typeof BucketLogsPermission];
291
+ export declare const PartitionDateSource: {
292
+ readonly DeliveryTime: "DeliveryTime";
293
+ readonly EventTime: "EventTime";
294
+ };
295
+ export type PartitionDateSource =
296
+ (typeof PartitionDateSource)[keyof typeof PartitionDateSource];
297
+ export declare const S3TablesBucketType: {
298
+ readonly aws: "aws";
299
+ readonly customer: "customer";
300
+ };
301
+ export type S3TablesBucketType =
302
+ (typeof S3TablesBucketType)[keyof typeof S3TablesBucketType];
303
+ export declare const Event: {
304
+ readonly s3_IntelligentTiering: "s3:IntelligentTiering";
305
+ readonly s3_LifecycleExpiration_: "s3:LifecycleExpiration:*";
306
+ readonly s3_LifecycleExpiration_Delete: "s3:LifecycleExpiration:Delete";
307
+ readonly s3_LifecycleExpiration_DeleteMarkerCreated: "s3:LifecycleExpiration:DeleteMarkerCreated";
308
+ readonly s3_LifecycleTransition: "s3:LifecycleTransition";
309
+ readonly s3_ObjectAcl_Put: "s3:ObjectAcl:Put";
310
+ readonly s3_ObjectCreated_: "s3:ObjectCreated:*";
311
+ readonly s3_ObjectCreated_CompleteMultipartUpload: "s3:ObjectCreated:CompleteMultipartUpload";
312
+ readonly s3_ObjectCreated_Copy: "s3:ObjectCreated:Copy";
313
+ readonly s3_ObjectCreated_Post: "s3:ObjectCreated:Post";
314
+ readonly s3_ObjectCreated_Put: "s3:ObjectCreated:Put";
315
+ readonly s3_ObjectRemoved_: "s3:ObjectRemoved:*";
316
+ readonly s3_ObjectRemoved_Delete: "s3:ObjectRemoved:Delete";
317
+ readonly s3_ObjectRemoved_DeleteMarkerCreated: "s3:ObjectRemoved:DeleteMarkerCreated";
318
+ readonly s3_ObjectRestore_: "s3:ObjectRestore:*";
319
+ readonly s3_ObjectRestore_Completed: "s3:ObjectRestore:Completed";
320
+ readonly s3_ObjectRestore_Delete: "s3:ObjectRestore:Delete";
321
+ readonly s3_ObjectRestore_Post: "s3:ObjectRestore:Post";
322
+ readonly s3_ObjectTagging_: "s3:ObjectTagging:*";
323
+ readonly s3_ObjectTagging_Delete: "s3:ObjectTagging:Delete";
324
+ readonly s3_ObjectTagging_Put: "s3:ObjectTagging:Put";
325
+ readonly s3_ReducedRedundancyLostObject: "s3:ReducedRedundancyLostObject";
326
+ readonly s3_Replication_: "s3:Replication:*";
327
+ readonly s3_Replication_OperationFailedReplication: "s3:Replication:OperationFailedReplication";
328
+ readonly s3_Replication_OperationMissedThreshold: "s3:Replication:OperationMissedThreshold";
329
+ readonly s3_Replication_OperationNotTracked: "s3:Replication:OperationNotTracked";
330
+ readonly s3_Replication_OperationReplicatedAfterThreshold: "s3:Replication:OperationReplicatedAfterThreshold";
331
+ };
332
+ export type Event = (typeof Event)[keyof typeof Event];
333
+ export declare const FilterRuleName: {
334
+ readonly prefix: "prefix";
335
+ readonly suffix: "suffix";
336
+ };
337
+ export type FilterRuleName =
338
+ (typeof FilterRuleName)[keyof typeof FilterRuleName];
339
+ export declare const DeleteMarkerReplicationStatus: {
340
+ readonly Disabled: "Disabled";
341
+ readonly Enabled: "Enabled";
342
+ };
343
+ export type DeleteMarkerReplicationStatus =
344
+ (typeof DeleteMarkerReplicationStatus)[keyof typeof DeleteMarkerReplicationStatus];
345
+ export declare const MetricsStatus: {
346
+ readonly Disabled: "Disabled";
347
+ readonly Enabled: "Enabled";
348
+ };
349
+ export type MetricsStatus = (typeof MetricsStatus)[keyof typeof MetricsStatus];
350
+ export declare const ReplicationTimeStatus: {
351
+ readonly Disabled: "Disabled";
352
+ readonly Enabled: "Enabled";
353
+ };
354
+ export type ReplicationTimeStatus =
355
+ (typeof ReplicationTimeStatus)[keyof typeof ReplicationTimeStatus];
356
+ export declare const ExistingObjectReplicationStatus: {
357
+ readonly Disabled: "Disabled";
358
+ readonly Enabled: "Enabled";
359
+ };
360
+ export type ExistingObjectReplicationStatus =
361
+ (typeof ExistingObjectReplicationStatus)[keyof typeof ExistingObjectReplicationStatus];
362
+ export declare const ReplicaModificationsStatus: {
363
+ readonly Disabled: "Disabled";
364
+ readonly Enabled: "Enabled";
365
+ };
366
+ export type ReplicaModificationsStatus =
367
+ (typeof ReplicaModificationsStatus)[keyof typeof ReplicaModificationsStatus];
368
+ export declare const SseKmsEncryptedObjectsStatus: {
369
+ readonly Disabled: "Disabled";
370
+ readonly Enabled: "Enabled";
371
+ };
372
+ export type SseKmsEncryptedObjectsStatus =
373
+ (typeof SseKmsEncryptedObjectsStatus)[keyof typeof SseKmsEncryptedObjectsStatus];
374
+ export declare const ReplicationRuleStatus: {
375
+ readonly Disabled: "Disabled";
376
+ readonly Enabled: "Enabled";
377
+ };
378
+ export type ReplicationRuleStatus =
379
+ (typeof ReplicationRuleStatus)[keyof typeof ReplicationRuleStatus];
380
+ export declare const Payer: {
381
+ readonly BucketOwner: "BucketOwner";
382
+ readonly Requester: "Requester";
383
+ };
384
+ export type Payer = (typeof Payer)[keyof typeof Payer];
385
+ export declare const MFADeleteStatus: {
386
+ readonly Disabled: "Disabled";
387
+ readonly Enabled: "Enabled";
388
+ };
389
+ export type MFADeleteStatus =
390
+ (typeof MFADeleteStatus)[keyof typeof MFADeleteStatus];
391
+ export declare const BucketVersioningStatus: {
392
+ readonly Enabled: "Enabled";
393
+ readonly Suspended: "Suspended";
394
+ };
395
+ export type BucketVersioningStatus =
396
+ (typeof BucketVersioningStatus)[keyof typeof BucketVersioningStatus];
397
+ export declare const Protocol: {
398
+ readonly http: "http";
399
+ readonly https: "https";
400
+ };
401
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
402
+ export declare const ReplicationStatus: {
403
+ readonly COMPLETE: "COMPLETE";
404
+ readonly COMPLETED: "COMPLETED";
405
+ readonly FAILED: "FAILED";
406
+ readonly PENDING: "PENDING";
407
+ readonly REPLICA: "REPLICA";
408
+ };
409
+ export type ReplicationStatus =
410
+ (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
411
+ export declare const ChecksumMode: {
412
+ readonly ENABLED: "ENABLED";
413
+ };
414
+ export type ChecksumMode = (typeof ChecksumMode)[keyof typeof ChecksumMode];
415
+ export declare const ObjectAttributes: {
416
+ readonly CHECKSUM: "Checksum";
417
+ readonly ETAG: "ETag";
418
+ readonly OBJECT_PARTS: "ObjectParts";
419
+ readonly OBJECT_SIZE: "ObjectSize";
420
+ readonly STORAGE_CLASS: "StorageClass";
421
+ };
422
+ export type ObjectAttributes =
423
+ (typeof ObjectAttributes)[keyof typeof ObjectAttributes];
424
+ export declare const ObjectLockEnabled: {
425
+ readonly Enabled: "Enabled";
426
+ };
427
+ export type ObjectLockEnabled =
428
+ (typeof ObjectLockEnabled)[keyof typeof ObjectLockEnabled];
429
+ export declare const ObjectLockRetentionMode: {
430
+ readonly COMPLIANCE: "COMPLIANCE";
431
+ readonly GOVERNANCE: "GOVERNANCE";
432
+ };
433
+ export type ObjectLockRetentionMode =
434
+ (typeof ObjectLockRetentionMode)[keyof typeof ObjectLockRetentionMode];
435
+ export declare const ArchiveStatus: {
436
+ readonly ARCHIVE_ACCESS: "ARCHIVE_ACCESS";
437
+ readonly DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS";
438
+ };
439
+ export type ArchiveStatus = (typeof ArchiveStatus)[keyof typeof ArchiveStatus];
440
+ export declare const EncodingType: {
441
+ readonly url: "url";
442
+ };
443
+ export type EncodingType = (typeof EncodingType)[keyof typeof EncodingType];
444
+ export declare const ObjectStorageClass: {
445
+ readonly DEEP_ARCHIVE: "DEEP_ARCHIVE";
446
+ readonly EXPRESS_ONEZONE: "EXPRESS_ONEZONE";
447
+ readonly FSX_OPENZFS: "FSX_OPENZFS";
448
+ readonly GLACIER: "GLACIER";
449
+ readonly GLACIER_IR: "GLACIER_IR";
450
+ readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING";
451
+ readonly ONEZONE_IA: "ONEZONE_IA";
452
+ readonly OUTPOSTS: "OUTPOSTS";
453
+ readonly REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY";
454
+ readonly SNOW: "SNOW";
455
+ readonly STANDARD: "STANDARD";
456
+ readonly STANDARD_IA: "STANDARD_IA";
457
+ };
458
+ export type ObjectStorageClass =
459
+ (typeof ObjectStorageClass)[keyof typeof ObjectStorageClass];
460
+ export declare const OptionalObjectAttributes: {
461
+ readonly RESTORE_STATUS: "RestoreStatus";
462
+ };
463
+ export type OptionalObjectAttributes =
464
+ (typeof OptionalObjectAttributes)[keyof typeof OptionalObjectAttributes];
465
+ export declare const ObjectVersionStorageClass: {
466
+ readonly STANDARD: "STANDARD";
467
+ };
468
+ export type ObjectVersionStorageClass =
469
+ (typeof ObjectVersionStorageClass)[keyof typeof ObjectVersionStorageClass];
470
+ export declare const MFADelete: {
471
+ readonly Disabled: "Disabled";
472
+ readonly Enabled: "Enabled";
473
+ };
474
+ export type MFADelete = (typeof MFADelete)[keyof typeof MFADelete];
475
+ export declare const Tier: {
476
+ readonly Bulk: "Bulk";
477
+ readonly Expedited: "Expedited";
478
+ readonly Standard: "Standard";
479
+ };
480
+ export type Tier = (typeof Tier)[keyof typeof Tier];
481
+ export declare const ExpressionType: {
482
+ readonly SQL: "SQL";
483
+ };
484
+ export type ExpressionType =
485
+ (typeof ExpressionType)[keyof typeof ExpressionType];
486
+ export declare const CompressionType: {
487
+ readonly BZIP2: "BZIP2";
488
+ readonly GZIP: "GZIP";
489
+ readonly NONE: "NONE";
490
+ };
491
+ export type CompressionType =
492
+ (typeof CompressionType)[keyof typeof CompressionType];
493
+ export declare const FileHeaderInfo: {
494
+ readonly IGNORE: "IGNORE";
495
+ readonly NONE: "NONE";
496
+ readonly USE: "USE";
497
+ };
498
+ export type FileHeaderInfo =
499
+ (typeof FileHeaderInfo)[keyof typeof FileHeaderInfo];
500
+ export declare const JSONType: {
501
+ readonly DOCUMENT: "DOCUMENT";
502
+ readonly LINES: "LINES";
503
+ };
504
+ export type JSONType = (typeof JSONType)[keyof typeof JSONType];
505
+ export declare const QuoteFields: {
506
+ readonly ALWAYS: "ALWAYS";
507
+ readonly ASNEEDED: "ASNEEDED";
508
+ };
509
+ export type QuoteFields = (typeof QuoteFields)[keyof typeof QuoteFields];
510
+ export declare const RestoreRequestType: {
511
+ readonly SELECT: "SELECT";
512
+ };
513
+ export type RestoreRequestType =
514
+ (typeof RestoreRequestType)[keyof typeof RestoreRequestType];
@@ -0,0 +1,87 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { IntelligentTieringAccessTier, StorageClass } from "./enums";
3
+ import { S3ServiceException as __BaseException } from "./S3ServiceException";
4
+ export declare class NoSuchUpload extends __BaseException {
5
+ readonly name: "NoSuchUpload";
6
+ readonly $fault: "client";
7
+ constructor(opts: __ExceptionOptionType<NoSuchUpload, __BaseException>);
8
+ }
9
+ export declare class ObjectNotInActiveTierError extends __BaseException {
10
+ readonly name: "ObjectNotInActiveTierError";
11
+ readonly $fault: "client";
12
+ constructor(
13
+ opts: __ExceptionOptionType<ObjectNotInActiveTierError, __BaseException>
14
+ );
15
+ }
16
+ export declare class BucketAlreadyExists extends __BaseException {
17
+ readonly name: "BucketAlreadyExists";
18
+ readonly $fault: "client";
19
+ constructor(
20
+ opts: __ExceptionOptionType<BucketAlreadyExists, __BaseException>
21
+ );
22
+ }
23
+ export declare class BucketAlreadyOwnedByYou extends __BaseException {
24
+ readonly name: "BucketAlreadyOwnedByYou";
25
+ readonly $fault: "client";
26
+ constructor(
27
+ opts: __ExceptionOptionType<BucketAlreadyOwnedByYou, __BaseException>
28
+ );
29
+ }
30
+ export declare class NoSuchBucket extends __BaseException {
31
+ readonly name: "NoSuchBucket";
32
+ readonly $fault: "client";
33
+ constructor(opts: __ExceptionOptionType<NoSuchBucket, __BaseException>);
34
+ }
35
+ export declare class InvalidObjectState extends __BaseException {
36
+ readonly name: "InvalidObjectState";
37
+ readonly $fault: "client";
38
+ StorageClass?: StorageClass | undefined;
39
+ AccessTier?: IntelligentTieringAccessTier | undefined;
40
+ constructor(opts: __ExceptionOptionType<InvalidObjectState, __BaseException>);
41
+ }
42
+ export declare class NoSuchKey extends __BaseException {
43
+ readonly name: "NoSuchKey";
44
+ readonly $fault: "client";
45
+ constructor(opts: __ExceptionOptionType<NoSuchKey, __BaseException>);
46
+ }
47
+ export declare class NotFound extends __BaseException {
48
+ readonly name: "NotFound";
49
+ readonly $fault: "client";
50
+ constructor(opts: __ExceptionOptionType<NotFound, __BaseException>);
51
+ }
52
+ export declare class EncryptionTypeMismatch extends __BaseException {
53
+ readonly name: "EncryptionTypeMismatch";
54
+ readonly $fault: "client";
55
+ constructor(
56
+ opts: __ExceptionOptionType<EncryptionTypeMismatch, __BaseException>
57
+ );
58
+ }
59
+ export declare class InvalidRequest extends __BaseException {
60
+ readonly name: "InvalidRequest";
61
+ readonly $fault: "client";
62
+ constructor(opts: __ExceptionOptionType<InvalidRequest, __BaseException>);
63
+ }
64
+ export declare class InvalidWriteOffset extends __BaseException {
65
+ readonly name: "InvalidWriteOffset";
66
+ readonly $fault: "client";
67
+ constructor(opts: __ExceptionOptionType<InvalidWriteOffset, __BaseException>);
68
+ }
69
+ export declare class TooManyParts extends __BaseException {
70
+ readonly name: "TooManyParts";
71
+ readonly $fault: "client";
72
+ constructor(opts: __ExceptionOptionType<TooManyParts, __BaseException>);
73
+ }
74
+ export declare class IdempotencyParameterMismatch extends __BaseException {
75
+ readonly name: "IdempotencyParameterMismatch";
76
+ readonly $fault: "client";
77
+ constructor(
78
+ opts: __ExceptionOptionType<IdempotencyParameterMismatch, __BaseException>
79
+ );
80
+ }
81
+ export declare class ObjectAlreadyInActiveTierError extends __BaseException {
82
+ readonly name: "ObjectAlreadyInActiveTierError";
83
+ readonly $fault: "client";
84
+ constructor(
85
+ opts: __ExceptionOptionType<ObjectAlreadyInActiveTierError, __BaseException>
86
+ );
87
+ }