@aws-sdk/client-s3 3.701.0 → 3.705.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.
Files changed (74) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/endpoint/ruleset.js +3 -3
  3. package/dist-cjs/index.js +334 -104
  4. package/dist-es/S3.js +6 -0
  5. package/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +32 -0
  6. package/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +26 -0
  7. package/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +28 -0
  8. package/dist-es/commands/PutBucketEncryptionCommand.js +1 -1
  9. package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +1 -1
  10. package/dist-es/commands/index.js +3 -0
  11. package/dist-es/endpoint/ruleset.js +3 -3
  12. package/dist-es/models/models_0.js +2 -12
  13. package/dist-es/models/models_1.js +13 -0
  14. package/dist-es/protocols/Aws_restXml.js +157 -0
  15. package/dist-types/S3.d.ts +21 -0
  16. package/dist-types/S3Client.d.ts +5 -2
  17. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +4 -3
  18. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +4 -3
  19. package/dist-types/commands/CopyObjectCommand.d.ts +4 -3
  20. package/dist-types/commands/CreateBucketCommand.d.ts +19 -18
  21. package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +134 -0
  22. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +4 -3
  23. package/dist-types/commands/CreateSessionCommand.d.ts +3 -2
  24. package/dist-types/commands/DeleteBucketCommand.d.ts +4 -3
  25. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +3 -2
  27. package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +95 -0
  28. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +4 -3
  29. package/dist-types/commands/DeleteObjectCommand.d.ts +53 -43
  30. package/dist-types/commands/DeleteObjectsCommand.d.ts +26 -25
  31. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -1
  32. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -2
  33. package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +111 -0
  34. package/dist-types/commands/GetBucketPolicyCommand.d.ts +4 -3
  35. package/dist-types/commands/GetObjectAttributesCommand.d.ts +4 -3
  36. package/dist-types/commands/GetObjectCommand.d.ts +4 -3
  37. package/dist-types/commands/HeadBucketCommand.d.ts +4 -3
  38. package/dist-types/commands/HeadObjectCommand.d.ts +4 -3
  39. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +3 -2
  40. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +4 -3
  41. package/dist-types/commands/ListObjectsV2Command.d.ts +4 -3
  42. package/dist-types/commands/ListPartsCommand.d.ts +4 -3
  43. package/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
  44. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +5 -4
  45. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  46. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  47. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +8 -3
  48. package/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
  49. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
  50. package/dist-types/commands/PutBucketPolicyCommand.d.ts +4 -3
  51. package/dist-types/commands/PutObjectCommand.d.ts +53 -52
  52. package/dist-types/commands/UploadPartCommand.d.ts +4 -3
  53. package/dist-types/commands/UploadPartCopyCommand.d.ts +4 -3
  54. package/dist-types/commands/index.d.ts +3 -0
  55. package/dist-types/models/models_0.d.ts +443 -411
  56. package/dist-types/models/models_1.d.ts +394 -18
  57. package/dist-types/protocols/Aws_restXml.d.ts +27 -0
  58. package/dist-types/ts3.4/S3.d.ts +69 -0
  59. package/dist-types/ts3.4/S3Client.d.ts +18 -0
  60. package/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +47 -0
  61. package/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +47 -0
  62. package/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +51 -0
  63. package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  71. package/dist-types/ts3.4/models/models_0.d.ts +49 -66
  72. package/dist-types/ts3.4/models/models_1.d.ts +74 -0
  73. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +36 -0
  74. package/package.json +1 -1
