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