@aws-sdk/client-s3 3.534.0 → 3.536.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 (196) hide show
  1. package/dist-types/S3.d.ts +3 -1
  2. package/dist-types/S3Client.d.ts +1 -1
  3. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +2 -1
  4. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +3 -2
  5. package/dist-types/commands/CopyObjectCommand.d.ts +8 -5
  6. package/dist-types/commands/CreateBucketCommand.d.ts +31 -21
  7. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +2 -1
  8. package/dist-types/commands/CreateSessionCommand.d.ts +2 -1
  9. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +2 -1
  10. package/dist-types/commands/DeleteBucketCommand.d.ts +2 -1
  11. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +2 -1
  12. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +2 -1
  13. package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +2 -1
  14. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +2 -1
  15. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +2 -1
  16. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +2 -1
  17. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +2 -1
  18. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +2 -1
  19. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +2 -1
  20. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -1
  21. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +2 -1
  22. package/dist-types/commands/DeleteObjectCommand.d.ts +8 -6
  23. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +2 -1
  24. package/dist-types/commands/DeleteObjectsCommand.d.ts +24 -23
  25. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +2 -1
  26. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +2 -1
  27. package/dist-types/commands/GetBucketAclCommand.d.ts +2 -1
  28. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +2 -1
  29. package/dist-types/commands/GetBucketCorsCommand.d.ts +2 -1
  30. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +2 -1
  31. package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +2 -1
  32. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +2 -1
  33. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +5 -4
  34. package/dist-types/commands/GetBucketLocationCommand.d.ts +2 -1
  35. package/dist-types/commands/GetBucketLoggingCommand.d.ts +2 -1
  36. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +2 -1
  37. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +2 -1
  38. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +2 -1
  39. package/dist-types/commands/GetBucketPolicyCommand.d.ts +2 -1
  40. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +2 -1
  41. package/dist-types/commands/GetBucketReplicationCommand.d.ts +2 -1
  42. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -1
  43. package/dist-types/commands/GetBucketTaggingCommand.d.ts +2 -1
  44. package/dist-types/commands/GetBucketVersioningCommand.d.ts +2 -1
  45. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +2 -1
  46. package/dist-types/commands/GetObjectAclCommand.d.ts +2 -1
  47. package/dist-types/commands/GetObjectAttributesCommand.d.ts +2 -1
  48. package/dist-types/commands/GetObjectCommand.d.ts +21 -20
  49. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +2 -1
  50. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +2 -1
  51. package/dist-types/commands/GetObjectRetentionCommand.d.ts +2 -1
  52. package/dist-types/commands/GetObjectTaggingCommand.d.ts +2 -1
  53. package/dist-types/commands/GetObjectTorrentCommand.d.ts +2 -1
  54. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +2 -1
  55. package/dist-types/commands/HeadBucketCommand.d.ts +3 -2
  56. package/dist-types/commands/HeadObjectCommand.d.ts +2 -1
  57. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +2 -1
  58. package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +2 -1
  59. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +2 -1
  60. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +2 -1
  61. package/dist-types/commands/ListBucketsCommand.d.ts +2 -1
  62. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +2 -1
  63. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +2 -1
  64. package/dist-types/commands/ListObjectVersionsCommand.d.ts +3 -2
  65. package/dist-types/commands/ListObjectsCommand.d.ts +2 -1
  66. package/dist-types/commands/ListObjectsV2Command.d.ts +2 -1
  67. package/dist-types/commands/ListPartsCommand.d.ts +2 -1
  68. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +2 -1
  69. package/dist-types/commands/PutBucketAclCommand.d.ts +2 -1
  70. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +2 -1
  71. package/dist-types/commands/PutBucketCorsCommand.d.ts +2 -1
  72. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +2 -1
  73. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +2 -1
  74. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +2 -1
  75. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +5 -9
  76. package/dist-types/commands/PutBucketLoggingCommand.d.ts +2 -1
  77. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +2 -1
  78. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +2 -1
  79. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +2 -1
  80. package/dist-types/commands/PutBucketPolicyCommand.d.ts +2 -1
  81. package/dist-types/commands/PutBucketReplicationCommand.d.ts +2 -1
  82. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +2 -1
  83. package/dist-types/commands/PutBucketTaggingCommand.d.ts +2 -1
  84. package/dist-types/commands/PutBucketVersioningCommand.d.ts +2 -1
  85. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +2 -1
  86. package/dist-types/commands/PutObjectAclCommand.d.ts +2 -1
  87. package/dist-types/commands/PutObjectCommand.d.ts +45 -44
  88. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +2 -1
  89. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +2 -1
  90. package/dist-types/commands/PutObjectRetentionCommand.d.ts +2 -1
  91. package/dist-types/commands/PutObjectTaggingCommand.d.ts +2 -1
  92. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +2 -1
  93. package/dist-types/commands/RestoreObjectCommand.d.ts +3 -61
  94. package/dist-types/commands/SelectObjectContentCommand.d.ts +2 -1
  95. package/dist-types/commands/UploadPartCommand.d.ts +2 -1
  96. package/dist-types/commands/UploadPartCopyCommand.d.ts +3 -2
  97. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +2 -1
  98. package/dist-types/models/models_0.d.ts +1105 -1099
  99. package/dist-types/models/models_1.d.ts +362 -362
  100. package/dist-types/ts3.4/S3.d.ts +2 -0
  101. package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +9 -0
  102. package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +9 -0
  103. package/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +9 -0
  104. package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +9 -0
  105. package/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +9 -0
  106. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +9 -0
  107. package/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +9 -0
  108. package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +9 -0
  109. package/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +9 -0
  110. package/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +9 -0
  111. package/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +9 -0
  112. package/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +9 -0
  113. package/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +9 -0
  114. package/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +9 -0
  115. package/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +9 -0
  116. package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +9 -0
  117. package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +9 -0
  118. package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +9 -0
  119. package/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +9 -0
  120. package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +9 -0
  121. package/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +9 -0
  122. package/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +9 -0
  123. package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +9 -0
  124. package/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +9 -0
  125. package/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +9 -0
  126. package/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +9 -0
  127. package/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +9 -0
  128. package/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +9 -0
  129. package/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +9 -0
  130. package/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +9 -0
  131. package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +9 -0
  132. package/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +9 -0
  133. package/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +9 -0
  134. package/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +9 -0
  135. package/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +9 -0
  136. package/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +9 -0
  137. package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +9 -0
  138. package/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +9 -0
  139. package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +9 -0
  140. package/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +9 -0
  141. package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +9 -0
  142. package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +9 -0
  143. package/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +9 -0
  144. package/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +9 -0
  145. package/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +9 -0
  146. package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +9 -0
  147. package/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +9 -0
  148. package/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +9 -0
  149. package/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +9 -0
  150. package/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +9 -0
  151. package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +9 -0
  152. package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +9 -0
  153. package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +9 -0
  154. package/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +9 -0
  155. package/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +9 -0
  156. package/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +9 -0
  157. package/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +9 -0
  158. package/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +9 -0
  159. package/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +9 -0
  160. package/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +9 -0
  161. package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +9 -0
  162. package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +9 -0
  163. package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +9 -0
  164. package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +9 -0
  165. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +9 -0
  166. package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +9 -0
  167. package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +9 -0
  168. package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +9 -0
  169. package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +9 -0
  170. package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +9 -0
  171. package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +9 -0
  172. package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +9 -0
  173. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +9 -0
  174. package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +9 -0
  175. package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +9 -0
  176. package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +9 -0
  177. package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +9 -0
  178. package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +9 -0
  179. package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +9 -0
  180. package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +9 -0
  181. package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +9 -0
  182. package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +9 -0
  183. package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +9 -0
  184. package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +9 -0
  185. package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +9 -0
  186. package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +9 -0
  187. package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +9 -0
  188. package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +9 -0
  189. package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +9 -0
  190. package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +9 -0
  191. package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +9 -0
  192. package/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +9 -0
  193. package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +9 -0
  194. package/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +9 -0
  195. package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +9 -0
  196. package/package.json +57 -57
