@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.
@@ -392,7 +392,7 @@ export interface CompleteMultipartUploadOutput {
392
392
  */
393
393
  ETag?: string;
394
394
  /**
395
- * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
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 CRC32C checksum of the object. This will only be present if it was uploaded
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 CRC32 checksum of the object. This will only be present if it was uploaded
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 CRC32C checksum of the object. This will only be present if it was uploaded
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 CRC32 checksum of the object. For more information, see
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 CRC32C checksum of the object. For more information, see
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 CRC32 checksum of the object. This will only be present if it was uploaded
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 CRC32C checksum of the object. This will only be present if it was uploaded
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>CRC32</p>
5246
+ * <p>
5247
+ * <code>CRC32</code>
5248
+ * </p>
5247
5249
  * </li>
5248
5250
  * <li>
5249
- * <p>CRC32C</p>
5251
+ * <p>
5252
+ * <code>CRC32C</code>
5253
+ * </p>
5250
5254
  * </li>
5251
5255
  * <li>
5252
- * <p>SHA1</p>
5256
+ * <p>
5257
+ * <code>SHA1</code>
5258
+ * </p>
5253
5259
  * </li>
5254
5260
  * <li>
5255
- * <p>SHA256</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 CRC32 checksum of the object. This will only be present if it was uploaded
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 CRC32C checksum of the object. This will only be present if it was uploaded
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 CRC32 checksum of the object. This will only be present if it was uploaded
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 CRC32C checksum of the object. This will only be present if it was uploaded
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 CRC32 checksum of the object. For more information, see
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 CRC32C checksum of the object. This will only be present if it was uploaded
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 CRC32 checksum of the object. This will only be present if it was uploaded
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 CRC32C checksum of the object. This will only be present if it was uploaded
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 CRC32 checksum of the object. For more information, see
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 CRC32C checksum of the object. This will only be present if it was uploaded
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>CRC32</p>
100
+ * <p>
101
+ * <code>CRC32</code>
102
+ * </p>
43
103
  * </li>
44
104
  * <li>
45
- * <p>CRC32C</p>
105
+ * <p>
106
+ * <code>CRC32C</code>
107
+ * </p>
46
108
  * </li>
47
109
  * <li>
48
- * <p>SHA1</p>
110
+ * <p>
111
+ * <code>SHA1</code>
112
+ * </p>
49
113
  * </li>
50
114
  * <li>
51
- * <p>SHA256</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 CRC32 checksum of the object. This will only be present if it was uploaded
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 CRC32C checksum of the object. This will only be present if it was uploaded
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>CRC32</p>
713
+ * <p>
714
+ * <code>CRC32</code>
715
+ * </p>
648
716
  * </li>
649
717
  * <li>
650
- * <p>CRC32C</p>
718
+ * <p>
719
+ * <code>CRC32C</code>
720
+ * </p>
651
721
  * </li>
652
722
  * <li>
653
- * <p>SHA1</p>
723
+ * <p>
724
+ * <code>SHA1</code>
725
+ * </p>
654
726
  * </li>
655
727
  * <li>
656
- * <p>SHA256</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 CRC32 checksum of the object. For more information, see
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 CRC32C checksum of the object. For more information, see
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 CRC32 checksum of the object. This will only be present if it was uploaded
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 CRC32C checksum of the object. This will only be present if it was uploaded
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 CRC32 checksum of the object. For more information, see
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 CRC32C checksum of the object. For more information, see
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 CRC32 checksum of the object. This will only be present if it was uploaded
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 CRC32C checksum of the object. This will only be present if it was uploaded
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 CRC32
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 CRC32C
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 { PutBucketLifecycleConfigurationRequest } from "../models/models_0";
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 __MetadataBearer {}
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/models_0";
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/models_0";
3
+ import { PutBucketOwnershipControlsRequest } from "../models/models_1";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,