@@ -61,8 +61,8 @@ export interface AbortMultipartUploadRequest {
61
61
  * <p>
62
62
  * <b>Directory buckets</b> -
63
63
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
64
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
65
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
64
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
65
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
66
66
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
67
67
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
68
68
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -563,8 +563,8 @@ export interface CompleteMultipartUploadRequest {
563
563
  * <p>
564
564
  * <b>Directory buckets</b> -
565
565
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
566
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
567
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
566
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
567
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
568
568
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
569
569
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
570
570
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -760,7 +760,7 @@ export interface CopyObjectOutput {
760
760
  /**
761
761
  * <p>If the object expiration is configured, the response includes this header.</p>
762
762
  * <note>
763
- * <p>This functionality is not supported for directory buckets.</p>
763
+ * <p>Object expiration information is not returned in directory buckets and this header returns the value "<code>NotImplemented</code>" in all responses for directory buckets.</p>
764
764
  * </note>
765
765
  * @public
766
766
  */
@@ -972,13 +972,16 @@ export interface CopyObjectRequest {
972
972
  /**
973
973
  * <p>The name of the destination bucket.</p>
974
974
  * <p>
975
- * <b>Directory buckets</b> -
976
- * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
977
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
978
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
975
+ * <b>Directory buckets</b> - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
976
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
977
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
979
978
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
980
979
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
981
980
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
981
+ * <note>
982
+ * <p>Copying objects across different Amazon Web Services Regions isn't supported when the source or destination bucket is in Amazon Web Services Local Zones. The source and destination buckets must have the same parent Amazon Web Services Region. Otherwise,
983
+ * you get an HTTP <code>400 Bad Request</code> error with the error code <code>InvalidRequest</code>.</p>
984
+ * </note>
982
985
  * <p>
983
986
  * <b>Access points</b> - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
984
987
  * <note>
@@ -1718,6 +1721,7 @@ export type BucketCannedACL = (typeof BucketCannedACL)[keyof typeof BucketCanned
1718
1721
  */
1719
1722
  export declare const DataRedundancy: {
1720
1723
  readonly SingleAvailabilityZone: "SingleAvailabilityZone";
1724
+ readonly SingleLocalZone: "SingleLocalZone";
1721
1725
  };
1722
1726
  /**
1723
1727
  * @public
@@ -1744,7 +1748,7 @@ export type BucketType = (typeof BucketType)[keyof typeof BucketType];
1744
1748
  */
1745
1749
  export interface BucketInfo {
1746
1750
  /**
1747
- * <p>The number of Availability Zone that's used for redundancy for the bucket.</p>
1751
+ * <p>The number of Zone (Availability Zone or Local Zone) that's used for redundancy for the bucket.</p>
1748
1752
  * @public
1749
1753
  */
1750
1754
  DataRedundancy?: DataRedundancy | undefined;
@@ -1760,6 +1764,7 @@ export interface BucketInfo {
1760
1764
  */
1761
1765
  export declare const LocationType: {
1762
1766
  readonly AvailabilityZone: "AvailabilityZone";
1767
+ readonly LocalZone: "LocalZone";
1763
1768
  };
1764
1769
  /**
1765
1770
  * @public
@@ -1767,8 +1772,8 @@ export declare const LocationType: {
1767
1772
  export type LocationType = (typeof LocationType)[keyof typeof LocationType];
1768
1773
  /**
1769
1774
  * <p>Specifies the location where the bucket will be created.</p>
1770
- * <p>For directory buckets, the location type is Availability Zone. For more information about
1771
- * directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html">Directory buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
1775
+ * <p>For directory buckets, the location type is Availability Zone or Local Zone. For more information about directory buckets, see
1776
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html">Directory buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
1772
1777
  * <note>
1773
1778
  * <p>This functionality is only supported by directory buckets.</p>
1774
1779
  * </note>
@@ -1782,8 +1787,7 @@ export interface LocationInfo {
1782
1787
  Type?: LocationType | undefined;
1783
1788
  /**
1784
1789
  * <p>The name of the location where the bucket will be created.</p>
1785
- * <p>For directory buckets, the name of the location is the AZ ID of the Availability Zone where the
1786
- * bucket will be created. An example AZ ID value is <code>usw2-az1</code>.</p>
1790
+ * <p>For directory buckets, the name of the location is the Zone ID of the Availability Zone (AZ) or Local Zone (LZ) where the bucket will be created. An example AZ ID value is <code>usw2-az1</code>.</p>
1787
1791
  * @public
1788
1792
  */
1789
1793
  Name?: string | undefined;
@@ -1847,7 +1851,11 @@ export interface CreateBucketConfiguration {
1847
1851
  LocationConstraint?: BucketLocationConstraint | undefined;
1848
1852
  /**
1849
1853
  * <p>Specifies the location where the bucket will be created.</p>
1850
- * <p>For directory buckets, the location type is Availability Zone.</p>
1854
+ * <p>
1855
+ * <b>Directory buckets </b> - The location type is Availability Zone or Local Zone.
1856
+ * When the location type is Local Zone, your Local Zone must be in opt-in status. Otherwise, you get an HTTP <code>400 Bad Request</code> error with the
1857
+ * error code <code>Access denied</code>. To learn more about opt-in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/opt-in-directory-bucket-lz.html">Opt-in Dedicated Local Zones</a>in the <i>Amazon S3 User Guide</i>.
1858
+ * </p>
1851
1859
  * <note>
1852
1860
  * <p>This functionality is only supported by directory buckets.</p>
1853
1861
  * </note>
@@ -1895,9 +1903,9 @@ export interface CreateBucketRequest {
1895
1903
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html">Bucket naming
1896
1904
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
1897
1905
  * <p>
1898
- * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
1899
- * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format <code>
1900
- * <i>bucket_base_name</i>--<i>az_id</i>--x-s3</code> (for example, <code>
1906
+ * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
1907
+ * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
1908
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
1901
1909
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
1902
1910
  * </p>
1903
1911
  * @public
@@ -1988,6 +1996,95 @@ export interface CreateBucketRequest {
1988
1996
  */
1989
1997
  ObjectOwnership?: ObjectOwnership | undefined;
1990
1998
  }
1999
+ /**
2000
+ * <p>
2001
+ * The destination information for the metadata table configuration. The destination table bucket
2002
+ * must be in the same Region and Amazon Web Services account as the general purpose bucket. The specified metadata
2003
+ * table name must be unique within the <code>aws_s3_metadata</code> namespace in the destination
2004
+ * table bucket.
2005
+ * </p>
2006
+ * @public
2007
+ */
2008
+ export interface S3TablesDestination {
2009
+ /**
2010
+ * <p>
2011
+ * The Amazon Resource Name (ARN) for the table bucket that's specified as the
2012
+ * destination in the metadata table configuration. The destination table bucket
2013
+ * must be in the same Region and Amazon Web Services account as the general purpose bucket.
2014
+ * </p>
2015
+ * @public
2016
+ */
2017
+ TableBucketArn: string | undefined;
2018
+ /**
2019
+ * <p>
2020
+ * The name for the metadata table in your metadata table configuration. The specified metadata
2021
+ * table name must be unique within the <code>aws_s3_metadata</code> namespace in the destination
2022
+ * table bucket.
2023
+ * </p>
2024
+ * @public
2025
+ */
2026
+ TableName: string | undefined;
2027
+ }
2028
+ /**
2029
+ * <p>
2030
+ * The metadata table configuration for a general purpose bucket.
2031
+ * </p>
2032
+ * @public
2033
+ */
2034
+ export interface MetadataTableConfiguration {
2035
+ /**
2036
+ * <p>
2037
+ * The destination information for the metadata table configuration. The destination table bucket
2038
+ * must be in the same Region and Amazon Web Services account as the general purpose bucket. The specified metadata
2039
+ * table name must be unique within the <code>aws_s3_metadata</code> namespace in the destination
2040
+ * table bucket.
2041
+ * </p>
2042
+ * @public
2043
+ */
2044
+ S3TablesDestination: S3TablesDestination | undefined;
2045
+ }
2046
+ /**
2047
+ * @public
2048
+ */
2049
+ export interface CreateBucketMetadataTableConfigurationRequest {
2050
+ /**
2051
+ * <p>
2052
+ * The general purpose bucket that you want to create the metadata table configuration in.
2053
+ * </p>
2054
+ * <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.
2055
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
2056
+ * @public
2057
+ */
2058
+ Bucket: string | undefined;
2059
+ /**
2060
+ * <p>
2061
+ * The <code>Content-MD5</code> header for the metadata table configuration.
2062
+ * </p>
2063
+ * @public
2064
+ */
2065
+ ContentMD5?: string | undefined;
2066
+ /**
2067
+ * <p>
2068
+ * The checksum algorithm to use with your metadata table configuration.
2069
+ * </p>
2070
+ * @public
2071
+ */
2072
+ ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
2073
+ /**
2074
+ * <p>
2075
+ * The contents of your metadata table configuration.
2076
+ * </p>
2077
+ * @public
2078
+ */
2079
+ MetadataTableConfiguration: MetadataTableConfiguration | undefined;
2080
+ /**
2081
+ * <p>
2082
+ * The expected owner of the general purpose bucket that contains your metadata table configuration.
2083
+ * </p>
2084
+ * @public
2085
+ */
2086
+ ExpectedBucketOwner?: string | undefined;
2087
+ }
1991
2088
  /**
1992
2089
  * @public
1993
2090
  */
@@ -2127,8 +2224,8 @@ export interface CreateMultipartUploadRequest {
2127
2224
  * <p>
2128
2225
  * <b>Directory buckets</b> -
2129
2226
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
2130
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
2131
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
2227
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
2228
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
2132
2229
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
2133
2230
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
2134
2231
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -2844,9 +2941,9 @@ export interface DeleteBucketRequest {
2844
2941
  /**
2845
2942
  * <p>Specifies the bucket being deleted.</p>
2846
2943
  * <p>
2847
- * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
2848
- * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format <code>
2849
- * <i>bucket_base_name</i>--<i>az_id</i>--x-s3</code> (for example, <code>
2944
+ * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
2945
+ * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
2946
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
2850
2947
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
2851
2948
  * </p>
2852
2949
  * @public
@@ -2909,9 +3006,9 @@ export interface DeleteBucketEncryptionRequest {
2909
3006
  * <p>The name of the bucket containing the server-side encryption configuration to
2910
3007
  * delete.</p>
2911
3008
  * <p>
2912
- * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
2913
- * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format <code>
2914
- * <i>bucket_base_name</i>--<i>az_id</i>--x-s3</code> (for example, <code>
3009
+ * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
3010
+ * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
3011
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
2915
3012
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
2916
3013
  * </p>
2917
3014
  * <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.
@@ -2989,6 +3086,28 @@ export interface DeleteBucketLifecycleRequest {
2989
3086
  */
2990
3087
  ExpectedBucketOwner?: string | undefined;
2991
3088
  }
3089
+ /**
3090
+ * @public
3091
+ */
3092
+ export interface DeleteBucketMetadataTableConfigurationRequest {
3093
+ /**
3094
+ * <p>
3095
+ * The general purpose bucket that you want to remove the metadata table configuration from.
3096
+ * </p>
3097
+ * <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.
3098
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
3099
+ * @public
3100
+ */
3101
+ Bucket: string | undefined;
3102
+ /**
3103
+ * <p>
3104
+ * The expected bucket owner of the general purpose bucket that you want to remove the
3105
+ * metadata table configuration from.
3106
+ * </p>
3107
+ * @public
3108
+ */
3109
+ ExpectedBucketOwner?: string | undefined;
3110
+ }
2992
3111
  /**
2993
3112
  * @public
2994
3113
  */
@@ -3036,9 +3155,9 @@ export interface DeleteBucketPolicyRequest {
3036
3155
  /**
3037
3156
  * <p>The bucket name.</p>
3038
3157
  * <p>
3039
- * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
3040
- * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format <code>
3041
- * <i>bucket_base_name</i>--<i>az_id</i>--x-s3</code> (for example, <code>
3158
+ * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
3159
+ * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
3160
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
3042
3161
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
3043
3162
  * </p>
3044
3163
  * <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.
@@ -3150,8 +3269,8 @@ export interface DeleteObjectRequest {
3150
3269
  * <p>
3151
3270
  * <b>Directory buckets</b> -
3152
3271
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
3153
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
3154
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
3272
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
3273
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
3155
3274
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
3156
3275
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
3157
3276
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -5301,8 +5420,8 @@ export interface DeleteObjectsRequest {
5301
5420
  * <p>
5302
5421
  * <b>Directory buckets</b> -
5303
5422
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
5304
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
5305
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
5423
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
5424
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
5306
5425
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
5307
5426
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
5308
5427
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -6069,9 +6188,9 @@ export interface GetBucketEncryptionRequest {
6069
6188
  * <p>The name of the bucket from which the server-side encryption configuration is
6070
6189
  * retrieved.</p>
6071
6190
  * <p>
6072
- * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
6073
- * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format <code>
6074
- * <i>bucket_base_name</i>--<i>az_id</i>--x-s3</code> (for example, <code>
6191
+ * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
6192
+ * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
6193
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
6075
6194
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
6076
6195
  * </p>
6077
6196
  * <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.
@@ -7089,6 +7208,271 @@ export interface GetBucketLoggingRequest {
7089
7208
  */
7090
7209
  ExpectedBucketOwner?: string | undefined;
7091
7210
  }
7211
+ /**
7212
+ * <p>
7213
+ * If the <code>CreateBucketMetadataTableConfiguration</code> request succeeds, but S3 Metadata was
7214
+ * unable to create the table, this structure contains the error code and error message.
7215
+ * </p>
7216
+ * @public
7217
+ */
7218
+ export interface ErrorDetails {
7219
+ /**
7220
+ * <p>
7221
+ * If the <code>CreateBucketMetadataTableConfiguration</code> request succeeds, but S3 Metadata was
7222
+ * unable to create the table, this structure contains the error code. The possible error codes and
7223
+ * error messages are as follows:
7224
+ * </p>
7225
+ * <ul>
7226
+ * <li>
7227
+ * <p>
7228
+ * <code>AccessDeniedCreatingResources</code> - You don't have sufficient permissions to
7229
+ * create the required resources. Make sure that you have <code>s3tables:CreateNamespace</code>,
7230
+ * <code>s3tables:CreateTable</code>, <code>s3tables:GetTable</code> and
7231
+ * <code>s3tables:PutTablePolicy</code> permissions, and then try again. To create a new metadata
7232
+ * table, you must delete the metadata configuration for this bucket, and then create a new
7233
+ * metadata configuration.
7234
+ * </p>
7235
+ * </li>
7236
+ * <li>
7237
+ * <p>
7238
+ * <code>AccessDeniedWritingToTable</code> - Unable to write to the metadata table because of
7239
+ * missing resource permissions. To fix the resource policy, Amazon S3 needs to create a new
7240
+ * metadata table. To create a new metadata table, you must delete the metadata configuration for
7241
+ * this bucket, and then create a new metadata configuration.</p>
7242
+ * </li>
7243
+ * <li>
7244
+ * <p>
7245
+ * <code>DestinationTableNotFound</code> - The destination table doesn't exist. To create a
7246
+ * new metadata table, you must delete the metadata configuration for this bucket, and then
7247
+ * create a new metadata configuration.</p>
7248
+ * </li>
7249
+ * <li>
7250
+ * <p>
7251
+ * <code>ServerInternalError</code> - An internal error has occurred. To create a new metadata
7252
+ * table, you must delete the metadata configuration for this bucket, and then create a new
7253
+ * metadata configuration.</p>
7254
+ * </li>
7255
+ * <li>
7256
+ * <p>
7257
+ * <code>TableAlreadyExists</code> - The table that you specified already exists in the table
7258
+ * bucket's namespace. Specify a different table name. To create a new metadata table, you must
7259
+ * delete the metadata configuration for this bucket, and then create a new metadata
7260
+ * configuration.</p>
7261
+ * </li>
7262
+ * <li>
7263
+ * <p>
7264
+ * <code>TableBucketNotFound</code> - The table bucket that you specified doesn't exist in
7265
+ * this Amazon Web Services Region and account. Create or choose a different table bucket. To create a new
7266
+ * metadata table, you must delete the metadata configuration for this bucket, and then create
7267
+ * a new metadata configuration.</p>
7268
+ * </li>
7269
+ * </ul>
7270
+ * @public
7271
+ */
7272
+ ErrorCode?: string | undefined;
7273
+ /**
7274
+ * <p>
7275
+ * If the <code>CreateBucketMetadataTableConfiguration</code> request succeeds, but S3 Metadata was
7276
+ * unable to create the table, this structure contains the error message. The possible error codes and
7277
+ * error messages are as follows:
7278
+ * </p>
7279
+ * <ul>
7280
+ * <li>
7281
+ * <p>
7282
+ * <code>AccessDeniedCreatingResources</code> - You don't have sufficient permissions to
7283
+ * create the required resources. Make sure that you have <code>s3tables:CreateNamespace</code>,
7284
+ * <code>s3tables:CreateTable</code>, <code>s3tables:GetTable</code> and
7285
+ * <code>s3tables:PutTablePolicy</code> permissions, and then try again. To create a new metadata
7286
+ * table, you must delete the metadata configuration for this bucket, and then create a new
7287
+ * metadata configuration.
7288
+ * </p>
7289
+ * </li>
7290
+ * <li>
7291
+ * <p>
7292
+ * <code>AccessDeniedWritingToTable</code> - Unable to write to the metadata table because of
7293
+ * missing resource permissions. To fix the resource policy, Amazon S3 needs to create a new
7294
+ * metadata table. To create a new metadata table, you must delete the metadata configuration for
7295
+ * this bucket, and then create a new metadata configuration.</p>
7296
+ * </li>
7297
+ * <li>
7298
+ * <p>
7299
+ * <code>DestinationTableNotFound</code> - The destination table doesn't exist. To create a
7300
+ * new metadata table, you must delete the metadata configuration for this bucket, and then
7301
+ * create a new metadata configuration.</p>
7302
+ * </li>
7303
+ * <li>
7304
+ * <p>
7305
+ * <code>ServerInternalError</code> - An internal error has occurred. To create a new metadata
7306
+ * table, you must delete the metadata configuration for this bucket, and then create a new
7307
+ * metadata configuration.</p>
7308
+ * </li>
7309
+ * <li>
7310
+ * <p>
7311
+ * <code>TableAlreadyExists</code> - The table that you specified already exists in the table
7312
+ * bucket's namespace. Specify a different table name. To create a new metadata table, you must
7313
+ * delete the metadata configuration for this bucket, and then create a new metadata
7314
+ * configuration.</p>
7315
+ * </li>
7316
+ * <li>
7317
+ * <p>
7318
+ * <code>TableBucketNotFound</code> - The table bucket that you specified doesn't exist in
7319
+ * this Amazon Web Services Region and account. Create or choose a different table bucket. To create a new
7320
+ * metadata table, you must delete the metadata configuration for this bucket, and then create
7321
+ * a new metadata configuration.</p>
7322
+ * </li>
7323
+ * </ul>
7324
+ * @public
7325
+ */
7326
+ ErrorMessage?: string | undefined;
7327
+ }
7328
+ /**
7329
+ * <p>
7330
+ * The destination information for the metadata table configuration. The destination table bucket
7331
+ * must be in the same Region and Amazon Web Services account as the general purpose bucket. The specified metadata
7332
+ * table name must be unique within the <code>aws_s3_metadata</code> namespace in the destination
7333
+ * table bucket.
7334
+ * </p>
7335
+ * @public
7336
+ */
7337
+ export interface S3TablesDestinationResult {
7338
+ /**
7339
+ * <p>
7340
+ * The Amazon Resource Name (ARN) for the table bucket that's specified as the
7341
+ * destination in the metadata table configuration. The destination table bucket
7342
+ * must be in the same Region and Amazon Web Services account as the general purpose bucket.
7343
+ * </p>
7344
+ * @public
7345
+ */
7346
+ TableBucketArn: string | undefined;
7347
+ /**
7348
+ * <p>
7349
+ * The name for the metadata table in your metadata table configuration. The specified metadata
7350
+ * table name must be unique within the <code>aws_s3_metadata</code> namespace in the destination
7351
+ * table bucket.
7352
+ * </p>
7353
+ * @public
7354
+ */
7355
+ TableName: string | undefined;
7356
+ /**
7357
+ * <p>
7358
+ * The Amazon Resource Name (ARN) for the metadata table in the metadata table configuration. The
7359
+ * specified metadata table name must be unique within the <code>aws_s3_metadata</code> namespace
7360
+ * in the destination table bucket.
7361
+ * </p>
7362
+ * @public
7363
+ */
7364
+ TableArn: string | undefined;
7365
+ /**
7366
+ * <p>
7367
+ * The table bucket namespace for the metadata table in your metadata table configuration. This value
7368
+ * is always <code>aws_s3_metadata</code>.
7369
+ * </p>
7370
+ * @public
7371
+ */
7372
+ TableNamespace: string | undefined;
7373
+ }
7374
+ /**
7375
+ * <p>
7376
+ * The metadata table configuration for a general purpose bucket. The destination table bucket
7377
+ * must be in the same Region and Amazon Web Services account as the general purpose bucket. The specified metadata
7378
+ * table name must be unique within the <code>aws_s3_metadata</code> namespace in the destination
7379
+ * table bucket.
7380
+ * </p>
7381
+ * @public
7382
+ */
7383
+ export interface MetadataTableConfigurationResult {
7384
+ /**
7385
+ * <p>
7386
+ * The destination information for the metadata table configuration. The destination table bucket
7387
+ * must be in the same Region and Amazon Web Services account as the general purpose bucket. The specified metadata
7388
+ * table name must be unique within the <code>aws_s3_metadata</code> namespace in the destination
7389
+ * table bucket.
7390
+ * </p>
7391
+ * @public
7392
+ */
7393
+ S3TablesDestinationResult: S3TablesDestinationResult | undefined;
7394
+ }
7395
+ /**
7396
+ * <p>
7397
+ * The metadata table configuration for a general purpose bucket.
7398
+ * </p>
7399
+ * @public
7400
+ */
7401
+ export interface GetBucketMetadataTableConfigurationResult {
7402
+ /**
7403
+ * <p>
7404
+ * The metadata table configuration for a general purpose bucket.
7405
+ * </p>
7406
+ * @public
7407
+ */
7408
+ MetadataTableConfigurationResult: MetadataTableConfigurationResult | undefined;
7409
+ /**
7410
+ * <p>
7411
+ * The status of the metadata table. The status values are:
7412
+ * </p>
7413
+ * <ul>
7414
+ * <li>
7415
+ * <p>
7416
+ * <code>CREATING</code> - The metadata table is in the process of being created in the
7417
+ * specified table bucket.</p>
7418
+ * </li>
7419
+ * <li>
7420
+ * <p>
7421
+ * <code>ACTIVE</code> - The metadata table has been created successfully and records
7422
+ * are being delivered to the table.
7423
+ * </p>
7424
+ * </li>
7425
+ * <li>
7426
+ * <p>
7427
+ * <code>FAILED</code> - Amazon S3 is unable to create the metadata table, or Amazon S3 is unable to deliver
7428
+ * records. See <code>ErrorDetails</code> for details.</p>
7429
+ * </li>
7430
+ * </ul>
7431
+ * @public
7432
+ */
7433
+ Status: string | undefined;
7434
+ /**
7435
+ * <p>
7436
+ * If the <code>CreateBucketMetadataTableConfiguration</code> request succeeds, but S3 Metadata was
7437
+ * unable to create the table, this structure contains the error code and error message.
7438
+ * </p>
7439
+ * @public
7440
+ */
7441
+ Error?: ErrorDetails | undefined;
7442
+ }
7443
+ /**
7444
+ * @public
7445
+ */
7446
+ export interface GetBucketMetadataTableConfigurationOutput {
7447
+ /**
7448
+ * <p>
7449
+ * The metadata table configuration for the general purpose bucket.
7450
+ * </p>
7451
+ * @public
7452
+ */
7453
+ GetBucketMetadataTableConfigurationResult?: GetBucketMetadataTableConfigurationResult | undefined;
7454
+ }
7455
+ /**
7456
+ * @public
7457
+ */
7458
+ export interface GetBucketMetadataTableConfigurationRequest {
7459
+ /**
7460
+ * <p>
7461
+ * The general purpose bucket that contains the metadata table configuration that you want to retrieve.
7462
+ * </p>
7463
+ * <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.
7464
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
7465
+ * @public
7466
+ */
7467
+ Bucket: string | undefined;
7468
+ /**
7469
+ * <p>
7470
+ * The expected owner of the general purpose bucket that you want to retrieve the metadata table configuration from.
7471
+ * </p>
7472
+ * @public
7473
+ */
7474
+ ExpectedBucketOwner?: string | undefined;
7475
+ }
7092
7476
  /**
7093
7477
  * <p>A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter.
7094
7478
  * The operator must have at least two predicates, and an object must match all of the
@@ -7593,9 +7977,9 @@ export interface GetBucketPolicyRequest {
7593
7977
  /**
7594
7978
  * <p>The bucket name to get the bucket policy for.</p>
7595
7979
  * <p>
7596
- * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
7597
- * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format <code>
7598
- * <i>bucket_base_name</i>--<i>az_id</i>--x-s3</code> (for example, <code>
7980
+ * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
7981
+ * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
7982
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
7599
7983
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
7600
7984
  * </p>
7601
7985
  * <p>
@@ -8588,7 +8972,7 @@ export interface GetObjectOutput {
8588
8972
  * providing object expiration information. The value of the <code>rule-id</code> is
8589
8973
  * URL-encoded.</p>
8590
8974
  * <note>
8591
- * <p>This functionality is not supported for directory buckets.</p>
8975
+ * <p>Object expiration information is not returned in directory buckets and this header returns the value "<code>NotImplemented</code>" in all responses for directory buckets.</p>
8592
8976
  * </note>
8593
8977
  * @public
8594
8978
  */
@@ -8858,8 +9242,8 @@ export interface GetObjectRequest {
8858
9242
  * <p>
8859
9243
  * <b>Directory buckets</b> -
8860
9244
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
8861
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
8862
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
9245
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
9246
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
8863
9247
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
8864
9248
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
8865
9249
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -9479,8 +9863,8 @@ export interface GetObjectAttributesRequest {
9479
9863
  * <p>
9480
9864
  * <b>Directory buckets</b> -
9481
9865
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
9482
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
9483
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
9866
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
9867
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
9484
9868
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
9485
9869
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
9486
9870
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -10045,8 +10429,7 @@ export interface HeadBucketOutput {
10045
10429
  BucketLocationType?: LocationType | undefined;
10046
10430
  /**
10047
10431
  * <p>The name of the location where the bucket will be created.</p>
10048
- * <p>For directory buckets, the AZ ID of the Availability Zone where the bucket is created. An example
10049
- * AZ ID value is <code>usw2-az1</code>.</p>
10432
+ * <p>For directory buckets, the Zone ID of the Availability Zone or the Local Zone where the bucket is created. An example Zone ID value for an Availability Zone is <code>usw2-az1</code>.</p>
10050
10433
  * <note>
10051
10434
  * <p>This functionality is only supported by directory buckets.</p>
10052
10435
  * </note>
@@ -10076,8 +10459,8 @@ export interface HeadBucketRequest {
10076
10459
  * <p>
10077
10460
  * <b>Directory buckets</b> -
10078
10461
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
10079
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
10080
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
10462
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
10463
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
10081
10464
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
10082
10465
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
10083
10466
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -10155,7 +10538,7 @@ export interface HeadObjectOutput {
10155
10538
  * providing object expiration information. The value of the <code>rule-id</code> is
10156
10539
  * URL-encoded.</p>
10157
10540
  * <note>
10158
- * <p>This functionality is not supported for directory buckets.</p>
10541
+ * <p>Object expiration information is not returned in directory buckets and this header returns the value "<code>NotImplemented</code>" in all responses for directory buckets.</p>
10159
10542
  * </note>
10160
10543
  * @public
10161
10544
  */
@@ -10458,8 +10841,8 @@ export interface HeadObjectRequest {
10458
10841
  * <p>
10459
10842
  * <b>Directory buckets</b> -
10460
10843
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
10461
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
10462
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
10844
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
10845
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
10463
10846
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
10464
10847
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
10465
10848
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -11255,8 +11638,8 @@ export interface ListMultipartUploadsRequest {
11255
11638
  * <p>
11256
11639
  * <b>Directory buckets</b> -
11257
11640
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
11258
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
11259
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
11641
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
11642
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
11260
11643
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
11261
11644
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
11262
11645
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -11665,8 +12048,8 @@ export interface ListObjectsRequest {
11665
12048
  * <p>
11666
12049
  * <b>Directory buckets</b> -
11667
12050
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
11668
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
11669
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
12051
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
12052
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
11670
12053
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
11671
12054
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
11672
12055
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -11890,8 +12273,8 @@ export interface ListObjectsV2Request {
11890
12273
  * <p>
11891
12274
  * <b>Directory buckets</b> -
11892
12275
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
11893
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
11894
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
12276
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
12277
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
11895
12278
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
11896
12279
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
11897
12280
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -12499,8 +12882,8 @@ export interface ListPartsRequest {
12499
12882
  * <p>
12500
12883
  * <b>Directory buckets</b> -
12501
12884
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
12502
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
12503
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
12885
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
12886
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
12504
12887
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
12505
12888
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
12506
12889
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -12742,350 +13125,7 @@ export interface CORSConfiguration {
12742
13125
  CORSRules: CORSRule[] | undefined;
12743
13126
  }
12744
13127
  /**
12745
- * @public
12746
- */
12747
- export interface PutBucketCorsRequest {
12748
- /**
12749
- * <p>Specifies the bucket impacted by the <code>cors</code>configuration.</p>
12750
- * <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.
12751
- * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
12752
- * @public
12753
- */
12754
- Bucket: string | undefined;
12755
- /**
12756
- * <p>Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more
12757
- * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html">Enabling
12758
- * Cross-Origin Resource Sharing</a> in the
12759
- * <i>Amazon S3 User Guide</i>.</p>
12760
- * @public
12761
- */
12762
- CORSConfiguration: CORSConfiguration | undefined;
12763
- /**
12764
- * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message
12765
- * integrity check to verify that the request body was not corrupted in transit. For more
12766
- * information, go to <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC
12767
- * 1864.</a>
12768
- * </p>
12769
- * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
12770
- * @public
12771
- */
12772
- ContentMD5?: string | undefined;
12773
- /**
12774
- * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
12775
- * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
12776
- * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
12777
- * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
12778
- * the <i>Amazon S3 User Guide</i>.</p>
12779
- * <p>If you provide an individual checksum, Amazon S3 ignores any provided
12780
- * <code>ChecksumAlgorithm</code> parameter.</p>
12781
- * @public
12782
- */
12783
- ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
12784
- /**
12785
- * <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>
12786
- * @public
12787
- */
12788
- ExpectedBucketOwner?: string | undefined;
12789
- }
12790
- /**
12791
- * @public
12792
- */
12793
- export interface PutBucketEncryptionRequest {
12794
- /**
12795
- * <p>Specifies default encryption for a bucket using server-side encryption with different
12796
- * key options.</p>
12797
- * <p>
12798
- * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
12799
- * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format <code>
12800
- * <i>bucket_base_name</i>--<i>az_id</i>--x-s3</code> (for example, <code>
12801
- * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
12802
- * </p>
12803
- * <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.
12804
- * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
12805
- * @public
12806
- */
12807
- Bucket: string | undefined;
12808
- /**
12809
- * <p>The base64-encoded 128-bit MD5 digest of the server-side encryption
12810
- * configuration.</p>
12811
- * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
12812
- * <note>
12813
- * <p>This functionality is not supported for directory buckets.</p>
12814
- * </note>
12815
- * @public
12816
- */
12817
- ContentMD5?: string | undefined;
12818
- /**
12819
- * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
12820
- * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
12821
- * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
12822
- * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
12823
- * the <i>Amazon S3 User Guide</i>.</p>
12824
- * <p>If you provide an individual checksum, Amazon S3 ignores any provided
12825
- * <code>ChecksumAlgorithm</code> parameter.</p>
12826
- * <note>
12827
- * <p>For directory buckets, when you use Amazon Web Services SDKs, <code>CRC32</code> is the default checksum algorithm that's used for performance.</p>
12828
- * </note>
12829
- * @public
12830
- */
12831
- ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
12832
- /**
12833
- * <p>Specifies the default server-side-encryption configuration.</p>
12834
- * @public
12835
- */
12836
- ServerSideEncryptionConfiguration: ServerSideEncryptionConfiguration | undefined;
12837
- /**
12838
- * <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>
12839
- * <note>
12840
- * <p>For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code
12841
- * <code>501 Not Implemented</code>.</p>
12842
- * </note>
12843
- * @public
12844
- */
12845
- ExpectedBucketOwner?: string | undefined;
12846
- }
12847
- /**
12848
- * @public
12849
- */
12850
- export interface PutBucketIntelligentTieringConfigurationRequest {
12851
- /**
12852
- * <p>The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.</p>
12853
- * <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.
12854
- * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
12855
- * @public
12856
- */
12857
- Bucket: string | undefined;
12858
- /**
12859
- * <p>The ID used to identify the S3 Intelligent-Tiering configuration.</p>
12860
- * @public
12861
- */
12862
- Id: string | undefined;
12863
- /**
12864
- * <p>Container for S3 Intelligent-Tiering configuration.</p>
12865
- * @public
12866
- */
12867
- IntelligentTieringConfiguration: IntelligentTieringConfiguration | undefined;
12868
- }
12869
- /**
12870
- * @public
12871
- */
12872
- export interface PutBucketInventoryConfigurationRequest {
12873
- /**
12874
- * <p>The name of the bucket where the inventory configuration will be stored.</p>
12875
- * <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.
12876
- * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
12877
- * @public
12878
- */
12879
- Bucket: string | undefined;
12880
- /**
12881
- * <p>The ID used to identify the inventory configuration.</p>
12882
- * @public
12883
- */
12884
- Id: string | undefined;
12885
- /**
12886
- * <p>Specifies the inventory configuration.</p>
12887
- * @public
12888
- */
12889
- InventoryConfiguration: InventoryConfiguration | undefined;
12890
- /**
12891
- * <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>
12892
- * @public
12893
- */
12894
- ExpectedBucketOwner?: string | undefined;
12895
- }
12896
- /**
12897
- * @public
12898
- */
12899
- export interface PutBucketLifecycleConfigurationOutput {
12900
- /**
12901
- * <p>Indicates which default minimum object size behavior is applied to the lifecycle
12902
- * configuration.</p>
12903
- * <note>
12904
- * <p>This parameter applies to general purpose buckets only. It is not supported for
12905
- * directory bucket lifecycle configurations.</p>
12906
- * </note>
12907
- * <ul>
12908
- * <li>
12909
- * <p>
12910
- * <code>all_storage_classes_128K</code> - Objects smaller than 128 KB will not
12911
- * transition to any storage class by default. </p>
12912
- * </li>
12913
- * <li>
12914
- * <p>
12915
- * <code>varies_by_storage_class</code> - Objects smaller than 128 KB will
12916
- * transition to Glacier Flexible Retrieval or Glacier Deep Archive storage classes. By
12917
- * default, all other storage classes will prevent transitions smaller than 128 KB.
12918
- * </p>
12919
- * </li>
12920
- * </ul>
12921
- * <p>To customize the minimum object size for any transition you can add a filter that
12922
- * specifies a custom <code>ObjectSizeGreaterThan</code> or <code>ObjectSizeLessThan</code> in
12923
- * the body of your transition rule. Custom filters always take precedence over the default
12924
- * transition behavior.</p>
12925
- * @public
12926
- */
12927
- TransitionDefaultMinimumObjectSize?: TransitionDefaultMinimumObjectSize | undefined;
12928
- }
12929
- /**
12930
- * <p>Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For more
12931
- * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html">Object Lifecycle Management</a>
12932
- * in the <i>Amazon S3 User Guide</i>.</p>
12933
- * @public
12934
- */
12935
- export interface BucketLifecycleConfiguration {
12936
- /**
12937
- * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p>
12938
- * @public
12939
- */
12940
- Rules: LifecycleRule[] | undefined;
12941
- }
12942
- /**
12943
- * @public
12944
- */
12945
- export interface PutBucketLifecycleConfigurationRequest {
12946
- /**
12947
- * <p>The name of the bucket for which to set the configuration.</p>
12948
- * <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.
12949
- * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
12950
- * @public
12951
- */
12952
- Bucket: string | undefined;
12953
- /**
12954
- * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
12955
- * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
12956
- * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
12957
- * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
12958
- * the <i>Amazon S3 User Guide</i>.</p>
12959
- * <p>If you provide an individual checksum, Amazon S3 ignores any provided
12960
- * <code>ChecksumAlgorithm</code> parameter.</p>
12961
- * @public
12962
- */
12963
- ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
12964
- /**
12965
- * <p>Container for lifecycle rules. You can add as many as 1,000 rules.</p>
12966
- * @public
12967
- */
12968
- LifecycleConfiguration?: BucketLifecycleConfiguration | undefined;
12969
- /**
12970
- * <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>
12971
- * <note>
12972
- * <p>This parameter applies to general purpose buckets only. It is not supported for
12973
- * directory bucket lifecycle configurations.</p>
12974
- * </note>
12975
- * @public
12976
- */
12977
- ExpectedBucketOwner?: string | undefined;
12978
- /**
12979
- * <p>Indicates which default minimum object size behavior is applied to the lifecycle
12980
- * configuration.</p>
12981
- * <note>
12982
- * <p>This parameter applies to general purpose buckets only. It is not supported for
12983
- * directory bucket lifecycle configurations.</p>
12984
- * </note>
12985
- * <ul>
12986
- * <li>
12987
- * <p>
12988
- * <code>all_storage_classes_128K</code> - Objects smaller than 128 KB will not
12989
- * transition to any storage class by default. </p>
12990
- * </li>
12991
- * <li>
12992
- * <p>
12993
- * <code>varies_by_storage_class</code> - Objects smaller than 128 KB will
12994
- * transition to Glacier Flexible Retrieval or Glacier Deep Archive storage classes. By
12995
- * default, all other storage classes will prevent transitions smaller than 128 KB.
12996
- * </p>
12997
- * </li>
12998
- * </ul>
12999
- * <p>To customize the minimum object size for any transition you can add a filter that
13000
- * specifies a custom <code>ObjectSizeGreaterThan</code> or <code>ObjectSizeLessThan</code> in
13001
- * the body of your transition rule. Custom filters always take precedence over the default
13002
- * transition behavior.</p>
13003
- * @public
13004
- */
13005
- TransitionDefaultMinimumObjectSize?: TransitionDefaultMinimumObjectSize | undefined;
13006
- }
13007
- /**
13008
- * <p>Container for logging status information.</p>
13009
- * @public
13010
- */
13011
- export interface BucketLoggingStatus {
13012
- /**
13013
- * <p>Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys
13014
- * for a bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html">PUT Bucket logging</a> in the
13015
- * <i>Amazon S3 API Reference</i>.</p>
13016
- * @public
13017
- */
13018
- LoggingEnabled?: LoggingEnabled | undefined;
13019
- }
13020
- /**
13021
- * @public
13022
- */
13023
- export interface PutBucketLoggingRequest {
13024
- /**
13025
- * <p>The name of the bucket for which to set the logging parameters.</p>
13026
- * <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.
13027
- * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
13028
- * @public
13029
- */
13030
- Bucket: string | undefined;
13031
- /**
13032
- * <p>Container for logging status information.</p>
13033
- * @public
13034
- */
13035
- BucketLoggingStatus: BucketLoggingStatus | undefined;
13036
- /**
13037
- * <p>The MD5 hash of the <code>PutBucketLogging</code> request body.</p>
13038
- * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
13039
- * @public
13040
- */
13041
- ContentMD5?: string | undefined;
13042
- /**
13043
- * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
13044
- * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
13045
- * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
13046
- * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
13047
- * the <i>Amazon S3 User Guide</i>.</p>
13048
- * <p>If you provide an individual checksum, Amazon S3 ignores any provided
13049
- * <code>ChecksumAlgorithm</code> parameter.</p>
13050
- * @public
13051
- */
13052
- ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
13053
- /**
13054
- * <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>
13055
- * @public
13056
- */
13057
- ExpectedBucketOwner?: string | undefined;
13058
- }
13059
- /**
13060
- * @public
13061
- */
13062
- export interface PutBucketMetricsConfigurationRequest {
13063
- /**
13064
- * <p>The name of the bucket for which the metrics configuration is set.</p>
13065
- * <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.
13066
- * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
13067
- * @public
13068
- */
13069
- Bucket: string | undefined;
13070
- /**
13071
- * <p>The ID used to identify the metrics configuration. The ID has a 64 character limit and
13072
- * can only contain letters, numbers, periods, dashes, and underscores.</p>
13073
- * @public
13074
- */
13075
- Id: string | undefined;
13076
- /**
13077
- * <p>Specifies the metrics configuration.</p>
13078
- * @public
13079
- */
13080
- MetricsConfiguration: MetricsConfiguration | undefined;
13081
- /**
13082
- * <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>
13083
- * @public
13084
- */
13085
- ExpectedBucketOwner?: string | undefined;
13086
- }
13087
- /**
13088
- * @internal
13128
+ * @internal
13089
13129
  */
13090
13130
  export declare const CompleteMultipartUploadOutputFilterSensitiveLog: (obj: CompleteMultipartUploadOutput) => any;
13091
13131
  /**
@@ -13192,11 +13232,3 @@ export declare const ListBucketInventoryConfigurationsOutputFilterSensitiveLog:
13192
13232
  * @internal
13193
13233
  */
13194
13234
  export declare const ListPartsRequestFilterSensitiveLog: (obj: ListPartsRequest) => any;
13195
- /**
13196
- * @internal
13197
- */
13198
- export declare const PutBucketEncryptionRequestFilterSensitiveLog: (obj: PutBucketEncryptionRequest) => any;
13199
- /**
13200
- * @internal
13201
- */
13202
- export declare const PutBucketInventoryConfigurationRequestFilterSensitiveLog: (obj: PutBucketInventoryConfigurationRequest) => any;