@aws-sdk/client-s3-control 3.288.0 → 3.290.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.
- package/README.md +24 -0
- package/dist-cjs/S3Control.js +45 -0
- package/dist-cjs/commands/DeleteBucketReplicationCommand.js +52 -0
- package/dist-cjs/commands/GetBucketReplicationCommand.js +52 -0
- package/dist-cjs/commands/PutBucketReplicationCommand.js +54 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoint/ruleset.js +2 -2
- package/dist-cjs/models/models_0.js +133 -5
- package/dist-cjs/protocols/Aws_restXml.js +654 -3
- package/dist-es/S3Control.js +45 -0
- package/dist-es/commands/DeleteBucketReplicationCommand.js +48 -0
- package/dist-es/commands/GetBucketReplicationCommand.js +48 -0
- package/dist-es/commands/PutBucketReplicationCommand.js +50 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/ruleset.js +2 -2
- package/dist-es/models/models_0.js +108 -0
- package/dist-es/protocols/Aws_restXml.js +645 -0
- package/dist-types/S3Control.d.ts +222 -29
- package/dist-types/S3ControlClient.d.ts +5 -2
- package/dist-types/commands/CreateAccessPointCommand.d.ts +1 -0
- package/dist-types/commands/CreateAccessPointForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/CreateBucketCommand.d.ts +9 -0
- package/dist-types/commands/CreateJobCommand.d.ts +13 -0
- package/dist-types/commands/CreateMultiRegionAccessPointCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAccessPointCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAccessPointForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAccessPointPolicyCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAccessPointPolicyForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/DeleteBucketCommand.d.ts +1 -0
- package/dist-types/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +1 -0
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +78 -0
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -0
- package/dist-types/commands/DeleteJobTaggingCommand.d.ts +14 -3
- package/dist-types/commands/DeleteMultiRegionAccessPointCommand.d.ts +1 -0
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +1 -0
- package/dist-types/commands/DeleteStorageLensConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DeleteStorageLensConfigurationTaggingCommand.d.ts +1 -0
- package/dist-types/commands/DescribeJobCommand.d.ts +13 -0
- package/dist-types/commands/DescribeMultiRegionAccessPointOperationCommand.d.ts +1 -0
- package/dist-types/commands/GetAccessPointCommand.d.ts +1 -0
- package/dist-types/commands/GetAccessPointConfigurationForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/GetAccessPointForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/GetAccessPointPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetAccessPointPolicyForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/GetAccessPointPolicyStatusCommand.d.ts +1 -0
- package/dist-types/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/GetBucketCommand.d.ts +1 -0
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetBucketReplicationCommand.d.ts +85 -0
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -0
- package/dist-types/commands/GetBucketVersioningCommand.d.ts +12 -6
- package/dist-types/commands/GetJobTaggingCommand.d.ts +14 -3
- package/dist-types/commands/GetMultiRegionAccessPointCommand.d.ts +1 -0
- package/dist-types/commands/GetMultiRegionAccessPointPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetMultiRegionAccessPointPolicyStatusCommand.d.ts +1 -0
- package/dist-types/commands/GetMultiRegionAccessPointRoutesCommand.d.ts +1 -0
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +6 -0
- package/dist-types/commands/GetStorageLensConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetStorageLensConfigurationTaggingCommand.d.ts +1 -0
- package/dist-types/commands/ListAccessPointsCommand.d.ts +9 -4
- package/dist-types/commands/ListAccessPointsForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/ListJobsCommand.d.ts +10 -0
- package/dist-types/commands/ListMultiRegionAccessPointsCommand.d.ts +1 -0
- package/dist-types/commands/ListRegionalBucketsCommand.d.ts +1 -0
- package/dist-types/commands/ListStorageLensConfigurationsCommand.d.ts +1 -0
- package/dist-types/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/PutAccessPointPolicyCommand.d.ts +1 -0
- package/dist-types/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -0
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +122 -0
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -0
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +16 -9
- package/dist-types/commands/PutJobTaggingCommand.d.ts +17 -2
- package/dist-types/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +1 -0
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -0
- package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutStorageLensConfigurationTaggingCommand.d.ts +1 -0
- package/dist-types/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +1 -0
- package/dist-types/commands/UpdateJobPriorityCommand.d.ts +13 -0
- package/dist-types/commands/UpdateJobStatusCommand.d.ts +16 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +680 -73
- package/dist-types/protocols/Aws_restXml.d.ts +9 -0
- package/dist-types/ts3.4/S3Control.d.ts +51 -0
- package/dist-types/ts3.4/S3ControlClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +180 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +36 -0
- package/package.json +34 -34
|
@@ -38,6 +38,7 @@ export interface PutAccessPointConfigurationForObjectLambdaCommandOutput extends
|
|
|
38
38
|
* @see {@link PutAccessPointConfigurationForObjectLambdaCommandOutput} for command's `response` shape.
|
|
39
39
|
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
40
40
|
*
|
|
41
|
+
*
|
|
41
42
|
*/
|
|
42
43
|
export declare class PutAccessPointConfigurationForObjectLambdaCommand extends $Command<PutAccessPointConfigurationForObjectLambdaCommandInput, PutAccessPointConfigurationForObjectLambdaCommandOutput, S3ControlClientResolvedConfig> {
|
|
43
44
|
readonly input: PutAccessPointConfigurationForObjectLambdaCommandInput;
|
|
@@ -46,6 +46,7 @@ export interface PutAccessPointPolicyCommandOutput extends __MetadataBearer {
|
|
|
46
46
|
* @see {@link PutAccessPointPolicyCommandOutput} for command's `response` shape.
|
|
47
47
|
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
48
48
|
*
|
|
49
|
+
*
|
|
49
50
|
*/
|
|
50
51
|
export declare class PutAccessPointPolicyCommand extends $Command<PutAccessPointPolicyCommandInput, PutAccessPointPolicyCommandOutput, S3ControlClientResolvedConfig> {
|
|
51
52
|
readonly input: PutAccessPointPolicyCommandInput;
|
|
@@ -43,6 +43,7 @@ export interface PutAccessPointPolicyForObjectLambdaCommandOutput extends __Meta
|
|
|
43
43
|
* @see {@link PutAccessPointPolicyForObjectLambdaCommandOutput} for command's `response` shape.
|
|
44
44
|
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
45
45
|
*
|
|
46
|
+
*
|
|
46
47
|
*/
|
|
47
48
|
export declare class PutAccessPointPolicyForObjectLambdaCommand extends $Command<PutAccessPointPolicyForObjectLambdaCommandInput, PutAccessPointPolicyForObjectLambdaCommandOutput, S3ControlClientResolvedConfig> {
|
|
48
49
|
readonly input: PutAccessPointPolicyForObjectLambdaCommandInput;
|
|
@@ -53,6 +53,7 @@ export interface PutBucketLifecycleConfigurationCommandOutput extends __Metadata
|
|
|
53
53
|
* @see {@link PutBucketLifecycleConfigurationCommandOutput} for command's `response` shape.
|
|
54
54
|
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
55
55
|
*
|
|
56
|
+
*
|
|
56
57
|
*/
|
|
57
58
|
export declare class PutBucketLifecycleConfigurationCommand extends $Command<PutBucketLifecycleConfigurationCommandInput, PutBucketLifecycleConfigurationCommandOutput, S3ControlClientResolvedConfig> {
|
|
58
59
|
readonly input: PutBucketLifecycleConfigurationCommandInput;
|
|
@@ -64,6 +64,7 @@ export interface PutBucketPolicyCommandOutput extends __MetadataBearer {
|
|
|
64
64
|
* @see {@link PutBucketPolicyCommandOutput} for command's `response` shape.
|
|
65
65
|
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
66
66
|
*
|
|
67
|
+
*
|
|
67
68
|
*/
|
|
68
69
|
export declare class PutBucketPolicyCommand extends $Command<PutBucketPolicyCommandInput, PutBucketPolicyCommandOutput, S3ControlClientResolvedConfig> {
|
|
69
70
|
readonly input: PutBucketPolicyCommandInput;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { PutBucketReplicationRequest } from "../models/models_0";
|
|
5
|
+
import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link PutBucketReplicationCommand}.
|
|
8
|
+
*/
|
|
9
|
+
export interface PutBucketReplicationCommandInput extends PutBucketReplicationRequest {
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link PutBucketReplicationCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface PutBucketReplicationCommandOutput extends __MetadataBearer {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <note>
|
|
18
|
+
* <p>This action creates an Amazon S3 on Outposts bucket's replication configuration. To create
|
|
19
|
+
* an S3 bucket's replication configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html">PutBucketReplication</a>
|
|
20
|
+
* in the <i>Amazon S3 API Reference</i>. </p>
|
|
21
|
+
* </note>
|
|
22
|
+
* <p>Creates a replication configuration or replaces an existing one. For information about
|
|
23
|
+
* S3 replication on Outposts configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/AmazonS3/latest/userguide/S3OutpostsReplication.html">Replicating objects for Amazon Web Services Outposts</a> in the
|
|
24
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
25
|
+
* <note>
|
|
26
|
+
* <p>It can take a while to propagate <code>PUT</code> or <code>DELETE</code> requests for
|
|
27
|
+
* a replication configuration to all S3 on Outposts systems. Therefore, the replication
|
|
28
|
+
* configuration that's returned by a <code>GET</code> request soon after a
|
|
29
|
+
* <code>PUT</code> or <code>DELETE</code> request might return a more recent result
|
|
30
|
+
* than what's on the Outpost. If an Outpost is offline, the delay in updating the
|
|
31
|
+
* replication configuration on that Outpost can be significant.</p>
|
|
32
|
+
* </note>
|
|
33
|
+
* <p>Specify the replication configuration in the request body. In the replication
|
|
34
|
+
* configuration, you provide the following information:</p>
|
|
35
|
+
* <ul>
|
|
36
|
+
* <li>
|
|
37
|
+
* <p>The name of the destination bucket or buckets where you want S3 on Outposts to
|
|
38
|
+
* replicate objects</p>
|
|
39
|
+
* </li>
|
|
40
|
+
* <li>
|
|
41
|
+
* <p>The Identity and Access Management (IAM) role that S3 on Outposts can assume to replicate objects on
|
|
42
|
+
* your behalf</p>
|
|
43
|
+
* </li>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>Other relevant information, such as replication rules</p>
|
|
46
|
+
* </li>
|
|
47
|
+
* </ul>
|
|
48
|
+
* <p>A replication configuration must include at least one rule and can contain a maximum of
|
|
49
|
+
* 100. Each rule identifies a subset of objects to replicate by filtering the objects in
|
|
50
|
+
* the source Outposts bucket. To choose additional subsets of objects to replicate, add a
|
|
51
|
+
* rule for each subset.</p>
|
|
52
|
+
* <p>To specify a subset of the objects in the source Outposts bucket to apply a replication
|
|
53
|
+
* rule to, add the <code>Filter</code> element as a child of the <code>Rule</code> element.
|
|
54
|
+
* You can filter objects based on an object key prefix, one or more object tags, or both.
|
|
55
|
+
* When you add the <code>Filter</code> element in the configuration, you must also add the
|
|
56
|
+
* following elements: <code>DeleteMarkerReplication</code>, <code>Status</code>, and
|
|
57
|
+
* <code>Priority</code>.</p>
|
|
58
|
+
* <p>Using <code>PutBucketReplication</code> on Outposts requires that both the source and
|
|
59
|
+
* destination buckets must have versioning enabled. For information about enabling versioning
|
|
60
|
+
* on a bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsManagingVersioning.html">Managing S3 Versioning
|
|
61
|
+
* for your S3 on Outposts bucket</a>.</p>
|
|
62
|
+
* <p>For information about S3 on Outposts replication failure reasons, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/outposts-replication-eventbridge.html#outposts-replication-failure-codes">Replication failure reasons</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
63
|
+
* <p>
|
|
64
|
+
* <b>Handling Replication of Encrypted Objects</b>
|
|
65
|
+
* </p>
|
|
66
|
+
* <p>Outposts buckets are encrypted at all times. All the objects in the source Outposts
|
|
67
|
+
* bucket are encrypted and can be replicated. Also, all the replicas in the destination
|
|
68
|
+
* Outposts bucket are encrypted with the same encryption key as the objects in the source
|
|
69
|
+
* Outposts bucket.</p>
|
|
70
|
+
* <p>
|
|
71
|
+
* <b>Permissions</b>
|
|
72
|
+
* </p>
|
|
73
|
+
* <p>To create a <code>PutBucketReplication</code> request, you must have
|
|
74
|
+
* <code>s3-outposts:PutReplicationConfiguration</code> permissions for the bucket. The
|
|
75
|
+
* Outposts bucket owner has this permission by default and can grant it to others. For more
|
|
76
|
+
* information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsIAM.html">Setting up IAM with
|
|
77
|
+
* S3 on Outposts</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsBucketPolicy.html">Managing access to
|
|
78
|
+
* S3 on Outposts buckets</a>. </p>
|
|
79
|
+
* <note>
|
|
80
|
+
* <p>To perform this operation, the user or role must also have the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html">iam:PassRole</a> permission.</p>
|
|
81
|
+
* </note>
|
|
82
|
+
* <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_GetBucketLifecycleConfiguration.html#API_control_GetBucketLifecycleConfiguration_Examples">Examples</a> section.</p>
|
|
83
|
+
* <p>The following operations are related to <code>PutBucketReplication</code>:</p>
|
|
84
|
+
* <ul>
|
|
85
|
+
* <li>
|
|
86
|
+
* <p>
|
|
87
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketReplication.html">GetBucketReplication</a>
|
|
88
|
+
* </p>
|
|
89
|
+
* </li>
|
|
90
|
+
* <li>
|
|
91
|
+
* <p>
|
|
92
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketReplication.html">DeleteBucketReplication</a>
|
|
93
|
+
* </p>
|
|
94
|
+
* </li>
|
|
95
|
+
* </ul>
|
|
96
|
+
* @example
|
|
97
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
98
|
+
* ```javascript
|
|
99
|
+
* import { S3ControlClient, PutBucketReplicationCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
100
|
+
* // const { S3ControlClient, PutBucketReplicationCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
101
|
+
* const client = new S3ControlClient(config);
|
|
102
|
+
* const command = new PutBucketReplicationCommand(input);
|
|
103
|
+
* const response = await client.send(command);
|
|
104
|
+
* ```
|
|
105
|
+
*
|
|
106
|
+
* @see {@link PutBucketReplicationCommandInput} for command's `input` shape.
|
|
107
|
+
* @see {@link PutBucketReplicationCommandOutput} for command's `response` shape.
|
|
108
|
+
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
109
|
+
*
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
export declare class PutBucketReplicationCommand extends $Command<PutBucketReplicationCommandInput, PutBucketReplicationCommandOutput, S3ControlClientResolvedConfig> {
|
|
113
|
+
readonly input: PutBucketReplicationCommandInput;
|
|
114
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
115
|
+
constructor(input: PutBucketReplicationCommandInput);
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutBucketReplicationCommandInput, PutBucketReplicationCommandOutput>;
|
|
120
|
+
private serialize;
|
|
121
|
+
private deserialize;
|
|
122
|
+
}
|
|
@@ -111,6 +111,7 @@ export interface PutBucketTaggingCommandOutput extends __MetadataBearer {
|
|
|
111
111
|
* @see {@link PutBucketTaggingCommandOutput} for command's `response` shape.
|
|
112
112
|
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
113
113
|
*
|
|
114
|
+
*
|
|
114
115
|
*/
|
|
115
116
|
export declare class PutBucketTaggingCommand extends $Command<PutBucketTaggingCommandInput, PutBucketTaggingCommandOutput, S3ControlClientResolvedConfig> {
|
|
116
117
|
readonly input: PutBucketTaggingCommandInput;
|
|
@@ -15,13 +15,18 @@ export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
|
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* <note>
|
|
18
|
-
* <p>This operation sets the versioning state
|
|
19
|
-
*
|
|
20
|
-
*
|
|
18
|
+
* <p>This operation sets the versioning state
|
|
19
|
+
* for
|
|
20
|
+
* S3 on Outposts
|
|
21
|
+
* buckets
|
|
22
|
+
* only. To set the versioning state for an S3 bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketVersioning.html">PutBucketVersioning</a> in the <i>Amazon S3 API Reference</i>. </p>
|
|
21
23
|
* </note>
|
|
22
|
-
* <p>Sets the versioning state for an S3 on Outposts bucket. With
|
|
23
|
-
*
|
|
24
|
-
*
|
|
24
|
+
* <p>Sets the versioning state for an S3 on Outposts bucket. With
|
|
25
|
+
* S3
|
|
26
|
+
* Versioning,
|
|
27
|
+
* you can save multiple distinct copies of your
|
|
28
|
+
* objects
|
|
29
|
+
* and recover from unintended user actions and application failures.</p>
|
|
25
30
|
* <p>You can set the versioning state to one of the following:</p>
|
|
26
31
|
* <ul>
|
|
27
32
|
* <li>
|
|
@@ -48,9 +53,10 @@ export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
|
|
|
48
53
|
* <p>If you have an object expiration lifecycle policy in your non-versioned bucket and you
|
|
49
54
|
* want to maintain the same permanent delete behavior when you enable versioning, you must
|
|
50
55
|
* add a noncurrent expiration policy. The noncurrent expiration lifecycle policy will manage
|
|
51
|
-
* the
|
|
52
|
-
*
|
|
53
|
-
*
|
|
56
|
+
* the
|
|
57
|
+
* deletions
|
|
58
|
+
* of the noncurrent object versions in the version-enabled bucket. For more information, see
|
|
59
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html">Versioning</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
54
60
|
* <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>
|
|
55
61
|
* <p>The following operations are related to <code>PutBucketVersioning</code> for
|
|
56
62
|
* S3 on Outposts.</p>
|
|
@@ -85,6 +91,7 @@ export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
|
|
|
85
91
|
* @see {@link PutBucketVersioningCommandOutput} for command's `response` shape.
|
|
86
92
|
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
87
93
|
*
|
|
94
|
+
*
|
|
88
95
|
*/
|
|
89
96
|
export declare class PutBucketVersioningCommand extends $Command<PutBucketVersioningCommandInput, PutBucketVersioningCommandOutput, S3ControlClientResolvedConfig> {
|
|
90
97
|
readonly input: PutBucketVersioningCommandInput;
|
|
@@ -59,8 +59,10 @@ export interface PutJobTaggingCommandOutput extends PutJobTaggingResult, __Metad
|
|
|
59
59
|
* </ul>
|
|
60
60
|
* </note>
|
|
61
61
|
* <p></p>
|
|
62
|
-
* <p>To use
|
|
63
|
-
* <code>
|
|
62
|
+
* <p>To use the
|
|
63
|
+
* <code>PutJobTagging</code>
|
|
64
|
+
* operation,
|
|
65
|
+
* you must have permission to perform the <code>s3:PutJobTagging</code> action.</p>
|
|
64
66
|
* <p>Related actions include:</p>
|
|
65
67
|
* <ul>
|
|
66
68
|
* <li>
|
|
@@ -93,6 +95,19 @@ export interface PutJobTaggingCommandOutput extends PutJobTaggingResult, __Metad
|
|
|
93
95
|
* @see {@link PutJobTaggingCommandOutput} for command's `response` shape.
|
|
94
96
|
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
95
97
|
*
|
|
98
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
99
|
+
* <p></p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link NotFoundException} (client fault)
|
|
102
|
+
* <p></p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
105
|
+
* <p></p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link TooManyTagsException} (client fault)
|
|
108
|
+
* <p>Amazon S3 throws this exception if you have too many tags in your tag set.</p>
|
|
109
|
+
*
|
|
110
|
+
*
|
|
96
111
|
*/
|
|
97
112
|
export declare class PutJobTaggingCommand extends $Command<PutJobTaggingCommandInput, PutJobTaggingCommandOutput, S3ControlClientResolvedConfig> {
|
|
98
113
|
readonly input: PutJobTaggingCommandInput;
|
|
@@ -48,6 +48,7 @@ export interface PutMultiRegionAccessPointPolicyCommandOutput extends PutMultiRe
|
|
|
48
48
|
* @see {@link PutMultiRegionAccessPointPolicyCommandOutput} for command's `response` shape.
|
|
49
49
|
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
50
50
|
*
|
|
51
|
+
*
|
|
51
52
|
*/
|
|
52
53
|
export declare class PutMultiRegionAccessPointPolicyCommand extends $Command<PutMultiRegionAccessPointPolicyCommandInput, PutMultiRegionAccessPointPolicyCommandOutput, S3ControlClientResolvedConfig> {
|
|
53
54
|
readonly input: PutMultiRegionAccessPointPolicyCommandInput;
|
|
@@ -45,6 +45,7 @@ export interface PutPublicAccessBlockCommandOutput extends __MetadataBearer {
|
|
|
45
45
|
* @see {@link PutPublicAccessBlockCommandOutput} for command's `response` shape.
|
|
46
46
|
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
47
47
|
*
|
|
48
|
+
*
|
|
48
49
|
*/
|
|
49
50
|
export declare class PutPublicAccessBlockCommand extends $Command<PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput, S3ControlClientResolvedConfig> {
|
|
50
51
|
readonly input: PutPublicAccessBlockCommandInput;
|
|
@@ -15,7 +15,7 @@ export interface PutStorageLensConfigurationCommandOutput extends __MetadataBear
|
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* <p>Puts an Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html">Working with
|
|
18
|
-
*
|
|
18
|
+
* Amazon S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
19
19
|
* <note>
|
|
20
20
|
* <p>To use this action, you must have permission to perform the
|
|
21
21
|
* <code>s3:PutStorageLensConfiguration</code> action. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html">Setting permissions to use Amazon S3 Storage Lens</a> in the
|
|
@@ -35,6 +35,7 @@ export interface PutStorageLensConfigurationCommandOutput extends __MetadataBear
|
|
|
35
35
|
* @see {@link PutStorageLensConfigurationCommandOutput} for command's `response` shape.
|
|
36
36
|
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
37
37
|
*
|
|
38
|
+
*
|
|
38
39
|
*/
|
|
39
40
|
export declare class PutStorageLensConfigurationCommand extends $Command<PutStorageLensConfigurationCommandInput, PutStorageLensConfigurationCommandOutput, S3ControlClientResolvedConfig> {
|
|
40
41
|
readonly input: PutStorageLensConfigurationCommandInput;
|
|
@@ -37,6 +37,7 @@ export interface PutStorageLensConfigurationTaggingCommandOutput extends PutStor
|
|
|
37
37
|
* @see {@link PutStorageLensConfigurationTaggingCommandOutput} for command's `response` shape.
|
|
38
38
|
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
39
39
|
*
|
|
40
|
+
*
|
|
40
41
|
*/
|
|
41
42
|
export declare class PutStorageLensConfigurationTaggingCommand extends $Command<PutStorageLensConfigurationTaggingCommandInput, PutStorageLensConfigurationTaggingCommandOutput, S3ControlClientResolvedConfig> {
|
|
42
43
|
readonly input: PutStorageLensConfigurationTaggingCommandInput;
|
|
@@ -75,6 +75,7 @@ export interface SubmitMultiRegionAccessPointRoutesCommandOutput extends SubmitM
|
|
|
75
75
|
* @see {@link SubmitMultiRegionAccessPointRoutesCommandOutput} for command's `response` shape.
|
|
76
76
|
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
77
77
|
*
|
|
78
|
+
*
|
|
78
79
|
*/
|
|
79
80
|
export declare class SubmitMultiRegionAccessPointRoutesCommand extends $Command<SubmitMultiRegionAccessPointRoutesCommandInput, SubmitMultiRegionAccessPointRoutesCommandOutput, S3ControlClientResolvedConfig> {
|
|
80
81
|
readonly input: SubmitMultiRegionAccessPointRoutesCommandInput;
|
|
@@ -53,6 +53,19 @@ export interface UpdateJobPriorityCommandOutput extends UpdateJobPriorityResult,
|
|
|
53
53
|
* @see {@link UpdateJobPriorityCommandOutput} for command's `response` shape.
|
|
54
54
|
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
55
55
|
*
|
|
56
|
+
* @throws {@link BadRequestException} (client fault)
|
|
57
|
+
* <p></p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
60
|
+
* <p></p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link NotFoundException} (client fault)
|
|
63
|
+
* <p></p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
66
|
+
* <p></p>
|
|
67
|
+
*
|
|
68
|
+
*
|
|
56
69
|
*/
|
|
57
70
|
export declare class UpdateJobPriorityCommand extends $Command<UpdateJobPriorityCommandInput, UpdateJobPriorityCommandOutput, S3ControlClientResolvedConfig> {
|
|
58
71
|
readonly input: UpdateJobPriorityCommandInput;
|
|
@@ -54,6 +54,22 @@ export interface UpdateJobStatusCommandOutput extends UpdateJobStatusResult, __M
|
|
|
54
54
|
* @see {@link UpdateJobStatusCommandOutput} for command's `response` shape.
|
|
55
55
|
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
56
56
|
*
|
|
57
|
+
* @throws {@link BadRequestException} (client fault)
|
|
58
|
+
* <p></p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
61
|
+
* <p></p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link JobStatusException} (client fault)
|
|
64
|
+
* <p></p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link NotFoundException} (client fault)
|
|
67
|
+
* <p></p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
70
|
+
* <p></p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
57
73
|
*/
|
|
58
74
|
export declare class UpdateJobStatusCommand extends $Command<UpdateJobStatusCommandInput, UpdateJobStatusCommandOutput, S3ControlClientResolvedConfig> {
|
|
59
75
|
readonly input: UpdateJobStatusCommandInput;
|
|
@@ -10,6 +10,7 @@ export * from "./DeleteAccessPointPolicyForObjectLambdaCommand";
|
|
|
10
10
|
export * from "./DeleteBucketCommand";
|
|
11
11
|
export * from "./DeleteBucketLifecycleConfigurationCommand";
|
|
12
12
|
export * from "./DeleteBucketPolicyCommand";
|
|
13
|
+
export * from "./DeleteBucketReplicationCommand";
|
|
13
14
|
export * from "./DeleteBucketTaggingCommand";
|
|
14
15
|
export * from "./DeleteJobTaggingCommand";
|
|
15
16
|
export * from "./DeleteMultiRegionAccessPointCommand";
|
|
@@ -28,6 +29,7 @@ export * from "./GetAccessPointPolicyStatusForObjectLambdaCommand";
|
|
|
28
29
|
export * from "./GetBucketCommand";
|
|
29
30
|
export * from "./GetBucketLifecycleConfigurationCommand";
|
|
30
31
|
export * from "./GetBucketPolicyCommand";
|
|
32
|
+
export * from "./GetBucketReplicationCommand";
|
|
31
33
|
export * from "./GetBucketTaggingCommand";
|
|
32
34
|
export * from "./GetBucketVersioningCommand";
|
|
33
35
|
export * from "./GetJobTaggingCommand";
|
|
@@ -49,6 +51,7 @@ export * from "./PutAccessPointPolicyCommand";
|
|
|
49
51
|
export * from "./PutAccessPointPolicyForObjectLambdaCommand";
|
|
50
52
|
export * from "./PutBucketLifecycleConfigurationCommand";
|
|
51
53
|
export * from "./PutBucketPolicyCommand";
|
|
54
|
+
export * from "./PutBucketReplicationCommand";
|
|
52
55
|
export * from "./PutBucketTaggingCommand";
|
|
53
56
|
export * from "./PutBucketVersioningCommand";
|
|
54
57
|
export * from "./PutJobTaggingCommand";
|