@aws-sdk/client-s3 3.301.0 → 3.303.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.
@@ -1,13 +1,11 @@
1
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
2
  import { S3ServiceException as __BaseException } from "./S3ServiceException";
3
- export var RequestCharged;
4
- (function (RequestCharged) {
5
- RequestCharged["requester"] = "requester";
6
- })(RequestCharged || (RequestCharged = {}));
7
- export var RequestPayer;
8
- (function (RequestPayer) {
9
- RequestPayer["requester"] = "requester";
10
- })(RequestPayer || (RequestPayer = {}));
3
+ export const RequestCharged = {
4
+ requester: "requester",
5
+ };
6
+ export const RequestPayer = {
7
+ requester: "requester",
8
+ };
11
9
  export class NoSuchUpload extends __BaseException {
12
10
  constructor(opts) {
13
11
  super({
@@ -20,83 +18,71 @@ export class NoSuchUpload extends __BaseException {
20
18
  Object.setPrototypeOf(this, NoSuchUpload.prototype);
21
19
  }
22
20
  }
23
- export var BucketAccelerateStatus;
24
- (function (BucketAccelerateStatus) {
25
- BucketAccelerateStatus["Enabled"] = "Enabled";
26
- BucketAccelerateStatus["Suspended"] = "Suspended";
27
- })(BucketAccelerateStatus || (BucketAccelerateStatus = {}));
28
- export var Type;
29
- (function (Type) {
30
- Type["AmazonCustomerByEmail"] = "AmazonCustomerByEmail";
31
- Type["CanonicalUser"] = "CanonicalUser";
32
- Type["Group"] = "Group";
33
- })(Type || (Type = {}));
34
- export var Permission;
35
- (function (Permission) {
36
- Permission["FULL_CONTROL"] = "FULL_CONTROL";
37
- Permission["READ"] = "READ";
38
- Permission["READ_ACP"] = "READ_ACP";
39
- Permission["WRITE"] = "WRITE";
40
- Permission["WRITE_ACP"] = "WRITE_ACP";
41
- })(Permission || (Permission = {}));
42
- export var OwnerOverride;
43
- (function (OwnerOverride) {
44
- OwnerOverride["Destination"] = "Destination";
45
- })(OwnerOverride || (OwnerOverride = {}));
46
- export var ServerSideEncryption;
47
- (function (ServerSideEncryption) {
48
- ServerSideEncryption["AES256"] = "AES256";
49
- ServerSideEncryption["aws_kms"] = "aws:kms";
50
- })(ServerSideEncryption || (ServerSideEncryption = {}));
51
- export var ObjectCannedACL;
52
- (function (ObjectCannedACL) {
53
- ObjectCannedACL["authenticated_read"] = "authenticated-read";
54
- ObjectCannedACL["aws_exec_read"] = "aws-exec-read";
55
- ObjectCannedACL["bucket_owner_full_control"] = "bucket-owner-full-control";
56
- ObjectCannedACL["bucket_owner_read"] = "bucket-owner-read";
57
- ObjectCannedACL["private"] = "private";
58
- ObjectCannedACL["public_read"] = "public-read";
59
- ObjectCannedACL["public_read_write"] = "public-read-write";
60
- })(ObjectCannedACL || (ObjectCannedACL = {}));
61
- export var ChecksumAlgorithm;
62
- (function (ChecksumAlgorithm) {
63
- ChecksumAlgorithm["CRC32"] = "CRC32";
64
- ChecksumAlgorithm["CRC32C"] = "CRC32C";
65
- ChecksumAlgorithm["SHA1"] = "SHA1";
66
- ChecksumAlgorithm["SHA256"] = "SHA256";
67
- })(ChecksumAlgorithm || (ChecksumAlgorithm = {}));
68
- export var MetadataDirective;
69
- (function (MetadataDirective) {
70
- MetadataDirective["COPY"] = "COPY";
71
- MetadataDirective["REPLACE"] = "REPLACE";
72
- })(MetadataDirective || (MetadataDirective = {}));
73
- export var ObjectLockLegalHoldStatus;
74
- (function (ObjectLockLegalHoldStatus) {
75
- ObjectLockLegalHoldStatus["OFF"] = "OFF";
76
- ObjectLockLegalHoldStatus["ON"] = "ON";
77
- })(ObjectLockLegalHoldStatus || (ObjectLockLegalHoldStatus = {}));
78
- export var ObjectLockMode;
79
- (function (ObjectLockMode) {
80
- ObjectLockMode["COMPLIANCE"] = "COMPLIANCE";
81
- ObjectLockMode["GOVERNANCE"] = "GOVERNANCE";
82
- })(ObjectLockMode || (ObjectLockMode = {}));
83
- export var StorageClass;
84
- (function (StorageClass) {
85
- StorageClass["DEEP_ARCHIVE"] = "DEEP_ARCHIVE";
86
- StorageClass["GLACIER"] = "GLACIER";
87
- StorageClass["GLACIER_IR"] = "GLACIER_IR";
88
- StorageClass["INTELLIGENT_TIERING"] = "INTELLIGENT_TIERING";
89
- StorageClass["ONEZONE_IA"] = "ONEZONE_IA";
90
- StorageClass["OUTPOSTS"] = "OUTPOSTS";
91
- StorageClass["REDUCED_REDUNDANCY"] = "REDUCED_REDUNDANCY";
92
- StorageClass["STANDARD"] = "STANDARD";
93
- StorageClass["STANDARD_IA"] = "STANDARD_IA";
94
- })(StorageClass || (StorageClass = {}));
95
- export var TaggingDirective;
96
- (function (TaggingDirective) {
97
- TaggingDirective["COPY"] = "COPY";
98
- TaggingDirective["REPLACE"] = "REPLACE";
99
- })(TaggingDirective || (TaggingDirective = {}));
21
+ export const BucketAccelerateStatus = {
22
+ Enabled: "Enabled",
23
+ Suspended: "Suspended",
24
+ };
25
+ export const Type = {
26
+ AmazonCustomerByEmail: "AmazonCustomerByEmail",
27
+ CanonicalUser: "CanonicalUser",
28
+ Group: "Group",
29
+ };
30
+ export const Permission = {
31
+ FULL_CONTROL: "FULL_CONTROL",
32
+ READ: "READ",
33
+ READ_ACP: "READ_ACP",
34
+ WRITE: "WRITE",
35
+ WRITE_ACP: "WRITE_ACP",
36
+ };
37
+ export const OwnerOverride = {
38
+ Destination: "Destination",
39
+ };
40
+ export const ServerSideEncryption = {
41
+ AES256: "AES256",
42
+ aws_kms: "aws:kms",
43
+ };
44
+ export const ObjectCannedACL = {
45
+ authenticated_read: "authenticated-read",
46
+ aws_exec_read: "aws-exec-read",
47
+ bucket_owner_full_control: "bucket-owner-full-control",
48
+ bucket_owner_read: "bucket-owner-read",
49
+ private: "private",
50
+ public_read: "public-read",
51
+ public_read_write: "public-read-write",
52
+ };
53
+ export const ChecksumAlgorithm = {
54
+ CRC32: "CRC32",
55
+ CRC32C: "CRC32C",
56
+ SHA1: "SHA1",
57
+ SHA256: "SHA256",
58
+ };
59
+ export const MetadataDirective = {
60
+ COPY: "COPY",
61
+ REPLACE: "REPLACE",
62
+ };
63
+ export const ObjectLockLegalHoldStatus = {
64
+ OFF: "OFF",
65
+ ON: "ON",
66
+ };
67
+ export const ObjectLockMode = {
68
+ COMPLIANCE: "COMPLIANCE",
69
+ GOVERNANCE: "GOVERNANCE",
70
+ };
71
+ export const StorageClass = {
72
+ DEEP_ARCHIVE: "DEEP_ARCHIVE",
73
+ GLACIER: "GLACIER",
74
+ GLACIER_IR: "GLACIER_IR",
75
+ INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
76
+ ONEZONE_IA: "ONEZONE_IA",
77
+ OUTPOSTS: "OUTPOSTS",
78
+ REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY",
79
+ STANDARD: "STANDARD",
80
+ STANDARD_IA: "STANDARD_IA",
81
+ };
82
+ export const TaggingDirective = {
83
+ COPY: "COPY",
84
+ REPLACE: "REPLACE",
85
+ };
100
86
  export class ObjectNotInActiveTierError extends __BaseException {
101
87
  constructor(opts) {
102
88
  super({
@@ -133,48 +119,45 @@ export class BucketAlreadyOwnedByYou extends __BaseException {
133
119
  Object.setPrototypeOf(this, BucketAlreadyOwnedByYou.prototype);
134
120
  }
135
121
  }
136
- export var BucketCannedACL;
137
- (function (BucketCannedACL) {
138
- BucketCannedACL["authenticated_read"] = "authenticated-read";
139
- BucketCannedACL["private"] = "private";
140
- BucketCannedACL["public_read"] = "public-read";
141
- BucketCannedACL["public_read_write"] = "public-read-write";
142
- })(BucketCannedACL || (BucketCannedACL = {}));
143
- export var BucketLocationConstraint;
144
- (function (BucketLocationConstraint) {
145
- BucketLocationConstraint["EU"] = "EU";
146
- BucketLocationConstraint["af_south_1"] = "af-south-1";
147
- BucketLocationConstraint["ap_east_1"] = "ap-east-1";
148
- BucketLocationConstraint["ap_northeast_1"] = "ap-northeast-1";
149
- BucketLocationConstraint["ap_northeast_2"] = "ap-northeast-2";
150
- BucketLocationConstraint["ap_northeast_3"] = "ap-northeast-3";
151
- BucketLocationConstraint["ap_south_1"] = "ap-south-1";
152
- BucketLocationConstraint["ap_southeast_1"] = "ap-southeast-1";
153
- BucketLocationConstraint["ap_southeast_2"] = "ap-southeast-2";
154
- BucketLocationConstraint["ap_southeast_3"] = "ap-southeast-3";
155
- BucketLocationConstraint["ca_central_1"] = "ca-central-1";
156
- BucketLocationConstraint["cn_north_1"] = "cn-north-1";
157
- BucketLocationConstraint["cn_northwest_1"] = "cn-northwest-1";
158
- BucketLocationConstraint["eu_central_1"] = "eu-central-1";
159
- BucketLocationConstraint["eu_north_1"] = "eu-north-1";
160
- BucketLocationConstraint["eu_south_1"] = "eu-south-1";
161
- BucketLocationConstraint["eu_west_1"] = "eu-west-1";
162
- BucketLocationConstraint["eu_west_2"] = "eu-west-2";
163
- BucketLocationConstraint["eu_west_3"] = "eu-west-3";
164
- BucketLocationConstraint["me_south_1"] = "me-south-1";
165
- BucketLocationConstraint["sa_east_1"] = "sa-east-1";
166
- BucketLocationConstraint["us_east_2"] = "us-east-2";
167
- BucketLocationConstraint["us_gov_east_1"] = "us-gov-east-1";
168
- BucketLocationConstraint["us_gov_west_1"] = "us-gov-west-1";
169
- BucketLocationConstraint["us_west_1"] = "us-west-1";
170
- BucketLocationConstraint["us_west_2"] = "us-west-2";
171
- })(BucketLocationConstraint || (BucketLocationConstraint = {}));
172
- export var ObjectOwnership;
173
- (function (ObjectOwnership) {
174
- ObjectOwnership["BucketOwnerEnforced"] = "BucketOwnerEnforced";
175
- ObjectOwnership["BucketOwnerPreferred"] = "BucketOwnerPreferred";
176
- ObjectOwnership["ObjectWriter"] = "ObjectWriter";
177
- })(ObjectOwnership || (ObjectOwnership = {}));
122
+ export const BucketCannedACL = {
123
+ authenticated_read: "authenticated-read",
124
+ private: "private",
125
+ public_read: "public-read",
126
+ public_read_write: "public-read-write",
127
+ };
128
+ export const BucketLocationConstraint = {
129
+ EU: "EU",
130
+ af_south_1: "af-south-1",
131
+ ap_east_1: "ap-east-1",
132
+ ap_northeast_1: "ap-northeast-1",
133
+ ap_northeast_2: "ap-northeast-2",
134
+ ap_northeast_3: "ap-northeast-3",
135
+ ap_south_1: "ap-south-1",
136
+ ap_southeast_1: "ap-southeast-1",
137
+ ap_southeast_2: "ap-southeast-2",
138
+ ap_southeast_3: "ap-southeast-3",
139
+ ca_central_1: "ca-central-1",
140
+ cn_north_1: "cn-north-1",
141
+ cn_northwest_1: "cn-northwest-1",
142
+ eu_central_1: "eu-central-1",
143
+ eu_north_1: "eu-north-1",
144
+ eu_south_1: "eu-south-1",
145
+ eu_west_1: "eu-west-1",
146
+ eu_west_2: "eu-west-2",
147
+ eu_west_3: "eu-west-3",
148
+ me_south_1: "me-south-1",
149
+ sa_east_1: "sa-east-1",
150
+ us_east_2: "us-east-2",
151
+ us_gov_east_1: "us-gov-east-1",
152
+ us_gov_west_1: "us-gov-west-1",
153
+ us_west_1: "us-west-1",
154
+ us_west_2: "us-west-2",
155
+ };
156
+ export const ObjectOwnership = {
157
+ BucketOwnerEnforced: "BucketOwnerEnforced",
158
+ BucketOwnerPreferred: "BucketOwnerPreferred",
159
+ ObjectWriter: "ObjectWriter",
160
+ };
178
161
  export var AnalyticsFilter;
179
162
  (function (AnalyticsFilter) {
180
163
  AnalyticsFilter.visit = (value, visitor) => {
@@ -187,56 +170,48 @@ export var AnalyticsFilter;
187
170
  return visitor._(value.$unknown[0], value.$unknown[1]);
188
171
  };
189
172
  })(AnalyticsFilter || (AnalyticsFilter = {}));
190
- export var AnalyticsS3ExportFileFormat;
191
- (function (AnalyticsS3ExportFileFormat) {
192
- AnalyticsS3ExportFileFormat["CSV"] = "CSV";
193
- })(AnalyticsS3ExportFileFormat || (AnalyticsS3ExportFileFormat = {}));
194
- export var StorageClassAnalysisSchemaVersion;
195
- (function (StorageClassAnalysisSchemaVersion) {
196
- StorageClassAnalysisSchemaVersion["V_1"] = "V_1";
197
- })(StorageClassAnalysisSchemaVersion || (StorageClassAnalysisSchemaVersion = {}));
198
- export var IntelligentTieringStatus;
199
- (function (IntelligentTieringStatus) {
200
- IntelligentTieringStatus["Disabled"] = "Disabled";
201
- IntelligentTieringStatus["Enabled"] = "Enabled";
202
- })(IntelligentTieringStatus || (IntelligentTieringStatus = {}));
203
- export var IntelligentTieringAccessTier;
204
- (function (IntelligentTieringAccessTier) {
205
- IntelligentTieringAccessTier["ARCHIVE_ACCESS"] = "ARCHIVE_ACCESS";
206
- IntelligentTieringAccessTier["DEEP_ARCHIVE_ACCESS"] = "DEEP_ARCHIVE_ACCESS";
207
- })(IntelligentTieringAccessTier || (IntelligentTieringAccessTier = {}));
208
- export var InventoryFormat;
209
- (function (InventoryFormat) {
210
- InventoryFormat["CSV"] = "CSV";
211
- InventoryFormat["ORC"] = "ORC";
212
- InventoryFormat["Parquet"] = "Parquet";
213
- })(InventoryFormat || (InventoryFormat = {}));
214
- export var InventoryIncludedObjectVersions;
215
- (function (InventoryIncludedObjectVersions) {
216
- InventoryIncludedObjectVersions["All"] = "All";
217
- InventoryIncludedObjectVersions["Current"] = "Current";
218
- })(InventoryIncludedObjectVersions || (InventoryIncludedObjectVersions = {}));
219
- export var InventoryOptionalField;
220
- (function (InventoryOptionalField) {
221
- InventoryOptionalField["BucketKeyStatus"] = "BucketKeyStatus";
222
- InventoryOptionalField["ChecksumAlgorithm"] = "ChecksumAlgorithm";
223
- InventoryOptionalField["ETag"] = "ETag";
224
- InventoryOptionalField["EncryptionStatus"] = "EncryptionStatus";
225
- InventoryOptionalField["IntelligentTieringAccessTier"] = "IntelligentTieringAccessTier";
226
- InventoryOptionalField["IsMultipartUploaded"] = "IsMultipartUploaded";
227
- InventoryOptionalField["LastModifiedDate"] = "LastModifiedDate";
228
- InventoryOptionalField["ObjectLockLegalHoldStatus"] = "ObjectLockLegalHoldStatus";
229
- InventoryOptionalField["ObjectLockMode"] = "ObjectLockMode";
230
- InventoryOptionalField["ObjectLockRetainUntilDate"] = "ObjectLockRetainUntilDate";
231
- InventoryOptionalField["ReplicationStatus"] = "ReplicationStatus";
232
- InventoryOptionalField["Size"] = "Size";
233
- InventoryOptionalField["StorageClass"] = "StorageClass";
234
- })(InventoryOptionalField || (InventoryOptionalField = {}));
235
- export var InventoryFrequency;
236
- (function (InventoryFrequency) {
237
- InventoryFrequency["Daily"] = "Daily";
238
- InventoryFrequency["Weekly"] = "Weekly";
239
- })(InventoryFrequency || (InventoryFrequency = {}));
173
+ export const AnalyticsS3ExportFileFormat = {
174
+ CSV: "CSV",
175
+ };
176
+ export const StorageClassAnalysisSchemaVersion = {
177
+ V_1: "V_1",
178
+ };
179
+ export const IntelligentTieringStatus = {
180
+ Disabled: "Disabled",
181
+ Enabled: "Enabled",
182
+ };
183
+ export const IntelligentTieringAccessTier = {
184
+ ARCHIVE_ACCESS: "ARCHIVE_ACCESS",
185
+ DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS",
186
+ };
187
+ export const InventoryFormat = {
188
+ CSV: "CSV",
189
+ ORC: "ORC",
190
+ Parquet: "Parquet",
191
+ };
192
+ export const InventoryIncludedObjectVersions = {
193
+ All: "All",
194
+ Current: "Current",
195
+ };
196
+ export const InventoryOptionalField = {
197
+ BucketKeyStatus: "BucketKeyStatus",
198
+ ChecksumAlgorithm: "ChecksumAlgorithm",
199
+ ETag: "ETag",
200
+ EncryptionStatus: "EncryptionStatus",
201
+ IntelligentTieringAccessTier: "IntelligentTieringAccessTier",
202
+ IsMultipartUploaded: "IsMultipartUploaded",
203
+ LastModifiedDate: "LastModifiedDate",
204
+ ObjectLockLegalHoldStatus: "ObjectLockLegalHoldStatus",
205
+ ObjectLockMode: "ObjectLockMode",
206
+ ObjectLockRetainUntilDate: "ObjectLockRetainUntilDate",
207
+ ReplicationStatus: "ReplicationStatus",
208
+ Size: "Size",
209
+ StorageClass: "StorageClass",
210
+ };
211
+ export const InventoryFrequency = {
212
+ Daily: "Daily",
213
+ Weekly: "Weekly",
214
+ };
240
215
  export var LifecycleRuleFilter;
241
216
  (function (LifecycleRuleFilter) {
242
217
  LifecycleRuleFilter.visit = (value, visitor) => {
@@ -253,26 +228,23 @@ export var LifecycleRuleFilter;
253
228
  return visitor._(value.$unknown[0], value.$unknown[1]);
254
229
  };
255
230
  })(LifecycleRuleFilter || (LifecycleRuleFilter = {}));
256
- export var TransitionStorageClass;
257
- (function (TransitionStorageClass) {
258
- TransitionStorageClass["DEEP_ARCHIVE"] = "DEEP_ARCHIVE";
259
- TransitionStorageClass["GLACIER"] = "GLACIER";
260
- TransitionStorageClass["GLACIER_IR"] = "GLACIER_IR";
261
- TransitionStorageClass["INTELLIGENT_TIERING"] = "INTELLIGENT_TIERING";
262
- TransitionStorageClass["ONEZONE_IA"] = "ONEZONE_IA";
263
- TransitionStorageClass["STANDARD_IA"] = "STANDARD_IA";
264
- })(TransitionStorageClass || (TransitionStorageClass = {}));
265
- export var ExpirationStatus;
266
- (function (ExpirationStatus) {
267
- ExpirationStatus["Disabled"] = "Disabled";
268
- ExpirationStatus["Enabled"] = "Enabled";
269
- })(ExpirationStatus || (ExpirationStatus = {}));
270
- export var BucketLogsPermission;
271
- (function (BucketLogsPermission) {
272
- BucketLogsPermission["FULL_CONTROL"] = "FULL_CONTROL";
273
- BucketLogsPermission["READ"] = "READ";
274
- BucketLogsPermission["WRITE"] = "WRITE";
275
- })(BucketLogsPermission || (BucketLogsPermission = {}));
231
+ export const TransitionStorageClass = {
232
+ DEEP_ARCHIVE: "DEEP_ARCHIVE",
233
+ GLACIER: "GLACIER",
234
+ GLACIER_IR: "GLACIER_IR",
235
+ INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
236
+ ONEZONE_IA: "ONEZONE_IA",
237
+ STANDARD_IA: "STANDARD_IA",
238
+ };
239
+ export const ExpirationStatus = {
240
+ Disabled: "Disabled",
241
+ Enabled: "Enabled",
242
+ };
243
+ export const BucketLogsPermission = {
244
+ FULL_CONTROL: "FULL_CONTROL",
245
+ READ: "READ",
246
+ WRITE: "WRITE",
247
+ };
276
248
  export var MetricsFilter;
277
249
  (function (MetricsFilter) {
278
250
  MetricsFilter.visit = (value, visitor) => {
@@ -287,31 +259,26 @@ export var MetricsFilter;
287
259
  return visitor._(value.$unknown[0], value.$unknown[1]);
288
260
  };
289
261
  })(MetricsFilter || (MetricsFilter = {}));
290
- export var FilterRuleName;
291
- (function (FilterRuleName) {
292
- FilterRuleName["prefix"] = "prefix";
293
- FilterRuleName["suffix"] = "suffix";
294
- })(FilterRuleName || (FilterRuleName = {}));
295
- export var DeleteMarkerReplicationStatus;
296
- (function (DeleteMarkerReplicationStatus) {
297
- DeleteMarkerReplicationStatus["Disabled"] = "Disabled";
298
- DeleteMarkerReplicationStatus["Enabled"] = "Enabled";
299
- })(DeleteMarkerReplicationStatus || (DeleteMarkerReplicationStatus = {}));
300
- export var MetricsStatus;
301
- (function (MetricsStatus) {
302
- MetricsStatus["Disabled"] = "Disabled";
303
- MetricsStatus["Enabled"] = "Enabled";
304
- })(MetricsStatus || (MetricsStatus = {}));
305
- export var ReplicationTimeStatus;
306
- (function (ReplicationTimeStatus) {
307
- ReplicationTimeStatus["Disabled"] = "Disabled";
308
- ReplicationTimeStatus["Enabled"] = "Enabled";
309
- })(ReplicationTimeStatus || (ReplicationTimeStatus = {}));
310
- export var ExistingObjectReplicationStatus;
311
- (function (ExistingObjectReplicationStatus) {
312
- ExistingObjectReplicationStatus["Disabled"] = "Disabled";
313
- ExistingObjectReplicationStatus["Enabled"] = "Enabled";
314
- })(ExistingObjectReplicationStatus || (ExistingObjectReplicationStatus = {}));
262
+ export const FilterRuleName = {
263
+ prefix: "prefix",
264
+ suffix: "suffix",
265
+ };
266
+ export const DeleteMarkerReplicationStatus = {
267
+ Disabled: "Disabled",
268
+ Enabled: "Enabled",
269
+ };
270
+ export const MetricsStatus = {
271
+ Disabled: "Disabled",
272
+ Enabled: "Enabled",
273
+ };
274
+ export const ReplicationTimeStatus = {
275
+ Disabled: "Disabled",
276
+ Enabled: "Enabled",
277
+ };
278
+ export const ExistingObjectReplicationStatus = {
279
+ Disabled: "Disabled",
280
+ Enabled: "Enabled",
281
+ };
315
282
  export var ReplicationRuleFilter;
316
283
  (function (ReplicationRuleFilter) {
317
284
  ReplicationRuleFilter.visit = (value, visitor) => {
@@ -324,52 +291,43 @@ export var ReplicationRuleFilter;
324
291
  return visitor._(value.$unknown[0], value.$unknown[1]);
325
292
  };
326
293
  })(ReplicationRuleFilter || (ReplicationRuleFilter = {}));
327
- export var ReplicaModificationsStatus;
328
- (function (ReplicaModificationsStatus) {
329
- ReplicaModificationsStatus["Disabled"] = "Disabled";
330
- ReplicaModificationsStatus["Enabled"] = "Enabled";
331
- })(ReplicaModificationsStatus || (ReplicaModificationsStatus = {}));
332
- export var SseKmsEncryptedObjectsStatus;
333
- (function (SseKmsEncryptedObjectsStatus) {
334
- SseKmsEncryptedObjectsStatus["Disabled"] = "Disabled";
335
- SseKmsEncryptedObjectsStatus["Enabled"] = "Enabled";
336
- })(SseKmsEncryptedObjectsStatus || (SseKmsEncryptedObjectsStatus = {}));
337
- export var ReplicationRuleStatus;
338
- (function (ReplicationRuleStatus) {
339
- ReplicationRuleStatus["Disabled"] = "Disabled";
340
- ReplicationRuleStatus["Enabled"] = "Enabled";
341
- })(ReplicationRuleStatus || (ReplicationRuleStatus = {}));
342
- export var Payer;
343
- (function (Payer) {
344
- Payer["BucketOwner"] = "BucketOwner";
345
- Payer["Requester"] = "Requester";
346
- })(Payer || (Payer = {}));
347
- export var MFADeleteStatus;
348
- (function (MFADeleteStatus) {
349
- MFADeleteStatus["Disabled"] = "Disabled";
350
- MFADeleteStatus["Enabled"] = "Enabled";
351
- })(MFADeleteStatus || (MFADeleteStatus = {}));
352
- export var BucketVersioningStatus;
353
- (function (BucketVersioningStatus) {
354
- BucketVersioningStatus["Enabled"] = "Enabled";
355
- BucketVersioningStatus["Suspended"] = "Suspended";
356
- })(BucketVersioningStatus || (BucketVersioningStatus = {}));
357
- export var Protocol;
358
- (function (Protocol) {
359
- Protocol["http"] = "http";
360
- Protocol["https"] = "https";
361
- })(Protocol || (Protocol = {}));
362
- export var ReplicationStatus;
363
- (function (ReplicationStatus) {
364
- ReplicationStatus["COMPLETE"] = "COMPLETE";
365
- ReplicationStatus["FAILED"] = "FAILED";
366
- ReplicationStatus["PENDING"] = "PENDING";
367
- ReplicationStatus["REPLICA"] = "REPLICA";
368
- })(ReplicationStatus || (ReplicationStatus = {}));
369
- export var ChecksumMode;
370
- (function (ChecksumMode) {
371
- ChecksumMode["ENABLED"] = "ENABLED";
372
- })(ChecksumMode || (ChecksumMode = {}));
294
+ export const ReplicaModificationsStatus = {
295
+ Disabled: "Disabled",
296
+ Enabled: "Enabled",
297
+ };
298
+ export const SseKmsEncryptedObjectsStatus = {
299
+ Disabled: "Disabled",
300
+ Enabled: "Enabled",
301
+ };
302
+ export const ReplicationRuleStatus = {
303
+ Disabled: "Disabled",
304
+ Enabled: "Enabled",
305
+ };
306
+ export const Payer = {
307
+ BucketOwner: "BucketOwner",
308
+ Requester: "Requester",
309
+ };
310
+ export const MFADeleteStatus = {
311
+ Disabled: "Disabled",
312
+ Enabled: "Enabled",
313
+ };
314
+ export const BucketVersioningStatus = {
315
+ Enabled: "Enabled",
316
+ Suspended: "Suspended",
317
+ };
318
+ export const Protocol = {
319
+ http: "http",
320
+ https: "https",
321
+ };
322
+ export const ReplicationStatus = {
323
+ COMPLETE: "COMPLETE",
324
+ FAILED: "FAILED",
325
+ PENDING: "PENDING",
326
+ REPLICA: "REPLICA",
327
+ };
328
+ export const ChecksumMode = {
329
+ ENABLED: "ENABLED",
330
+ };
373
331
  export class InvalidObjectState extends __BaseException {
374
332
  constructor(opts) {
375
333
  super({
@@ -396,23 +354,20 @@ export class NoSuchKey extends __BaseException {
396
354
  Object.setPrototypeOf(this, NoSuchKey.prototype);
397
355
  }
398
356
  }
399
- export var ObjectAttributes;
400
- (function (ObjectAttributes) {
401
- ObjectAttributes["CHECKSUM"] = "Checksum";
402
- ObjectAttributes["ETAG"] = "ETag";
403
- ObjectAttributes["OBJECT_PARTS"] = "ObjectParts";
404
- ObjectAttributes["OBJECT_SIZE"] = "ObjectSize";
405
- ObjectAttributes["STORAGE_CLASS"] = "StorageClass";
406
- })(ObjectAttributes || (ObjectAttributes = {}));
407
- export var ObjectLockEnabled;
408
- (function (ObjectLockEnabled) {
409
- ObjectLockEnabled["Enabled"] = "Enabled";
410
- })(ObjectLockEnabled || (ObjectLockEnabled = {}));
411
- export var ObjectLockRetentionMode;
412
- (function (ObjectLockRetentionMode) {
413
- ObjectLockRetentionMode["COMPLIANCE"] = "COMPLIANCE";
414
- ObjectLockRetentionMode["GOVERNANCE"] = "GOVERNANCE";
415
- })(ObjectLockRetentionMode || (ObjectLockRetentionMode = {}));
357
+ export const ObjectAttributes = {
358
+ CHECKSUM: "Checksum",
359
+ ETAG: "ETag",
360
+ OBJECT_PARTS: "ObjectParts",
361
+ OBJECT_SIZE: "ObjectSize",
362
+ STORAGE_CLASS: "StorageClass",
363
+ };
364
+ export const ObjectLockEnabled = {
365
+ Enabled: "Enabled",
366
+ };
367
+ export const ObjectLockRetentionMode = {
368
+ COMPLIANCE: "COMPLIANCE",
369
+ GOVERNANCE: "GOVERNANCE",
370
+ };
416
371
  export class NotFound extends __BaseException {
417
372
  constructor(opts) {
418
373
  super({
@@ -425,27 +380,24 @@ export class NotFound extends __BaseException {
425
380
  Object.setPrototypeOf(this, NotFound.prototype);
426
381
  }
427
382
  }
428
- export var ArchiveStatus;
429
- (function (ArchiveStatus) {
430
- ArchiveStatus["ARCHIVE_ACCESS"] = "ARCHIVE_ACCESS";
431
- ArchiveStatus["DEEP_ARCHIVE_ACCESS"] = "DEEP_ARCHIVE_ACCESS";
432
- })(ArchiveStatus || (ArchiveStatus = {}));
433
- export var EncodingType;
434
- (function (EncodingType) {
435
- EncodingType["url"] = "url";
436
- })(EncodingType || (EncodingType = {}));
437
- export var ObjectStorageClass;
438
- (function (ObjectStorageClass) {
439
- ObjectStorageClass["DEEP_ARCHIVE"] = "DEEP_ARCHIVE";
440
- ObjectStorageClass["GLACIER"] = "GLACIER";
441
- ObjectStorageClass["GLACIER_IR"] = "GLACIER_IR";
442
- ObjectStorageClass["INTELLIGENT_TIERING"] = "INTELLIGENT_TIERING";
443
- ObjectStorageClass["ONEZONE_IA"] = "ONEZONE_IA";
444
- ObjectStorageClass["OUTPOSTS"] = "OUTPOSTS";
445
- ObjectStorageClass["REDUCED_REDUNDANCY"] = "REDUCED_REDUNDANCY";
446
- ObjectStorageClass["STANDARD"] = "STANDARD";
447
- ObjectStorageClass["STANDARD_IA"] = "STANDARD_IA";
448
- })(ObjectStorageClass || (ObjectStorageClass = {}));
383
+ export const ArchiveStatus = {
384
+ ARCHIVE_ACCESS: "ARCHIVE_ACCESS",
385
+ DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS",
386
+ };
387
+ export const EncodingType = {
388
+ url: "url",
389
+ };
390
+ export const ObjectStorageClass = {
391
+ DEEP_ARCHIVE: "DEEP_ARCHIVE",
392
+ GLACIER: "GLACIER",
393
+ GLACIER_IR: "GLACIER_IR",
394
+ INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
395
+ ONEZONE_IA: "ONEZONE_IA",
396
+ OUTPOSTS: "OUTPOSTS",
397
+ REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY",
398
+ STANDARD: "STANDARD",
399
+ STANDARD_IA: "STANDARD_IA",
400
+ };
449
401
  export class NoSuchBucket extends __BaseException {
450
402
  constructor(opts) {
451
403
  super({
@@ -458,15 +410,13 @@ export class NoSuchBucket extends __BaseException {
458
410
  Object.setPrototypeOf(this, NoSuchBucket.prototype);
459
411
  }
460
412
  }
461
- export var ObjectVersionStorageClass;
462
- (function (ObjectVersionStorageClass) {
463
- ObjectVersionStorageClass["STANDARD"] = "STANDARD";
464
- })(ObjectVersionStorageClass || (ObjectVersionStorageClass = {}));
465
- export var MFADelete;
466
- (function (MFADelete) {
467
- MFADelete["Disabled"] = "Disabled";
468
- MFADelete["Enabled"] = "Enabled";
469
- })(MFADelete || (MFADelete = {}));
413
+ export const ObjectVersionStorageClass = {
414
+ STANDARD: "STANDARD",
415
+ };
416
+ export const MFADelete = {
417
+ Disabled: "Disabled",
418
+ Enabled: "Enabled",
419
+ };
470
420
  export const CompleteMultipartUploadOutputFilterSensitiveLog = (obj) => ({
471
421
  ...obj,
472
422
  ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),