@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.
- package/dist-cjs/models/models_0.js +265 -315
- package/dist-cjs/models/models_1.js +29 -36
- package/dist-es/models/models_0.js +265 -315
- package/dist-es/models/models_1.js +29 -36
- package/dist-types/models/models_0.d.ts +515 -265
- package/dist-types/models/models_1.d.ts +64 -29
- package/dist-types/ts3.4/models/models_0.d.ts +353 -265
- package/dist-types/ts3.4/models/models_1.d.ts +40 -29
- package/package.json +51 -51
|
@@ -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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
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
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
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
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
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
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
}
|
|
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
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
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
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
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
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
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
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
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 }),
|