@aws-sdk/client-s3-control 3.171.0 → 3.178.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 (52) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/S3Control.js +30 -0
  3. package/dist-cjs/commands/GetBucketVersioningCommand.js +38 -0
  4. package/dist-cjs/commands/PutBucketVersioningCommand.js +40 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +79 -5
  7. package/dist-cjs/protocols/Aws_restXml.js +143 -3
  8. package/dist-es/S3Control.js +30 -0
  9. package/dist-es/commands/GetBucketVersioningCommand.js +41 -0
  10. package/dist-es/commands/PutBucketVersioningCommand.js +43 -0
  11. package/dist-es/commands/index.js +2 -0
  12. package/dist-es/models/models_0.js +62 -0
  13. package/dist-es/protocols/Aws_restXml.js +187 -0
  14. package/dist-types/S3Control.d.ts +116 -18
  15. package/dist-types/S3ControlClient.d.ts +4 -2
  16. package/dist-types/commands/CreateAccessPointCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteAccessPointCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteAccessPointPolicyCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteBucketCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -1
  23. package/dist-types/commands/GetAccessPointCommand.d.ts +1 -1
  24. package/dist-types/commands/GetBucketCommand.d.ts +1 -1
  25. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +1 -1
  26. package/dist-types/commands/GetBucketPolicyCommand.d.ts +1 -1
  27. package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -1
  28. package/dist-types/commands/GetBucketVersioningCommand.d.ts +66 -0
  29. package/dist-types/commands/ListAccessPointsCommand.d.ts +1 -1
  30. package/dist-types/commands/PutAccessPointPolicyCommand.d.ts +1 -1
  31. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
  32. package/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -1
  33. package/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -1
  34. package/dist-types/commands/PutBucketVersioningCommand.d.ts +88 -0
  35. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  36. package/dist-types/commands/index.d.ts +2 -0
  37. package/dist-types/models/models_0.d.ts +127 -12
  38. package/dist-types/protocols/Aws_restXml.d.ts +6 -0
  39. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  40. package/dist-types/runtimeConfig.d.ts +1 -1
  41. package/dist-types/runtimeConfig.native.d.ts +1 -1
  42. package/dist-types/ts3.4/S3Control.d.ts +34 -0
  43. package/dist-types/ts3.4/S3ControlClient.d.ts +12 -0
  44. package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +36 -0
  45. package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +31 -0
  46. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  47. package/dist-types/ts3.4/models/models_0.d.ts +79 -26
  48. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +24 -0
  49. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
  50. package/dist-types/ts3.4/runtimeConfig.d.ts +3 -1
  51. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
  52. package/package.json +31 -31
@@ -0,0 +1,66 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetBucketVersioningRequest, GetBucketVersioningResult } from "../models/models_0";
4
+ import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
5
+ export interface GetBucketVersioningCommandInput extends GetBucketVersioningRequest {
6
+ }
7
+ export interface GetBucketVersioningCommandOutput extends GetBucketVersioningResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <note>
11
+ * <p>This operation returns the versioning state only for S3 on Outposts buckets. To return the versioning
12
+ * state for an S3 bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html">GetBucketVersioning</a> in
13
+ * the <i>Amazon S3 API Reference</i>. </p>
14
+ * </note>
15
+ * <p>Returns the versioning state for an S3 on Outposts bucket. With versioning, you can save multiple
16
+ * distinct copies of your data and recover from unintended user actions and
17
+ * application failures.</p>
18
+ * <p>If you've never set versioning on your bucket, it has no versioning state. In that case,
19
+ * the <code>GetBucketVersioning</code> request does not return a versioning state
20
+ * value.</p>
21
+ * <p>For more information about versioning, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html">Versioning</a> in the <i>Amazon S3
22
+ * User Guide</i>.</p>
23
+ * <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketVersioning.html#API_control_GetBucketVersioning_Examples">Examples</a> section.</p>
24
+ * <p>The following operations are related to <code>GetBucketVersioning</code> for S3 on Outposts.</p>
25
+ * <ul>
26
+ * <li>
27
+ * <p>
28
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketVersioning.html">PutBucketVersioning</a>
29
+ * </p>
30
+ * </li>
31
+ * <li>
32
+ * <p>
33
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a>
34
+ * </p>
35
+ * </li>
36
+ * <li>
37
+ * <p>
38
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html">GetBucketLifecycleConfiguration</a>
39
+ * </p>
40
+ * </li>
41
+ * </ul>
42
+ * @example
43
+ * Use a bare-bones client and the command you need to make an API call.
44
+ * ```javascript
45
+ * import { S3ControlClient, GetBucketVersioningCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
46
+ * // const { S3ControlClient, GetBucketVersioningCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
47
+ * const client = new S3ControlClient(config);
48
+ * const command = new GetBucketVersioningCommand(input);
49
+ * const response = await client.send(command);
50
+ * ```
51
+ *
52
+ * @see {@link GetBucketVersioningCommandInput} for command's `input` shape.
53
+ * @see {@link GetBucketVersioningCommandOutput} for command's `response` shape.
54
+ * @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
55
+ *
56
+ */
57
+ export declare class GetBucketVersioningCommand extends $Command<GetBucketVersioningCommandInput, GetBucketVersioningCommandOutput, S3ControlClientResolvedConfig> {
58
+ readonly input: GetBucketVersioningCommandInput;
59
+ constructor(input: GetBucketVersioningCommandInput);
60
+ /**
61
+ * @internal
62
+ */
63
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetBucketVersioningCommandInput, GetBucketVersioningCommandOutput>;
64
+ private serialize;
65
+ private deserialize;
66
+ }
@@ -12,7 +12,7 @@ export interface ListAccessPointsCommandOutput extends ListAccessPointsResult, _
12
12
  * the number specified in <code>maxResults</code>, whichever is less), the response will
