@aws-sdk/client-s3 3.842.0 → 3.845.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 (139) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +594 -121
  3. package/dist-es/S3.js +10 -0
  4. package/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +31 -0
  5. package/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +26 -0
  6. package/dist-es/commands/GetBucketMetadataConfigurationCommand.js +28 -0
  7. package/dist-es/commands/ListPartsCommand.js +1 -1
  8. package/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +31 -0
  9. package/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +31 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/models/models_0.js +16 -24
  12. package/dist-es/models/models_1.js +24 -0
  13. package/dist-es/protocols/Aws_restXml.js +325 -3
  14. package/dist-types/S3.d.ts +35 -0
  15. package/dist-types/S3Client.d.ts +7 -2
  16. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +17 -22
  17. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +46 -57
  18. package/dist-types/commands/CopyObjectCommand.d.ts +95 -106
  19. package/dist-types/commands/CreateBucketCommand.d.ts +70 -82
  20. package/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +182 -0
  21. package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +25 -12
  22. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +88 -113
  23. package/dist-types/commands/CreateSessionCommand.d.ts +45 -50
  24. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +7 -9
  25. package/dist-types/commands/DeleteBucketCommand.d.ts +10 -12
  26. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +4 -5
  27. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +16 -18
  28. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -6
  29. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +23 -28
  30. package/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts +114 -0
  31. package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +26 -8
  32. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +9 -12
  33. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +5 -6
  34. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +20 -23
  35. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +5 -7
  36. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -3
  37. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +9 -10
  38. package/dist-types/commands/DeleteObjectCommand.d.ts +37 -23
  39. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +7 -7
  40. package/dist-types/commands/DeleteObjectsCommand.d.ts +37 -44
  41. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +6 -6
  42. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +14 -17
  43. package/dist-types/commands/GetBucketAclCommand.d.ts +9 -11
  44. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +8 -11
  45. package/dist-types/commands/GetBucketCorsCommand.d.ts +4 -6
  46. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +16 -19
  47. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +6 -8
  48. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +28 -37
  49. package/dist-types/commands/GetBucketLocationCommand.d.ts +4 -5
  50. package/dist-types/commands/GetBucketLoggingCommand.d.ts +2 -2
  51. package/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +146 -0
  52. package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +25 -8
  53. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +10 -11
  54. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +7 -8
  55. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +9 -8
  56. package/dist-types/commands/GetBucketPolicyCommand.d.ts +24 -29
  57. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +5 -6
  58. package/dist-types/commands/GetBucketReplicationCommand.d.ts +11 -12
  59. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -3
  60. package/dist-types/commands/GetBucketTaggingCommand.d.ts +2 -3
  61. package/dist-types/commands/GetBucketVersioningCommand.d.ts +3 -3
  62. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +6 -7
  63. package/dist-types/commands/GetObjectAclCommand.d.ts +9 -11
  64. package/dist-types/commands/GetObjectAttributesCommand.d.ts +55 -70
  65. package/dist-types/commands/GetObjectCommand.d.ts +66 -81
  66. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -2
  67. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +3 -3
  68. package/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -2
  69. package/dist-types/commands/GetObjectTaggingCommand.d.ts +8 -10
  70. package/dist-types/commands/GetObjectTorrentCommand.d.ts +4 -5
  71. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +10 -12
  72. package/dist-types/commands/HeadBucketCommand.d.ts +33 -35
  73. package/dist-types/commands/HeadObjectCommand.d.ts +50 -62
  74. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +14 -17
  75. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +12 -15
  76. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +15 -18
  77. package/dist-types/commands/ListBucketsCommand.d.ts +10 -9
  78. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +9 -9
  79. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +41 -49
  80. package/dist-types/commands/ListObjectVersionsCommand.d.ts +7 -9
  81. package/dist-types/commands/ListObjectsCommand.d.ts +8 -7
  82. package/dist-types/commands/ListObjectsV2Command.d.ts +28 -31
  83. package/dist-types/commands/ListPartsCommand.d.ts +21 -24
  84. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +14 -18
  85. package/dist-types/commands/PutBucketAclCommand.d.ts +51 -62
  86. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +23 -25
  87. package/dist-types/commands/PutBucketCorsCommand.d.ts +23 -27
  88. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +40 -48
  89. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +11 -12
  90. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +33 -37
  91. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +51 -60
  92. package/dist-types/commands/PutBucketLoggingCommand.d.ts +26 -33
  93. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +12 -14
  94. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +29 -35
  95. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -6
  96. package/dist-types/commands/PutBucketPolicyCommand.d.ts +24 -29
  97. package/dist-types/commands/PutBucketReplicationCommand.d.ts +31 -38
  98. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +4 -5
  99. package/dist-types/commands/PutBucketTaggingCommand.d.ts +21 -27
  100. package/dist-types/commands/PutBucketVersioningCommand.d.ts +20 -23
  101. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +19 -18
  102. package/dist-types/commands/PutObjectAclCommand.d.ts +53 -61
  103. package/dist-types/commands/PutObjectCommand.d.ts +56 -66
  104. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -3
  105. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +10 -11
  106. package/dist-types/commands/PutObjectRetentionCommand.d.ts +4 -4
  107. package/dist-types/commands/PutObjectTaggingCommand.d.ts +18 -24
  108. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +10 -12
  109. package/dist-types/commands/RenameObjectCommand.d.ts +34 -40
  110. package/dist-types/commands/RestoreObjectCommand.d.ts +76 -85
  111. package/dist-types/commands/SelectObjectContentCommand.d.ts +50 -59
  112. package/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +161 -0
  113. package/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +113 -0
  114. package/dist-types/commands/UploadPartCommand.d.ts +64 -74
  115. package/dist-types/commands/UploadPartCopyCommand.d.ts +80 -96
  116. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +29 -33
  117. package/dist-types/commands/index.d.ts +5 -0
  118. package/dist-types/models/models_0.d.ts +2688 -3603
  119. package/dist-types/models/models_1.d.ts +2120 -743
  120. package/dist-types/protocols/Aws_restXml.d.ts +45 -0
  121. package/dist-types/ts3.4/S3.d.ts +109 -0
  122. package/dist-types/ts3.4/S3Client.d.ts +30 -0
  123. package/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +47 -0
  124. package/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +47 -0
  125. package/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +51 -0
  126. package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +47 -0
  134. package/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +47 -0
  135. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  136. package/dist-types/ts3.4/models/models_0.d.ts +93 -206
  137. package/dist-types/ts3.4/models/models_1.d.ts +238 -0
  138. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +60 -0
  139. package/package.json +19 -19
