@aws-sdk/client-s3 3.662.0 → 3.663.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/index.js +38 -25
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +2 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restXml.js +5 -0
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/HeadObjectCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +11 -10
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +98 -80
- package/dist-types/models/models_1.d.ts +95 -21
- package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +7 -3
- package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +11 -12
- package/dist-types/ts3.4/models/models_1.d.ts +14 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -231,6 +231,7 @@ __export(src_exports, {
|
|
|
231
231
|
StorageClassAnalysisSchemaVersion: () => StorageClassAnalysisSchemaVersion,
|
|
232
232
|
TaggingDirective: () => TaggingDirective,
|
|
233
233
|
Tier: () => Tier,
|
|
234
|
+
TransitionDefaultMinimumObjectSize: () => TransitionDefaultMinimumObjectSize,
|
|
234
235
|
TransitionStorageClass: () => TransitionStorageClass,
|
|
235
236
|
Type: () => Type,
|
|
236
237
|
UploadPartCommand: () => UploadPartCommand,
|
|
@@ -621,6 +622,10 @@ var ExpirationStatus = {
|
|
|
621
622
|
Disabled: "Disabled",
|
|
622
623
|
Enabled: "Enabled"
|
|
623
624
|
};
|
|
625
|
+
var TransitionDefaultMinimumObjectSize = {
|
|
626
|
+
all_storage_classes_128K: "all_storage_classes_128K",
|
|
627
|
+
varies_by_storage_class: "varies_by_storage_class"
|
|
628
|
+
};
|
|
624
629
|
var BucketLogsPermission = {
|
|
625
630
|
FULL_CONTROL: "FULL_CONTROL",
|
|
626
631
|
READ: "READ",
|
|
@@ -2455,7 +2460,8 @@ var se_PutBucketLifecycleConfigurationCommand = /* @__PURE__ */ __name(async (in
|
|
|
2455
2460
|
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
2456
2461
|
"content-type": "application/xml",
|
|
2457
2462
|
[_xasca]: input[_CA],
|
|
2458
|
-
[_xaebo]: input[_EBO]
|
|
2463
|
+
[_xaebo]: input[_EBO],
|
|
2464
|
+
[_xatdmos]: input[_TDMOS]
|
|
2459
2465
|
});
|
|
2460
2466
|
b.bp("/");
|
|
2461
2467
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
@@ -3551,7 +3557,8 @@ var de_GetBucketLifecycleConfigurationCommand = /* @__PURE__ */ __name(async (ou
|
|
|
3551
3557
|
return de_CommandError(output, context);
|
|
3552
3558
|
}
|
|
3553
3559
|
const contents = (0, import_smithy_client.map)({
|
|
3554
|
-
$metadata: deserializeMetadata(output)
|
|
3560
|
+
$metadata: deserializeMetadata(output),
|
|
3561
|
+
[_TDMOS]: [, output.headers[_xatdmos]]
|
|
3555
3562
|
});
|
|
3556
3563
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core.parseXmlBody)(output.body, context)), "body");
|
|
3557
3564
|
if (data.Rule === "") {
|
|
@@ -4451,7 +4458,8 @@ var de_PutBucketLifecycleConfigurationCommand = /* @__PURE__ */ __name(async (ou
|
|
|
4451
4458
|
return de_CommandError(output, context);
|
|
4452
4459
|
}
|
|
4453
4460
|
const contents = (0, import_smithy_client.map)({
|
|
4454
|
-
$metadata: deserializeMetadata(output)
|
|
4461
|
+
$metadata: deserializeMetadata(output),
|
|
4462
|
+
[_TDMOS]: [, output.headers[_xatdmos]]
|
|
4455
4463
|
});
|
|
4456
4464
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4457
4465
|
return contents;
|
|
@@ -8172,6 +8180,7 @@ var _TC = "TagCount";
|
|
|
8172
8180
|
var _TCo = "TopicConfiguration";
|
|
8173
8181
|
var _TCop = "TopicConfigurations";
|
|
8174
8182
|
var _TD = "TaggingDirective";
|
|
8183
|
+
var _TDMOS = "TransitionDefaultMinimumObjectSize";
|
|
8175
8184
|
var _TG = "TargetGrants";
|
|
8176
8185
|
var _TGa = "TargetGrant";
|
|
8177
8186
|
var _TOKF = "TargetObjectKeyFormat";
|
|
@@ -8392,6 +8401,7 @@ var _xasseckm = "x-amz-server-side-encryption-customer-key-md5";
|
|
|
8392
8401
|
var _xat = "x-amz-tagging";
|
|
8393
8402
|
var _xatc = "x-amz-tagging-count";
|
|
8394
8403
|
var _xatd = "x-amz-tagging-directive";
|
|
8404
|
+
var _xatdmos = "x-amz-transition-default-minimum-object-size";
|
|
8395
8405
|
var _xavi = "x-amz-version-id";
|
|
8396
8406
|
var _xawrl = "x-amz-website-redirect-location";
|
|
8397
8407
|
var _xi = "x-id";
|
|
@@ -9952,6 +9962,7 @@ var PutBucketInventoryConfigurationCommand = _PutBucketInventoryConfigurationCom
|
|
|
9952
9962
|
|
|
9953
9963
|
// src/commands/PutBucketLifecycleConfigurationCommand.ts
|
|
9954
9964
|
|
|
9965
|
+
var import_middleware_sdk_s352 = require("@aws-sdk/middleware-sdk-s3");
|
|
9955
9966
|
|
|
9956
9967
|
|
|
9957
9968
|
|
|
@@ -9967,7 +9978,8 @@ var _PutBucketLifecycleConfigurationCommand = class _PutBucketLifecycleConfigura
|
|
|
9967
9978
|
input: this.input,
|
|
9968
9979
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
9969
9980
|
requestChecksumRequired: true
|
|
9970
|
-
})
|
|
9981
|
+
}),
|
|
9982
|
+
(0, import_middleware_sdk_s352.getThrow200ExceptionsPlugin)(config)
|
|
9971
9983
|
];
|
|
9972
9984
|
}).s("AmazonS3", "PutBucketLifecycleConfiguration", {}).n("S3Client", "PutBucketLifecycleConfigurationCommand").f(void 0, void 0).ser(se_PutBucketLifecycleConfigurationCommand).de(de_PutBucketLifecycleConfigurationCommand).build() {
|
|
9973
9985
|
};
|
|
@@ -10203,7 +10215,7 @@ var PutBucketWebsiteCommand = _PutBucketWebsiteCommand;
|
|
|
10203
10215
|
|
|
10204
10216
|
// src/commands/PutObjectAclCommand.ts
|
|
10205
10217
|
|
|
10206
|
-
var
|
|
10218
|
+
var import_middleware_sdk_s353 = require("@aws-sdk/middleware-sdk-s3");
|
|
10207
10219
|
|
|
10208
10220
|
|
|
10209
10221
|
|
|
@@ -10220,7 +10232,7 @@ var _PutObjectAclCommand = class _PutObjectAclCommand extends import_smithy_clie
|
|
|
10220
10232
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
10221
10233
|
requestChecksumRequired: true
|
|
10222
10234
|
}),
|
|
10223
|
-
(0,
|
|
10235
|
+
(0, import_middleware_sdk_s353.getThrow200ExceptionsPlugin)(config)
|
|
10224
10236
|
];
|
|
10225
10237
|
}).s("AmazonS3", "PutObjectAcl", {}).n("S3Client", "PutObjectAclCommand").f(void 0, void 0).ser(se_PutObjectAclCommand).de(de_PutObjectAclCommand).build() {
|
|
10226
10238
|
};
|
|
@@ -10229,7 +10241,7 @@ var PutObjectAclCommand = _PutObjectAclCommand;
|
|
|
10229
10241
|
|
|
10230
10242
|
// src/commands/PutObjectCommand.ts
|
|
10231
10243
|
|
|
10232
|
-
var
|
|
10244
|
+
var import_middleware_sdk_s354 = require("@aws-sdk/middleware-sdk-s3");
|
|
10233
10245
|
|
|
10234
10246
|
|
|
10235
10247
|
|
|
@@ -10247,8 +10259,8 @@ var _PutObjectCommand = class _PutObjectCommand extends import_smithy_client.Com
|
|
|
10247
10259
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
10248
10260
|
requestChecksumRequired: false
|
|
10249
10261
|
}),
|
|
10250
|
-
(0,
|
|
10251
|
-
(0,
|
|
10262
|
+
(0, import_middleware_sdk_s354.getCheckContentLengthHeaderPlugin)(config),
|
|
10263
|
+
(0, import_middleware_sdk_s354.getThrow200ExceptionsPlugin)(config),
|
|
10252
10264
|
(0, import_middleware_ssec.getSsecPlugin)(config)
|
|
10253
10265
|
];
|
|
10254
10266
|
}).s("AmazonS3", "PutObject", {}).n("S3Client", "PutObjectCommand").f(PutObjectRequestFilterSensitiveLog, PutObjectOutputFilterSensitiveLog).ser(se_PutObjectCommand).de(de_PutObjectCommand).build() {
|
|
@@ -10258,7 +10270,7 @@ var PutObjectCommand = _PutObjectCommand;
|
|
|
10258
10270
|
|
|
10259
10271
|
// src/commands/PutObjectLegalHoldCommand.ts
|
|
10260
10272
|
|
|
10261
|
-
var
|
|
10273
|
+
var import_middleware_sdk_s355 = require("@aws-sdk/middleware-sdk-s3");
|
|
10262
10274
|
|
|
10263
10275
|
|
|
10264
10276
|
|
|
@@ -10274,7 +10286,7 @@ var _PutObjectLegalHoldCommand = class _PutObjectLegalHoldCommand extends import
|
|
|
10274
10286
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
10275
10287
|
requestChecksumRequired: true
|
|
10276
10288
|
}),
|
|
10277
|
-
(0,
|
|
10289
|
+
(0, import_middleware_sdk_s355.getThrow200ExceptionsPlugin)(config)
|
|
10278
10290
|
];
|
|
10279
10291
|
}).s("AmazonS3", "PutObjectLegalHold", {}).n("S3Client", "PutObjectLegalHoldCommand").f(void 0, void 0).ser(se_PutObjectLegalHoldCommand).de(de_PutObjectLegalHoldCommand).build() {
|
|
10280
10292
|
};
|
|
@@ -10283,7 +10295,7 @@ var PutObjectLegalHoldCommand = _PutObjectLegalHoldCommand;
|
|
|
10283
10295
|
|
|
10284
10296
|
// src/commands/PutObjectLockConfigurationCommand.ts
|
|
10285
10297
|
|
|
10286
|
-
var
|
|
10298
|
+
var import_middleware_sdk_s356 = require("@aws-sdk/middleware-sdk-s3");
|
|
10287
10299
|
|
|
10288
10300
|
|
|
10289
10301
|
|
|
@@ -10299,7 +10311,7 @@ var _PutObjectLockConfigurationCommand = class _PutObjectLockConfigurationComman
|
|
|
10299
10311
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
10300
10312
|
requestChecksumRequired: true
|
|
10301
10313
|
}),
|
|
10302
|
-
(0,
|
|
10314
|
+
(0, import_middleware_sdk_s356.getThrow200ExceptionsPlugin)(config)
|
|
10303
10315
|
];
|
|
10304
10316
|
}).s("AmazonS3", "PutObjectLockConfiguration", {}).n("S3Client", "PutObjectLockConfigurationCommand").f(void 0, void 0).ser(se_PutObjectLockConfigurationCommand).de(de_PutObjectLockConfigurationCommand).build() {
|
|
10305
10317
|
};
|
|
@@ -10308,7 +10320,7 @@ var PutObjectLockConfigurationCommand = _PutObjectLockConfigurationCommand;
|
|
|
10308
10320
|
|
|
10309
10321
|
// src/commands/PutObjectRetentionCommand.ts
|
|
10310
10322
|
|
|
10311
|
-
var
|
|
10323
|
+
var import_middleware_sdk_s357 = require("@aws-sdk/middleware-sdk-s3");
|
|
10312
10324
|
|
|
10313
10325
|
|
|
10314
10326
|
|
|
@@ -10324,7 +10336,7 @@ var _PutObjectRetentionCommand = class _PutObjectRetentionCommand extends import
|
|
|
10324
10336
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
10325
10337
|
requestChecksumRequired: true
|
|
10326
10338
|
}),
|
|
10327
|
-
(0,
|
|
10339
|
+
(0, import_middleware_sdk_s357.getThrow200ExceptionsPlugin)(config)
|
|
10328
10340
|
];
|
|
10329
10341
|
}).s("AmazonS3", "PutObjectRetention", {}).n("S3Client", "PutObjectRetentionCommand").f(void 0, void 0).ser(se_PutObjectRetentionCommand).de(de_PutObjectRetentionCommand).build() {
|
|
10330
10342
|
};
|
|
@@ -10333,7 +10345,7 @@ var PutObjectRetentionCommand = _PutObjectRetentionCommand;
|
|
|
10333
10345
|
|
|
10334
10346
|
// src/commands/PutObjectTaggingCommand.ts
|
|
10335
10347
|
|
|
10336
|
-
var
|
|
10348
|
+
var import_middleware_sdk_s358 = require("@aws-sdk/middleware-sdk-s3");
|
|
10337
10349
|
|
|
10338
10350
|
|
|
10339
10351
|
|
|
@@ -10349,7 +10361,7 @@ var _PutObjectTaggingCommand = class _PutObjectTaggingCommand extends import_smi
|
|
|
10349
10361
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
10350
10362
|
requestChecksumRequired: true
|
|
10351
10363
|
}),
|
|
10352
|
-
(0,
|
|
10364
|
+
(0, import_middleware_sdk_s358.getThrow200ExceptionsPlugin)(config)
|
|
10353
10365
|
];
|
|
10354
10366
|
}).s("AmazonS3", "PutObjectTagging", {}).n("S3Client", "PutObjectTaggingCommand").f(void 0, void 0).ser(se_PutObjectTaggingCommand).de(de_PutObjectTaggingCommand).build() {
|
|
10355
10367
|
};
|
|
@@ -10382,7 +10394,7 @@ var PutPublicAccessBlockCommand = _PutPublicAccessBlockCommand;
|
|
|
10382
10394
|
|
|
10383
10395
|
// src/commands/RestoreObjectCommand.ts
|
|
10384
10396
|
|
|
10385
|
-
var
|
|
10397
|
+
var import_middleware_sdk_s359 = require("@aws-sdk/middleware-sdk-s3");
|
|
10386
10398
|
|
|
10387
10399
|
|
|
10388
10400
|
|
|
@@ -10398,7 +10410,7 @@ var _RestoreObjectCommand = class _RestoreObjectCommand extends import_smithy_cl
|
|
|
10398
10410
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
10399
10411
|
requestChecksumRequired: false
|
|
10400
10412
|
}),
|
|
10401
|
-
(0,
|
|
10413
|
+
(0, import_middleware_sdk_s359.getThrow200ExceptionsPlugin)(config)
|
|
10402
10414
|
];
|
|
10403
10415
|
}).s("AmazonS3", "RestoreObject", {}).n("S3Client", "RestoreObjectCommand").f(RestoreObjectRequestFilterSensitiveLog, void 0).ser(se_RestoreObjectCommand).de(de_RestoreObjectCommand).build() {
|
|
10404
10416
|
};
|
|
@@ -10406,7 +10418,7 @@ __name(_RestoreObjectCommand, "RestoreObjectCommand");
|
|
|
10406
10418
|
var RestoreObjectCommand = _RestoreObjectCommand;
|
|
10407
10419
|
|
|
10408
10420
|
// src/commands/SelectObjectContentCommand.ts
|
|
10409
|
-
var
|
|
10421
|
+
var import_middleware_sdk_s360 = require("@aws-sdk/middleware-sdk-s3");
|
|
10410
10422
|
|
|
10411
10423
|
|
|
10412
10424
|
|
|
@@ -10418,7 +10430,7 @@ var _SelectObjectContentCommand = class _SelectObjectContentCommand extends impo
|
|
|
10418
10430
|
return [
|
|
10419
10431
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
10420
10432
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
10421
|
-
(0,
|
|
10433
|
+
(0, import_middleware_sdk_s360.getThrow200ExceptionsPlugin)(config),
|
|
10422
10434
|
(0, import_middleware_ssec.getSsecPlugin)(config)
|
|
10423
10435
|
];
|
|
10424
10436
|
}).s("AmazonS3", "SelectObjectContent", {
|
|
@@ -10435,7 +10447,7 @@ var SelectObjectContentCommand = _SelectObjectContentCommand;
|
|
|
10435
10447
|
|
|
10436
10448
|
// src/commands/UploadPartCommand.ts
|
|
10437
10449
|
|
|
10438
|
-
var
|
|
10450
|
+
var import_middleware_sdk_s361 = require("@aws-sdk/middleware-sdk-s3");
|
|
10439
10451
|
|
|
10440
10452
|
|
|
10441
10453
|
|
|
@@ -10453,7 +10465,7 @@ var _UploadPartCommand = class _UploadPartCommand extends import_smithy_client.C
|
|
|
10453
10465
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
10454
10466
|
requestChecksumRequired: false
|
|
10455
10467
|
}),
|
|
10456
|
-
(0,
|
|
10468
|
+
(0, import_middleware_sdk_s361.getThrow200ExceptionsPlugin)(config),
|
|
10457
10469
|
(0, import_middleware_ssec.getSsecPlugin)(config)
|
|
10458
10470
|
];
|
|
10459
10471
|
}).s("AmazonS3", "UploadPart", {}).n("S3Client", "UploadPartCommand").f(UploadPartRequestFilterSensitiveLog, UploadPartOutputFilterSensitiveLog).ser(se_UploadPartCommand).de(de_UploadPartCommand).build() {
|
|
@@ -10462,7 +10474,7 @@ __name(_UploadPartCommand, "UploadPartCommand");
|
|
|
10462
10474
|
var UploadPartCommand = _UploadPartCommand;
|
|
10463
10475
|
|
|
10464
10476
|
// src/commands/UploadPartCopyCommand.ts
|
|
10465
|
-
var
|
|
10477
|
+
var import_middleware_sdk_s362 = require("@aws-sdk/middleware-sdk-s3");
|
|
10466
10478
|
|
|
10467
10479
|
|
|
10468
10480
|
|
|
@@ -10475,7 +10487,7 @@ var _UploadPartCopyCommand = class _UploadPartCopyCommand extends import_smithy_
|
|
|
10475
10487
|
return [
|
|
10476
10488
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
10477
10489
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
10478
|
-
(0,
|
|
10490
|
+
(0, import_middleware_sdk_s362.getThrow200ExceptionsPlugin)(config),
|
|
10479
10491
|
(0, import_middleware_ssec.getSsecPlugin)(config)
|
|
10480
10492
|
];
|
|
10481
10493
|
}).s("AmazonS3", "UploadPartCopy", {}).n("S3Client", "UploadPartCopyCommand").f(UploadPartCopyRequestFilterSensitiveLog, UploadPartCopyOutputFilterSensitiveLog).ser(se_UploadPartCopyCommand).de(de_UploadPartCopyCommand).build() {
|
|
@@ -10874,6 +10886,7 @@ var waitUntilObjectNotExists = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
10874
10886
|
LifecycleRuleFilter,
|
|
10875
10887
|
TransitionStorageClass,
|
|
10876
10888
|
ExpirationStatus,
|
|
10889
|
+
TransitionDefaultMinimumObjectSize,
|
|
10877
10890
|
BucketLogsPermission,
|
|
10878
10891
|
PartitionDateSource,
|
|
10879
10892
|
MetricsFilter,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
|
+
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
3
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
4
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
5
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -21,6 +22,7 @@ export class PutBucketLifecycleConfigurationCommand extends $Command
|
|
|
21
22
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
22
23
|
requestChecksumRequired: true,
|
|
23
24
|
}),
|
|
25
|
+
getThrow200ExceptionsPlugin(config),
|
|
24
26
|
];
|
|
25
27
|
})
|
|
26
28
|
.s("AmazonS3", "PutBucketLifecycleConfiguration", {})
|
|
@@ -272,6 +272,10 @@ export const ExpirationStatus = {
|
|
|
272
272
|
Disabled: "Disabled",
|
|
273
273
|
Enabled: "Enabled",
|
|
274
274
|
};
|
|
275
|
+
export const TransitionDefaultMinimumObjectSize = {
|
|
276
|
+
all_storage_classes_128K: "all_storage_classes_128K",
|
|
277
|
+
varies_by_storage_class: "varies_by_storage_class",
|
|
278
|
+
};
|
|
275
279
|
export const BucketLogsPermission = {
|
|
276
280
|
FULL_CONTROL: "FULL_CONTROL",
|
|
277
281
|
READ: "READ",
|
|
@@ -1328,6 +1328,7 @@ export const se_PutBucketLifecycleConfigurationCommand = async (input, context)
|
|
|
1328
1328
|
"content-type": "application/xml",
|
|
1329
1329
|
[_xasca]: input[_CA],
|
|
1330
1330
|
[_xaebo]: input[_EBO],
|
|
1331
|
+
[_xatdmos]: input[_TDMOS],
|
|
1331
1332
|
});
|
|
1332
1333
|
b.bp("/");
|
|
1333
1334
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
@@ -2430,6 +2431,7 @@ export const de_GetBucketLifecycleConfigurationCommand = async (output, context)
|
|
|
2430
2431
|
}
|
|
2431
2432
|
const contents = map({
|
|
2432
2433
|
$metadata: deserializeMetadata(output),
|
|
2434
|
+
[_TDMOS]: [, output.headers[_xatdmos]],
|
|
2433
2435
|
});
|
|
2434
2436
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2435
2437
|
if (data.Rule === "") {
|
|
@@ -3358,6 +3360,7 @@ export const de_PutBucketLifecycleConfigurationCommand = async (output, context)
|
|
|
3358
3360
|
}
|
|
3359
3361
|
const contents = map({
|
|
3360
3362
|
$metadata: deserializeMetadata(output),
|
|
3363
|
+
[_TDMOS]: [, output.headers[_xatdmos]],
|
|
3361
3364
|
});
|
|
3362
3365
|
await collectBody(output.body, context);
|
|
3363
3366
|
return contents;
|
|
@@ -7220,6 +7223,7 @@ const _TC = "TagCount";
|
|
|
7220
7223
|
const _TCo = "TopicConfiguration";
|
|
7221
7224
|
const _TCop = "TopicConfigurations";
|
|
7222
7225
|
const _TD = "TaggingDirective";
|
|
7226
|
+
const _TDMOS = "TransitionDefaultMinimumObjectSize";
|
|
7223
7227
|
const _TG = "TargetGrants";
|
|
7224
7228
|
const _TGa = "TargetGrant";
|
|
7225
7229
|
const _TOKF = "TargetObjectKeyFormat";
|
|
@@ -7440,6 +7444,7 @@ const _xasseckm = "x-amz-server-side-encryption-customer-key-md5";
|
|
|
7440
7444
|
const _xat = "x-amz-tagging";
|
|
7441
7445
|
const _xatc = "x-amz-tagging-count";
|
|
7442
7446
|
const _xatd = "x-amz-tagging-directive";
|
|
7447
|
+
const _xatdmos = "x-amz-transition-default-minimum-object-size";
|
|
7443
7448
|
const _xavi = "x-amz-version-id";
|
|
7444
7449
|
const _xawrl = "x-amz-website-redirect-location";
|
|
7445
7450
|
const _xi = "x-id";
|
|
@@ -50,7 +50,7 @@ declare const HeadObjectCommand_base: {
|
|
|
50
50
|
* use <code>HEAD</code>, you must have the <code>s3:GetObject</code> permission. You need the relevant read object (or version) permission for this operation.
|
|
51
51
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html">Actions, resources, and condition
|
|
52
52
|
* keys for Amazon S3</a> in the <i>Amazon S3
|
|
53
|
-
* User Guide</i>.</p>
|
|
53
|
+
* User Guide</i>. For more information about the permissions to S3 API operations by S3 resource types, see <a href="/AmazonS3/latest/userguide/using-with-s3-policy-actions.html">Required permissions for Amazon S3 API operations</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
54
54
|
* <p>If the object you request doesn't exist, the error that
|
|
55
55
|
* Amazon S3 returns depends on whether you also have the <code>s3:ListBucket</code> permission.</p>
|
|
56
56
|
* <ul>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { PutBucketLifecycleConfigurationRequest } from "../models/models_0";
|
|
3
|
+
import { PutBucketLifecycleConfigurationOutput, PutBucketLifecycleConfigurationRequest } from "../models/models_0";
|
|
4
4
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -19,7 +19,7 @@ export interface PutBucketLifecycleConfigurationCommandInput extends PutBucketLi
|
|
|
19
19
|
*
|
|
20
20
|
* The output of {@link PutBucketLifecycleConfigurationCommand}.
|
|
21
21
|
*/
|
|
22
|
-
export interface PutBucketLifecycleConfigurationCommandOutput extends __MetadataBearer {
|
|
22
|
+
export interface PutBucketLifecycleConfigurationCommandOutput extends PutBucketLifecycleConfigurationOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const PutBucketLifecycleConfigurationCommand_base: {
|
|
25
25
|
new (input: PutBucketLifecycleConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketLifecycleConfigurationCommandInput, PutBucketLifecycleConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
@@ -35,17 +35,15 @@ declare const PutBucketLifecycleConfigurationCommand_base: {
|
|
|
35
35
|
* so if you want to retain any configuration details, they must be included in the new
|
|
36
36
|
* lifecycle configuration. For information about lifecycle configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html">Managing
|
|
37
37
|
* your storage lifecycle</a>.</p>
|
|
38
|
-
* <note>
|
|
39
|
-
* <p>Bucket lifecycle configuration now supports specifying a lifecycle rule using an object key name prefix, one or more object tags, object size, or any combination of these. Accordingly, this section describes the latest API. The previous version of the API supported filtering based only on an object key name prefix, which is supported for backward compatibility.
|
|
40
|
-
* For the related API description, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html">PutBucketLifecycle</a>.</p>
|
|
41
|
-
* </note>
|
|
42
38
|
* <dl>
|
|
43
39
|
* <dt>Rules</dt>
|
|
44
40
|
* <dd>
|
|
45
41
|
* <p>You specify the lifecycle configuration in your request body. The lifecycle
|
|
46
42
|
* configuration is specified as XML consisting of one or more rules. An Amazon S3
|
|
47
|
-
* Lifecycle configuration can have up to 1,000 rules. This limit is not adjustable
|
|
48
|
-
*
|
|
43
|
+
* Lifecycle configuration can have up to 1,000 rules. This limit is not adjustable.</p>
|
|
44
|
+
* <p>Bucket lifecycle configuration supports specifying a lifecycle rule using an object key name prefix, one or more object tags, object size, or any combination of these. Accordingly, this section describes the latest API. The previous version of the API supported filtering based only on an object key name prefix, which is supported for backward compatibility.
|
|
45
|
+
* For the related API description, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html">PutBucketLifecycle</a>.</p>
|
|
46
|
+
* <p>A lifecycle rule consists of the following:</p>
|
|
49
47
|
* <ul>
|
|
50
48
|
* <li>
|
|
51
49
|
* <p>A filter identifying a subset of objects to which the rule applies. The filter can be based on a key name prefix, object tags, object size, or any combination of these.</p>
|
|
@@ -184,10 +182,13 @@ declare const PutBucketLifecycleConfigurationCommand_base: {
|
|
|
184
182
|
* ],
|
|
185
183
|
* },
|
|
186
184
|
* ExpectedBucketOwner: "STRING_VALUE",
|
|
185
|
+
* TransitionDefaultMinimumObjectSize: "varies_by_storage_class" || "all_storage_classes_128K",
|
|
187
186
|
* };
|
|
188
187
|
* const command = new PutBucketLifecycleConfigurationCommand(input);
|
|
189
188
|
* const response = await client.send(command);
|
|
190
|
-
* // {
|
|
189
|
+
* // { // PutBucketLifecycleConfigurationOutput
|
|
190
|
+
* // TransitionDefaultMinimumObjectSize: "varies_by_storage_class" || "all_storage_classes_128K",
|
|
191
|
+
* // };
|
|
191
192
|
*
|
|
192
193
|
* ```
|
|
193
194
|
*
|
|
@@ -238,7 +239,7 @@ export declare class PutBucketLifecycleConfigurationCommand extends PutBucketLif
|
|
|
238
239
|
protected static __types: {
|
|
239
240
|
api: {
|
|
240
241
|
input: PutBucketLifecycleConfigurationRequest;
|
|
241
|
-
output:
|
|
242
|
+
output: PutBucketLifecycleConfigurationOutput;
|
|
242
243
|
};
|
|
243
244
|
sdk: {
|
|
244
245
|
input: PutBucketLifecycleConfigurationCommandInput;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { PutBucketNotificationConfigurationRequest } from "../models/
|
|
3
|
+
import { PutBucketNotificationConfigurationRequest } from "../models/models_1";
|
|
4
4
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { PutBucketOwnershipControlsRequest } from "../models/
|
|
3
|
+
import { PutBucketOwnershipControlsRequest } from "../models/models_1";
|
|
4
4
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -392,7 +392,7 @@ export interface CompleteMultipartUploadOutput {
|
|
|
392
392
|
*/
|
|
393
393
|
ETag?: string;
|
|
394
394
|
/**
|
|
395
|
-
* <p>The base64-encoded, 32-bit
|
|
395
|
+
* <p>The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded
|
|
396
396
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
397
397
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
398
398
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -400,7 +400,7 @@ export interface CompleteMultipartUploadOutput {
|
|
|
400
400
|
*/
|
|
401
401
|
ChecksumCRC32?: string;
|
|
402
402
|
/**
|
|
403
|
-
* <p>The base64-encoded, 32-bit
|
|
403
|
+
* <p>The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded
|
|
404
404
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
405
405
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
406
406
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -470,7 +470,7 @@ export interface CompletedPart {
|
|
|
470
470
|
*/
|
|
471
471
|
ETag?: string;
|
|
472
472
|
/**
|
|
473
|
-
* <p>The base64-encoded, 32-bit
|
|
473
|
+
* <p>The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded
|
|
474
474
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
475
475
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
476
476
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -478,7 +478,7 @@ export interface CompletedPart {
|
|
|
478
478
|
*/
|
|
479
479
|
ChecksumCRC32?: string;
|
|
480
480
|
/**
|
|
481
|
-
* <p>The base64-encoded, 32-bit
|
|
481
|
+
* <p>The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded
|
|
482
482
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
483
483
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
484
484
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -579,7 +579,7 @@ export interface CompleteMultipartUploadRequest {
|
|
|
579
579
|
UploadId: string | undefined;
|
|
580
580
|
/**
|
|
581
581
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
582
|
-
* This header specifies the base64-encoded, 32-bit
|
|
582
|
+
* This header specifies the base64-encoded, 32-bit CRC-32 checksum of the object. For more information, see
|
|
583
583
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
584
584
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
585
585
|
* @public
|
|
@@ -587,7 +587,7 @@ export interface CompleteMultipartUploadRequest {
|
|
|
587
587
|
ChecksumCRC32?: string;
|
|
588
588
|
/**
|
|
589
589
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
590
|
-
* This header specifies the base64-encoded, 32-bit
|
|
590
|
+
* This header specifies the base64-encoded, 32-bit CRC-32C checksum of the object. For more information, see
|
|
591
591
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
592
592
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
593
593
|
* @public
|
|
@@ -686,14 +686,14 @@ export interface CopyObjectResult {
|
|
|
686
686
|
*/
|
|
687
687
|
LastModified?: Date;
|
|
688
688
|
/**
|
|
689
|
-
* <p>The base64-encoded, 32-bit
|
|
689
|
+
* <p>The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded
|
|
690
690
|
* with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">
|
|
691
691
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
692
692
|
* @public
|
|
693
693
|
*/
|
|
694
694
|
ChecksumCRC32?: string;
|
|
695
695
|
/**
|
|
696
|
-
* <p>The base64-encoded, 32-bit
|
|
696
|
+
* <p>The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded
|
|
697
697
|
* with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">
|
|
698
698
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
699
699
|
* @public
|
|
@@ -5243,16 +5243,24 @@ export interface DeleteObjectsRequest {
|
|
|
5243
5243
|
* </code> with the supported algorithm from the following list: </p>
|
|
5244
5244
|
* <ul>
|
|
5245
5245
|
* <li>
|
|
5246
|
-
* <p>
|
|
5246
|
+
* <p>
|
|
5247
|
+
* <code>CRC32</code>
|
|
5248
|
+
* </p>
|
|
5247
5249
|
* </li>
|
|
5248
5250
|
* <li>
|
|
5249
|
-
* <p>
|
|
5251
|
+
* <p>
|
|
5252
|
+
* <code>CRC32C</code>
|
|
5253
|
+
* </p>
|
|
5250
5254
|
* </li>
|
|
5251
5255
|
* <li>
|
|
5252
|
-
* <p>
|
|
5256
|
+
* <p>
|
|
5257
|
+
* <code>SHA1</code>
|
|
5258
|
+
* </p>
|
|
5253
5259
|
* </li>
|
|
5254
5260
|
* <li>
|
|
5255
|
-
* <p>
|
|
5261
|
+
* <p>
|
|
5262
|
+
* <code>SHA256</code>
|
|
5263
|
+
* </p>
|
|
5256
5264
|
* </li>
|
|
5257
5265
|
* </ul>
|
|
5258
5266
|
* <p>For more
|
|
@@ -6683,6 +6691,18 @@ export interface LifecycleRule {
|
|
|
6683
6691
|
*/
|
|
6684
6692
|
AbortIncompleteMultipartUpload?: AbortIncompleteMultipartUpload;
|
|
6685
6693
|
}
|
|
6694
|
+
/**
|
|
6695
|
+
* @public
|
|
6696
|
+
* @enum
|
|
6697
|
+
*/
|
|
6698
|
+
export declare const TransitionDefaultMinimumObjectSize: {
|
|
6699
|
+
readonly all_storage_classes_128K: "all_storage_classes_128K";
|
|
6700
|
+
readonly varies_by_storage_class: "varies_by_storage_class";
|
|
6701
|
+
};
|
|
6702
|
+
/**
|
|
6703
|
+
* @public
|
|
6704
|
+
*/
|
|
6705
|
+
export type TransitionDefaultMinimumObjectSize = (typeof TransitionDefaultMinimumObjectSize)[keyof typeof TransitionDefaultMinimumObjectSize];
|
|
6686
6706
|
/**
|
|
6687
6707
|
* @public
|
|
6688
6708
|
*/
|
|
@@ -6692,6 +6712,23 @@ export interface GetBucketLifecycleConfigurationOutput {
|
|
|
6692
6712
|
* @public
|
|
6693
6713
|
*/
|
|
6694
6714
|
Rules?: LifecycleRule[];
|
|
6715
|
+
/**
|
|
6716
|
+
* <p>Indicates which default minimum object size behavior is applied to the lifecycle configuration.</p>
|
|
6717
|
+
* <ul>
|
|
6718
|
+
* <li>
|
|
6719
|
+
* <p>
|
|
6720
|
+
* <code>all_storage_classes_128K</code> - Objects smaller than 128 KB will not transition to any storage class by default. </p>
|
|
6721
|
+
* </li>
|
|
6722
|
+
* <li>
|
|
6723
|
+
* <p>
|
|
6724
|
+
* <code>varies_by_storage_class</code> - Objects smaller than 128 KB will transition to Glacier Flexible Retrieval or Glacier Deep Archive storage classes. By default, all other storage classes will prevent transitions smaller than 128 KB.
|
|
6725
|
+
* </p>
|
|
6726
|
+
* </li>
|
|
6727
|
+
* </ul>
|
|
6728
|
+
* <p>To customize the minimum object size for any transition you can add a filter that specifies a custom <code>ObjectSizeGreaterThan</code> or <code>ObjectSizeLessThan</code> in the body of your transition rule. Custom filters always take precedence over the default transition behavior.</p>
|
|
6729
|
+
* @public
|
|
6730
|
+
*/
|
|
6731
|
+
TransitionDefaultMinimumObjectSize?: TransitionDefaultMinimumObjectSize;
|
|
6695
6732
|
}
|
|
6696
6733
|
/**
|
|
6697
6734
|
* @public
|
|
@@ -8454,14 +8491,14 @@ export interface GetObjectOutput {
|
|
|
8454
8491
|
*/
|
|
8455
8492
|
ETag?: string;
|
|
8456
8493
|
/**
|
|
8457
|
-
* <p>The base64-encoded, 32-bit
|
|
8494
|
+
* <p>The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded
|
|
8458
8495
|
* with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">
|
|
8459
8496
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
8460
8497
|
* @public
|
|
8461
8498
|
*/
|
|
8462
8499
|
ChecksumCRC32?: string;
|
|
8463
8500
|
/**
|
|
8464
|
-
* <p>The base64-encoded, 32-bit
|
|
8501
|
+
* <p>The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded
|
|
8465
8502
|
* with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">
|
|
8466
8503
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
8467
8504
|
* @public
|
|
@@ -9051,7 +9088,7 @@ export interface GetObjectAclRequest {
|
|
|
9051
9088
|
*/
|
|
9052
9089
|
export interface Checksum {
|
|
9053
9090
|
/**
|
|
9054
|
-
* <p>The base64-encoded, 32-bit
|
|
9091
|
+
* <p>The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded
|
|
9055
9092
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
9056
9093
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
9057
9094
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -9059,7 +9096,7 @@ export interface Checksum {
|
|
|
9059
9096
|
*/
|
|
9060
9097
|
ChecksumCRC32?: string;
|
|
9061
9098
|
/**
|
|
9062
|
-
* <p>The base64-encoded, 32-bit
|
|
9099
|
+
* <p>The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded
|
|
9063
9100
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
9064
9101
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
9065
9102
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -9101,14 +9138,14 @@ export interface ObjectPart {
|
|
|
9101
9138
|
Size?: number;
|
|
9102
9139
|
/**
|
|
9103
9140
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
9104
|
-
* This header specifies the base64-encoded, 32-bit
|
|
9141
|
+
* This header specifies the base64-encoded, 32-bit CRC-32 checksum of the object. For more information, see
|
|
9105
9142
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
9106
9143
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
9107
9144
|
* @public
|
|
9108
9145
|
*/
|
|
9109
9146
|
ChecksumCRC32?: string;
|
|
9110
9147
|
/**
|
|
9111
|
-
* <p>The base64-encoded, 32-bit
|
|
9148
|
+
* <p>The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded
|
|
9112
9149
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
9113
9150
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
9114
9151
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -9995,7 +10032,7 @@ export interface HeadObjectOutput {
|
|
|
9995
10032
|
*/
|
|
9996
10033
|
ContentLength?: number;
|
|
9997
10034
|
/**
|
|
9998
|
-
* <p>The base64-encoded, 32-bit
|
|
10035
|
+
* <p>The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded
|
|
9999
10036
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
10000
10037
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
10001
10038
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -10003,7 +10040,7 @@ export interface HeadObjectOutput {
|
|
|
10003
10040
|
*/
|
|
10004
10041
|
ChecksumCRC32?: string;
|
|
10005
10042
|
/**
|
|
10006
|
-
* <p>The base64-encoded, 32-bit
|
|
10043
|
+
* <p>The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded
|
|
10007
10044
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
10008
10045
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
10009
10046
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -12070,14 +12107,14 @@ export interface Part {
|
|
|
12070
12107
|
Size?: number;
|
|
12071
12108
|
/**
|
|
12072
12109
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
12073
|
-
* This header specifies the base64-encoded, 32-bit
|
|
12110
|
+
* This header specifies the base64-encoded, 32-bit CRC-32 checksum of the object. For more information, see
|
|
12074
12111
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
12075
12112
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
12076
12113
|
* @public
|
|
12077
12114
|
*/
|
|
12078
12115
|
ChecksumCRC32?: string;
|
|
12079
12116
|
/**
|
|
12080
|
-
* <p>The base64-encoded, 32-bit
|
|
12117
|
+
* <p>The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded
|
|
12081
12118
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
12082
12119
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
12083
12120
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -12622,6 +12659,28 @@ export interface PutBucketInventoryConfigurationRequest {
|
|
|
12622
12659
|
*/
|
|
12623
12660
|
ExpectedBucketOwner?: string;
|
|
12624
12661
|
}
|
|
12662
|
+
/**
|
|
12663
|
+
* @public
|
|
12664
|
+
*/
|
|
12665
|
+
export interface PutBucketLifecycleConfigurationOutput {
|
|
12666
|
+
/**
|
|
12667
|
+
* <p>Indicates which default minimum object size behavior is applied to the lifecycle configuration.</p>
|
|
12668
|
+
* <ul>
|
|
12669
|
+
* <li>
|
|
12670
|
+
* <p>
|
|
12671
|
+
* <code>all_storage_classes_128K</code> - Objects smaller than 128 KB will not transition to any storage class by default. </p>
|
|
12672
|
+
* </li>
|
|
12673
|
+
* <li>
|
|
12674
|
+
* <p>
|
|
12675
|
+
* <code>varies_by_storage_class</code> - Objects smaller than 128 KB will transition to Glacier Flexible Retrieval or Glacier Deep Archive storage classes. By default, all other storage classes will prevent transitions smaller than 128 KB.
|
|
12676
|
+
* </p>
|
|
12677
|
+
* </li>
|
|
12678
|
+
* </ul>
|
|
12679
|
+
* <p>To customize the minimum object size for any transition you can add a filter that specifies a custom <code>ObjectSizeGreaterThan</code> or <code>ObjectSizeLessThan</code> in the body of your transition rule. Custom filters always take precedence over the default transition behavior.</p>
|
|
12680
|
+
* @public
|
|
12681
|
+
*/
|
|
12682
|
+
TransitionDefaultMinimumObjectSize?: TransitionDefaultMinimumObjectSize;
|
|
12683
|
+
}
|
|
12625
12684
|
/**
|
|
12626
12685
|
* <p>Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For more
|
|
12627
12686
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html">Object Lifecycle Management</a>
|
|
@@ -12667,6 +12726,23 @@ export interface PutBucketLifecycleConfigurationRequest {
|
|
|
12667
12726
|
* @public
|
|
12668
12727
|
*/
|
|
12669
12728
|
ExpectedBucketOwner?: string;
|
|
12729
|
+
/**
|
|
12730
|
+
* <p>Indicates which default minimum object size behavior is applied to the lifecycle configuration.</p>
|
|
12731
|
+
* <ul>
|
|
12732
|
+
* <li>
|
|
12733
|
+
* <p>
|
|
12734
|
+
* <code>all_storage_classes_128K</code> - Objects smaller than 128 KB will not transition to any storage class by default. </p>
|
|
12735
|
+
* </li>
|
|
12736
|
+
* <li>
|
|
12737
|
+
* <p>
|
|
12738
|
+
* <code>varies_by_storage_class</code> - Objects smaller than 128 KB will transition to Glacier Flexible Retrieval or Glacier Deep Archive storage classes. By default, all other storage classes will prevent transitions smaller than 128 KB.
|
|
12739
|
+
* </p>
|
|
12740
|
+
* </li>
|
|
12741
|
+
* </ul>
|
|
12742
|
+
* <p>To customize the minimum object size for any transition you can add a filter that specifies a custom <code>ObjectSizeGreaterThan</code> or <code>ObjectSizeLessThan</code> in the body of your transition rule. Custom filters always take precedence over the default transition behavior.</p>
|
|
12743
|
+
* @public
|
|
12744
|
+
*/
|
|
12745
|
+
TransitionDefaultMinimumObjectSize?: TransitionDefaultMinimumObjectSize;
|
|
12670
12746
|
}
|
|
12671
12747
|
/**
|
|
12672
12748
|
* <p>Container for logging status information.</p>
|
|
@@ -12748,64 +12824,6 @@ export interface PutBucketMetricsConfigurationRequest {
|
|
|
12748
12824
|
*/
|
|
12749
12825
|
ExpectedBucketOwner?: string;
|
|
12750
12826
|
}
|
|
12751
|
-
/**
|
|
12752
|
-
* @public
|
|
12753
|
-
*/
|
|
12754
|
-
export interface PutBucketNotificationConfigurationRequest {
|
|
12755
|
-
/**
|
|
12756
|
-
* <p>The name of the bucket.</p>
|
|
12757
|
-
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
12758
|
-
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
12759
|
-
* @public
|
|
12760
|
-
*/
|
|
12761
|
-
Bucket: string | undefined;
|
|
12762
|
-
/**
|
|
12763
|
-
* <p>A container for specifying the notification configuration of the bucket. If this element
|
|
12764
|
-
* is empty, notifications are turned off for the bucket.</p>
|
|
12765
|
-
* @public
|
|
12766
|
-
*/
|
|
12767
|
-
NotificationConfiguration: NotificationConfiguration | undefined;
|
|
12768
|
-
/**
|
|
12769
|
-
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
12770
|
-
* @public
|
|
12771
|
-
*/
|
|
12772
|
-
ExpectedBucketOwner?: string;
|
|
12773
|
-
/**
|
|
12774
|
-
* <p>Skips validation of Amazon SQS, Amazon SNS, and Lambda
|
|
12775
|
-
* destinations. True or false value.</p>
|
|
12776
|
-
* @public
|
|
12777
|
-
*/
|
|
12778
|
-
SkipDestinationValidation?: boolean;
|
|
12779
|
-
}
|
|
12780
|
-
/**
|
|
12781
|
-
* @public
|
|
12782
|
-
*/
|
|
12783
|
-
export interface PutBucketOwnershipControlsRequest {
|
|
12784
|
-
/**
|
|
12785
|
-
* <p>The name of the Amazon S3 bucket whose <code>OwnershipControls</code> you want to set.</p>
|
|
12786
|
-
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
12787
|
-
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
12788
|
-
* @public
|
|
12789
|
-
*/
|
|
12790
|
-
Bucket: string | undefined;
|
|
12791
|
-
/**
|
|
12792
|
-
* <p>The MD5 hash of the <code>OwnershipControls</code> request body. </p>
|
|
12793
|
-
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
12794
|
-
* @public
|
|
12795
|
-
*/
|
|
12796
|
-
ContentMD5?: string;
|
|
12797
|
-
/**
|
|
12798
|
-
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
12799
|
-
* @public
|
|
12800
|
-
*/
|
|
12801
|
-
ExpectedBucketOwner?: string;
|
|
12802
|
-
/**
|
|
12803
|
-
* <p>The <code>OwnershipControls</code> (BucketOwnerEnforced, BucketOwnerPreferred, or
|
|
12804
|
-
* ObjectWriter) that you want to apply to this Amazon S3 bucket.</p>
|
|
12805
|
-
* @public
|
|
12806
|
-
*/
|
|
12807
|
-
OwnershipControls: OwnershipControls | undefined;
|
|
12808
|
-
}
|
|
12809
12827
|
/**
|
|
12810
12828
|
* @internal
|
|
12811
12829
|
*/
|
|
@@ -1,7 +1,65 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
3
|
-
import { AccessControlPolicy, BucketVersioningStatus, ChecksumAlgorithm, ErrorDocument, Grant, IndexDocument, ObjectCannedACL, ObjectLockConfiguration, ObjectLockLegalHold, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetention, Payer, PublicAccessBlockConfiguration, RedirectAllRequestsTo, ReplicationConfiguration, ReplicationStatus, RequestCharged, RequestPayer, RoutingRule, ServerSideEncryption, StorageClass, Tag } from "./models_0";
|
|
3
|
+
import { AccessControlPolicy, BucketVersioningStatus, ChecksumAlgorithm, ErrorDocument, Grant, IndexDocument, NotificationConfiguration, ObjectCannedACL, ObjectLockConfiguration, ObjectLockLegalHold, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetention, OwnershipControls, Payer, PublicAccessBlockConfiguration, RedirectAllRequestsTo, ReplicationConfiguration, ReplicationStatus, RequestCharged, RequestPayer, RoutingRule, ServerSideEncryption, StorageClass, Tag } from "./models_0";
|
|
4
4
|
import { S3ServiceException as __BaseException } from "./S3ServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface PutBucketNotificationConfigurationRequest {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The name of the bucket.</p>
|
|
11
|
+
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
12
|
+
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
Bucket: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* <p>A container for specifying the notification configuration of the bucket. If this element
|
|
18
|
+
* is empty, notifications are turned off for the bucket.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
NotificationConfiguration: NotificationConfiguration | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
ExpectedBucketOwner?: string;
|
|
27
|
+
/**
|
|
28
|
+
* <p>Skips validation of Amazon SQS, Amazon SNS, and Lambda
|
|
29
|
+
* destinations. True or false value.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
SkipDestinationValidation?: boolean;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export interface PutBucketOwnershipControlsRequest {
|
|
38
|
+
/**
|
|
39
|
+
* <p>The name of the Amazon S3 bucket whose <code>OwnershipControls</code> you want to set.</p>
|
|
40
|
+
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
41
|
+
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
Bucket: string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* <p>The MD5 hash of the <code>OwnershipControls</code> request body. </p>
|
|
47
|
+
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
ContentMD5?: string;
|
|
51
|
+
/**
|
|
52
|
+
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
ExpectedBucketOwner?: string;
|
|
56
|
+
/**
|
|
57
|
+
* <p>The <code>OwnershipControls</code> (BucketOwnerEnforced, BucketOwnerPreferred, or
|
|
58
|
+
* ObjectWriter) that you want to apply to this Amazon S3 bucket.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
OwnershipControls: OwnershipControls | undefined;
|
|
62
|
+
}
|
|
5
63
|
/**
|
|
6
64
|
* @public
|
|
7
65
|
*/
|
|
@@ -39,16 +97,24 @@ export interface PutBucketPolicyRequest {
|
|
|
39
97
|
* </code> with the supported algorithm from the following list: </p>
|
|
40
98
|
* <ul>
|
|
41
99
|
* <li>
|
|
42
|
-
* <p>
|
|
100
|
+
* <p>
|
|
101
|
+
* <code>CRC32</code>
|
|
102
|
+
* </p>
|
|
43
103
|
* </li>
|
|
44
104
|
* <li>
|
|
45
|
-
* <p>
|
|
105
|
+
* <p>
|
|
106
|
+
* <code>CRC32C</code>
|
|
107
|
+
* </p>
|
|
46
108
|
* </li>
|
|
47
109
|
* <li>
|
|
48
|
-
* <p>
|
|
110
|
+
* <p>
|
|
111
|
+
* <code>SHA1</code>
|
|
112
|
+
* </p>
|
|
49
113
|
* </li>
|
|
50
114
|
* <li>
|
|
51
|
-
* <p>
|
|
115
|
+
* <p>
|
|
116
|
+
* <code>SHA256</code>
|
|
117
|
+
* </p>
|
|
52
118
|
* </li>
|
|
53
119
|
* </ul>
|
|
54
120
|
* <p>For more
|
|
@@ -417,7 +483,7 @@ export interface PutObjectOutput {
|
|
|
417
483
|
*/
|
|
418
484
|
ETag?: string;
|
|
419
485
|
/**
|
|
420
|
-
* <p>The base64-encoded, 32-bit
|
|
486
|
+
* <p>The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded
|
|
421
487
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
422
488
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
423
489
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -425,7 +491,7 @@ export interface PutObjectOutput {
|
|
|
425
491
|
*/
|
|
426
492
|
ChecksumCRC32?: string;
|
|
427
493
|
/**
|
|
428
|
-
* <p>The base64-encoded, 32-bit
|
|
494
|
+
* <p>The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded
|
|
429
495
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
430
496
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
431
497
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -644,16 +710,24 @@ export interface PutObjectRequest {
|
|
|
644
710
|
* </code> with the supported algorithm from the following list: </p>
|
|
645
711
|
* <ul>
|
|
646
712
|
* <li>
|
|
647
|
-
* <p>
|
|
713
|
+
* <p>
|
|
714
|
+
* <code>CRC32</code>
|
|
715
|
+
* </p>
|
|
648
716
|
* </li>
|
|
649
717
|
* <li>
|
|
650
|
-
* <p>
|
|
718
|
+
* <p>
|
|
719
|
+
* <code>CRC32C</code>
|
|
720
|
+
* </p>
|
|
651
721
|
* </li>
|
|
652
722
|
* <li>
|
|
653
|
-
* <p>
|
|
723
|
+
* <p>
|
|
724
|
+
* <code>SHA1</code>
|
|
725
|
+
* </p>
|
|
654
726
|
* </li>
|
|
655
727
|
* <li>
|
|
656
|
-
* <p>
|
|
728
|
+
* <p>
|
|
729
|
+
* <code>SHA256</code>
|
|
730
|
+
* </p>
|
|
657
731
|
* </li>
|
|
658
732
|
* </ul>
|
|
659
733
|
* <p>For more
|
|
@@ -671,7 +745,7 @@ export interface PutObjectRequest {
|
|
|
671
745
|
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
672
746
|
/**
|
|
673
747
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
674
|
-
* This header specifies the base64-encoded, 32-bit
|
|
748
|
+
* This header specifies the base64-encoded, 32-bit CRC-32 checksum of the object. For more information, see
|
|
675
749
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
676
750
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
677
751
|
* @public
|
|
@@ -679,7 +753,7 @@ export interface PutObjectRequest {
|
|
|
679
753
|
ChecksumCRC32?: string;
|
|
680
754
|
/**
|
|
681
755
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
682
|
-
* This header specifies the base64-encoded, 32-bit
|
|
756
|
+
* This header specifies the base64-encoded, 32-bit CRC-32C checksum of the object. For more information, see
|
|
683
757
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
684
758
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
685
759
|
* @public
|
|
@@ -2412,7 +2486,7 @@ export interface UploadPartOutput {
|
|
|
2412
2486
|
*/
|
|
2413
2487
|
ETag?: string;
|
|
2414
2488
|
/**
|
|
2415
|
-
* <p>The base64-encoded, 32-bit
|
|
2489
|
+
* <p>The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded
|
|
2416
2490
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
2417
2491
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
2418
2492
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -2420,7 +2494,7 @@ export interface UploadPartOutput {
|
|
|
2420
2494
|
*/
|
|
2421
2495
|
ChecksumCRC32?: string;
|
|
2422
2496
|
/**
|
|
2423
|
-
* <p>The base64-encoded, 32-bit
|
|
2497
|
+
* <p>The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded
|
|
2424
2498
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
2425
2499
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
2426
2500
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -2545,7 +2619,7 @@ export interface UploadPartRequest {
|
|
|
2545
2619
|
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
2546
2620
|
/**
|
|
2547
2621
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
2548
|
-
* This header specifies the base64-encoded, 32-bit
|
|
2622
|
+
* This header specifies the base64-encoded, 32-bit CRC-32 checksum of the object. For more information, see
|
|
2549
2623
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
2550
2624
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
2551
2625
|
* @public
|
|
@@ -2553,7 +2627,7 @@ export interface UploadPartRequest {
|
|
|
2553
2627
|
ChecksumCRC32?: string;
|
|
2554
2628
|
/**
|
|
2555
2629
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
2556
|
-
* This header specifies the base64-encoded, 32-bit
|
|
2630
|
+
* This header specifies the base64-encoded, 32-bit CRC-32C checksum of the object. For more information, see
|
|
2557
2631
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
2558
2632
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
2559
2633
|
* @public
|
|
@@ -2657,7 +2731,7 @@ export interface CopyPartResult {
|
|
|
2657
2731
|
*/
|
|
2658
2732
|
LastModified?: Date;
|
|
2659
2733
|
/**
|
|
2660
|
-
* <p>The base64-encoded, 32-bit
|
|
2734
|
+
* <p>The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded
|
|
2661
2735
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
2662
2736
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
2663
2737
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -2665,7 +2739,7 @@ export interface CopyPartResult {
|
|
|
2665
2739
|
*/
|
|
2666
2740
|
ChecksumCRC32?: string;
|
|
2667
2741
|
/**
|
|
2668
|
-
* <p>The base64-encoded, 32-bit
|
|
2742
|
+
* <p>The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded
|
|
2669
2743
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
2670
2744
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
2671
2745
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -3160,7 +3234,7 @@ export interface WriteGetObjectResponseRequest {
|
|
|
3160
3234
|
ContentType?: string;
|
|
3161
3235
|
/**
|
|
3162
3236
|
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
3163
|
-
* the same data that was originally sent. This specifies the base64-encoded, 32-bit
|
|
3237
|
+
* the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC-32
|
|
3164
3238
|
* checksum of the object returned by the Object Lambda function. This may not match the
|
|
3165
3239
|
* checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
|
|
3166
3240
|
* only when the original <code>GetObject</code> request required checksum validation. For
|
|
@@ -3174,7 +3248,7 @@ export interface WriteGetObjectResponseRequest {
|
|
|
3174
3248
|
ChecksumCRC32?: string;
|
|
3175
3249
|
/**
|
|
3176
3250
|
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
3177
|
-
* the same data that was originally sent. This specifies the base64-encoded, 32-bit
|
|
3251
|
+
* the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC-32C
|
|
3178
3252
|
* checksum of the object returned by the Object Lambda function. This may not match the
|
|
3179
3253
|
* checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
|
|
3180
3254
|
* only when the original <code>GetObject</code> request required checksum validation. For
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
PutBucketLifecycleConfigurationOutput,
|
|
5
|
+
PutBucketLifecycleConfigurationRequest,
|
|
6
|
+
} from "../models/models_0";
|
|
4
7
|
import {
|
|
5
8
|
S3ClientResolvedConfig,
|
|
6
9
|
ServiceInputTypes,
|
|
@@ -11,7 +14,8 @@ export { $Command };
|
|
|
11
14
|
export interface PutBucketLifecycleConfigurationCommandInput
|
|
12
15
|
extends PutBucketLifecycleConfigurationRequest {}
|
|
13
16
|
export interface PutBucketLifecycleConfigurationCommandOutput
|
|
14
|
-
extends
|
|
17
|
+
extends PutBucketLifecycleConfigurationOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
15
19
|
declare const PutBucketLifecycleConfigurationCommand_base: {
|
|
16
20
|
new (
|
|
17
21
|
input: PutBucketLifecycleConfigurationCommandInput
|
|
@@ -37,7 +41,7 @@ export declare class PutBucketLifecycleConfigurationCommand extends PutBucketLif
|
|
|
37
41
|
protected static __types: {
|
|
38
42
|
api: {
|
|
39
43
|
input: PutBucketLifecycleConfigurationRequest;
|
|
40
|
-
output:
|
|
44
|
+
output: PutBucketLifecycleConfigurationOutput;
|
|
41
45
|
};
|
|
42
46
|
sdk: {
|
|
43
47
|
input: PutBucketLifecycleConfigurationCommandInput;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { PutBucketNotificationConfigurationRequest } from "../models/
|
|
3
|
+
import { PutBucketNotificationConfigurationRequest } from "../models/models_1";
|
|
4
4
|
import {
|
|
5
5
|
S3ClientResolvedConfig,
|
|
6
6
|
ServiceInputTypes,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { PutBucketOwnershipControlsRequest } from "../models/
|
|
3
|
+
import { PutBucketOwnershipControlsRequest } from "../models/models_1";
|
|
4
4
|
import {
|
|
5
5
|
S3ClientResolvedConfig,
|
|
6
6
|
ServiceInputTypes,
|
|
@@ -921,8 +921,15 @@ export interface LifecycleRule {
|
|
|
921
921
|
NoncurrentVersionExpiration?: NoncurrentVersionExpiration;
|
|
922
922
|
AbortIncompleteMultipartUpload?: AbortIncompleteMultipartUpload;
|
|
923
923
|
}
|
|
924
|
+
export declare const TransitionDefaultMinimumObjectSize: {
|
|
925
|
+
readonly all_storage_classes_128K: "all_storage_classes_128K";
|
|
926
|
+
readonly varies_by_storage_class: "varies_by_storage_class";
|
|
927
|
+
};
|
|
928
|
+
export type TransitionDefaultMinimumObjectSize =
|
|
929
|
+
(typeof TransitionDefaultMinimumObjectSize)[keyof typeof TransitionDefaultMinimumObjectSize];
|
|
924
930
|
export interface GetBucketLifecycleConfigurationOutput {
|
|
925
931
|
Rules?: LifecycleRule[];
|
|
932
|
+
TransitionDefaultMinimumObjectSize?: TransitionDefaultMinimumObjectSize;
|
|
926
933
|
}
|
|
927
934
|
export interface GetBucketLifecycleConfigurationRequest {
|
|
928
935
|
Bucket: string | undefined;
|
|
@@ -2036,6 +2043,9 @@ export interface PutBucketInventoryConfigurationRequest {
|
|
|
2036
2043
|
InventoryConfiguration: InventoryConfiguration | undefined;
|
|
2037
2044
|
ExpectedBucketOwner?: string;
|
|
2038
2045
|
}
|
|
2046
|
+
export interface PutBucketLifecycleConfigurationOutput {
|
|
2047
|
+
TransitionDefaultMinimumObjectSize?: TransitionDefaultMinimumObjectSize;
|
|
2048
|
+
}
|
|
2039
2049
|
export interface BucketLifecycleConfiguration {
|
|
2040
2050
|
Rules: LifecycleRule[] | undefined;
|
|
2041
2051
|
}
|
|
@@ -2044,6 +2054,7 @@ export interface PutBucketLifecycleConfigurationRequest {
|
|
|
2044
2054
|
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
2045
2055
|
LifecycleConfiguration?: BucketLifecycleConfiguration;
|
|
2046
2056
|
ExpectedBucketOwner?: string;
|
|
2057
|
+
TransitionDefaultMinimumObjectSize?: TransitionDefaultMinimumObjectSize;
|
|
2047
2058
|
}
|
|
2048
2059
|
export interface BucketLoggingStatus {
|
|
2049
2060
|
LoggingEnabled?: LoggingEnabled;
|
|
@@ -2061,18 +2072,6 @@ export interface PutBucketMetricsConfigurationRequest {
|
|
|
2061
2072
|
MetricsConfiguration: MetricsConfiguration | undefined;
|
|
2062
2073
|
ExpectedBucketOwner?: string;
|
|
2063
2074
|
}
|
|
2064
|
-
export interface PutBucketNotificationConfigurationRequest {
|
|
2065
|
-
Bucket: string | undefined;
|
|
2066
|
-
NotificationConfiguration: NotificationConfiguration | undefined;
|
|
2067
|
-
ExpectedBucketOwner?: string;
|
|
2068
|
-
SkipDestinationValidation?: boolean;
|
|
2069
|
-
}
|
|
2070
|
-
export interface PutBucketOwnershipControlsRequest {
|
|
2071
|
-
Bucket: string | undefined;
|
|
2072
|
-
ContentMD5?: string;
|
|
2073
|
-
ExpectedBucketOwner?: string;
|
|
2074
|
-
OwnershipControls: OwnershipControls | undefined;
|
|
2075
|
-
}
|
|
2076
2075
|
export declare const CompleteMultipartUploadOutputFilterSensitiveLog: (
|
|
2077
2076
|
obj: CompleteMultipartUploadOutput
|
|
2078
2077
|
) => any;
|
|
@@ -7,12 +7,14 @@ import {
|
|
|
7
7
|
ErrorDocument,
|
|
8
8
|
Grant,
|
|
9
9
|
IndexDocument,
|
|
10
|
+
NotificationConfiguration,
|
|
10
11
|
ObjectCannedACL,
|
|
11
12
|
ObjectLockConfiguration,
|
|
12
13
|
ObjectLockLegalHold,
|
|
13
14
|
ObjectLockLegalHoldStatus,
|
|
14
15
|
ObjectLockMode,
|
|
15
16
|
ObjectLockRetention,
|
|
17
|
+
OwnershipControls,
|
|
16
18
|
Payer,
|
|
17
19
|
PublicAccessBlockConfiguration,
|
|
18
20
|
RedirectAllRequestsTo,
|
|
@@ -26,6 +28,18 @@ import {
|
|
|
26
28
|
Tag,
|
|
27
29
|
} from "./models_0";
|
|
28
30
|
import { S3ServiceException as __BaseException } from "./S3ServiceException";
|
|
31
|
+
export interface PutBucketNotificationConfigurationRequest {
|
|
32
|
+
Bucket: string | undefined;
|
|
33
|
+
NotificationConfiguration: NotificationConfiguration | undefined;
|
|
34
|
+
ExpectedBucketOwner?: string;
|
|
35
|
+
SkipDestinationValidation?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface PutBucketOwnershipControlsRequest {
|
|
38
|
+
Bucket: string | undefined;
|
|
39
|
+
ContentMD5?: string;
|
|
40
|
+
ExpectedBucketOwner?: string;
|
|
41
|
+
OwnershipControls: OwnershipControls | undefined;
|
|
42
|
+
}
|
|
29
43
|
export interface PutBucketPolicyRequest {
|
|
30
44
|
Bucket: string | undefined;
|
|
31
45
|
ContentMD5?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.663.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3",
|