13
13
  * include a continuation token that you can use to list the additional access points.</p>
14
14
  * <p></p>
15
- * <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request and an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html#API_control_GetAccessPoint_Examples">Examples</a> section.</p>
15
+ * <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html#API_control_GetAccessPoint_Examples">Examples</a> section.</p>
16
16
  * <p>The following actions are related to <code>ListAccessPoints</code>:</p>
17
17
  * <ul>
18
18
  * <li>
@@ -11,7 +11,7 @@ export interface PutAccessPointPolicyCommandOutput extends __MetadataBearer {
11
11
  * so a request made to this API replaces any existing policy associated with the specified
12
12
  * access point.</p>
13
13
  * <p></p>
14
- * <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request and an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicy.html#API_control_PutAccessPointPolicy_Examples">Examples</a> section.</p>
14
+ * <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicy.html#API_control_PutAccessPointPolicy_Examples">Examples</a> section.</p>
15
15
  * <p>The following actions are related to <code>PutAccessPointPolicy</code>:</p>
16
16
  * <ul>
17
17
  * <li>
@@ -17,7 +17,7 @@ export interface PutBucketLifecycleConfigurationCommandOutput extends __Metadata
17
17
  * that delete/expire objects after a certain period of time and abort incomplete multipart
18
18
  * uploads.</p>
19
19
  * <p></p>
20
- * <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request and an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html#API_control_PutBucketLifecycleConfiguration_Examples">Examples</a> section.</p>
20
+ * <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html#API_control_PutBucketLifecycleConfiguration_Examples">Examples</a> section.</p>
21
21
  * <p>The following actions are related to
22
22
  * <code>PutBucketLifecycleConfiguration</code>:</p>
23
23
  * <ul>
@@ -34,7 +34,7 @@ export interface PutBucketPolicyCommandOutput extends __MetadataBearer {
34
34
  * <p>For more information about bucket policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html">Using Bucket Policies and User
35
35
  * Policies</a>.</p>
36
36
  *
37
- * <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request and an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html#API_control_PutBucketPolicy_Examples">Examples</a> section.</p>
37
+ * <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html#API_control_PutBucketPolicy_Examples">Examples</a> section.</p>
38
38
  *
39
39
  * <p>The following actions are related to <code>PutBucketPolicy</code>:</p>
40
40
  * <ul>
@@ -78,7 +78,7 @@ export interface PutBucketTaggingCommandOutput extends __MetadataBearer {
78
78
  * </ul>
79
79
  * </li>
80
80
  * </ul>
81
- * <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request and an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html#API_control_PutBucketTagging_Examples">Examples</a> section.</p>
81
+ * <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html#API_control_PutBucketTagging_Examples">Examples</a> section.</p>
82
82
  *
83
83
  * <p>The following actions are related to <code>PutBucketTagging</code>:</p>
84
84
  * <ul>
@@ -0,0 +1,88 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { PutBucketVersioningRequest } from "../models/models_0";
4
+ import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
5
+ export interface PutBucketVersioningCommandInput extends PutBucketVersioningRequest {
6
+ }
7
+ export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
8
+ }
9
+ /**
10
+ * <note>
11
+ * <p>This operation sets the versioning state only for S3 on Outposts buckets. To set the
12
+ * versioning state for an S3 bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketVersioning.html">PutBucketVersioning</a> in
13
+ * the <i>Amazon S3 API Reference</i>. </p>
14
+ * </note>
15
+ * <p>Sets the versioning state for an S3 on Outposts bucket. With versioning, you can save multiple
16
+ * distinct copies of your data and recover from unintended user actions and
17
+ * application failures.</p>
18
+ * <p>You can set the versioning state to one of the following:</p>
19
+ * <ul>
20
+ * <li>
21
+ * <p>
22
+ * <b>Enabled</b> - Enables versioning for the objects in the bucket.
23
+ * All objects added to the bucket receive a unique version ID.</p>
24
+ * </li>
25
+ * <li>
26
+ * <p>
27
+ * <b>Suspended</b> - Suspends versioning for the objects
28
+ * in the bucket. All objects added to the bucket receive the version ID
29
+ * <code>null</code>.</p>
30
+ * </li>
31
+ * </ul>
32
+ * <p>If you've never set versioning on your bucket, it has no versioning state. In that
33
+ * case, a <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketVersioning.html">
34
+ * GetBucketVersioning</a> request does not return a versioning state value.</p>
35
+ * <p>When you enable S3 Versioning, for each object in your bucket, you have a current
36
+ * version and zero or more noncurrent versions. You can configure your bucket S3 Lifecycle
37
+ * rules to expire noncurrent versions after a specified time period. For more information,
38
+ * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsLifecycleManaging.html"> Creating and managing
39
+ * a lifecycle configuration for your S3 on Outposts bucket</a> in the <i>Amazon S3
40
+ * User Guide</i>.</p>
41
+ * <p>If you have an object expiration lifecycle policy in your non-versioned bucket and you want to maintain the same
42
+ * permanent delete behavior when you enable versioning, you must add a noncurrent expiration policy.
43
+ * The noncurrent expiration lifecycle policy will manage the deletes of the noncurrent object versions
44
+ * in the version-enabled bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html">Versioning</a> in the <i>Amazon S3 User Guide</i>.</p>
45
+ * <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketVersioning.html#API_control_PutBucketVersioning_Examples">Examples</a> section.</p>
46
+ * <p>The following operations are related to <code>PutBucketVersioning</code> for S3 on Outposts.</p>
47
+ * <ul>
48
+ * <li>
49
+ * <p>
50
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketVersioning.html">GetBucketVersioning</a>
51
+ * </p>
52
+ * </li>
53
+ * <li>
54
+ * <p>
55
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a>
56
+ * </p>
57
+ * </li>
58
+ * <li>
59
+ * <p>
60
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html">GetBucketLifecycleConfiguration</a>
61
+ * </p>
62
+ * </li>
63
+ * </ul>
64
+ * @example
65
+ * Use a bare-bones client and the command you need to make an API call.
66
+ * ```javascript
67
+ * import { S3ControlClient, PutBucketVersioningCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
68
+ * // const { S3ControlClient, PutBucketVersioningCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
69
+ * const client = new S3ControlClient(config);
70
+ * const command = new PutBucketVersioningCommand(input);
71
+ * const response = await client.send(command);
72
+ * ```
73
+ *
74
+ * @see {@link PutBucketVersioningCommandInput} for command's `input` shape.
75
+ * @see {@link PutBucketVersioningCommandOutput} for command's `response` shape.
76
+ * @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
77
+ *
78
+ */
79
+ export declare class PutBucketVersioningCommand extends $Command<PutBucketVersioningCommandInput, PutBucketVersioningCommandOutput, S3ControlClientResolvedConfig> {
80
+ readonly input: PutBucketVersioningCommandInput;
81
+ constructor(input: PutBucketVersioningCommandInput);
82
+ /**
83
+ * @internal
84
+ */
85
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutBucketVersioningCommandInput, PutBucketVersioningCommandOutput>;
86
+ private serialize;
87
+ private deserialize;
88
+ }
@@ -9,7 +9,7 @@ export interface PutPublicAccessBlockCommandOutput extends __MetadataBearer {
9
9
  /**
10
10
  * <p>Creates or modifies the <code>PublicAccessBlock</code> configuration for an
11
11
  * Amazon Web Services account. For this operation, users must have the
12
- * <code>s3:PutBucketPublicAccessBlock</code> permission. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html">
12
+ * <code>s3:PutAccountPublicAccessBlock</code> permission. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html">
13
13
  * Using Amazon S3 block public access</a>.</p>
14
14
  * <p>Related actions include:</p>
15
15
  * <ul>
@@ -29,6 +29,7 @@ export * from "./GetBucketCommand";
29
29
  export * from "./GetBucketLifecycleConfigurationCommand";
30
30
  export * from "./GetBucketPolicyCommand";
31
31
  export * from "./GetBucketTaggingCommand";
32
+ export * from "./GetBucketVersioningCommand";
32
33
  export * from "./GetJobTaggingCommand";
33
34
  export * from "./GetMultiRegionAccessPointCommand";
34
35
  export * from "./GetMultiRegionAccessPointPolicyCommand";
@@ -48,6 +49,7 @@ export * from "./PutAccessPointPolicyForObjectLambdaCommand";
48
49
  export * from "./PutBucketLifecycleConfigurationCommand";
49
50
  export * from "./PutBucketPolicyCommand";
50
51
  export * from "./PutBucketTaggingCommand";
52
+ export * from "./PutBucketVersioningCommand";
51
53
  export * from "./PutJobTaggingCommand";
52
54
  export * from "./PutMultiRegionAccessPointPolicyCommand";
53
55
  export * from "./PutPublicAccessBlockCommand";
@@ -148,7 +148,7 @@ export interface AsyncErrorDetails {
148
148
  */
149
149
  Code?: string;
150
150
  /**
151
- * <p>A generic descritpion of the error condition in English.</p>
151
+ * <p>A generic description of the error condition in English.</p>
152
152
  */
153
153
  Message?: string;
154
154
  /**
@@ -521,8 +521,25 @@ export declare class BucketAlreadyOwnedByYou extends __BaseException {
521
521
  */
522
522
  constructor(opts: __ExceptionOptionType<BucketAlreadyOwnedByYou, __BaseException>);
523
523
  }
524
- export declare type BucketCannedACL = "authenticated-read" | "private" | "public-read" | "public-read-write";
525
- export declare type BucketLocationConstraint = "EU" | "ap-northeast-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "cn-north-1" | "eu-central-1" | "eu-west-1" | "sa-east-1" | "us-west-1" | "us-west-2";
524
+ export declare enum BucketCannedACL {
525
+ authenticated_read = "authenticated-read",
526
+ private = "private",
527
+ public_read = "public-read",
528
+ public_read_write = "public-read-write"
529
+ }
530
+ export declare enum BucketLocationConstraint {
531
+ EU = "EU",
532
+ ap_northeast_1 = "ap-northeast-1",
533
+ ap_south_1 = "ap-south-1",
534
+ ap_southeast_1 = "ap-southeast-1",
535
+ ap_southeast_2 = "ap-southeast-2",
536
+ cn_north_1 = "cn-north-1",
537
+ eu_central_1 = "eu-central-1",
538
+ eu_west_1 = "eu-west-1",
539
+ sa_east_1 = "sa-east-1",
540
+ us_west_1 = "us-west-1",
541
+ us_west_2 = "us-west-2"
542
+ }
526
543
  /**
527
544
  * <p>The container for the bucket configuration.</p>
528
545
  * <note>
@@ -604,7 +621,7 @@ export interface CreateBucketRequest {
604
621
  /**
605
622
  * <p>The ID of the Outposts where the bucket is being created.</p>
606
623
  * <note>
607
- * <p>This is required by Amazon S3 on Outposts buckets.</p>
624
+ * <p>This ID is required by Amazon S3 on Outposts buckets.</p>
608
625
  * </note>
609
626
  */
610
627
  OutpostId?: string;
@@ -730,7 +747,7 @@ export interface JobManifestGeneratorFilter {
730
747
  */
731
748
  export interface SSEKMSEncryption {
732
749
  /**
733
- * <p>Specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric customer managed
750
+ * <p>Specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric encryption customer managed
734
751
  * key to use for encrypting generated manifest objects.</p>
735
752
  */
736
753
  KeyId: string | undefined;
@@ -2123,7 +2140,13 @@ export interface NoncurrentVersionExpiration {
2123
2140
  */
2124
2141
  NoncurrentDays?: number;
2125
2142
  }
2126
- export declare type TransitionStorageClass = "DEEP_ARCHIVE" | "GLACIER" | "INTELLIGENT_TIERING" | "ONEZONE_IA" | "STANDARD_IA";
2143
+ export declare enum TransitionStorageClass {
2144
+ DEEP_ARCHIVE = "DEEP_ARCHIVE",
2145
+ GLACIER = "GLACIER",
2146
+ INTELLIGENT_TIERING = "INTELLIGENT_TIERING",
2147
+ ONEZONE_IA = "ONEZONE_IA",
2148
+ STANDARD_IA = "STANDARD_IA"
2149
+ }
2127
2150
  /**
2128
2151
  * <p>The container for the noncurrent version transition.</p>
2129
2152
  */
@@ -2140,7 +2163,10 @@ export interface NoncurrentVersionTransition {
2140
2163
  */
2141
2164
  StorageClass?: TransitionStorageClass | string;
2142
2165
  }
2143
- export declare type ExpirationStatus = "Disabled" | "Enabled";
2166
+ export declare enum ExpirationStatus {
2167
+ Disabled = "Disabled",
2168
+ Enabled = "Enabled"
2169
+ }
2144
2170
  /**
2145
2171
  * <p>Specifies when an object transitions to a specified storage class. For more information
2146
2172
  * about Amazon S3 Lifecycle configuration rules, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html">
@@ -2260,6 +2286,36 @@ export interface GetBucketTaggingResult {
2260
2286
  */
2261
2287
  TagSet: S3Tag[] | undefined;
2262
2288
  }
2289
+ export interface GetBucketVersioningRequest {
2290
+ /**
2291
+ * <p>The Amazon Web Services account ID of the S3 on Outposts bucket.</p>
2292
+ */
2293
+ AccountId?: string;
2294
+ /**
2295
+ * <p>The S3 on Outposts bucket to return the versioning state for.</p>
2296
+ */
2297
+ Bucket: string | undefined;
2298
+ }
2299
+ export declare enum MFADeleteStatus {
2300
+ Disabled = "Disabled",
2301
+ Enabled = "Enabled"
2302
+ }
2303
+ export declare enum BucketVersioningStatus {
2304
+ Enabled = "Enabled",
2305
+ Suspended = "Suspended"
2306
+ }
2307
+ export interface GetBucketVersioningResult {
2308
+ /**
2309
+ * <p>The versioning state of the S3 on Outposts bucket.</p>
2310
+ */
2311
+ Status?: BucketVersioningStatus | string;
2312
+ /**
2313
+ * <p>Specifies whether MFA delete is enabled in the bucket versioning configuration. This
2314
+ * element is returned only if the bucket has been configured with MFA delete. If MFA delete
2315
+ * has never been configured for the bucket, this element is not returned.</p>
2316
+ */
2317
+ MFADelete?: MFADeleteStatus | string;
2318
+ }
2263
2319
  export interface GetJobTaggingRequest {
2264
2320
  /**
2265
2321
  * <p>The Amazon Web Services account ID associated with the S3 Batch Operations job.</p>
@@ -2338,7 +2394,7 @@ export interface MultiRegionAccessPointReport {
2338
2394
  * <p>The current status of the Multi-Region Access Point.</p>
2339
2395
  * <p>
2340
2396
  * <code>CREATING</code> and <code>DELETING</code> are temporary states that exist while
2341
- * the request is propogating and being completed. If a Multi-Region Access Point has a status of
2397
+ * the request is propagating and being completed. If a Multi-Region Access Point has a status of
2342
2398
  * <code>PARTIALLY_CREATED</code>, you can retry creation or send a request to delete the
2343
2399
  * Multi-Region Access Point. If a Multi-Region Access Point has a status of <code>PARTIALLY_DELETED</code>, you can retry a delete
2344
2400
  * request to finish the deletion of the Multi-Region Access Point.</p>
@@ -2530,8 +2586,13 @@ export interface StorageLensDataExportEncryption {
2530
2586
  */
2531
2587
  SSEKMS?: SSEKMS;
2532
2588
  }
2533
- export declare type Format = "CSV" | "Parquet";
2534
- export declare type OutputSchemaVersion = "V_1";
2589
+ export declare enum Format {
2590
+ CSV = "CSV",
2591
+ Parquet = "Parquet"
2592
+ }
2593
+ export declare enum OutputSchemaVersion {
2594
+ V_1 = "V_1"
2595
+ }
2535
2596
  /**
2536
2597
  * <p>A container for the bucket where the Amazon S3 Storage Lens metrics export files are
2537
2598
  * located.</p>
@@ -2926,9 +2987,9 @@ export interface ListRegionalBucketsRequest {
2926
2987
  */
2927
2988
  MaxResults?: number;
2928
2989
  /**
2929
- * <p>The ID of the Outposts.</p>
2990
+ * <p>The ID of the Outposts resource.</p>
2930
2991
  * <note>
2931
- * <p>This is required by Amazon S3 on Outposts buckets.</p>
2992
+ * <p>This ID is required by Amazon S3 on Outposts buckets.</p>
2932
2993
  * </note>
2933
2994
  */
2934
2995
  OutpostId?: string;
@@ -3137,6 +3198,44 @@ export interface PutBucketTaggingRequest {
3137
3198
  */
3138
3199
  Tagging: Tagging | undefined;
3139
3200
  }
3201
+ export declare enum MFADelete {
3202
+ Disabled = "Disabled",
3203
+ Enabled = "Enabled"
3204
+ }
3205
+ /**
3206
+ * <p>Describes the versioning state of an Amazon S3 on Outposts bucket. For more information, see
3207
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketVersioning.html">PutBucketVersioning</a>.</p>
3208
+ */
3209
+ export interface VersioningConfiguration {
3210
+ /**
3211
+ * <p>Specifies whether MFA delete is enabled or disabled in the bucket versioning configuration
3212
+ * for the S3 on Outposts bucket.</p>
3213
+ */
3214
+ MFADelete?: MFADelete | string;
3215
+ /**
3216
+ * <p>Sets the versioning state of the S3 on Outposts bucket.</p>
3217
+ */
3218
+ Status?: BucketVersioningStatus | string;
3219
+ }
3220
+ export interface PutBucketVersioningRequest {
3221
+ /**
3222
+ * <p>The Amazon Web Services account ID of the S3 on Outposts bucket.</p>
3223
+ */
3224
+ AccountId?: string;
3225
+ /**
3226
+ * <p>The S3 on Outposts bucket to set the versioning state for.</p>
3227
+ */
3228
+ Bucket: string | undefined;
3229
+ /**
3230
+ * <p>The concatenation of the authentication device's serial number, a space, and the value
3231
+ * that is displayed on your authentication device.</p>
3232
+ */
3233
+ MFA?: string;
3234
+ /**
3235
+ * <p>The root-level tag for the <code>VersioningConfiguration</code> parameters.</p>
3236
+ */
3237
+ VersioningConfiguration: VersioningConfiguration | undefined;
3238
+ }
3140
3239
  export interface PutJobTaggingRequest {
3141
3240
  /**
3142
3241
  * <p>The Amazon Web Services account ID associated with the S3 Batch Operations job.</p>
@@ -3792,6 +3891,14 @@ export declare const GetBucketTaggingRequestFilterSensitiveLog: (obj: GetBucketT
3792
3891
  * @internal
3793
3892
  */
3794
3893
  export declare const GetBucketTaggingResultFilterSensitiveLog: (obj: GetBucketTaggingResult) => any;
3894
+ /**
3895
+ * @internal
3896
+ */
3897
+ export declare const GetBucketVersioningRequestFilterSensitiveLog: (obj: GetBucketVersioningRequest) => any;
3898
+ /**
3899
+ * @internal
3900
+ */
3901
+ export declare const GetBucketVersioningResultFilterSensitiveLog: (obj: GetBucketVersioningResult) => any;
3795
3902
  /**
3796
3903
  * @internal
3797
3904
  */
@@ -4008,6 +4115,14 @@ export declare const TaggingFilterSensitiveLog: (obj: Tagging) => any;
4008
4115
  * @internal
4009
4116
  */
4010
4117
  export declare const PutBucketTaggingRequestFilterSensitiveLog: (obj: PutBucketTaggingRequest) => any;
4118
+ /**
4119
+ * @internal
4120
+ */
4121
+ export declare const VersioningConfigurationFilterSensitiveLog: (obj: VersioningConfiguration) => any;
4122
+ /**
4123
+ * @internal
4124
+ */
4125
+ export declare const PutBucketVersioningRequestFilterSensitiveLog: (obj: PutBucketVersioningRequest) => any;
4011
4126
  /**
4012
4127
  * @internal
4013
4128
  */
@@ -31,6 +31,7 @@ import { GetBucketCommandInput, GetBucketCommandOutput } from "../commands/GetBu
31
31
  import { GetBucketLifecycleConfigurationCommandInput, GetBucketLifecycleConfigurationCommandOutput } from "../commands/GetBucketLifecycleConfigurationCommand";
32
32
  import { GetBucketPolicyCommandInput, GetBucketPolicyCommandOutput } from "../commands/GetBucketPolicyCommand";
33
33
  import { GetBucketTaggingCommandInput, GetBucketTaggingCommandOutput } from "../commands/GetBucketTaggingCommand";
34
+ import { GetBucketVersioningCommandInput, GetBucketVersioningCommandOutput } from "../commands/GetBucketVersioningCommand";
34
35
  import { GetJobTaggingCommandInput, GetJobTaggingCommandOutput } from "../commands/GetJobTaggingCommand";
35
36
  import { GetMultiRegionAccessPointCommandInput, GetMultiRegionAccessPointCommandOutput } from "../commands/GetMultiRegionAccessPointCommand";
36
37
  import { GetMultiRegionAccessPointPolicyCommandInput, GetMultiRegionAccessPointPolicyCommandOutput } from "../commands/GetMultiRegionAccessPointPolicyCommand";
@@ -50,6 +51,7 @@ import { PutAccessPointPolicyForObjectLambdaCommandInput, PutAccessPointPolicyFo
50
51
  import { PutBucketLifecycleConfigurationCommandInput, PutBucketLifecycleConfigurationCommandOutput } from "../commands/PutBucketLifecycleConfigurationCommand";
51
52
  import { PutBucketPolicyCommandInput, PutBucketPolicyCommandOutput } from "../commands/PutBucketPolicyCommand";
52
53
  import { PutBucketTaggingCommandInput, PutBucketTaggingCommandOutput } from "../commands/PutBucketTaggingCommand";
54
+ import { PutBucketVersioningCommandInput, PutBucketVersioningCommandOutput } from "../commands/PutBucketVersioningCommand";
53
55
  import { PutJobTaggingCommandInput, PutJobTaggingCommandOutput } from "../commands/PutJobTaggingCommand";
54
56
  import { PutMultiRegionAccessPointPolicyCommandInput, PutMultiRegionAccessPointPolicyCommandOutput } from "../commands/PutMultiRegionAccessPointPolicyCommand";
55
57
  import { PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput } from "../commands/PutPublicAccessBlockCommand";
@@ -88,6 +90,7 @@ export declare const serializeAws_restXmlGetBucketCommand: (input: GetBucketComm
88
90
  export declare const serializeAws_restXmlGetBucketLifecycleConfigurationCommand: (input: GetBucketLifecycleConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
89
91
  export declare const serializeAws_restXmlGetBucketPolicyCommand: (input: GetBucketPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
90
92
  export declare const serializeAws_restXmlGetBucketTaggingCommand: (input: GetBucketTaggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
93
+ export declare const serializeAws_restXmlGetBucketVersioningCommand: (input: GetBucketVersioningCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
91
94
  export declare const serializeAws_restXmlGetJobTaggingCommand: (input: GetJobTaggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
92
95
  export declare const serializeAws_restXmlGetMultiRegionAccessPointCommand: (input: GetMultiRegionAccessPointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
93
96
  export declare const serializeAws_restXmlGetMultiRegionAccessPointPolicyCommand: (input: GetMultiRegionAccessPointPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -107,6 +110,7 @@ export declare const serializeAws_restXmlPutAccessPointPolicyForObjectLambdaComm
107
110
  export declare const serializeAws_restXmlPutBucketLifecycleConfigurationCommand: (input: PutBucketLifecycleConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
108
111
  export declare const serializeAws_restXmlPutBucketPolicyCommand: (input: PutBucketPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
109
112
  export declare const serializeAws_restXmlPutBucketTaggingCommand: (input: PutBucketTaggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
113
+ export declare const serializeAws_restXmlPutBucketVersioningCommand: (input: PutBucketVersioningCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
110
114
  export declare const serializeAws_restXmlPutJobTaggingCommand: (input: PutJobTaggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
111
115
  export declare const serializeAws_restXmlPutMultiRegionAccessPointPolicyCommand: (input: PutMultiRegionAccessPointPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
112
116
  export declare const serializeAws_restXmlPutPublicAccessBlockCommand: (input: PutPublicAccessBlockCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -145,6 +149,7 @@ export declare const deserializeAws_restXmlGetBucketCommand: (output: __HttpResp
145
149
  export declare const deserializeAws_restXmlGetBucketLifecycleConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBucketLifecycleConfigurationCommandOutput>;
146
150
  export declare const deserializeAws_restXmlGetBucketPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBucketPolicyCommandOutput>;
147
151
  export declare const deserializeAws_restXmlGetBucketTaggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBucketTaggingCommandOutput>;
152
+ export declare const deserializeAws_restXmlGetBucketVersioningCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBucketVersioningCommandOutput>;
148
153
  export declare const deserializeAws_restXmlGetJobTaggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetJobTaggingCommandOutput>;
149
154
  export declare const deserializeAws_restXmlGetMultiRegionAccessPointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMultiRegionAccessPointCommandOutput>;
150
155
  export declare const deserializeAws_restXmlGetMultiRegionAccessPointPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMultiRegionAccessPointPolicyCommandOutput>;
@@ -164,6 +169,7 @@ export declare const deserializeAws_restXmlPutAccessPointPolicyForObjectLambdaCo
164
169
  export declare const deserializeAws_restXmlPutBucketLifecycleConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutBucketLifecycleConfigurationCommandOutput>;
165
170
  export declare const deserializeAws_restXmlPutBucketPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutBucketPolicyCommandOutput>;
166
171
  export declare const deserializeAws_restXmlPutBucketTaggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutBucketTaggingCommandOutput>;
172
+ export declare const deserializeAws_restXmlPutBucketVersioningCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutBucketVersioningCommandOutput>;
167
173
  export declare const deserializeAws_restXmlPutJobTaggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutJobTaggingCommandOutput>;
168
174
  export declare const deserializeAws_restXmlPutMultiRegionAccessPointPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutMultiRegionAccessPointPolicyCommandOutput>;
169
175
  export declare const deserializeAws_restXmlPutPublicAccessBlockCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutPublicAccessBlockCommandOutput>;
@@ -34,7 +34,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
34
34
  tls?: boolean | undefined;
35
35
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
36
36
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
37
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
37
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
38
38
  signingEscapePath?: boolean | undefined;
39
39
  systemClockOffset?: number | undefined;
40
40
  signingRegion?: string | undefined;
@@ -35,7 +35,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
35
35
  tls?: boolean | undefined;
36
36
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
37
37
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
38
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
38
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
39
39
  signingEscapePath?: boolean | undefined;
40
40
  systemClockOffset?: number | undefined;
41
41
  signingRegion?: string | undefined;
@@ -33,7 +33,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
33
33
  tls?: boolean | undefined;
34
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
35
35
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
36
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
36
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
37
37
  signingEscapePath?: boolean | undefined;
38
38
  systemClockOffset?: number | undefined;
39
39
  signingRegion?: string | undefined;
@@ -123,6 +123,10 @@ import {
123
123
  GetBucketTaggingCommandInput,
124
124
  GetBucketTaggingCommandOutput,
125
125
  } from "./commands/GetBucketTaggingCommand";
126
+ import {
127
+ GetBucketVersioningCommandInput,
128
+ GetBucketVersioningCommandOutput,
129
+ } from "./commands/GetBucketVersioningCommand";
126
130
  import {
127
131
  GetJobTaggingCommandInput,
128
132
  GetJobTaggingCommandOutput,
@@ -199,6 +203,10 @@ import {
199
203
  PutBucketTaggingCommandInput,
200
204
  PutBucketTaggingCommandOutput,
201
205
  } from "./commands/PutBucketTaggingCommand";
206
+ import {
207
+ PutBucketVersioningCommandInput,
208
+ PutBucketVersioningCommandOutput,
209
+ } from "./commands/PutBucketVersioningCommand";
202
210
  import {
203
211
  PutJobTaggingCommandInput,
204
212
  PutJobTaggingCommandOutput,
@@ -674,6 +682,19 @@ export declare class S3Control extends S3ControlClient {
674
682
  options: __HttpHandlerOptions,
675
683
  cb: (err: any, data?: GetBucketTaggingCommandOutput) => void
676
684
  ): void;
685
+ getBucketVersioning(
686
+ args: GetBucketVersioningCommandInput,
687
+ options?: __HttpHandlerOptions
688
+ ): Promise<GetBucketVersioningCommandOutput>;
689
+ getBucketVersioning(
690
+ args: GetBucketVersioningCommandInput,
691
+ cb: (err: any, data?: GetBucketVersioningCommandOutput) => void
692
+ ): void;
693
+ getBucketVersioning(
694
+ args: GetBucketVersioningCommandInput,
695
+ options: __HttpHandlerOptions,
696
+ cb: (err: any, data?: GetBucketVersioningCommandOutput) => void
697
+ ): void;
677
698
  getJobTagging(
678
699
  args: GetJobTaggingCommandInput,
679
700
  options?: __HttpHandlerOptions
@@ -945,6 +966,19 @@ export declare class S3Control extends S3ControlClient {
945
966
  options: __HttpHandlerOptions,
946
967
  cb: (err: any, data?: PutBucketTaggingCommandOutput) => void
947
968
  ): void;
969
+ putBucketVersioning(
970
+ args: PutBucketVersioningCommandInput,
971
+ options?: __HttpHandlerOptions
972
+ ): Promise<PutBucketVersioningCommandOutput>;
973
+ putBucketVersioning(
974
+ args: PutBucketVersioningCommandInput,
975
+ cb: (err: any, data?: PutBucketVersioningCommandOutput) => void
976
+ ): void;
977
+ putBucketVersioning(
978
+ args: PutBucketVersioningCommandInput,
979
+ options: __HttpHandlerOptions,
980
+ cb: (err: any, data?: PutBucketVersioningCommandOutput) => void
981
+ ): void;
948
982
  putJobTagging(
949
983
  args: PutJobTaggingCommandInput,
950
984
  options?: __HttpHandlerOptions