@aws-sdk/client-s3 3.658.1 → 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 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 import_middleware_sdk_s352 = require("@aws-sdk/middleware-sdk-s3");
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, import_middleware_sdk_s352.getThrow200ExceptionsPlugin)(config)
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 import_middleware_sdk_s353 = require("@aws-sdk/middleware-sdk-s3");
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, import_middleware_sdk_s353.getCheckContentLengthHeaderPlugin)(config),
10251
- (0, import_middleware_sdk_s353.getThrow200ExceptionsPlugin)(config),
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 import_middleware_sdk_s354 = require("@aws-sdk/middleware-sdk-s3");
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, import_middleware_sdk_s354.getThrow200ExceptionsPlugin)(config)
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 import_middleware_sdk_s355 = require("@aws-sdk/middleware-sdk-s3");
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, import_middleware_sdk_s355.getThrow200ExceptionsPlugin)(config)
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 import_middleware_sdk_s356 = require("@aws-sdk/middleware-sdk-s3");
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, import_middleware_sdk_s356.getThrow200ExceptionsPlugin)(config)
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 import_middleware_sdk_s357 = require("@aws-sdk/middleware-sdk-s3");
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, import_middleware_sdk_s357.getThrow200ExceptionsPlugin)(config)
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 import_middleware_sdk_s358 = require("@aws-sdk/middleware-sdk-s3");
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, import_middleware_sdk_s358.getThrow200ExceptionsPlugin)(config)
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 import_middleware_sdk_s359 = require("@aws-sdk/middleware-sdk-s3");
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, import_middleware_sdk_s359.getThrow200ExceptionsPlugin)(config),
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 import_middleware_sdk_s360 = require("@aws-sdk/middleware-sdk-s3");
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, import_middleware_sdk_s360.getThrow200ExceptionsPlugin)(config),
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 import_middleware_sdk_s361 = require("@aws-sdk/middleware-sdk-s3");
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, import_middleware_sdk_s361.getThrow200ExceptionsPlugin)(config),
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";
@@ -150,6 +150,7 @@ declare const GetBucketLifecycleConfigurationCommand_base: {
150
150
  * // },
151
151
  * // },
152
152
  * // ],
153
+ * // TransitionDefaultMinimumObjectSize: "varies_by_storage_class" || "all_storage_classes_128K",
153
154
  * // };
154
155
  *
155
156
  * ```
@@ -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
- * Each rule consists of the following:</p>
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/models_0";
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/models_0";
3
+ import { PutBucketOwnershipControlsRequest } from "../models/models_1";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public