@aws-sdk/client-s3-control 3.299.0 → 3.301.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/dist-types/commands/CreateAccessPointCommand.d.ts +15 -0
- package/dist-types/commands/CreateAccessPointForObjectLambdaCommand.d.ts +24 -0
- package/dist-types/commands/CreateBucketCommand.d.ts +14 -0
- package/dist-types/commands/CreateJobCommand.d.ts +161 -0
- package/dist-types/commands/CreateMultiRegionAccessPointCommand.d.ts +19 -0
- package/dist-types/commands/DeleteAccessPointCommand.d.ts +4 -0
- package/dist-types/commands/DeleteAccessPointForObjectLambdaCommand.d.ts +4 -0
- package/dist-types/commands/DeleteAccessPointPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteAccessPointPolicyForObjectLambdaCommand.d.ts +4 -0
- package/dist-types/commands/DeleteBucketCommand.d.ts +4 -0
- package/dist-types/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +4 -0
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +4 -0
- package/dist-types/commands/DeleteJobTaggingCommand.d.ts +4 -0
- package/dist-types/commands/DeleteMultiRegionAccessPointCommand.d.ts +7 -0
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +3 -0
- package/dist-types/commands/DeleteStorageLensConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DeleteStorageLensConfigurationTaggingCommand.d.ts +4 -0
- package/dist-types/commands/DescribeJobCommand.d.ts +4 -0
- package/dist-types/commands/DescribeMultiRegionAccessPointOperationCommand.d.ts +4 -0
- package/dist-types/commands/GetAccessPointCommand.d.ts +4 -0
- package/dist-types/commands/GetAccessPointConfigurationForObjectLambdaCommand.d.ts +4 -0
- package/dist-types/commands/GetAccessPointForObjectLambdaCommand.d.ts +4 -0
- package/dist-types/commands/GetAccessPointPolicyCommand.d.ts +4 -0
- package/dist-types/commands/GetAccessPointPolicyForObjectLambdaCommand.d.ts +4 -0
- package/dist-types/commands/GetAccessPointPolicyStatusCommand.d.ts +4 -0
- package/dist-types/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.d.ts +4 -0
- package/dist-types/commands/GetBucketCommand.d.ts +4 -0
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +4 -0
- package/dist-types/commands/GetBucketReplicationCommand.d.ts +4 -0
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +4 -0
- package/dist-types/commands/GetBucketVersioningCommand.d.ts +4 -0
- package/dist-types/commands/GetJobTaggingCommand.d.ts +4 -0
- package/dist-types/commands/GetMultiRegionAccessPointCommand.d.ts +4 -0
- package/dist-types/commands/GetMultiRegionAccessPointPolicyCommand.d.ts +4 -0
- package/dist-types/commands/GetMultiRegionAccessPointPolicyStatusCommand.d.ts +4 -0
- package/dist-types/commands/GetMultiRegionAccessPointRoutesCommand.d.ts +4 -0
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +3 -0
- package/dist-types/commands/GetStorageLensConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/GetStorageLensConfigurationTaggingCommand.d.ts +4 -0
- package/dist-types/commands/ListAccessPointsCommand.d.ts +6 -0
- package/dist-types/commands/ListAccessPointsForObjectLambdaCommand.d.ts +5 -0
- package/dist-types/commands/ListJobsCommand.d.ts +8 -0
- package/dist-types/commands/ListMultiRegionAccessPointsCommand.d.ts +5 -0
- package/dist-types/commands/ListRegionalBucketsCommand.d.ts +6 -0
- package/dist-types/commands/ListStorageLensConfigurationsCommand.d.ts +4 -0
- package/dist-types/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +24 -0
- package/dist-types/commands/PutAccessPointPolicyCommand.d.ts +5 -0
- package/dist-types/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +5 -0
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +57 -0
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +6 -0
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +69 -0
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +12 -0
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +9 -0
- package/dist-types/commands/PutJobTaggingCommand.d.ts +10 -0
- package/dist-types/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +8 -0
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +9 -0
- package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +90 -0
- package/dist-types/commands/PutStorageLensConfigurationTaggingCommand.d.ts +10 -0
- package/dist-types/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +11 -0
- package/dist-types/commands/UpdateJobPriorityCommand.d.ts +5 -0
- package/dist-types/commands/UpdateJobStatusCommand.d.ts +6 -0
- package/package.json +9 -9
|
@@ -50,6 +50,10 @@ export interface GetJobTaggingCommandOutput extends GetJobTaggingResult, __Metad
|
|
|
50
50
|
* import { S3ControlClient, GetJobTaggingCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
51
51
|
* // const { S3ControlClient, GetJobTaggingCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
52
52
|
* const client = new S3ControlClient(config);
|
|
53
|
+
* const input = { // GetJobTaggingRequest
|
|
54
|
+
* AccountId: "STRING_VALUE",
|
|
55
|
+
* JobId: "STRING_VALUE", // required
|
|
56
|
+
* };
|
|
53
57
|
* const command = new GetJobTaggingCommand(input);
|
|
54
58
|
* const response = await client.send(command);
|
|
55
59
|
* ```
|
|
@@ -52,6 +52,10 @@ export interface GetMultiRegionAccessPointCommandOutput extends GetMultiRegionAc
|
|
|
52
52
|
* import { S3ControlClient, GetMultiRegionAccessPointCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
53
53
|
* // const { S3ControlClient, GetMultiRegionAccessPointCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
54
54
|
* const client = new S3ControlClient(config);
|
|
55
|
+
* const input = { // GetMultiRegionAccessPointRequest
|
|
56
|
+
* AccountId: "STRING_VALUE",
|
|
57
|
+
* Name: "STRING_VALUE", // required
|
|
58
|
+
* };
|
|
55
59
|
* const command = new GetMultiRegionAccessPointCommand(input);
|
|
56
60
|
* const response = await client.send(command);
|
|
57
61
|
* ```
|
|
@@ -43,6 +43,10 @@ export interface GetMultiRegionAccessPointPolicyCommandOutput extends GetMultiRe
|
|
|
43
43
|
* import { S3ControlClient, GetMultiRegionAccessPointPolicyCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
44
44
|
* // const { S3ControlClient, GetMultiRegionAccessPointPolicyCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
45
45
|
* const client = new S3ControlClient(config);
|
|
46
|
+
* const input = { // GetMultiRegionAccessPointPolicyRequest
|
|
47
|
+
* AccountId: "STRING_VALUE",
|
|
48
|
+
* Name: "STRING_VALUE", // required
|
|
49
|
+
* };
|
|
46
50
|
* const command = new GetMultiRegionAccessPointPolicyCommand(input);
|
|
47
51
|
* const response = await client.send(command);
|
|
48
52
|
* ```
|
|
@@ -44,6 +44,10 @@ export interface GetMultiRegionAccessPointPolicyStatusCommandOutput extends GetM
|
|
|
44
44
|
* import { S3ControlClient, GetMultiRegionAccessPointPolicyStatusCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
45
45
|
* // const { S3ControlClient, GetMultiRegionAccessPointPolicyStatusCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
46
46
|
* const client = new S3ControlClient(config);
|
|
47
|
+
* const input = { // GetMultiRegionAccessPointPolicyStatusRequest
|
|
48
|
+
* AccountId: "STRING_VALUE",
|
|
49
|
+
* Name: "STRING_VALUE", // required
|
|
50
|
+
* };
|
|
47
51
|
* const command = new GetMultiRegionAccessPointPolicyStatusCommand(input);
|
|
48
52
|
* const response = await client.send(command);
|
|
49
53
|
* ```
|
|
@@ -59,6 +59,10 @@ export interface GetMultiRegionAccessPointRoutesCommandOutput extends GetMultiRe
|
|
|
59
59
|
* import { S3ControlClient, GetMultiRegionAccessPointRoutesCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
60
60
|
* // const { S3ControlClient, GetMultiRegionAccessPointRoutesCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
61
61
|
* const client = new S3ControlClient(config);
|
|
62
|
+
* const input = { // GetMultiRegionAccessPointRoutesRequest
|
|
63
|
+
* AccountId: "STRING_VALUE",
|
|
64
|
+
* Mrap: "STRING_VALUE", // required
|
|
65
|
+
* };
|
|
62
66
|
* const command = new GetMultiRegionAccessPointRoutesCommand(input);
|
|
63
67
|
* const response = await client.send(command);
|
|
64
68
|
* ```
|
|
@@ -41,6 +41,9 @@ export interface GetPublicAccessBlockCommandOutput extends GetPublicAccessBlockO
|
|
|
41
41
|
* import { S3ControlClient, GetPublicAccessBlockCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
42
42
|
* // const { S3ControlClient, GetPublicAccessBlockCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
43
43
|
* const client = new S3ControlClient(config);
|
|
44
|
+
* const input = { // GetPublicAccessBlockRequest
|
|
45
|
+
* AccountId: "STRING_VALUE",
|
|
46
|
+
* };
|
|
44
47
|
* const command = new GetPublicAccessBlockCommand(input);
|
|
45
48
|
* const response = await client.send(command);
|
|
46
49
|
* ```
|
|
@@ -33,6 +33,10 @@ export interface GetStorageLensConfigurationCommandOutput extends GetStorageLens
|
|
|
33
33
|
* import { S3ControlClient, GetStorageLensConfigurationCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
34
34
|
* // const { S3ControlClient, GetStorageLensConfigurationCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
35
35
|
* const client = new S3ControlClient(config);
|
|
36
|
+
* const input = { // GetStorageLensConfigurationRequest
|
|
37
|
+
* ConfigId: "STRING_VALUE", // required
|
|
38
|
+
* AccountId: "STRING_VALUE",
|
|
39
|
+
* };
|
|
36
40
|
* const command = new GetStorageLensConfigurationCommand(input);
|
|
37
41
|
* const response = await client.send(command);
|
|
38
42
|
* ```
|
|
@@ -35,6 +35,10 @@ export interface GetStorageLensConfigurationTaggingCommandOutput extends GetStor
|
|
|
35
35
|
* import { S3ControlClient, GetStorageLensConfigurationTaggingCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
36
36
|
* // const { S3ControlClient, GetStorageLensConfigurationTaggingCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
37
37
|
* const client = new S3ControlClient(config);
|
|
38
|
+
* const input = { // GetStorageLensConfigurationTaggingRequest
|
|
39
|
+
* ConfigId: "STRING_VALUE", // required
|
|
40
|
+
* AccountId: "STRING_VALUE",
|
|
41
|
+
* };
|
|
38
42
|
* const command = new GetStorageLensConfigurationTaggingCommand(input);
|
|
39
43
|
* const response = await client.send(command);
|
|
40
44
|
* ```
|
|
@@ -53,6 +53,12 @@ export interface ListAccessPointsCommandOutput extends ListAccessPointsResult, _
|
|
|
53
53
|
* import { S3ControlClient, ListAccessPointsCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
54
54
|
* // const { S3ControlClient, ListAccessPointsCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
55
55
|
* const client = new S3ControlClient(config);
|
|
56
|
+
* const input = { // ListAccessPointsRequest
|
|
57
|
+
* AccountId: "STRING_VALUE",
|
|
58
|
+
* Bucket: "STRING_VALUE",
|
|
59
|
+
* NextToken: "STRING_VALUE",
|
|
60
|
+
* MaxResults: Number("int"),
|
|
61
|
+
* };
|
|
56
62
|
* const command = new ListAccessPointsCommand(input);
|
|
57
63
|
* const response = await client.send(command);
|
|
58
64
|
* ```
|
|
@@ -47,6 +47,11 @@ export interface ListAccessPointsForObjectLambdaCommandOutput extends ListAccess
|
|
|
47
47
|
* import { S3ControlClient, ListAccessPointsForObjectLambdaCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
48
48
|
* // const { S3ControlClient, ListAccessPointsForObjectLambdaCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
49
49
|
* const client = new S3ControlClient(config);
|
|
50
|
+
* const input = { // ListAccessPointsForObjectLambdaRequest
|
|
51
|
+
* AccountId: "STRING_VALUE",
|
|
52
|
+
* NextToken: "STRING_VALUE",
|
|
53
|
+
* MaxResults: Number("int"),
|
|
54
|
+
* };
|
|
50
55
|
* const command = new ListAccessPointsForObjectLambdaCommand(input);
|
|
51
56
|
* const response = await client.send(command);
|
|
52
57
|
* ```
|
|
@@ -52,6 +52,14 @@ export interface ListJobsCommandOutput extends ListJobsResult, __MetadataBearer
|
|
|
52
52
|
* import { S3ControlClient, ListJobsCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
53
53
|
* // const { S3ControlClient, ListJobsCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
54
54
|
* const client = new S3ControlClient(config);
|
|
55
|
+
* const input = { // ListJobsRequest
|
|
56
|
+
* AccountId: "STRING_VALUE",
|
|
57
|
+
* JobStatuses: [ // JobStatusList
|
|
58
|
+
* "Active" || "Cancelled" || "Cancelling" || "Complete" || "Completing" || "Failed" || "Failing" || "New" || "Paused" || "Pausing" || "Preparing" || "Ready" || "Suspended",
|
|
59
|
+
* ],
|
|
60
|
+
* NextToken: "STRING_VALUE",
|
|
61
|
+
* MaxResults: Number("int"),
|
|
62
|
+
* };
|
|
55
63
|
* const command = new ListJobsCommand(input);
|
|
56
64
|
* const response = await client.send(command);
|
|
57
65
|
* ```
|
|
@@ -54,6 +54,11 @@ export interface ListMultiRegionAccessPointsCommandOutput extends ListMultiRegio
|
|
|
54
54
|
* import { S3ControlClient, ListMultiRegionAccessPointsCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
55
55
|
* // const { S3ControlClient, ListMultiRegionAccessPointsCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
56
56
|
* const client = new S3ControlClient(config);
|
|
57
|
+
* const input = { // ListMultiRegionAccessPointsRequest
|
|
58
|
+
* AccountId: "STRING_VALUE",
|
|
59
|
+
* NextToken: "STRING_VALUE",
|
|
60
|
+
* MaxResults: Number("int"),
|
|
61
|
+
* };
|
|
57
62
|
* const command = new ListMultiRegionAccessPointsCommand(input);
|
|
58
63
|
* const response = await client.send(command);
|
|
59
64
|
* ```
|
|
@@ -30,6 +30,12 @@ export interface ListRegionalBucketsCommandOutput extends ListRegionalBucketsRes
|
|
|
30
30
|
* import { S3ControlClient, ListRegionalBucketsCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
31
31
|
* // const { S3ControlClient, ListRegionalBucketsCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
32
32
|
* const client = new S3ControlClient(config);
|
|
33
|
+
* const input = { // ListRegionalBucketsRequest
|
|
34
|
+
* AccountId: "STRING_VALUE",
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* MaxResults: Number("int"),
|
|
37
|
+
* OutpostId: "STRING_VALUE",
|
|
38
|
+
* };
|
|
33
39
|
* const command = new ListRegionalBucketsCommand(input);
|
|
34
40
|
* const response = await client.send(command);
|
|
35
41
|
* ```
|
|
@@ -35,6 +35,10 @@ export interface ListStorageLensConfigurationsCommandOutput extends ListStorageL
|
|
|
35
35
|
* import { S3ControlClient, ListStorageLensConfigurationsCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
36
36
|
* // const { S3ControlClient, ListStorageLensConfigurationsCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
37
37
|
* const client = new S3ControlClient(config);
|
|
38
|
+
* const input = { // ListStorageLensConfigurationsRequest
|
|
39
|
+
* AccountId: "STRING_VALUE",
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
38
42
|
* const command = new ListStorageLensConfigurationsCommand(input);
|
|
39
43
|
* const response = await client.send(command);
|
|
40
44
|
* ```
|
|
@@ -35,6 +35,30 @@ export interface PutAccessPointConfigurationForObjectLambdaCommandOutput extends
|
|
|
35
35
|
* import { S3ControlClient, PutAccessPointConfigurationForObjectLambdaCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
36
36
|
* // const { S3ControlClient, PutAccessPointConfigurationForObjectLambdaCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
37
37
|
* const client = new S3ControlClient(config);
|
|
38
|
+
* const input = { // PutAccessPointConfigurationForObjectLambdaRequest
|
|
39
|
+
* AccountId: "STRING_VALUE",
|
|
40
|
+
* Name: "STRING_VALUE", // required
|
|
41
|
+
* Configuration: { // ObjectLambdaConfiguration
|
|
42
|
+
* SupportingAccessPoint: "STRING_VALUE", // required
|
|
43
|
+
* CloudWatchMetricsEnabled: true || false,
|
|
44
|
+
* AllowedFeatures: [ // ObjectLambdaAllowedFeaturesList
|
|
45
|
+
* "GetObject-Range" || "GetObject-PartNumber" || "HeadObject-Range" || "HeadObject-PartNumber",
|
|
46
|
+
* ],
|
|
47
|
+
* TransformationConfigurations: [ // ObjectLambdaTransformationConfigurationsList // required
|
|
48
|
+
* { // ObjectLambdaTransformationConfiguration
|
|
49
|
+
* Actions: [ // ObjectLambdaTransformationConfigurationActionsList // required
|
|
50
|
+
* "GetObject" || "HeadObject" || "ListObjects" || "ListObjectsV2",
|
|
51
|
+
* ],
|
|
52
|
+
* ContentTransformation: { // ObjectLambdaContentTransformation Union: only one key present
|
|
53
|
+
* AwsLambda: { // AwsLambdaTransformation
|
|
54
|
+
* FunctionArn: "STRING_VALUE", // required
|
|
55
|
+
* FunctionPayload: "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* },
|
|
61
|
+
* };
|
|
38
62
|
* const command = new PutAccessPointConfigurationForObjectLambdaCommand(input);
|
|
39
63
|
* const response = await client.send(command);
|
|
40
64
|
* ```
|
|
@@ -43,6 +43,11 @@ export interface PutAccessPointPolicyCommandOutput extends __MetadataBearer {
|
|
|
43
43
|
* import { S3ControlClient, PutAccessPointPolicyCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
44
44
|
* // const { S3ControlClient, PutAccessPointPolicyCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
45
45
|
* const client = new S3ControlClient(config);
|
|
46
|
+
* const input = { // PutAccessPointPolicyRequest
|
|
47
|
+
* AccountId: "STRING_VALUE",
|
|
48
|
+
* Name: "STRING_VALUE", // required
|
|
49
|
+
* Policy: "STRING_VALUE", // required
|
|
50
|
+
* };
|
|
46
51
|
* const command = new PutAccessPointPolicyCommand(input);
|
|
47
52
|
* const response = await client.send(command);
|
|
48
53
|
* ```
|
|
@@ -40,6 +40,11 @@ export interface PutAccessPointPolicyForObjectLambdaCommandOutput extends __Meta
|
|
|
40
40
|
* import { S3ControlClient, PutAccessPointPolicyForObjectLambdaCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
41
41
|
* // const { S3ControlClient, PutAccessPointPolicyForObjectLambdaCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
42
42
|
* const client = new S3ControlClient(config);
|
|
43
|
+
* const input = { // PutAccessPointPolicyForObjectLambdaRequest
|
|
44
|
+
* AccountId: "STRING_VALUE",
|
|
45
|
+
* Name: "STRING_VALUE", // required
|
|
46
|
+
* Policy: "STRING_VALUE", // required
|
|
47
|
+
* };
|
|
43
48
|
* const command = new PutAccessPointPolicyForObjectLambdaCommand(input);
|
|
44
49
|
* const response = await client.send(command);
|
|
45
50
|
* ```
|
|
@@ -50,6 +50,63 @@ export interface PutBucketLifecycleConfigurationCommandOutput extends __Metadata
|
|
|
50
50
|
* import { S3ControlClient, PutBucketLifecycleConfigurationCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
51
51
|
* // const { S3ControlClient, PutBucketLifecycleConfigurationCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
52
52
|
* const client = new S3ControlClient(config);
|
|
53
|
+
* const input = { // PutBucketLifecycleConfigurationRequest
|
|
54
|
+
* AccountId: "STRING_VALUE",
|
|
55
|
+
* Bucket: "STRING_VALUE", // required
|
|
56
|
+
* LifecycleConfiguration: { // LifecycleConfiguration
|
|
57
|
+
* Rules: [ // LifecycleRules
|
|
58
|
+
* { // LifecycleRule
|
|
59
|
+
* Expiration: { // LifecycleExpiration
|
|
60
|
+
* Date: new Date("TIMESTAMP"),
|
|
61
|
+
* Days: Number("int"),
|
|
62
|
+
* ExpiredObjectDeleteMarker: true || false,
|
|
63
|
+
* },
|
|
64
|
+
* ID: "STRING_VALUE",
|
|
65
|
+
* Filter: { // LifecycleRuleFilter
|
|
66
|
+
* Prefix: "STRING_VALUE",
|
|
67
|
+
* Tag: { // S3Tag
|
|
68
|
+
* Key: "STRING_VALUE", // required
|
|
69
|
+
* Value: "STRING_VALUE", // required
|
|
70
|
+
* },
|
|
71
|
+
* And: { // LifecycleRuleAndOperator
|
|
72
|
+
* Prefix: "STRING_VALUE",
|
|
73
|
+
* Tags: [ // S3TagSet
|
|
74
|
+
* {
|
|
75
|
+
* Key: "STRING_VALUE", // required
|
|
76
|
+
* Value: "STRING_VALUE", // required
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* ObjectSizeGreaterThan: Number("long"),
|
|
80
|
+
* ObjectSizeLessThan: Number("long"),
|
|
81
|
+
* },
|
|
82
|
+
* ObjectSizeGreaterThan: Number("long"),
|
|
83
|
+
* ObjectSizeLessThan: Number("long"),
|
|
84
|
+
* },
|
|
85
|
+
* Status: "Enabled" || "Disabled", // required
|
|
86
|
+
* Transitions: [ // TransitionList
|
|
87
|
+
* { // Transition
|
|
88
|
+
* Date: new Date("TIMESTAMP"),
|
|
89
|
+
* Days: Number("int"),
|
|
90
|
+
* StorageClass: "GLACIER" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "DEEP_ARCHIVE",
|
|
91
|
+
* },
|
|
92
|
+
* ],
|
|
93
|
+
* NoncurrentVersionTransitions: [ // NoncurrentVersionTransitionList
|
|
94
|
+
* { // NoncurrentVersionTransition
|
|
95
|
+
* NoncurrentDays: Number("int"),
|
|
96
|
+
* StorageClass: "GLACIER" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "DEEP_ARCHIVE",
|
|
97
|
+
* },
|
|
98
|
+
* ],
|
|
99
|
+
* NoncurrentVersionExpiration: { // NoncurrentVersionExpiration
|
|
100
|
+
* NoncurrentDays: Number("int"),
|
|
101
|
+
* NewerNoncurrentVersions: Number("int"),
|
|
102
|
+
* },
|
|
103
|
+
* AbortIncompleteMultipartUpload: { // AbortIncompleteMultipartUpload
|
|
104
|
+
* DaysAfterInitiation: Number("int"),
|
|
105
|
+
* },
|
|
106
|
+
* },
|
|
107
|
+
* ],
|
|
108
|
+
* },
|
|
109
|
+
* };
|
|
53
110
|
* const command = new PutBucketLifecycleConfigurationCommand(input);
|
|
54
111
|
* const response = await client.send(command);
|
|
55
112
|
* ```
|
|
@@ -61,6 +61,12 @@ export interface PutBucketPolicyCommandOutput extends __MetadataBearer {
|
|
|
61
61
|
* import { S3ControlClient, PutBucketPolicyCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
62
62
|
* // const { S3ControlClient, PutBucketPolicyCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
63
63
|
* const client = new S3ControlClient(config);
|
|
64
|
+
* const input = { // PutBucketPolicyRequest
|
|
65
|
+
* AccountId: "STRING_VALUE",
|
|
66
|
+
* Bucket: "STRING_VALUE", // required
|
|
67
|
+
* ConfirmRemoveSelfBucketAccess: true || false,
|
|
68
|
+
* Policy: "STRING_VALUE", // required
|
|
69
|
+
* };
|
|
64
70
|
* const command = new PutBucketPolicyCommand(input);
|
|
65
71
|
* const response = await client.send(command);
|
|
66
72
|
* ```
|
|
@@ -106,6 +106,75 @@ export interface PutBucketReplicationCommandOutput extends __MetadataBearer {
|
|
|
106
106
|
* import { S3ControlClient, PutBucketReplicationCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
107
107
|
* // const { S3ControlClient, PutBucketReplicationCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
108
108
|
* const client = new S3ControlClient(config);
|
|
109
|
+
* const input = { // PutBucketReplicationRequest
|
|
110
|
+
* AccountId: "STRING_VALUE",
|
|
111
|
+
* Bucket: "STRING_VALUE", // required
|
|
112
|
+
* ReplicationConfiguration: { // ReplicationConfiguration
|
|
113
|
+
* Role: "STRING_VALUE", // required
|
|
114
|
+
* Rules: [ // ReplicationRules // required
|
|
115
|
+
* { // ReplicationRule
|
|
116
|
+
* ID: "STRING_VALUE",
|
|
117
|
+
* Priority: Number("int"),
|
|
118
|
+
* Prefix: "STRING_VALUE",
|
|
119
|
+
* Filter: { // ReplicationRuleFilter
|
|
120
|
+
* Prefix: "STRING_VALUE",
|
|
121
|
+
* Tag: { // S3Tag
|
|
122
|
+
* Key: "STRING_VALUE", // required
|
|
123
|
+
* Value: "STRING_VALUE", // required
|
|
124
|
+
* },
|
|
125
|
+
* And: { // ReplicationRuleAndOperator
|
|
126
|
+
* Prefix: "STRING_VALUE",
|
|
127
|
+
* Tags: [ // S3TagSet
|
|
128
|
+
* {
|
|
129
|
+
* Key: "STRING_VALUE", // required
|
|
130
|
+
* Value: "STRING_VALUE", // required
|
|
131
|
+
* },
|
|
132
|
+
* ],
|
|
133
|
+
* },
|
|
134
|
+
* },
|
|
135
|
+
* Status: "Enabled" || "Disabled", // required
|
|
136
|
+
* SourceSelectionCriteria: { // SourceSelectionCriteria
|
|
137
|
+
* SseKmsEncryptedObjects: { // SseKmsEncryptedObjects
|
|
138
|
+
* Status: "Enabled" || "Disabled", // required
|
|
139
|
+
* },
|
|
140
|
+
* ReplicaModifications: { // ReplicaModifications
|
|
141
|
+
* Status: "Enabled" || "Disabled", // required
|
|
142
|
+
* },
|
|
143
|
+
* },
|
|
144
|
+
* ExistingObjectReplication: { // ExistingObjectReplication
|
|
145
|
+
* Status: "Enabled" || "Disabled", // required
|
|
146
|
+
* },
|
|
147
|
+
* Destination: { // Destination
|
|
148
|
+
* Account: "STRING_VALUE",
|
|
149
|
+
* Bucket: "STRING_VALUE", // required
|
|
150
|
+
* ReplicationTime: { // ReplicationTime
|
|
151
|
+
* Status: "Enabled" || "Disabled", // required
|
|
152
|
+
* Time: { // ReplicationTimeValue
|
|
153
|
+
* Minutes: Number("int"),
|
|
154
|
+
* },
|
|
155
|
+
* },
|
|
156
|
+
* AccessControlTranslation: { // AccessControlTranslation
|
|
157
|
+
* Owner: "Destination", // required
|
|
158
|
+
* },
|
|
159
|
+
* EncryptionConfiguration: { // EncryptionConfiguration
|
|
160
|
+
* ReplicaKmsKeyID: "STRING_VALUE",
|
|
161
|
+
* },
|
|
162
|
+
* Metrics: { // Metrics
|
|
163
|
+
* Status: "Enabled" || "Disabled", // required
|
|
164
|
+
* EventThreshold: {
|
|
165
|
+
* Minutes: Number("int"),
|
|
166
|
+
* },
|
|
167
|
+
* },
|
|
168
|
+
* StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR",
|
|
169
|
+
* },
|
|
170
|
+
* DeleteMarkerReplication: { // DeleteMarkerReplication
|
|
171
|
+
* Status: "Enabled" || "Disabled", // required
|
|
172
|
+
* },
|
|
173
|
+
* Bucket: "STRING_VALUE", // required
|
|
174
|
+
* },
|
|
175
|
+
* ],
|
|
176
|
+
* },
|
|
177
|
+
* };
|
|
109
178
|
* const command = new PutBucketReplicationCommand(input);
|
|
110
179
|
* const response = await client.send(command);
|
|
111
180
|
* ```
|
|
@@ -108,6 +108,18 @@ export interface PutBucketTaggingCommandOutput extends __MetadataBearer {
|
|
|
108
108
|
* import { S3ControlClient, PutBucketTaggingCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
109
109
|
* // const { S3ControlClient, PutBucketTaggingCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
110
110
|
* const client = new S3ControlClient(config);
|
|
111
|
+
* const input = { // PutBucketTaggingRequest
|
|
112
|
+
* AccountId: "STRING_VALUE",
|
|
113
|
+
* Bucket: "STRING_VALUE", // required
|
|
114
|
+
* Tagging: { // Tagging
|
|
115
|
+
* TagSet: [ // S3TagSet // required
|
|
116
|
+
* { // S3Tag
|
|
117
|
+
* Key: "STRING_VALUE", // required
|
|
118
|
+
* Value: "STRING_VALUE", // required
|
|
119
|
+
* },
|
|
120
|
+
* ],
|
|
121
|
+
* },
|
|
122
|
+
* };
|
|
111
123
|
* const command = new PutBucketTaggingCommand(input);
|
|
112
124
|
* const response = await client.send(command);
|
|
113
125
|
* ```
|
|
@@ -87,6 +87,15 @@ export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
|
|
|
87
87
|
* import { S3ControlClient, PutBucketVersioningCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
88
88
|
* // const { S3ControlClient, PutBucketVersioningCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
89
89
|
* const client = new S3ControlClient(config);
|
|
90
|
+
* const input = { // PutBucketVersioningRequest
|
|
91
|
+
* AccountId: "STRING_VALUE",
|
|
92
|
+
* Bucket: "STRING_VALUE", // required
|
|
93
|
+
* MFA: "STRING_VALUE",
|
|
94
|
+
* VersioningConfiguration: { // VersioningConfiguration
|
|
95
|
+
* MFADelete: "Enabled" || "Disabled",
|
|
96
|
+
* Status: "Enabled" || "Suspended",
|
|
97
|
+
* },
|
|
98
|
+
* };
|
|
90
99
|
* const command = new PutBucketVersioningCommand(input);
|
|
91
100
|
* const response = await client.send(command);
|
|
92
101
|
* ```
|
|
@@ -92,6 +92,16 @@ export interface PutJobTaggingCommandOutput extends PutJobTaggingResult, __Metad
|
|
|
92
92
|
* import { S3ControlClient, PutJobTaggingCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
93
93
|
* // const { S3ControlClient, PutJobTaggingCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
94
94
|
* const client = new S3ControlClient(config);
|
|
95
|
+
* const input = { // PutJobTaggingRequest
|
|
96
|
+
* AccountId: "STRING_VALUE",
|
|
97
|
+
* JobId: "STRING_VALUE", // required
|
|
98
|
+
* Tags: [ // S3TagSet // required
|
|
99
|
+
* { // S3Tag
|
|
100
|
+
* Key: "STRING_VALUE", // required
|
|
101
|
+
* Value: "STRING_VALUE", // required
|
|
102
|
+
* },
|
|
103
|
+
* ],
|
|
104
|
+
* };
|
|
95
105
|
* const command = new PutJobTaggingCommand(input);
|
|
96
106
|
* const response = await client.send(command);
|
|
97
107
|
* ```
|
|
@@ -45,6 +45,14 @@ export interface PutMultiRegionAccessPointPolicyCommandOutput extends PutMultiRe
|
|
|
45
45
|
* import { S3ControlClient, PutMultiRegionAccessPointPolicyCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
46
46
|
* // const { S3ControlClient, PutMultiRegionAccessPointPolicyCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
47
47
|
* const client = new S3ControlClient(config);
|
|
48
|
+
* const input = { // PutMultiRegionAccessPointPolicyRequest
|
|
49
|
+
* AccountId: "STRING_VALUE",
|
|
50
|
+
* ClientToken: "STRING_VALUE", // required
|
|
51
|
+
* Details: { // PutMultiRegionAccessPointPolicyInput
|
|
52
|
+
* Name: "STRING_VALUE", // required
|
|
53
|
+
* Policy: "STRING_VALUE", // required
|
|
54
|
+
* },
|
|
55
|
+
* };
|
|
48
56
|
* const command = new PutMultiRegionAccessPointPolicyCommand(input);
|
|
49
57
|
* const response = await client.send(command);
|
|
50
58
|
* ```
|
|
@@ -42,6 +42,15 @@ export interface PutPublicAccessBlockCommandOutput extends __MetadataBearer {
|
|
|
42
42
|
* import { S3ControlClient, PutPublicAccessBlockCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
43
43
|
* // const { S3ControlClient, PutPublicAccessBlockCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
44
44
|
* const client = new S3ControlClient(config);
|
|
45
|
+
* const input = { // PutPublicAccessBlockRequest
|
|
46
|
+
* PublicAccessBlockConfiguration: { // PublicAccessBlockConfiguration
|
|
47
|
+
* BlockPublicAcls: true || false,
|
|
48
|
+
* IgnorePublicAcls: true || false,
|
|
49
|
+
* BlockPublicPolicy: true || false,
|
|
50
|
+
* RestrictPublicBuckets: true || false,
|
|
51
|
+
* },
|
|
52
|
+
* AccountId: "STRING_VALUE",
|
|
53
|
+
* };
|
|
45
54
|
* const command = new PutPublicAccessBlockCommand(input);
|
|
46
55
|
* const response = await client.send(command);
|
|
47
56
|
* ```
|
|
@@ -32,6 +32,96 @@ export interface PutStorageLensConfigurationCommandOutput extends __MetadataBear
|
|
|
32
32
|
* import { S3ControlClient, PutStorageLensConfigurationCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
33
33
|
* // const { S3ControlClient, PutStorageLensConfigurationCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
34
34
|
* const client = new S3ControlClient(config);
|
|
35
|
+
* const input = { // PutStorageLensConfigurationRequest
|
|
36
|
+
* ConfigId: "STRING_VALUE", // required
|
|
37
|
+
* AccountId: "STRING_VALUE",
|
|
38
|
+
* StorageLensConfiguration: { // StorageLensConfiguration
|
|
39
|
+
* Id: "STRING_VALUE", // required
|
|
40
|
+
* AccountLevel: { // AccountLevel
|
|
41
|
+
* ActivityMetrics: { // ActivityMetrics
|
|
42
|
+
* IsEnabled: true || false,
|
|
43
|
+
* },
|
|
44
|
+
* BucketLevel: { // BucketLevel
|
|
45
|
+
* ActivityMetrics: {
|
|
46
|
+
* IsEnabled: true || false,
|
|
47
|
+
* },
|
|
48
|
+
* PrefixLevel: { // PrefixLevel
|
|
49
|
+
* StorageMetrics: { // PrefixLevelStorageMetrics
|
|
50
|
+
* IsEnabled: true || false,
|
|
51
|
+
* SelectionCriteria: { // SelectionCriteria
|
|
52
|
+
* Delimiter: "STRING_VALUE",
|
|
53
|
+
* MaxDepth: Number("int"),
|
|
54
|
+
* MinStorageBytesPercentage: Number("double"),
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* AdvancedCostOptimizationMetrics: { // AdvancedCostOptimizationMetrics
|
|
59
|
+
* IsEnabled: true || false,
|
|
60
|
+
* },
|
|
61
|
+
* AdvancedDataProtectionMetrics: { // AdvancedDataProtectionMetrics
|
|
62
|
+
* IsEnabled: true || false,
|
|
63
|
+
* },
|
|
64
|
+
* DetailedStatusCodesMetrics: { // DetailedStatusCodesMetrics
|
|
65
|
+
* IsEnabled: true || false,
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* AdvancedCostOptimizationMetrics: {
|
|
69
|
+
* IsEnabled: true || false,
|
|
70
|
+
* },
|
|
71
|
+
* AdvancedDataProtectionMetrics: {
|
|
72
|
+
* IsEnabled: true || false,
|
|
73
|
+
* },
|
|
74
|
+
* DetailedStatusCodesMetrics: {
|
|
75
|
+
* IsEnabled: true || false,
|
|
76
|
+
* },
|
|
77
|
+
* },
|
|
78
|
+
* Include: { // Include
|
|
79
|
+
* Buckets: [ // Buckets
|
|
80
|
+
* "STRING_VALUE",
|
|
81
|
+
* ],
|
|
82
|
+
* Regions: [ // Regions
|
|
83
|
+
* "STRING_VALUE",
|
|
84
|
+
* ],
|
|
85
|
+
* },
|
|
86
|
+
* Exclude: { // Exclude
|
|
87
|
+
* Buckets: [
|
|
88
|
+
* "STRING_VALUE",
|
|
89
|
+
* ],
|
|
90
|
+
* Regions: [
|
|
91
|
+
* "STRING_VALUE",
|
|
92
|
+
* ],
|
|
93
|
+
* },
|
|
94
|
+
* DataExport: { // StorageLensDataExport
|
|
95
|
+
* S3BucketDestination: { // S3BucketDestination
|
|
96
|
+
* Format: "CSV" || "Parquet", // required
|
|
97
|
+
* OutputSchemaVersion: "V_1", // required
|
|
98
|
+
* AccountId: "STRING_VALUE",
|
|
99
|
+
* Arn: "STRING_VALUE", // required
|
|
100
|
+
* Prefix: "STRING_VALUE",
|
|
101
|
+
* Encryption: { // StorageLensDataExportEncryption
|
|
102
|
+
* SSES3: {},
|
|
103
|
+
* SSEKMS: { // SSEKMS
|
|
104
|
+
* KeyId: "STRING_VALUE", // required
|
|
105
|
+
* },
|
|
106
|
+
* },
|
|
107
|
+
* },
|
|
108
|
+
* CloudWatchMetrics: { // CloudWatchMetrics
|
|
109
|
+
* IsEnabled: true || false, // required
|
|
110
|
+
* },
|
|
111
|
+
* },
|
|
112
|
+
* IsEnabled: true || false, // required
|
|
113
|
+
* AwsOrg: { // StorageLensAwsOrg
|
|
114
|
+
* Arn: "STRING_VALUE", // required
|
|
115
|
+
* },
|
|
116
|
+
* StorageLensArn: "STRING_VALUE",
|
|
117
|
+
* },
|
|
118
|
+
* Tags: [ // StorageLensTags
|
|
119
|
+
* { // StorageLensTag
|
|
120
|
+
* Key: "STRING_VALUE", // required
|
|
121
|
+
* Value: "STRING_VALUE", // required
|
|
122
|
+
* },
|
|
123
|
+
* ],
|
|
124
|
+
* };
|
|
35
125
|
* const command = new PutStorageLensConfigurationCommand(input);
|
|
36
126
|
* const response = await client.send(command);
|
|
37
127
|
* ```
|
|
@@ -34,6 +34,16 @@ export interface PutStorageLensConfigurationTaggingCommandOutput extends PutStor
|
|
|
34
34
|
* import { S3ControlClient, PutStorageLensConfigurationTaggingCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
35
35
|
* // const { S3ControlClient, PutStorageLensConfigurationTaggingCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
36
36
|
* const client = new S3ControlClient(config);
|
|
37
|
+
* const input = { // PutStorageLensConfigurationTaggingRequest
|
|
38
|
+
* ConfigId: "STRING_VALUE", // required
|
|
39
|
+
* AccountId: "STRING_VALUE",
|
|
40
|
+
* Tags: [ // StorageLensTags // required
|
|
41
|
+
* { // StorageLensTag
|
|
42
|
+
* Key: "STRING_VALUE", // required
|
|
43
|
+
* Value: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
37
47
|
* const command = new PutStorageLensConfigurationTaggingCommand(input);
|
|
38
48
|
* const response = await client.send(command);
|
|
39
49
|
* ```
|
|
@@ -70,6 +70,17 @@ export interface SubmitMultiRegionAccessPointRoutesCommandOutput extends SubmitM
|
|
|
70
70
|
* import { S3ControlClient, SubmitMultiRegionAccessPointRoutesCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
71
71
|
* // const { S3ControlClient, SubmitMultiRegionAccessPointRoutesCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
72
72
|
* const client = new S3ControlClient(config);
|
|
73
|
+
* const input = { // SubmitMultiRegionAccessPointRoutesRequest
|
|
74
|
+
* AccountId: "STRING_VALUE",
|
|
75
|
+
* Mrap: "STRING_VALUE", // required
|
|
76
|
+
* RouteUpdates: [ // RouteList // required
|
|
77
|
+
* { // MultiRegionAccessPointRoute
|
|
78
|
+
* Bucket: "STRING_VALUE",
|
|
79
|
+
* Region: "STRING_VALUE",
|
|
80
|
+
* TrafficDialPercentage: Number("int"), // required
|
|
81
|
+
* },
|
|
82
|
+
* ],
|
|
83
|
+
* };
|
|
73
84
|
* const command = new SubmitMultiRegionAccessPointRoutesCommand(input);
|
|
74
85
|
* const response = await client.send(command);
|
|
75
86
|
* ```
|
|
@@ -50,6 +50,11 @@ export interface UpdateJobPriorityCommandOutput extends UpdateJobPriorityResult,
|
|
|
50
50
|
* import { S3ControlClient, UpdateJobPriorityCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
51
51
|
* // const { S3ControlClient, UpdateJobPriorityCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
52
52
|
* const client = new S3ControlClient(config);
|
|
53
|
+
* const input = { // UpdateJobPriorityRequest
|
|
54
|
+
* AccountId: "STRING_VALUE",
|
|
55
|
+
* JobId: "STRING_VALUE", // required
|
|
56
|
+
* Priority: Number("int"), // required
|
|
57
|
+
* };
|
|
53
58
|
* const command = new UpdateJobPriorityCommand(input);
|
|
54
59
|
* const response = await client.send(command);
|
|
55
60
|
* ```
|
|
@@ -51,6 +51,12 @@ export interface UpdateJobStatusCommandOutput extends UpdateJobStatusResult, __M
|
|
|
51
51
|
* import { S3ControlClient, UpdateJobStatusCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
52
52
|
* // const { S3ControlClient, UpdateJobStatusCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
53
53
|
* const client = new S3ControlClient(config);
|
|
54
|
+
* const input = { // UpdateJobStatusRequest
|
|
55
|
+
* AccountId: "STRING_VALUE",
|
|
56
|
+
* JobId: "STRING_VALUE", // required
|
|
57
|
+
* RequestedJobStatus: "Cancelled" || "Ready", // required
|
|
58
|
+
* StatusUpdateReason: "STRING_VALUE",
|
|
59
|
+
* };
|
|
54
60
|
* const command = new UpdateJobStatusCommand(input);
|
|
55
61
|
* const response = await client.send(command);
|
|
56
62
|
* ```
|