@@ -0,0 +1,161 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateBucketMetadataInventoryTableConfigurationRequest } from "../models/models_1";
4
+ import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateBucketMetadataInventoryTableConfigurationCommand}.
14
+ */
15
+ export interface UpdateBucketMetadataInventoryTableConfigurationCommandInput extends UpdateBucketMetadataInventoryTableConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateBucketMetadataInventoryTableConfigurationCommand}.
21
+ */
22
+ export interface UpdateBucketMetadataInventoryTableConfigurationCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const UpdateBucketMetadataInventoryTableConfigurationCommand_base: {
25
+ new (input: UpdateBucketMetadataInventoryTableConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateBucketMetadataInventoryTableConfigurationCommandInput, UpdateBucketMetadataInventoryTableConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateBucketMetadataInventoryTableConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateBucketMetadataInventoryTableConfigurationCommandInput, UpdateBucketMetadataInventoryTableConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Enables or disables a live inventory table for an S3 Metadata configuration on a general
31
+ * purpose bucket. For more information, see
32
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html">Accelerating
33
+ * data discovery with S3 Metadata</a> in the <i>Amazon S3 User Guide</i>.</p>
34
+ * <dl>
35
+ * <dt>Permissions</dt>
36
+ * <dd>
37
+ * <p>To use this operation, you must have the following permissions. For more information, see
38
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html">Setting up permissions for configuring metadata tables</a> in the
39
+ * <i>Amazon S3 User Guide</i>.</p>
40
+ * <p>If you want to encrypt your inventory table with server-side encryption with Key Management Service
41
+ * (KMS) keys (SSE-KMS), you need additional permissions in your KMS key policy. For more
42
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html">
43
+ * Setting up permissions for configuring metadata tables</a> in the
44
+ * <i>Amazon S3 User Guide</i>.</p>
45
+ * <ul>
46
+ * <li>
47
+ * <p>
48
+ * <code>s3:UpdateBucketMetadataInventoryTableConfiguration</code>
49
+ * </p>
50
+ * </li>
51
+ * <li>
52
+ * <p>
53
+ * <code>s3tables:CreateTableBucket</code>
54
+ * </p>
55
+ * </li>
56
+ * <li>
57
+ * <p>
58
+ * <code>s3tables:CreateNamespace</code>
59
+ * </p>
60
+ * </li>
61
+ * <li>
62
+ * <p>
63
+ * <code>s3tables:GetTable</code>
64
+ * </p>
65
+ * </li>
66
+ * <li>
67
+ * <p>
68
+ * <code>s3tables:CreateTable</code>
69
+ * </p>
70
+ * </li>
71
+ * <li>
72
+ * <p>
73
+ * <code>s3tables:PutTablePolicy</code>
74
+ * </p>
75
+ * </li>
76
+ * <li>
77
+ * <p>
78
+ * <code>s3tables:PutTableEncryption</code>
79
+ * </p>
80
+ * </li>
81
+ * <li>
82
+ * <p>
83
+ * <code>kms:DescribeKey</code>
84
+ * </p>
85
+ * </li>
86
+ * </ul>
87
+ * </dd>
88
+ * </dl>
89
+ * <p>The following operations are related to <code>UpdateBucketMetadataInventoryTableConfiguration</code>:</p>
90
+ * <ul>
91
+ * <li>
92
+ * <p>
93
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html">CreateBucketMetadataConfiguration</a>
94
+ * </p>
95
+ * </li>
96
+ * <li>
97
+ * <p>
98
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetadataConfiguration.html">DeleteBucketMetadataConfiguration</a>
99
+ * </p>
100
+ * </li>
101
+ * <li>
102
+ * <p>
103
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetadataConfiguration.html">GetBucketMetadataConfiguration</a>
104
+ * </p>
105
+ * </li>
106
+ * <li>
107
+ * <p>
108
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UpdateBucketMetadataJournalTableConfiguration.html">UpdateBucketMetadataJournalTableConfiguration</a>
109
+ * </p>
110
+ * </li>
111
+ * </ul>
112
+ * @example
113
+ * Use a bare-bones client and the command you need to make an API call.
114
+ * ```javascript
115
+ * import { S3Client, UpdateBucketMetadataInventoryTableConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
116
+ * // const { S3Client, UpdateBucketMetadataInventoryTableConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
117
+ * const client = new S3Client(config);
118
+ * const input = { // UpdateBucketMetadataInventoryTableConfigurationRequest
119
+ * Bucket: "STRING_VALUE", // required
120
+ * ContentMD5: "STRING_VALUE",
121
+ * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME",
122
+ * InventoryTableConfiguration: { // InventoryTableConfigurationUpdates
123
+ * ConfigurationState: "ENABLED" || "DISABLED", // required
124
+ * EncryptionConfiguration: { // MetadataTableEncryptionConfiguration
125
+ * SseAlgorithm: "aws:kms" || "AES256", // required
126
+ * KmsKeyArn: "STRING_VALUE",
127
+ * },
128
+ * },
129
+ * ExpectedBucketOwner: "STRING_VALUE",
130
+ * };
131
+ * const command = new UpdateBucketMetadataInventoryTableConfigurationCommand(input);
132
+ * const response = await client.send(command);
133
+ * // {};
134
+ *
135
+ * ```
136
+ *
137
+ * @param UpdateBucketMetadataInventoryTableConfigurationCommandInput - {@link UpdateBucketMetadataInventoryTableConfigurationCommandInput}
138
+ * @returns {@link UpdateBucketMetadataInventoryTableConfigurationCommandOutput}
139
+ * @see {@link UpdateBucketMetadataInventoryTableConfigurationCommandInput} for command's `input` shape.
140
+ * @see {@link UpdateBucketMetadataInventoryTableConfigurationCommandOutput} for command's `response` shape.
141
+ * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
142
+ *
143
+ * @throws {@link S3ServiceException}
144
+ * <p>Base exception class for all service exceptions from S3 service.</p>
145
+ *
146
+ *
147
+ * @public
148
+ */
149
+ export declare class UpdateBucketMetadataInventoryTableConfigurationCommand extends UpdateBucketMetadataInventoryTableConfigurationCommand_base {
150
+ /** @internal type navigation helper, not in runtime. */
151
+ protected static __types: {
152
+ api: {
153
+ input: UpdateBucketMetadataInventoryTableConfigurationRequest;
154
+ output: {};
155
+ };
156
+ sdk: {
157
+ input: UpdateBucketMetadataInventoryTableConfigurationCommandInput;
158
+ output: UpdateBucketMetadataInventoryTableConfigurationCommandOutput;
159
+ };
160
+ };
161
+ }
@@ -0,0 +1,113 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateBucketMetadataJournalTableConfigurationRequest } from "../models/models_1";
4
+ import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateBucketMetadataJournalTableConfigurationCommand}.
14
+ */
15
+ export interface UpdateBucketMetadataJournalTableConfigurationCommandInput extends UpdateBucketMetadataJournalTableConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateBucketMetadataJournalTableConfigurationCommand}.
21
+ */
22
+ export interface UpdateBucketMetadataJournalTableConfigurationCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const UpdateBucketMetadataJournalTableConfigurationCommand_base: {
25
+ new (input: UpdateBucketMetadataJournalTableConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateBucketMetadataJournalTableConfigurationCommandInput, UpdateBucketMetadataJournalTableConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateBucketMetadataJournalTableConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateBucketMetadataJournalTableConfigurationCommandInput, UpdateBucketMetadataJournalTableConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Enables or disables journal table record expiration for an S3 Metadata configuration on a general
31
+ * purpose bucket. For more information, see
32
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html">Accelerating
33
+ * data discovery with S3 Metadata</a> in the <i>Amazon S3 User Guide</i>.</p>
34
+ * <dl>
35
+ * <dt>Permissions</dt>
36
+ * <dd>
37
+ * <p>To use this operation, you must have the <code>s3:UpdateBucketMetadataJournalTableConfiguration</code>
38
+ * permission. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html">Setting up permissions for
39
+ * configuring metadata tables</a> in the <i>Amazon S3 User Guide</i>. </p>
40
+ * </dd>
41
+ * </dl>
42
+ * <p>The following operations are related to <code>UpdateBucketMetadataJournalTableConfiguration</code>:</p>
43
+ * <ul>
44
+ * <li>
45
+ * <p>
46
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html">CreateBucketMetadataConfiguration</a>
47
+ * </p>
48
+ * </li>
49
+ * <li>
50
+ * <p>
51
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetadataConfiguration.html">DeleteBucketMetadataConfiguration</a>
52
+ * </p>
53
+ * </li>
54
+ * <li>
55
+ * <p>
56
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetadataConfiguration.html">GetBucketMetadataConfiguration</a>
57
+ * </p>
58
+ * </li>
59
+ * <li>
60
+ * <p>
61
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UpdateBucketMetadataInventoryTableConfiguration.html">UpdateBucketMetadataInventoryTableConfiguration</a>
62
+ * </p>
63
+ * </li>
64
+ * </ul>
65
+ * @example
66
+ * Use a bare-bones client and the command you need to make an API call.
67
+ * ```javascript
68
+ * import { S3Client, UpdateBucketMetadataJournalTableConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
69
+ * // const { S3Client, UpdateBucketMetadataJournalTableConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
70
+ * const client = new S3Client(config);
71
+ * const input = { // UpdateBucketMetadataJournalTableConfigurationRequest
72
+ * Bucket: "STRING_VALUE", // required
73
+ * ContentMD5: "STRING_VALUE",
74
+ * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME",
75
+ * JournalTableConfiguration: { // JournalTableConfigurationUpdates
76
+ * RecordExpiration: { // RecordExpiration
77
+ * Expiration: "ENABLED" || "DISABLED", // required
78
+ * Days: Number("int"),
79
+ * },
80
+ * },
81
+ * ExpectedBucketOwner: "STRING_VALUE",
82
+ * };
83
+ * const command = new UpdateBucketMetadataJournalTableConfigurationCommand(input);
84
+ * const response = await client.send(command);
85
+ * // {};
86
+ *
87
+ * ```
88
+ *
89
+ * @param UpdateBucketMetadataJournalTableConfigurationCommandInput - {@link UpdateBucketMetadataJournalTableConfigurationCommandInput}
90
+ * @returns {@link UpdateBucketMetadataJournalTableConfigurationCommandOutput}
91
+ * @see {@link UpdateBucketMetadataJournalTableConfigurationCommandInput} for command's `input` shape.
92
+ * @see {@link UpdateBucketMetadataJournalTableConfigurationCommandOutput} for command's `response` shape.
93
+ * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
94
+ *
95
+ * @throws {@link S3ServiceException}
96
+ * <p>Base exception class for all service exceptions from S3 service.</p>
97
+ *
98
+ *
99
+ * @public
100
+ */
101
+ export declare class UpdateBucketMetadataJournalTableConfigurationCommand extends UpdateBucketMetadataJournalTableConfigurationCommand_base {
102
+ /** @internal type navigation helper, not in runtime. */
103
+ protected static __types: {
104
+ api: {
105
+ input: UpdateBucketMetadataJournalTableConfigurationRequest;
106
+ output: {};
107
+ };
108
+ sdk: {
109
+ input: UpdateBucketMetadataJournalTableConfigurationCommandInput;
110
+ output: UpdateBucketMetadataJournalTableConfigurationCommandOutput;
111
+ };
112
+ };
113
+ }
@@ -30,31 +30,30 @@ declare const UploadPartCommand_base: {
30
30
  /**
31
31
  * <p>Uploads a part in a multipart upload.</p>
32
32
  * <note>
33
- * <p>In this operation, you provide new data as a part of an object in your request.
34
- * However, you have an option to specify your existing Amazon S3 object as a data source for
35
- * the part you are uploading. To upload a part from an existing object, you use the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html">UploadPartCopy</a> operation. </p>
33
+ * <p>In this operation, you provide new data as a part of an object in your request. However, you have
34
+ * an option to specify your existing Amazon S3 object as a data source for the part you are uploading. To
35
+ * upload a part from an existing object, you use the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html">UploadPartCopy</a> operation. </p>
36
36
  * </note>
37
- * <p>You must initiate a multipart upload (see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html">CreateMultipartUpload</a>)
38
- * before you can upload any part. In response to your initiate request, Amazon S3 returns an
39
- * upload ID, a unique identifier that you must include in your upload part request.</p>
40
- * <p>Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely
41
- * identifies a part and also defines its position within the object being created. If you
42
- * upload a new part using the same part number that was used with a previous part, the
43
- * previously uploaded part is overwritten.</p>
44
- * <p>For information about maximum and minimum part sizes and other multipart upload
45
- * specifications, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html">Multipart upload limits</a> in the <i>Amazon S3 User Guide</i>.</p>
37
+ * <p>You must initiate a multipart upload (see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html">CreateMultipartUpload</a>) before you can
38
+ * upload any part. In response to your initiate request, Amazon S3 returns an upload ID, a unique identifier
39
+ * that you must include in your upload part request.</p>
40
+ * <p>Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely identifies a part
41
+ * and also defines its position within the object being created. If you upload a new part using the same
42
+ * part number that was used with a previous part, the previously uploaded part is overwritten.</p>
43
+ * <p>For information about maximum and minimum part sizes and other multipart upload specifications, see
44
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html">Multipart upload
45
+ * limits</a> in the <i>Amazon S3 User Guide</i>.</p>
46
46
  * <note>
47
- * <p>After you initiate multipart upload and upload one or more parts, you must either
48
- * complete or abort multipart upload in order to stop getting charged for storage of the
49
- * uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up
50
- * the parts storage and stops charging you for the parts storage.</p>
47
+ * <p>After you initiate multipart upload and upload one or more parts, you must either complete or
48
+ * abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after
49
+ * you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you
50
+ * for the parts storage.</p>
51
51
  * </note>
52
52
  * <p>For more information on multipart uploads, go to <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html">Multipart Upload Overview</a> in the
53
- * <i>Amazon S3 User Guide </i>.</p>
53
+ * <i>Amazon S3 User Guide </i>.</p>
54
54
  * <note>
55
55
  * <p>
56
- * <b>Directory buckets</b> -
57
- * For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>amzn-s3-demo-bucket</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
56
+ * <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>amzn-s3-demo-bucket</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
58
57
  * </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
59
58
  * <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Concepts for directory buckets in Local Zones</a> in the
60
59
  * <i>Amazon S3 User Guide</i>.</p>
@@ -65,21 +64,20 @@ declare const UploadPartCommand_base: {
65
64
  * <ul>
66
65
  * <li>
67
66
  * <p>
68
- * <b>General purpose bucket permissions</b> - To
69
- * perform a multipart upload with encryption using an Key Management Service key, the
70
- * requester must have permission to the <code>kms:Decrypt</code> and
71
- * <code>kms:GenerateDataKey</code> actions on the key. The requester must
72
- * also have permissions for the <code>kms:GenerateDataKey</code> action for
73
- * the <code>CreateMultipartUpload</code> API. Then, the requester needs
74
- * permissions for the <code>kms:Decrypt</code> action on the
75
- * <code>UploadPart</code> and <code>UploadPartCopy</code> APIs.</p>
76
- * <p>These permissions are required because Amazon S3 must decrypt and read data
77
- * from the encrypted file parts before it completes the multipart upload. For
78
- * more information about KMS permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html">Protecting data
79
- * using server-side encryption with KMS</a> in the
80
- * <i>Amazon S3 User Guide</i>. For information about the
81
- * permissions required to use the multipart upload API, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart upload and permissions</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions">Multipart upload API and permissions</a> in the
82
- * <i>Amazon S3 User Guide</i>.</p>
67
+ * <b>General purpose bucket permissions</b> - To perform a
68
+ * multipart upload with encryption using an Key Management Service key, the requester must have permission to
69
+ * the <code>kms:Decrypt</code> and <code>kms:GenerateDataKey</code> actions on the key. The
70
+ * requester must also have permissions for the <code>kms:GenerateDataKey</code> action for the
71
+ * <code>CreateMultipartUpload</code> API. Then, the requester needs permissions for the
72
+ * <code>kms:Decrypt</code> action on the <code>UploadPart</code> and
73
+ * <code>UploadPartCopy</code> APIs.</p>
74
+ * <p>These permissions are required because Amazon S3 must decrypt and read data from the encrypted
75
+ * file parts before it completes the multipart upload. For more information about KMS
76
+ * permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html">Protecting data using server-side
77
+ * encryption with KMS</a> in the <i>Amazon S3 User Guide</i>. For information
78
+ * about the permissions required to use the multipart upload API, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart upload and
79
+ * permissions</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions">Multipart upload API and
80
+ * permissions</a> in the <i>Amazon S3 User Guide</i>.</p>
83
81
  * </li>
84
82
  * <li>
85
83
  * <p>
@@ -90,23 +88,21 @@ declare const UploadPartCommand_base: {
90
88
  * <code>CreateSession</code>
91
89
  * </a>.</p>
92
90
  * <p>If the object is encrypted with SSE-KMS, you must also have the
93
- * <code>kms:GenerateDataKey</code> and <code>kms:Decrypt</code> permissions
94
- * in IAM identity-based policies and KMS key policies for the KMS
95
- * key.</p>
91
+ * <code>kms:GenerateDataKey</code> and <code>kms:Decrypt</code> permissions in IAM
92
+ * identity-based policies and KMS key policies for the KMS key.</p>
96
93
  * </li>
97
94
  * </ul>
98
95
  * </dd>
99
96
  * <dt>Data integrity</dt>
100
97
  * <dd>
101
98
  * <p>
102
- * <b>General purpose bucket</b> - To ensure that data
103
- * is not corrupted traversing the network, specify the <code>Content-MD5</code>
104
- * header in the upload part request. Amazon S3 checks the part data against the provided
105
- * MD5 value. If they do not match, Amazon S3 returns an error. If the upload request is
106
- * signed with Signature Version 4, then Amazon Web Services S3 uses the
107
- * <code>x-amz-content-sha256</code> header as a checksum instead of
108
- * <code>Content-MD5</code>. For more information see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html">Authenticating Requests: Using the Authorization Header (Amazon Web Services Signature
109
- * Version 4)</a>. </p>
99
+ * <b>General purpose bucket</b> - To ensure that data is not corrupted
100
+ * traversing the network, specify the <code>Content-MD5</code> header in the upload part request.
101
+ * Amazon S3 checks the part data against the provided MD5 value. If they do not match, Amazon S3 returns an
102
+ * error. If the upload request is signed with Signature Version 4, then Amazon Web Services S3 uses the
103
+ * <code>x-amz-content-sha256</code> header as a checksum instead of <code>Content-MD5</code>. For
104
+ * more information see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html">Authenticating Requests:
105
+ * Using the Authorization Header (Amazon Web Services Signature Version 4)</a>. </p>
110
106
  * <note>
111
107
  * <p>
112
108
  * <b>Directory buckets</b> - MD5 is not supported by directory buckets. You can use checksum algorithms to check object integrity.</p>
@@ -117,28 +113,24 @@ declare const UploadPartCommand_base: {
117
113
  * <ul>
118
114
  * <li>
119
115
  * <p>
120
- * <b>General purpose bucket</b> - Server-side
121
- * encryption is for data encryption at rest. Amazon S3 encrypts your data as it
122
- * writes it to disks in its data centers and decrypts it when you access it.
123
- * You have mutually exclusive options to protect data using server-side
124
- * encryption in Amazon S3, depending on how you choose to manage the encryption
125
- * keys. Specifically, the encryption key options are Amazon S3 managed keys
126
- * (SSE-S3), Amazon Web Services KMS keys (SSE-KMS), and Customer-Provided Keys (SSE-C).
127
- * Amazon S3 encrypts data with server-side encryption using Amazon S3 managed keys
128
- * (SSE-S3) by default. You can optionally tell Amazon S3 to encrypt data at rest
129
- * using server-side encryption with other key options. The option you use
130
- * depends on whether you want to use KMS keys (SSE-KMS) or provide your own
131
- * encryption key (SSE-C).</p>
132
- * <p>Server-side encryption is supported by the S3 Multipart Upload
133
- * operations. Unless you are using a customer-provided encryption key (SSE-C),
134
- * you don't need to specify the encryption parameters in each UploadPart
135
- * request. Instead, you only need to specify the server-side encryption
136
- * parameters in the initial Initiate Multipart request. For more information,
137
- * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html">CreateMultipartUpload</a>.</p>
138
- * <p>If you request server-side encryption using a customer-provided
139
- * encryption key (SSE-C) in your initiate multipart upload request, you must
140
- * provide identical encryption information in each part upload using the
141
- * following request headers.</p>
116
+ * <b>General purpose bucket</b> - Server-side encryption is for
117
+ * data encryption at rest. Amazon S3 encrypts your data as it writes it to disks in its data centers
118
+ * and decrypts it when you access it. You have mutually exclusive options to protect data using
119
+ * server-side encryption in Amazon S3, depending on how you choose to manage the encryption keys.
120
+ * Specifically, the encryption key options are Amazon S3 managed keys (SSE-S3), Amazon Web Services KMS keys
121
+ * (SSE-KMS), and Customer-Provided Keys (SSE-C). Amazon S3 encrypts data with server-side encryption
122
+ * using Amazon S3 managed keys (SSE-S3) by default. You can optionally tell Amazon S3 to encrypt data at
123
+ * rest using server-side encryption with other key options. The option you use depends on
124
+ * whether you want to use KMS keys (SSE-KMS) or provide your own encryption key
125
+ * (SSE-C).</p>
126
+ * <p>Server-side encryption is supported by the S3 Multipart Upload operations. Unless you are
127
+ * using a customer-provided encryption key (SSE-C), you don't need to specify the encryption
128
+ * parameters in each UploadPart request. Instead, you only need to specify the server-side
129
+ * encryption parameters in the initial Initiate Multipart request. For more information, see
130
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html">CreateMultipartUpload</a>.</p>
131
+ * <p>If you request server-side encryption using a customer-provided encryption key (SSE-C) in
132
+ * your initiate multipart upload request, you must provide identical encryption information in
133
+ * each part upload using the following request headers.</p>
142
134
  * <ul>
143
135
  * <li>
144
136
  * <p>x-amz-server-side-encryption-customer-algorithm</p>
@@ -150,14 +142,13 @@ declare const UploadPartCommand_base: {
150
142
  * <p>x-amz-server-side-encryption-customer-key-MD5</p>
151
143
  * </li>
152
144
  * </ul>
153
- * <p> For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Using
154
- * Server-Side Encryption</a> in the
155
- * <i>Amazon S3 User Guide</i>.</p>
145
+ * <p> For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Using Server-Side
146
+ * Encryption</a> in the <i>Amazon S3 User Guide</i>.</p>
156
147
  * </li>
157
148
  * <li>
158
149
  * <p>
159
150
  * <b>Directory buckets </b> -
160
- * For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) and server-side encryption with KMS keys (SSE-KMS) (<code>aws:kms</code>).</p>
151
+ * For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) and server-side encryption with KMS keys (SSE-KMS) (<code>aws:kms</code>).</p>
161
152
  * </li>
162
153
  * </ul>
163
154
  * </dd>
@@ -169,9 +160,8 @@ declare const UploadPartCommand_base: {
169
160
  * </p>
170
161
  * <ul>
171
162
  * <li>
172
- * <p>Description: The specified multipart upload does not exist. The
173
- * upload ID might be invalid, or the multipart upload might have been
174
- * aborted or completed.</p>
163
+ * <p>Description: The specified multipart upload does not exist. The upload ID might be
164
+ * invalid, or the multipart upload might have been aborted or completed.</p>
175
165
  * </li>
176
166
  * <li>
177
167
  * <p>HTTP Status Code: 404 Not Found </p>