@@ -22,10 +22,10 @@ export interface PutBucketInventoryConfigurationCommandOutput extends __Metadata
22
22
  }
23
23
  declare const PutBucketInventoryConfigurationCommand_base: {
24
24
  new (input: PutBucketInventoryConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketInventoryConfigurationCommandInput, PutBucketInventoryConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutBucketInventoryConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketInventoryConfigurationCommandInput, PutBucketInventoryConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <note>
30
30
  * <p>This operation is not supported by directory buckets.</p>
31
31
  * </note>
@@ -167,6 +167,7 @@ declare const PutBucketInventoryConfigurationCommand_base: {
167
167
  * @throws {@link S3ServiceException}
168
168
  * <p>Base exception class for all service exceptions from S3 service.</p>
169
169
  *
170
+ * @public
170
171
  */
171
172
  export declare class PutBucketInventoryConfigurationCommand extends PutBucketInventoryConfigurationCommand_base {
172
173
  }
@@ -22,10 +22,10 @@ export interface PutBucketLifecycleConfigurationCommandOutput extends __Metadata
22
22
  }
23
23
  declare const PutBucketLifecycleConfigurationCommand_base: {
24
24
  new (input: PutBucketLifecycleConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketLifecycleConfigurationCommandInput, PutBucketLifecycleConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutBucketLifecycleConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketLifecycleConfigurationCommandInput, PutBucketLifecycleConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <note>
30
30
  * <p>This operation is not supported by directory buckets.</p>
31
31
  * </note>
@@ -35,11 +35,8 @@ declare const PutBucketLifecycleConfigurationCommand_base: {
35
35
  * lifecycle configuration. For information about lifecycle configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html">Managing
36
36
  * your storage lifecycle</a>.</p>
37
37
  * <note>
38
- * <p>Bucket lifecycle configuration now supports specifying a lifecycle rule using an
39
- * object key name prefix, one or more object tags, or a combination of both. Accordingly,
40
- * this section describes the latest API. The previous version of the API supported
41
- * filtering based only on an object key name prefix, which is supported for backward
42
- * compatibility. For the related API description, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html">PutBucketLifecycle</a>.</p>
38
+ * <p>Bucket lifecycle configuration now supports specifying a lifecycle rule using an object key name prefix, one or more object tags, object size, or any combination of these. Accordingly, this section describes the latest API. The previous version of the API supported filtering based only on an object key name prefix, which is supported for backward compatibility.
39
+ * For the related API description, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html">PutBucketLifecycle</a>.</p>
43
40
  * </note>
44
41
  * <dl>
45
42
  * <dt>Rules</dt>
@@ -50,9 +47,7 @@ declare const PutBucketLifecycleConfigurationCommand_base: {
50
47
  * Each rule consists of the following:</p>
51
48
  * <ul>
52
49
  * <li>
53
- * <p>A filter identifying a subset of objects to which the rule applies. The
54
- * filter can be based on a key name prefix, object tags, or a combination of
55
- * both.</p>
50
+ * <p>A filter identifying a subset of objects to which the rule applies. The filter can be based on a key name prefix, object tags, object size, or any combination of these.</p>
56
51
  * </li>
57
52
  * <li>
58
53
  * <p>A status indicating whether the rule is in effect.</p>
@@ -204,6 +199,7 @@ declare const PutBucketLifecycleConfigurationCommand_base: {
204
199
  * @throws {@link S3ServiceException}
205
200
  * <p>Base exception class for all service exceptions from S3 service.</p>
206
201
  *
202
+ * @public
207
203
  * @example Put bucket lifecycle
208
204
  * ```javascript
209
205
  * // The following example replaces existing lifecycle configuration, if any, on the specified bucket.
@@ -22,10 +22,10 @@ export interface PutBucketLoggingCommandOutput extends __MetadataBearer {
22
22
  }
23
23
  declare const PutBucketLoggingCommand_base: {
24
24
  new (input: PutBucketLoggingCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketLoggingCommandInput, PutBucketLoggingCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutBucketLoggingCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketLoggingCommandInput, PutBucketLoggingCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <note>
30
30
  * <p>This operation is not supported by directory buckets.</p>
31
31
  * </note>
@@ -165,6 +165,7 @@ declare const PutBucketLoggingCommand_base: {
165
165
  * @throws {@link S3ServiceException}
166
166
  * <p>Base exception class for all service exceptions from S3 service.</p>
167
167
  *
168
+ * @public
168
169
  * @example Set logging configuration for a bucket
169
170
  * ```javascript
170
171
  * // The following example sets logging policy on a bucket. For the Log Delivery group to deliver logs to the destination bucket, it needs permission for the READ_ACP action which the policy grants.
@@ -22,10 +22,10 @@ export interface PutBucketMetricsConfigurationCommandOutput extends __MetadataBe
22
22
  }
23
23
  declare const PutBucketMetricsConfigurationCommand_base: {
24
24
  new (input: PutBucketMetricsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketMetricsConfigurationCommandInput, PutBucketMetricsConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutBucketMetricsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketMetricsConfigurationCommandInput, PutBucketMetricsConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <note>
30
30
  * <p>This operation is not supported by directory buckets.</p>
31
31
  * </note>
@@ -123,6 +123,7 @@ declare const PutBucketMetricsConfigurationCommand_base: {
123
123
  * @throws {@link S3ServiceException}
124
124
  * <p>Base exception class for all service exceptions from S3 service.</p>
125
125
  *
126
+ * @public
126
127
  */
127
128
  export declare class PutBucketMetricsConfigurationCommand extends PutBucketMetricsConfigurationCommand_base {
128
129
  }
@@ -22,10 +22,10 @@ export interface PutBucketNotificationConfigurationCommandOutput extends __Metad
22
22
  }
23
23
  declare const PutBucketNotificationConfigurationCommand_base: {
24
24
  new (input: PutBucketNotificationConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketNotificationConfigurationCommandInput, PutBucketNotificationConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutBucketNotificationConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketNotificationConfigurationCommandInput, PutBucketNotificationConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <note>
30
30
  * <p>This operation is not supported by directory buckets.</p>
31
31
  * </note>
@@ -167,6 +167,7 @@ declare const PutBucketNotificationConfigurationCommand_base: {
167
167
  * @throws {@link S3ServiceException}
168
168
  * <p>Base exception class for all service exceptions from S3 service.</p>
169
169
  *
170
+ * @public
170
171
  * @example Set notification configuration for a bucket
171
172
  * ```javascript
172
173
  * // The following example sets notification configuration on a bucket to publish the object created events to an SNS topic.
@@ -22,10 +22,10 @@ export interface PutBucketOwnershipControlsCommandOutput extends __MetadataBeare
22
22
  }
23
23
  declare const PutBucketOwnershipControlsCommand_base: {
24
24
  new (input: PutBucketOwnershipControlsCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketOwnershipControlsCommandInput, PutBucketOwnershipControlsCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutBucketOwnershipControlsCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketOwnershipControlsCommandInput, PutBucketOwnershipControlsCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <note>
30
30
  * <p>This operation is not supported by directory buckets.</p>
31
31
  * </note>
@@ -81,6 +81,7 @@ declare const PutBucketOwnershipControlsCommand_base: {
81
81
  * @throws {@link S3ServiceException}
82
82
  * <p>Base exception class for all service exceptions from S3 service.</p>
83
83
  *
84
+ * @public
84
85
  */
85
86
  export declare class PutBucketOwnershipControlsCommand extends PutBucketOwnershipControlsCommand_base {
86
87
  }
@@ -22,10 +22,10 @@ export interface PutBucketPolicyCommandOutput extends __MetadataBearer {
22
22
  }
23
23
  declare const PutBucketPolicyCommand_base: {
24
24
  new (input: PutBucketPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketPolicyCommandInput, PutBucketPolicyCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutBucketPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketPolicyCommandInput, PutBucketPolicyCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Applies an Amazon S3 bucket policy to an Amazon S3 bucket.</p>
30
30
  * <note>
31
31
  * <p>
@@ -122,6 +122,7 @@ declare const PutBucketPolicyCommand_base: {
122
122
  * @throws {@link S3ServiceException}
123
123
  * <p>Base exception class for all service exceptions from S3 service.</p>
124
124
  *
125
+ * @public
125
126
  * @example Set bucket policy
126
127
  * ```javascript
127
128
  * // The following example sets a permission policy on a bucket.
@@ -22,10 +22,10 @@ export interface PutBucketReplicationCommandOutput extends __MetadataBearer {
22
22
  }
23
23
  declare const PutBucketReplicationCommand_base: {
24
24
  new (input: PutBucketReplicationCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketReplicationCommandInput, PutBucketReplicationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutBucketReplicationCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketReplicationCommandInput, PutBucketReplicationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <note>
30
30
  * <p>This operation is not supported by directory buckets.</p>
31
31
  * </note>
@@ -192,6 +192,7 @@ declare const PutBucketReplicationCommand_base: {
192
192
  * @throws {@link S3ServiceException}
193
193
  * <p>Base exception class for all service exceptions from S3 service.</p>
194
194
  *
195
+ * @public
195
196
  * @example Set replication configuration on a bucket
196
197
  * ```javascript
197
198
  * // The following example sets replication configuration on a bucket.
@@ -22,10 +22,10 @@ export interface PutBucketRequestPaymentCommandOutput extends __MetadataBearer {
22
22
  }
23
23
  declare const PutBucketRequestPaymentCommand_base: {
24
24
  new (input: PutBucketRequestPaymentCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketRequestPaymentCommandInput, PutBucketRequestPaymentCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutBucketRequestPaymentCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketRequestPaymentCommandInput, PutBucketRequestPaymentCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <note>
30
30
  * <p>This operation is not supported by directory buckets.</p>
31
31
  * </note>
@@ -77,6 +77,7 @@ declare const PutBucketRequestPaymentCommand_base: {
77
77
  * @throws {@link S3ServiceException}
78
78
  * <p>Base exception class for all service exceptions from S3 service.</p>
79
79
  *
80
+ * @public
80
81
  * @example Set request payment configuration on a bucket.
81
82
  * ```javascript
82
83
  * // The following example sets request payment configuration on a bucket so that person requesting the download is charged.
@@ -22,10 +22,10 @@ export interface PutBucketTaggingCommandOutput extends __MetadataBearer {
22
22
  }
23
23
  declare const PutBucketTaggingCommand_base: {
24
24
  new (input: PutBucketTaggingCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketTaggingCommandInput, PutBucketTaggingCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutBucketTaggingCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketTaggingCommandInput, PutBucketTaggingCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <note>
30
30
  * <p>This operation is not supported by directory buckets.</p>
31
31
  * </note>
@@ -122,6 +122,7 @@ declare const PutBucketTaggingCommand_base: {
122
122
  * @throws {@link S3ServiceException}
123
123
  * <p>Base exception class for all service exceptions from S3 service.</p>
124
124
  *
125
+ * @public
125
126
  * @example Set tags on a bucket
126
127
  * ```javascript
127
128
  * // The following example sets tags on a bucket. Any existing tags are replaced.
@@ -22,10 +22,10 @@ export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
22
22
  }
23
23
  declare const PutBucketVersioningCommand_base: {
24
24
  new (input: PutBucketVersioningCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketVersioningCommandInput, PutBucketVersioningCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutBucketVersioningCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketVersioningCommandInput, PutBucketVersioningCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <note>
30
30
  * <p>This operation is not supported by directory buckets.</p>
31
31
  * </note>
@@ -102,6 +102,7 @@ declare const PutBucketVersioningCommand_base: {
102
102
  * @throws {@link S3ServiceException}
103
103
  * <p>Base exception class for all service exceptions from S3 service.</p>
104
104
  *
105
+ * @public
105
106
  * @example Set versioning configuration on a bucket
106
107
  * ```javascript
107
108
  * // The following example sets versioning configuration on bucket. The configuration enables versioning on the bucket.
@@ -22,10 +22,10 @@ export interface PutBucketWebsiteCommandOutput extends __MetadataBearer {
22
22
  }
23
23
  declare const PutBucketWebsiteCommand_base: {
24
24
  new (input: PutBucketWebsiteCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketWebsiteCommandInput, PutBucketWebsiteCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutBucketWebsiteCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketWebsiteCommandInput, PutBucketWebsiteCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <note>
30
30
  * <p>This operation is not supported by directory buckets.</p>
31
31
  * </note>
@@ -206,6 +206,7 @@ declare const PutBucketWebsiteCommand_base: {
206
206
  * @throws {@link S3ServiceException}
207
207
  * <p>Base exception class for all service exceptions from S3 service.</p>
208
208
  *
209
+ * @public
209
210
  * @example Set website configuration on a bucket
210
211
  * ```javascript
211
212
  * // The following example adds website configuration to a bucket.
@@ -22,10 +22,10 @@ export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __Metadat
22
22
  }
23
23
  declare const PutObjectAclCommand_base: {
24
24
  new (input: PutObjectAclCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectAclCommandInput, PutObjectAclCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutObjectAclCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectAclCommandInput, PutObjectAclCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <note>
30
30
  * <p>This operation is not supported by directory buckets.</p>
31
31
  * </note>
@@ -274,6 +274,7 @@ declare const PutObjectAclCommand_base: {
274
274
  * @throws {@link S3ServiceException}
275
275
  * <p>Base exception class for all service exceptions from S3 service.</p>
276
276
  *
277
+ * @public
277
278
  * @example To grant permissions using object ACL
278
279
  * ```javascript
279
280
  * // The following example adds grants to an object ACL. The first permission grants user1 and user2 FULL_CONTROL and the AllUsers group READ permission.
@@ -23,10 +23,10 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
23
23
  }
24
24
  declare const PutObjectCommand_base: {
25
25
  new (input: PutObjectCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectCommandInput, PutObjectCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: PutObjectCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectCommandInput, PutObjectCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
28
  };
28
29
  /**
29
- * @public
30
30
  * <p>Adds an object to a bucket.</p>
31
31
  * <note>
32
32
  * <ul>
@@ -232,6 +232,7 @@ declare const PutObjectCommand_base: {
232
232
  * @throws {@link S3ServiceException}
233
233
  * <p>Base exception class for all service exceptions from S3 service.</p>
234
234
  *
235
+ * @public
235
236
  * @example To upload an object and specify server-side encryption and object tags
236
237
  * ```javascript
237
238
  * // The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
@@ -254,127 +255,127 @@ declare const PutObjectCommand_base: {
254
255
  * // example id: to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831
255
256
  * ```
256
257
  *
257
- * @example To create an object.
258
+ * @example To upload object and specify user-defined metadata
258
259
  * ```javascript
259
- * // The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
260
+ * // The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.
260
261
  * const input = {
261
262
  * "Body": "filetoupload",
262
263
  * "Bucket": "examplebucket",
263
- * "Key": "objectkey"
264
+ * "Key": "exampleobject",
265
+ * "Metadata": {
266
+ * "metadata1": "value1",
267
+ * "metadata2": "value2"
268
+ * }
264
269
  * };
265
270
  * const command = new PutObjectCommand(input);
266
271
  * const response = await client.send(command);
267
272
  * /* response ==
268
273
  * {
269
274
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
270
- * "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
275
+ * "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
271
276
  * }
272
277
  * *\/
273
- * // example id: to-create-an-object-1483147613675
278
+ * // example id: to-upload-object-and-specify-user-defined-metadata-1483396974757
274
279
  * ```
275
280
  *
276
- * @example To upload an object (specify optional headers)
281
+ * @example To upload an object and specify canned ACL.
277
282
  * ```javascript
278
- * // The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.
283
+ * // The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
279
284
  * const input = {
280
- * "Body": "HappyFace.jpg",
285
+ * "ACL": "authenticated-read",
286
+ * "Body": "filetoupload",
281
287
  * "Bucket": "examplebucket",
282
- * "Key": "HappyFace.jpg",
283
- * "ServerSideEncryption": "AES256",
284
- * "StorageClass": "STANDARD_IA"
288
+ * "Key": "exampleobject"
285
289
  * };
286
290
  * const command = new PutObjectCommand(input);
287
291
  * const response = await client.send(command);
288
292
  * /* response ==
289
293
  * {
290
294
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
291
- * "ServerSideEncryption": "AES256",
292
- * "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
295
+ * "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
293
296
  * }
294
297
  * *\/
295
- * // example id: to-upload-an-object-(specify-optional-headers)
298
+ * // example id: to-upload-an-object-and-specify-canned-acl-1483397779571
296
299
  * ```
297
300
  *
298
- * @example To upload an object and specify optional tags
301
+ * @example To upload an object
299
302
  * ```javascript
300
- * // The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.
303
+ * // The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.
301
304
  * const input = {
302
- * "Body": "c:\\HappyFace.jpg",
305
+ * "Body": "HappyFace.jpg",
303
306
  * "Bucket": "examplebucket",
304
- * "Key": "HappyFace.jpg",
305
- * "Tagging": "key1=value1&key2=value2"
307
+ * "Key": "HappyFace.jpg"
306
308
  * };
307
309
  * const command = new PutObjectCommand(input);
308
310
  * const response = await client.send(command);
309
311
  * /* response ==
310
312
  * {
311
313
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
312
- * "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
314
+ * "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
313
315
  * }
314
316
  * *\/
315
- * // example id: to-upload-an-object-and-specify-optional-tags-1481762310955
317
+ * // example id: to-upload-an-object-1481760101010
316
318
  * ```
317
319
  *
318
- * @example To upload object and specify user-defined metadata
320
+ * @example To create an object.
319
321
  * ```javascript
320
- * // The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.
322
+ * // The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
321
323
  * const input = {
322
324
  * "Body": "filetoupload",
323
325
  * "Bucket": "examplebucket",
324
- * "Key": "exampleobject",
325
- * "Metadata": {
326
- * "metadata1": "value1",
327
- * "metadata2": "value2"
328
- * }
326
+ * "Key": "objectkey"
329
327
  * };
330
328
  * const command = new PutObjectCommand(input);
331
329
  * const response = await client.send(command);
332
330
  * /* response ==
333
331
  * {
334
332
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
335
- * "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
333
+ * "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
336
334
  * }
337
335
  * *\/
338
- * // example id: to-upload-object-and-specify-user-defined-metadata-1483396974757
336
+ * // example id: to-create-an-object-1483147613675
339
337
  * ```
340
338
  *
341
- * @example To upload an object and specify canned ACL.
339
+ * @example To upload an object (specify optional headers)
342
340
  * ```javascript
343
- * // The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
341
+ * // The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.
344
342
  * const input = {
345
- * "ACL": "authenticated-read",
346
- * "Body": "filetoupload",
343
+ * "Body": "HappyFace.jpg",
347
344
  * "Bucket": "examplebucket",
348
- * "Key": "exampleobject"
345
+ * "Key": "HappyFace.jpg",
346
+ * "ServerSideEncryption": "AES256",
347
+ * "StorageClass": "STANDARD_IA"
349
348
  * };
350
349
  * const command = new PutObjectCommand(input);
351
350
  * const response = await client.send(command);
352
351
  * /* response ==
353
352
  * {
354
353
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
355
- * "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
354
+ * "ServerSideEncryption": "AES256",
355
+ * "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
356
356
  * }
357
357
  * *\/
358
- * // example id: to-upload-an-object-and-specify-canned-acl-1483397779571
358
+ * // example id: to-upload-an-object-(specify-optional-headers)
359
359
  * ```
360
360
  *
361
- * @example To upload an object
361
+ * @example To upload an object and specify optional tags
362
362
  * ```javascript
363
- * // The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.
363
+ * // The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.
364
364
  * const input = {
365
- * "Body": "HappyFace.jpg",
365
+ * "Body": "c:\\HappyFace.jpg",
366
366
  * "Bucket": "examplebucket",
367
- * "Key": "HappyFace.jpg"
367
+ * "Key": "HappyFace.jpg",
368
+ * "Tagging": "key1=value1&key2=value2"
368
369
  * };
369
370
  * const command = new PutObjectCommand(input);
370
371
  * const response = await client.send(command);
371
372
  * /* response ==
372
373
  * {
373
374
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
374
- * "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
375
+ * "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
375
376
  * }
376
377
  * *\/
377
- * // example id: to-upload-an-object-1481760101010
378
+ * // example id: to-upload-an-object-and-specify-optional-tags-1481762310955
378
379
  * ```
379
380
  *
380
381
  */
@@ -22,10 +22,10 @@ export interface PutObjectLegalHoldCommandOutput extends PutObjectLegalHoldOutpu
22
22
  }
23
23
  declare const PutObjectLegalHoldCommand_base: {
24
24
  new (input: PutObjectLegalHoldCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectLegalHoldCommandInput, PutObjectLegalHoldCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutObjectLegalHoldCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectLegalHoldCommandInput, PutObjectLegalHoldCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <note>
30
30
  * <p>This operation is not supported by directory buckets.</p>
31
31
  * </note>
@@ -68,6 +68,7 @@ declare const PutObjectLegalHoldCommand_base: {
68
68
  * @throws {@link S3ServiceException}
69
69
  * <p>Base exception class for all service exceptions from S3 service.</p>
70
70
  *
71
+ * @public
71
72
  */
72
73
  export declare class PutObjectLegalHoldCommand extends PutObjectLegalHoldCommand_base {
73
74
  }
@@ -22,10 +22,10 @@ export interface PutObjectLockConfigurationCommandOutput extends PutObjectLockCo
22
22
  }
23
23
  declare const PutObjectLockConfigurationCommand_base: {
24
24
  new (input: PutObjectLockConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectLockConfigurationCommandInput, PutObjectLockConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutObjectLockConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectLockConfigurationCommandInput, PutObjectLockConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <note>
30
30
  * <p>This operation is not supported by directory buckets.</p>
31
31
  * </note>
@@ -91,6 +91,7 @@ declare const PutObjectLockConfigurationCommand_base: {
91
91
  * @throws {@link S3ServiceException}
92
92
  * <p>Base exception class for all service exceptions from S3 service.</p>
93
93
  *
94
+ * @public
94
95
  */
95
96
  export declare class PutObjectLockConfigurationCommand extends PutObjectLockConfigurationCommand_base {
96
97
  }
@@ -22,10 +22,10 @@ export interface PutObjectRetentionCommandOutput extends PutObjectRetentionOutpu
22
22
  }
23
23
  declare const PutObjectRetentionCommand_base: {
24
24
  new (input: PutObjectRetentionCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectRetentionCommandInput, PutObjectRetentionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutObjectRetentionCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectRetentionCommandInput, PutObjectRetentionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <note>
30
30
  * <p>This operation is not supported by directory buckets.</p>
31
31
  * </note>
@@ -71,6 +71,7 @@ declare const PutObjectRetentionCommand_base: {
71
71
  * @throws {@link S3ServiceException}
72
72
  * <p>Base exception class for all service exceptions from S3 service.</p>
73
73
  *
74
+ * @public
74
75
  */
75
76
  export declare class PutObjectRetentionCommand extends PutObjectRetentionCommand_base {
76
77
  }
@@ -22,10 +22,10 @@ export interface PutObjectTaggingCommandOutput extends PutObjectTaggingOutput, _
22
22
  }
23
23
  declare const PutObjectTaggingCommand_base: {
24
24
  new (input: PutObjectTaggingCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectTaggingCommandInput, PutObjectTaggingCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutObjectTaggingCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectTaggingCommandInput, PutObjectTaggingCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <note>
30
30
  * <p>This operation is not supported by directory buckets.</p>
31
31
  * </note>
@@ -122,6 +122,7 @@ declare const PutObjectTaggingCommand_base: {
122
122
  * @throws {@link S3ServiceException}
123
123
  * <p>Base exception class for all service exceptions from S3 service.</p>
124
124
  *
125
+ * @public
125
126
  * @example To add tags to an existing object
126
127
  * ```javascript
127
128
  * // The following example adds tags to an existing object.
@@ -22,10 +22,10 @@ export interface PutPublicAccessBlockCommandOutput extends __MetadataBearer {
22
22
  }
23
23
  declare const PutPublicAccessBlockCommand_base: {
24
24
  new (input: PutPublicAccessBlockCommandInput): import("@smithy/smithy-client").CommandImpl<PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutPublicAccessBlockCommandInput): import("@smithy/smithy-client").CommandImpl<PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <note>
30
30
  * <p>This operation is not supported by directory buckets.</p>
31
31
  * </note>
@@ -99,6 +99,7 @@ declare const PutPublicAccessBlockCommand_base: {
99
99
  * @throws {@link S3ServiceException}
100
100
  * <p>Base exception class for all service exceptions from S3 service.</p>
101
101
  *
102
+ * @public
102
103
  */
103
104
  export declare class PutPublicAccessBlockCommand extends PutPublicAccessBlockCommand_base {
104
105
  }