@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
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { S3ServiceException as __BaseException } from "./S3ServiceException";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
export
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
export
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
export
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
export
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
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
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
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
|
-
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
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
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
|
-
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
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
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
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
}
|
|
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
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
}
|
|
347
|
-
export
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
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
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
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
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
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
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
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 }),
|