@aws-sdk/client-s3-control 3.451.0 → 3.454.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 +64 -0
- package/dist-cjs/S3Control.js +16 -0
- package/dist-cjs/commands/CreateStorageLensGroupCommand.js +56 -0
- package/dist-cjs/commands/DeleteStorageLensGroupCommand.js +56 -0
- package/dist-cjs/commands/GetStorageLensGroupCommand.js +56 -0
- package/dist-cjs/commands/ListStorageLensGroupsCommand.js +56 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +56 -0
- package/dist-cjs/commands/TagResourceCommand.js +56 -0
- package/dist-cjs/commands/UntagResourceCommand.js +56 -0
- package/dist-cjs/commands/UpdateStorageLensGroupCommand.js +56 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/pagination/ListStorageLensGroupsPaginator.js +28 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restXml.js +968 -3
- package/dist-es/S3Control.js +16 -0
- package/dist-es/commands/CreateStorageLensGroupCommand.js +52 -0
- package/dist-es/commands/DeleteStorageLensGroupCommand.js +52 -0
- package/dist-es/commands/GetStorageLensGroupCommand.js +52 -0
- package/dist-es/commands/ListStorageLensGroupsCommand.js +52 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +52 -0
- package/dist-es/commands/TagResourceCommand.js +52 -0
- package/dist-es/commands/UntagResourceCommand.js +52 -0
- package/dist-es/commands/UpdateStorageLensGroupCommand.js +52 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/pagination/ListStorageLensGroupsPaginator.js +24 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restXml.js +949 -0
- package/dist-types/S3Control.d.ts +56 -0
- package/dist-types/S3ControlClient.d.ts +10 -2
- package/dist-types/commands/CreateStorageLensGroupCommand.d.ts +159 -0
- package/dist-types/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteStorageLensGroupCommand.d.ts +78 -0
- package/dist-types/commands/GetStorageLensConfigurationCommand.d.ts +10 -0
- package/dist-types/commands/GetStorageLensGroupCommand.d.ts +149 -0
- package/dist-types/commands/ListStorageLensGroupsCommand.d.ts +88 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
- package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +10 -0
- package/dist-types/commands/TagResourceCommand.d.ts +86 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +84 -0
- package/dist-types/commands/UpdateStorageLensGroupCommand.d.ts +148 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +555 -7
- package/dist-types/pagination/ListStorageLensGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restXml.d.ts +72 -0
- package/dist-types/ts3.4/S3Control.d.ts +136 -0
- package/dist-types/ts3.4/S3ControlClient.d.ts +50 -2
- package/dist-types/ts3.4/commands/CreateStorageLensGroupCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteStorageLensGroupCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetStorageLensGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListStorageLensGroupsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateStorageLensGroupCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +101 -0
- package/dist-types/ts3.4/pagination/ListStorageLensGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +96 -0
- package/package.json +2 -2
|
@@ -4,6 +4,7 @@ import { CreateAccessPointForObjectLambdaCommandInput, CreateAccessPointForObjec
|
|
|
4
4
|
import { CreateBucketCommandInput, CreateBucketCommandOutput } from "./commands/CreateBucketCommand";
|
|
5
5
|
import { CreateJobCommandInput, CreateJobCommandOutput } from "./commands/CreateJobCommand";
|
|
6
6
|
import { CreateMultiRegionAccessPointCommandInput, CreateMultiRegionAccessPointCommandOutput } from "./commands/CreateMultiRegionAccessPointCommand";
|
|
7
|
+
import { CreateStorageLensGroupCommandInput, CreateStorageLensGroupCommandOutput } from "./commands/CreateStorageLensGroupCommand";
|
|
7
8
|
import { DeleteAccessPointCommandInput, DeleteAccessPointCommandOutput } from "./commands/DeleteAccessPointCommand";
|
|
8
9
|
import { DeleteAccessPointForObjectLambdaCommandInput, DeleteAccessPointForObjectLambdaCommandOutput } from "./commands/DeleteAccessPointForObjectLambdaCommand";
|
|
9
10
|
import { DeleteAccessPointPolicyCommandInput, DeleteAccessPointPolicyCommandOutput } from "./commands/DeleteAccessPointPolicyCommand";
|
|
@@ -18,6 +19,7 @@ import { DeleteMultiRegionAccessPointCommandInput, DeleteMultiRegionAccessPointC
|
|
|
18
19
|
import { DeletePublicAccessBlockCommandInput, DeletePublicAccessBlockCommandOutput } from "./commands/DeletePublicAccessBlockCommand";
|
|
19
20
|
import { DeleteStorageLensConfigurationCommandInput, DeleteStorageLensConfigurationCommandOutput } from "./commands/DeleteStorageLensConfigurationCommand";
|
|
20
21
|
import { DeleteStorageLensConfigurationTaggingCommandInput, DeleteStorageLensConfigurationTaggingCommandOutput } from "./commands/DeleteStorageLensConfigurationTaggingCommand";
|
|
22
|
+
import { DeleteStorageLensGroupCommandInput, DeleteStorageLensGroupCommandOutput } from "./commands/DeleteStorageLensGroupCommand";
|
|
21
23
|
import { DescribeJobCommandInput, DescribeJobCommandOutput } from "./commands/DescribeJobCommand";
|
|
22
24
|
import { DescribeMultiRegionAccessPointOperationCommandInput, DescribeMultiRegionAccessPointOperationCommandOutput } from "./commands/DescribeMultiRegionAccessPointOperationCommand";
|
|
23
25
|
import { GetAccessPointCommandInput, GetAccessPointCommandOutput } from "./commands/GetAccessPointCommand";
|
|
@@ -41,12 +43,15 @@ import { GetMultiRegionAccessPointRoutesCommandInput, GetMultiRegionAccessPointR
|
|
|
41
43
|
import { GetPublicAccessBlockCommandInput, GetPublicAccessBlockCommandOutput } from "./commands/GetPublicAccessBlockCommand";
|
|
42
44
|
import { GetStorageLensConfigurationCommandInput, GetStorageLensConfigurationCommandOutput } from "./commands/GetStorageLensConfigurationCommand";
|
|
43
45
|
import { GetStorageLensConfigurationTaggingCommandInput, GetStorageLensConfigurationTaggingCommandOutput } from "./commands/GetStorageLensConfigurationTaggingCommand";
|
|
46
|
+
import { GetStorageLensGroupCommandInput, GetStorageLensGroupCommandOutput } from "./commands/GetStorageLensGroupCommand";
|
|
44
47
|
import { ListAccessPointsCommandInput, ListAccessPointsCommandOutput } from "./commands/ListAccessPointsCommand";
|
|
45
48
|
import { ListAccessPointsForObjectLambdaCommandInput, ListAccessPointsForObjectLambdaCommandOutput } from "./commands/ListAccessPointsForObjectLambdaCommand";
|
|
46
49
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
47
50
|
import { ListMultiRegionAccessPointsCommandInput, ListMultiRegionAccessPointsCommandOutput } from "./commands/ListMultiRegionAccessPointsCommand";
|
|
48
51
|
import { ListRegionalBucketsCommandInput, ListRegionalBucketsCommandOutput } from "./commands/ListRegionalBucketsCommand";
|
|
49
52
|
import { ListStorageLensConfigurationsCommandInput, ListStorageLensConfigurationsCommandOutput } from "./commands/ListStorageLensConfigurationsCommand";
|
|
53
|
+
import { ListStorageLensGroupsCommandInput, ListStorageLensGroupsCommandOutput } from "./commands/ListStorageLensGroupsCommand";
|
|
54
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
50
55
|
import { PutAccessPointConfigurationForObjectLambdaCommandInput, PutAccessPointConfigurationForObjectLambdaCommandOutput } from "./commands/PutAccessPointConfigurationForObjectLambdaCommand";
|
|
51
56
|
import { PutAccessPointPolicyCommandInput, PutAccessPointPolicyCommandOutput } from "./commands/PutAccessPointPolicyCommand";
|
|
52
57
|
import { PutAccessPointPolicyForObjectLambdaCommandInput, PutAccessPointPolicyForObjectLambdaCommandOutput } from "./commands/PutAccessPointPolicyForObjectLambdaCommand";
|
|
@@ -61,8 +66,11 @@ import { PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput } f
|
|
|
61
66
|
import { PutStorageLensConfigurationCommandInput, PutStorageLensConfigurationCommandOutput } from "./commands/PutStorageLensConfigurationCommand";
|
|
62
67
|
import { PutStorageLensConfigurationTaggingCommandInput, PutStorageLensConfigurationTaggingCommandOutput } from "./commands/PutStorageLensConfigurationTaggingCommand";
|
|
63
68
|
import { SubmitMultiRegionAccessPointRoutesCommandInput, SubmitMultiRegionAccessPointRoutesCommandOutput } from "./commands/SubmitMultiRegionAccessPointRoutesCommand";
|
|
69
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
70
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
64
71
|
import { UpdateJobPriorityCommandInput, UpdateJobPriorityCommandOutput } from "./commands/UpdateJobPriorityCommand";
|
|
65
72
|
import { UpdateJobStatusCommandInput, UpdateJobStatusCommandOutput } from "./commands/UpdateJobStatusCommand";
|
|
73
|
+
import { UpdateStorageLensGroupCommandInput, UpdateStorageLensGroupCommandOutput } from "./commands/UpdateStorageLensGroupCommand";
|
|
66
74
|
import { S3ControlClient } from "./S3ControlClient";
|
|
67
75
|
export interface S3Control {
|
|
68
76
|
/**
|
|
@@ -95,6 +103,12 @@ export interface S3Control {
|
|
|
95
103
|
createMultiRegionAccessPoint(args: CreateMultiRegionAccessPointCommandInput, options?: __HttpHandlerOptions): Promise<CreateMultiRegionAccessPointCommandOutput>;
|
|
96
104
|
createMultiRegionAccessPoint(args: CreateMultiRegionAccessPointCommandInput, cb: (err: any, data?: CreateMultiRegionAccessPointCommandOutput) => void): void;
|
|
97
105
|
createMultiRegionAccessPoint(args: CreateMultiRegionAccessPointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMultiRegionAccessPointCommandOutput) => void): void;
|
|
106
|
+
/**
|
|
107
|
+
* @see {@link CreateStorageLensGroupCommand}
|
|
108
|
+
*/
|
|
109
|
+
createStorageLensGroup(args: CreateStorageLensGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateStorageLensGroupCommandOutput>;
|
|
110
|
+
createStorageLensGroup(args: CreateStorageLensGroupCommandInput, cb: (err: any, data?: CreateStorageLensGroupCommandOutput) => void): void;
|
|
111
|
+
createStorageLensGroup(args: CreateStorageLensGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStorageLensGroupCommandOutput) => void): void;
|
|
98
112
|
/**
|
|
99
113
|
* @see {@link DeleteAccessPointCommand}
|
|
100
114
|
*/
|
|
@@ -179,6 +193,12 @@ export interface S3Control {
|
|
|
179
193
|
deleteStorageLensConfigurationTagging(args: DeleteStorageLensConfigurationTaggingCommandInput, options?: __HttpHandlerOptions): Promise<DeleteStorageLensConfigurationTaggingCommandOutput>;
|
|
180
194
|
deleteStorageLensConfigurationTagging(args: DeleteStorageLensConfigurationTaggingCommandInput, cb: (err: any, data?: DeleteStorageLensConfigurationTaggingCommandOutput) => void): void;
|
|
181
195
|
deleteStorageLensConfigurationTagging(args: DeleteStorageLensConfigurationTaggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteStorageLensConfigurationTaggingCommandOutput) => void): void;
|
|
196
|
+
/**
|
|
197
|
+
* @see {@link DeleteStorageLensGroupCommand}
|
|
198
|
+
*/
|
|
199
|
+
deleteStorageLensGroup(args: DeleteStorageLensGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteStorageLensGroupCommandOutput>;
|
|
200
|
+
deleteStorageLensGroup(args: DeleteStorageLensGroupCommandInput, cb: (err: any, data?: DeleteStorageLensGroupCommandOutput) => void): void;
|
|
201
|
+
deleteStorageLensGroup(args: DeleteStorageLensGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteStorageLensGroupCommandOutput) => void): void;
|
|
182
202
|
/**
|
|
183
203
|
* @see {@link DescribeJobCommand}
|
|
184
204
|
*/
|
|
@@ -317,6 +337,12 @@ export interface S3Control {
|
|
|
317
337
|
getStorageLensConfigurationTagging(args: GetStorageLensConfigurationTaggingCommandInput, options?: __HttpHandlerOptions): Promise<GetStorageLensConfigurationTaggingCommandOutput>;
|
|
318
338
|
getStorageLensConfigurationTagging(args: GetStorageLensConfigurationTaggingCommandInput, cb: (err: any, data?: GetStorageLensConfigurationTaggingCommandOutput) => void): void;
|
|
319
339
|
getStorageLensConfigurationTagging(args: GetStorageLensConfigurationTaggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStorageLensConfigurationTaggingCommandOutput) => void): void;
|
|
340
|
+
/**
|
|
341
|
+
* @see {@link GetStorageLensGroupCommand}
|
|
342
|
+
*/
|
|
343
|
+
getStorageLensGroup(args: GetStorageLensGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetStorageLensGroupCommandOutput>;
|
|
344
|
+
getStorageLensGroup(args: GetStorageLensGroupCommandInput, cb: (err: any, data?: GetStorageLensGroupCommandOutput) => void): void;
|
|
345
|
+
getStorageLensGroup(args: GetStorageLensGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStorageLensGroupCommandOutput) => void): void;
|
|
320
346
|
/**
|
|
321
347
|
* @see {@link ListAccessPointsCommand}
|
|
322
348
|
*/
|
|
@@ -353,6 +379,18 @@ export interface S3Control {
|
|
|
353
379
|
listStorageLensConfigurations(args: ListStorageLensConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListStorageLensConfigurationsCommandOutput>;
|
|
354
380
|
listStorageLensConfigurations(args: ListStorageLensConfigurationsCommandInput, cb: (err: any, data?: ListStorageLensConfigurationsCommandOutput) => void): void;
|
|
355
381
|
listStorageLensConfigurations(args: ListStorageLensConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStorageLensConfigurationsCommandOutput) => void): void;
|
|
382
|
+
/**
|
|
383
|
+
* @see {@link ListStorageLensGroupsCommand}
|
|
384
|
+
*/
|
|
385
|
+
listStorageLensGroups(args: ListStorageLensGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListStorageLensGroupsCommandOutput>;
|
|
386
|
+
listStorageLensGroups(args: ListStorageLensGroupsCommandInput, cb: (err: any, data?: ListStorageLensGroupsCommandOutput) => void): void;
|
|
387
|
+
listStorageLensGroups(args: ListStorageLensGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStorageLensGroupsCommandOutput) => void): void;
|
|
388
|
+
/**
|
|
389
|
+
* @see {@link ListTagsForResourceCommand}
|
|
390
|
+
*/
|
|
391
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
392
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
393
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
356
394
|
/**
|
|
357
395
|
* @see {@link PutAccessPointConfigurationForObjectLambdaCommand}
|
|
358
396
|
*/
|
|
@@ -437,6 +475,18 @@ export interface S3Control {
|
|
|
437
475
|
submitMultiRegionAccessPointRoutes(args: SubmitMultiRegionAccessPointRoutesCommandInput, options?: __HttpHandlerOptions): Promise<SubmitMultiRegionAccessPointRoutesCommandOutput>;
|
|
438
476
|
submitMultiRegionAccessPointRoutes(args: SubmitMultiRegionAccessPointRoutesCommandInput, cb: (err: any, data?: SubmitMultiRegionAccessPointRoutesCommandOutput) => void): void;
|
|
439
477
|
submitMultiRegionAccessPointRoutes(args: SubmitMultiRegionAccessPointRoutesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubmitMultiRegionAccessPointRoutesCommandOutput) => void): void;
|
|
478
|
+
/**
|
|
479
|
+
* @see {@link TagResourceCommand}
|
|
480
|
+
*/
|
|
481
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
482
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
483
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
484
|
+
/**
|
|
485
|
+
* @see {@link UntagResourceCommand}
|
|
486
|
+
*/
|
|
487
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
488
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
489
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
440
490
|
/**
|
|
441
491
|
* @see {@link UpdateJobPriorityCommand}
|
|
442
492
|
*/
|
|
@@ -449,6 +499,12 @@ export interface S3Control {
|
|
|
449
499
|
updateJobStatus(args: UpdateJobStatusCommandInput, options?: __HttpHandlerOptions): Promise<UpdateJobStatusCommandOutput>;
|
|
450
500
|
updateJobStatus(args: UpdateJobStatusCommandInput, cb: (err: any, data?: UpdateJobStatusCommandOutput) => void): void;
|
|
451
501
|
updateJobStatus(args: UpdateJobStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateJobStatusCommandOutput) => void): void;
|
|
502
|
+
/**
|
|
503
|
+
* @see {@link UpdateStorageLensGroupCommand}
|
|
504
|
+
*/
|
|
505
|
+
updateStorageLensGroup(args: UpdateStorageLensGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateStorageLensGroupCommandOutput>;
|
|
506
|
+
updateStorageLensGroup(args: UpdateStorageLensGroupCommandInput, cb: (err: any, data?: UpdateStorageLensGroupCommandOutput) => void): void;
|
|
507
|
+
updateStorageLensGroup(args: UpdateStorageLensGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateStorageLensGroupCommandOutput) => void): void;
|
|
452
508
|
}
|
|
453
509
|
/**
|
|
454
510
|
* @public
|
|
@@ -16,6 +16,7 @@ import { CreateAccessPointForObjectLambdaCommandInput, CreateAccessPointForObjec
|
|
|
16
16
|
import { CreateBucketCommandInput, CreateBucketCommandOutput } from "./commands/CreateBucketCommand";
|
|
17
17
|
import { CreateJobCommandInput, CreateJobCommandOutput } from "./commands/CreateJobCommand";
|
|
18
18
|
import { CreateMultiRegionAccessPointCommandInput, CreateMultiRegionAccessPointCommandOutput } from "./commands/CreateMultiRegionAccessPointCommand";
|
|
19
|
+
import { CreateStorageLensGroupCommandInput, CreateStorageLensGroupCommandOutput } from "./commands/CreateStorageLensGroupCommand";
|
|
19
20
|
import { DeleteAccessPointCommandInput, DeleteAccessPointCommandOutput } from "./commands/DeleteAccessPointCommand";
|
|
20
21
|
import { DeleteAccessPointForObjectLambdaCommandInput, DeleteAccessPointForObjectLambdaCommandOutput } from "./commands/DeleteAccessPointForObjectLambdaCommand";
|
|
21
22
|
import { DeleteAccessPointPolicyCommandInput, DeleteAccessPointPolicyCommandOutput } from "./commands/DeleteAccessPointPolicyCommand";
|
|
@@ -30,6 +31,7 @@ import { DeleteMultiRegionAccessPointCommandInput, DeleteMultiRegionAccessPointC
|
|
|
30
31
|
import { DeletePublicAccessBlockCommandInput, DeletePublicAccessBlockCommandOutput } from "./commands/DeletePublicAccessBlockCommand";
|
|
31
32
|
import { DeleteStorageLensConfigurationCommandInput, DeleteStorageLensConfigurationCommandOutput } from "./commands/DeleteStorageLensConfigurationCommand";
|
|
32
33
|
import { DeleteStorageLensConfigurationTaggingCommandInput, DeleteStorageLensConfigurationTaggingCommandOutput } from "./commands/DeleteStorageLensConfigurationTaggingCommand";
|
|
34
|
+
import { DeleteStorageLensGroupCommandInput, DeleteStorageLensGroupCommandOutput } from "./commands/DeleteStorageLensGroupCommand";
|
|
33
35
|
import { DescribeJobCommandInput, DescribeJobCommandOutput } from "./commands/DescribeJobCommand";
|
|
34
36
|
import { DescribeMultiRegionAccessPointOperationCommandInput, DescribeMultiRegionAccessPointOperationCommandOutput } from "./commands/DescribeMultiRegionAccessPointOperationCommand";
|
|
35
37
|
import { GetAccessPointCommandInput, GetAccessPointCommandOutput } from "./commands/GetAccessPointCommand";
|
|
@@ -53,12 +55,15 @@ import { GetMultiRegionAccessPointRoutesCommandInput, GetMultiRegionAccessPointR
|
|
|
53
55
|
import { GetPublicAccessBlockCommandInput, GetPublicAccessBlockCommandOutput } from "./commands/GetPublicAccessBlockCommand";
|
|
54
56
|
import { GetStorageLensConfigurationCommandInput, GetStorageLensConfigurationCommandOutput } from "./commands/GetStorageLensConfigurationCommand";
|
|
55
57
|
import { GetStorageLensConfigurationTaggingCommandInput, GetStorageLensConfigurationTaggingCommandOutput } from "./commands/GetStorageLensConfigurationTaggingCommand";
|
|
58
|
+
import { GetStorageLensGroupCommandInput, GetStorageLensGroupCommandOutput } from "./commands/GetStorageLensGroupCommand";
|
|
56
59
|
import { ListAccessPointsCommandInput, ListAccessPointsCommandOutput } from "./commands/ListAccessPointsCommand";
|
|
57
60
|
import { ListAccessPointsForObjectLambdaCommandInput, ListAccessPointsForObjectLambdaCommandOutput } from "./commands/ListAccessPointsForObjectLambdaCommand";
|
|
58
61
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
59
62
|
import { ListMultiRegionAccessPointsCommandInput, ListMultiRegionAccessPointsCommandOutput } from "./commands/ListMultiRegionAccessPointsCommand";
|
|
60
63
|
import { ListRegionalBucketsCommandInput, ListRegionalBucketsCommandOutput } from "./commands/ListRegionalBucketsCommand";
|
|
61
64
|
import { ListStorageLensConfigurationsCommandInput, ListStorageLensConfigurationsCommandOutput } from "./commands/ListStorageLensConfigurationsCommand";
|
|
65
|
+
import { ListStorageLensGroupsCommandInput, ListStorageLensGroupsCommandOutput } from "./commands/ListStorageLensGroupsCommand";
|
|
66
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
62
67
|
import { PutAccessPointConfigurationForObjectLambdaCommandInput, PutAccessPointConfigurationForObjectLambdaCommandOutput } from "./commands/PutAccessPointConfigurationForObjectLambdaCommand";
|
|
63
68
|
import { PutAccessPointPolicyCommandInput, PutAccessPointPolicyCommandOutput } from "./commands/PutAccessPointPolicyCommand";
|
|
64
69
|
import { PutAccessPointPolicyForObjectLambdaCommandInput, PutAccessPointPolicyForObjectLambdaCommandOutput } from "./commands/PutAccessPointPolicyForObjectLambdaCommand";
|
|
@@ -73,19 +78,22 @@ import { PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput } f
|
|
|
73
78
|
import { PutStorageLensConfigurationCommandInput, PutStorageLensConfigurationCommandOutput } from "./commands/PutStorageLensConfigurationCommand";
|
|
74
79
|
import { PutStorageLensConfigurationTaggingCommandInput, PutStorageLensConfigurationTaggingCommandOutput } from "./commands/PutStorageLensConfigurationTaggingCommand";
|
|
75
80
|
import { SubmitMultiRegionAccessPointRoutesCommandInput, SubmitMultiRegionAccessPointRoutesCommandOutput } from "./commands/SubmitMultiRegionAccessPointRoutesCommand";
|
|
81
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
82
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
76
83
|
import { UpdateJobPriorityCommandInput, UpdateJobPriorityCommandOutput } from "./commands/UpdateJobPriorityCommand";
|
|
77
84
|
import { UpdateJobStatusCommandInput, UpdateJobStatusCommandOutput } from "./commands/UpdateJobStatusCommand";
|
|
85
|
+
import { UpdateStorageLensGroupCommandInput, UpdateStorageLensGroupCommandOutput } from "./commands/UpdateStorageLensGroupCommand";
|
|
78
86
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
79
87
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
80
88
|
export { __Client };
|
|
81
89
|
/**
|
|
82
90
|
* @public
|
|
83
91
|
*/
|
|
84
|
-
export type ServiceInputTypes = CreateAccessPointCommandInput | CreateAccessPointForObjectLambdaCommandInput | CreateBucketCommandInput | CreateJobCommandInput | CreateMultiRegionAccessPointCommandInput | DeleteAccessPointCommandInput | DeleteAccessPointForObjectLambdaCommandInput | DeleteAccessPointPolicyCommandInput | DeleteAccessPointPolicyForObjectLambdaCommandInput | DeleteBucketCommandInput | DeleteBucketLifecycleConfigurationCommandInput | DeleteBucketPolicyCommandInput | DeleteBucketReplicationCommandInput | DeleteBucketTaggingCommandInput | DeleteJobTaggingCommandInput | DeleteMultiRegionAccessPointCommandInput | DeletePublicAccessBlockCommandInput | DeleteStorageLensConfigurationCommandInput | DeleteStorageLensConfigurationTaggingCommandInput | DescribeJobCommandInput | DescribeMultiRegionAccessPointOperationCommandInput | GetAccessPointCommandInput | GetAccessPointConfigurationForObjectLambdaCommandInput | GetAccessPointForObjectLambdaCommandInput | GetAccessPointPolicyCommandInput | GetAccessPointPolicyForObjectLambdaCommandInput | GetAccessPointPolicyStatusCommandInput | GetAccessPointPolicyStatusForObjectLambdaCommandInput | GetBucketCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketPolicyCommandInput | GetBucketReplicationCommandInput | GetBucketTaggingCommandInput | GetBucketVersioningCommandInput | GetJobTaggingCommandInput | GetMultiRegionAccessPointCommandInput | GetMultiRegionAccessPointPolicyCommandInput | GetMultiRegionAccessPointPolicyStatusCommandInput | GetMultiRegionAccessPointRoutesCommandInput | GetPublicAccessBlockCommandInput | GetStorageLensConfigurationCommandInput | GetStorageLensConfigurationTaggingCommandInput | ListAccessPointsCommandInput | ListAccessPointsForObjectLambdaCommandInput | ListJobsCommandInput | ListMultiRegionAccessPointsCommandInput | ListRegionalBucketsCommandInput | ListStorageLensConfigurationsCommandInput | PutAccessPointConfigurationForObjectLambdaCommandInput | PutAccessPointPolicyCommandInput | PutAccessPointPolicyForObjectLambdaCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketPolicyCommandInput | PutBucketReplicationCommandInput | PutBucketTaggingCommandInput | PutBucketVersioningCommandInput | PutJobTaggingCommandInput | PutMultiRegionAccessPointPolicyCommandInput | PutPublicAccessBlockCommandInput | PutStorageLensConfigurationCommandInput | PutStorageLensConfigurationTaggingCommandInput | SubmitMultiRegionAccessPointRoutesCommandInput | UpdateJobPriorityCommandInput | UpdateJobStatusCommandInput;
|
|
92
|
+
export type ServiceInputTypes = CreateAccessPointCommandInput | CreateAccessPointForObjectLambdaCommandInput | CreateBucketCommandInput | CreateJobCommandInput | CreateMultiRegionAccessPointCommandInput | CreateStorageLensGroupCommandInput | DeleteAccessPointCommandInput | DeleteAccessPointForObjectLambdaCommandInput | DeleteAccessPointPolicyCommandInput | DeleteAccessPointPolicyForObjectLambdaCommandInput | DeleteBucketCommandInput | DeleteBucketLifecycleConfigurationCommandInput | DeleteBucketPolicyCommandInput | DeleteBucketReplicationCommandInput | DeleteBucketTaggingCommandInput | DeleteJobTaggingCommandInput | DeleteMultiRegionAccessPointCommandInput | DeletePublicAccessBlockCommandInput | DeleteStorageLensConfigurationCommandInput | DeleteStorageLensConfigurationTaggingCommandInput | DeleteStorageLensGroupCommandInput | DescribeJobCommandInput | DescribeMultiRegionAccessPointOperationCommandInput | GetAccessPointCommandInput | GetAccessPointConfigurationForObjectLambdaCommandInput | GetAccessPointForObjectLambdaCommandInput | GetAccessPointPolicyCommandInput | GetAccessPointPolicyForObjectLambdaCommandInput | GetAccessPointPolicyStatusCommandInput | GetAccessPointPolicyStatusForObjectLambdaCommandInput | GetBucketCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketPolicyCommandInput | GetBucketReplicationCommandInput | GetBucketTaggingCommandInput | GetBucketVersioningCommandInput | GetJobTaggingCommandInput | GetMultiRegionAccessPointCommandInput | GetMultiRegionAccessPointPolicyCommandInput | GetMultiRegionAccessPointPolicyStatusCommandInput | GetMultiRegionAccessPointRoutesCommandInput | GetPublicAccessBlockCommandInput | GetStorageLensConfigurationCommandInput | GetStorageLensConfigurationTaggingCommandInput | GetStorageLensGroupCommandInput | ListAccessPointsCommandInput | ListAccessPointsForObjectLambdaCommandInput | ListJobsCommandInput | ListMultiRegionAccessPointsCommandInput | ListRegionalBucketsCommandInput | ListStorageLensConfigurationsCommandInput | ListStorageLensGroupsCommandInput | ListTagsForResourceCommandInput | PutAccessPointConfigurationForObjectLambdaCommandInput | PutAccessPointPolicyCommandInput | PutAccessPointPolicyForObjectLambdaCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketPolicyCommandInput | PutBucketReplicationCommandInput | PutBucketTaggingCommandInput | PutBucketVersioningCommandInput | PutJobTaggingCommandInput | PutMultiRegionAccessPointPolicyCommandInput | PutPublicAccessBlockCommandInput | PutStorageLensConfigurationCommandInput | PutStorageLensConfigurationTaggingCommandInput | SubmitMultiRegionAccessPointRoutesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateJobPriorityCommandInput | UpdateJobStatusCommandInput | UpdateStorageLensGroupCommandInput;
|
|
85
93
|
/**
|
|
86
94
|
* @public
|
|
87
95
|
*/
|
|
88
|
-
export type ServiceOutputTypes = CreateAccessPointCommandOutput | CreateAccessPointForObjectLambdaCommandOutput | CreateBucketCommandOutput | CreateJobCommandOutput | CreateMultiRegionAccessPointCommandOutput | DeleteAccessPointCommandOutput | DeleteAccessPointForObjectLambdaCommandOutput | DeleteAccessPointPolicyCommandOutput | DeleteAccessPointPolicyForObjectLambdaCommandOutput | DeleteBucketCommandOutput | DeleteBucketLifecycleConfigurationCommandOutput | DeleteBucketPolicyCommandOutput | DeleteBucketReplicationCommandOutput | DeleteBucketTaggingCommandOutput | DeleteJobTaggingCommandOutput | DeleteMultiRegionAccessPointCommandOutput | DeletePublicAccessBlockCommandOutput | DeleteStorageLensConfigurationCommandOutput | DeleteStorageLensConfigurationTaggingCommandOutput | DescribeJobCommandOutput | DescribeMultiRegionAccessPointOperationCommandOutput | GetAccessPointCommandOutput | GetAccessPointConfigurationForObjectLambdaCommandOutput | GetAccessPointForObjectLambdaCommandOutput | GetAccessPointPolicyCommandOutput | GetAccessPointPolicyForObjectLambdaCommandOutput | GetAccessPointPolicyStatusCommandOutput | GetAccessPointPolicyStatusForObjectLambdaCommandOutput | GetBucketCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketPolicyCommandOutput | GetBucketReplicationCommandOutput | GetBucketTaggingCommandOutput | GetBucketVersioningCommandOutput | GetJobTaggingCommandOutput | GetMultiRegionAccessPointCommandOutput | GetMultiRegionAccessPointPolicyCommandOutput | GetMultiRegionAccessPointPolicyStatusCommandOutput | GetMultiRegionAccessPointRoutesCommandOutput | GetPublicAccessBlockCommandOutput | GetStorageLensConfigurationCommandOutput | GetStorageLensConfigurationTaggingCommandOutput | ListAccessPointsCommandOutput | ListAccessPointsForObjectLambdaCommandOutput | ListJobsCommandOutput | ListMultiRegionAccessPointsCommandOutput | ListRegionalBucketsCommandOutput | ListStorageLensConfigurationsCommandOutput | PutAccessPointConfigurationForObjectLambdaCommandOutput | PutAccessPointPolicyCommandOutput | PutAccessPointPolicyForObjectLambdaCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketPolicyCommandOutput | PutBucketReplicationCommandOutput | PutBucketTaggingCommandOutput | PutBucketVersioningCommandOutput | PutJobTaggingCommandOutput | PutMultiRegionAccessPointPolicyCommandOutput | PutPublicAccessBlockCommandOutput | PutStorageLensConfigurationCommandOutput | PutStorageLensConfigurationTaggingCommandOutput | SubmitMultiRegionAccessPointRoutesCommandOutput | UpdateJobPriorityCommandOutput | UpdateJobStatusCommandOutput;
|
|
96
|
+
export type ServiceOutputTypes = CreateAccessPointCommandOutput | CreateAccessPointForObjectLambdaCommandOutput | CreateBucketCommandOutput | CreateJobCommandOutput | CreateMultiRegionAccessPointCommandOutput | CreateStorageLensGroupCommandOutput | DeleteAccessPointCommandOutput | DeleteAccessPointForObjectLambdaCommandOutput | DeleteAccessPointPolicyCommandOutput | DeleteAccessPointPolicyForObjectLambdaCommandOutput | DeleteBucketCommandOutput | DeleteBucketLifecycleConfigurationCommandOutput | DeleteBucketPolicyCommandOutput | DeleteBucketReplicationCommandOutput | DeleteBucketTaggingCommandOutput | DeleteJobTaggingCommandOutput | DeleteMultiRegionAccessPointCommandOutput | DeletePublicAccessBlockCommandOutput | DeleteStorageLensConfigurationCommandOutput | DeleteStorageLensConfigurationTaggingCommandOutput | DeleteStorageLensGroupCommandOutput | DescribeJobCommandOutput | DescribeMultiRegionAccessPointOperationCommandOutput | GetAccessPointCommandOutput | GetAccessPointConfigurationForObjectLambdaCommandOutput | GetAccessPointForObjectLambdaCommandOutput | GetAccessPointPolicyCommandOutput | GetAccessPointPolicyForObjectLambdaCommandOutput | GetAccessPointPolicyStatusCommandOutput | GetAccessPointPolicyStatusForObjectLambdaCommandOutput | GetBucketCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketPolicyCommandOutput | GetBucketReplicationCommandOutput | GetBucketTaggingCommandOutput | GetBucketVersioningCommandOutput | GetJobTaggingCommandOutput | GetMultiRegionAccessPointCommandOutput | GetMultiRegionAccessPointPolicyCommandOutput | GetMultiRegionAccessPointPolicyStatusCommandOutput | GetMultiRegionAccessPointRoutesCommandOutput | GetPublicAccessBlockCommandOutput | GetStorageLensConfigurationCommandOutput | GetStorageLensConfigurationTaggingCommandOutput | GetStorageLensGroupCommandOutput | ListAccessPointsCommandOutput | ListAccessPointsForObjectLambdaCommandOutput | ListJobsCommandOutput | ListMultiRegionAccessPointsCommandOutput | ListRegionalBucketsCommandOutput | ListStorageLensConfigurationsCommandOutput | ListStorageLensGroupsCommandOutput | ListTagsForResourceCommandOutput | PutAccessPointConfigurationForObjectLambdaCommandOutput | PutAccessPointPolicyCommandOutput | PutAccessPointPolicyForObjectLambdaCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketPolicyCommandOutput | PutBucketReplicationCommandOutput | PutBucketTaggingCommandOutput | PutBucketVersioningCommandOutput | PutJobTaggingCommandOutput | PutMultiRegionAccessPointPolicyCommandOutput | PutPublicAccessBlockCommandOutput | PutStorageLensConfigurationCommandOutput | PutStorageLensConfigurationTaggingCommandOutput | SubmitMultiRegionAccessPointRoutesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateJobPriorityCommandOutput | UpdateJobStatusCommandOutput | UpdateStorageLensGroupCommandOutput;
|
|
89
97
|
/**
|
|
90
98
|
* @public
|
|
91
99
|
*/
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CreateStorageLensGroupRequest } from "../models/models_0";
|
|
5
|
+
import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateStorageLensGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateStorageLensGroupCommandInput extends CreateStorageLensGroupRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateStorageLensGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateStorageLensGroupCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p> Creates a new S3 Storage Lens group and associates it with the specified Amazon Web Services account ID. An
|
|
27
|
+
* S3 Storage Lens group is a custom grouping of objects based on prefix, suffix, object tags,
|
|
28
|
+
* object size, object age, or a combination of these filters. For each Storage Lens group
|
|
29
|
+
* that you’ve created, you can also optionally add Amazon Web Services resource tags. For more information
|
|
30
|
+
* about S3 Storage Lens groups, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups-overview.html">Working with S3 Storage Lens
|
|
31
|
+
* groups</a>.</p>
|
|
32
|
+
* <p>To use this operation, you must have the permission to perform the
|
|
33
|
+
* <code>s3:CreateStorageLensGroup</code> action. If you’re trying to create a Storage Lens
|
|
34
|
+
* group with Amazon Web Services resource tags, you must also have permission to perform the
|
|
35
|
+
* <code>s3:TagResource</code> action. For more information about the required Storage Lens
|
|
36
|
+
* Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
|
|
37
|
+
* <p>For information about Storage Lens groups errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3LensErrorCodeList">List of Amazon S3 Storage
|
|
38
|
+
* Lens error codes</a>.</p>
|
|
39
|
+
* @example
|
|
40
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
+
* ```javascript
|
|
42
|
+
* import { S3ControlClient, CreateStorageLensGroupCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
43
|
+
* // const { S3ControlClient, CreateStorageLensGroupCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
44
|
+
* const client = new S3ControlClient(config);
|
|
45
|
+
* const input = { // CreateStorageLensGroupRequest
|
|
46
|
+
* AccountId: "STRING_VALUE",
|
|
47
|
+
* StorageLensGroup: { // StorageLensGroup
|
|
48
|
+
* Name: "STRING_VALUE", // required
|
|
49
|
+
* Filter: { // StorageLensGroupFilter
|
|
50
|
+
* MatchAnyPrefix: [ // MatchAnyPrefix
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
53
|
+
* MatchAnySuffix: [ // MatchAnySuffix
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* MatchAnyTag: [ // MatchAnyTag
|
|
57
|
+
* { // S3Tag
|
|
58
|
+
* Key: "STRING_VALUE", // required
|
|
59
|
+
* Value: "STRING_VALUE", // required
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* MatchObjectAge: { // MatchObjectAge
|
|
63
|
+
* DaysGreaterThan: Number("int"),
|
|
64
|
+
* DaysLessThan: Number("int"),
|
|
65
|
+
* },
|
|
66
|
+
* MatchObjectSize: { // MatchObjectSize
|
|
67
|
+
* BytesGreaterThan: Number("long"),
|
|
68
|
+
* BytesLessThan: Number("long"),
|
|
69
|
+
* },
|
|
70
|
+
* And: { // StorageLensGroupAndOperator
|
|
71
|
+
* MatchAnyPrefix: [
|
|
72
|
+
* "STRING_VALUE",
|
|
73
|
+
* ],
|
|
74
|
+
* MatchAnySuffix: [
|
|
75
|
+
* "STRING_VALUE",
|
|
76
|
+
* ],
|
|
77
|
+
* MatchAnyTag: [
|
|
78
|
+
* {
|
|
79
|
+
* Key: "STRING_VALUE", // required
|
|
80
|
+
* Value: "STRING_VALUE", // required
|
|
81
|
+
* },
|
|
82
|
+
* ],
|
|
83
|
+
* MatchObjectAge: {
|
|
84
|
+
* DaysGreaterThan: Number("int"),
|
|
85
|
+
* DaysLessThan: Number("int"),
|
|
86
|
+
* },
|
|
87
|
+
* MatchObjectSize: {
|
|
88
|
+
* BytesGreaterThan: Number("long"),
|
|
89
|
+
* BytesLessThan: Number("long"),
|
|
90
|
+
* },
|
|
91
|
+
* },
|
|
92
|
+
* Or: { // StorageLensGroupOrOperator
|
|
93
|
+
* MatchAnyPrefix: [
|
|
94
|
+
* "STRING_VALUE",
|
|
95
|
+
* ],
|
|
96
|
+
* MatchAnySuffix: [
|
|
97
|
+
* "STRING_VALUE",
|
|
98
|
+
* ],
|
|
99
|
+
* MatchAnyTag: [
|
|
100
|
+
* {
|
|
101
|
+
* Key: "STRING_VALUE", // required
|
|
102
|
+
* Value: "STRING_VALUE", // required
|
|
103
|
+
* },
|
|
104
|
+
* ],
|
|
105
|
+
* MatchObjectAge: {
|
|
106
|
+
* DaysGreaterThan: Number("int"),
|
|
107
|
+
* DaysLessThan: Number("int"),
|
|
108
|
+
* },
|
|
109
|
+
* MatchObjectSize: {
|
|
110
|
+
* BytesGreaterThan: Number("long"),
|
|
111
|
+
* BytesLessThan: Number("long"),
|
|
112
|
+
* },
|
|
113
|
+
* },
|
|
114
|
+
* },
|
|
115
|
+
* StorageLensGroupArn: "STRING_VALUE",
|
|
116
|
+
* },
|
|
117
|
+
* Tags: [ // TagList
|
|
118
|
+
* { // Tag
|
|
119
|
+
* Key: "STRING_VALUE", // required
|
|
120
|
+
* Value: "STRING_VALUE", // required
|
|
121
|
+
* },
|
|
122
|
+
* ],
|
|
123
|
+
* };
|
|
124
|
+
* const command = new CreateStorageLensGroupCommand(input);
|
|
125
|
+
* const response = await client.send(command);
|
|
126
|
+
* // {};
|
|
127
|
+
*
|
|
128
|
+
* ```
|
|
129
|
+
*
|
|
130
|
+
* @param CreateStorageLensGroupCommandInput - {@link CreateStorageLensGroupCommandInput}
|
|
131
|
+
* @returns {@link CreateStorageLensGroupCommandOutput}
|
|
132
|
+
* @see {@link CreateStorageLensGroupCommandInput} for command's `input` shape.
|
|
133
|
+
* @see {@link CreateStorageLensGroupCommandOutput} for command's `response` shape.
|
|
134
|
+
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
135
|
+
*
|
|
136
|
+
* @throws {@link S3ControlServiceException}
|
|
137
|
+
* <p>Base exception class for all service exceptions from S3Control service.</p>
|
|
138
|
+
*
|
|
139
|
+
*/
|
|
140
|
+
export declare class CreateStorageLensGroupCommand extends $Command<CreateStorageLensGroupCommandInput, CreateStorageLensGroupCommandOutput, S3ControlClientResolvedConfig> {
|
|
141
|
+
readonly input: CreateStorageLensGroupCommandInput;
|
|
142
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
constructor(input: CreateStorageLensGroupCommandInput);
|
|
147
|
+
/**
|
|
148
|
+
* @internal
|
|
149
|
+
*/
|
|
150
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateStorageLensGroupCommandInput, CreateStorageLensGroupCommandOutput>;
|
|
151
|
+
/**
|
|
152
|
+
* @internal
|
|
153
|
+
*/
|
|
154
|
+
private serialize;
|
|
155
|
+
/**
|
|
156
|
+
* @internal
|
|
157
|
+
*/
|
|
158
|
+
private deserialize;
|
|
159
|
+
}
|
|
@@ -33,9 +33,9 @@ export interface DeleteBucketLifecycleConfigurationCommandOutput extends __Metad
|
|
|
33
33
|
* automatically deletes any objects on the basis of rules contained in the deleted lifecycle
|
|
34
34
|
* configuration. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in
|
|
35
35
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
36
|
-
* <p>To use this
|
|
37
|
-
* <code>s3-outposts:
|
|
38
|
-
*
|
|
36
|
+
* <p>To use this operation, you must have permission to perform the
|
|
37
|
+
* <code>s3-outposts:PutLifecycleConfiguration</code> action. By default, the bucket owner
|
|
38
|
+
* has this permission and the Outposts bucket owner can grant this permission to
|
|
39
39
|
* others.</p>
|
|
40
40
|
* <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_DeleteBucketLifecycleConfiguration.html#API_control_DeleteBucketLifecycleConfiguration_Examples">Examples</a> section.</p>
|
|
41
41
|
* <p>For more information about object expiration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions">Elements to Describe Lifecycle Actions</a>.</p>
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DeleteStorageLensGroupRequest } from "../models/models_0";
|
|
5
|
+
import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteStorageLensGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteStorageLensGroupCommandInput extends DeleteStorageLensGroupRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteStorageLensGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteStorageLensGroupCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>
|
|
27
|
+
* Deletes an existing S3 Storage Lens group.</p>
|
|
28
|
+
* <p>To use this operation, you must have the permission to perform the
|
|
29
|
+
* <code>s3:DeleteStorageLensGroup</code> action. For more information about the required Storage Lens
|
|
30
|
+
* Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
|
|
31
|
+
* <p>For information about Storage Lens groups errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3LensErrorCodeList">List of Amazon S3 Storage
|
|
32
|
+
* Lens error codes</a>.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { S3ControlClient, DeleteStorageLensGroupCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
37
|
+
* // const { S3ControlClient, DeleteStorageLensGroupCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
38
|
+
* const client = new S3ControlClient(config);
|
|
39
|
+
* const input = { // DeleteStorageLensGroupRequest
|
|
40
|
+
* Name: "STRING_VALUE", // required
|
|
41
|
+
* AccountId: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteStorageLensGroupCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param DeleteStorageLensGroupCommandInput - {@link DeleteStorageLensGroupCommandInput}
|
|
50
|
+
* @returns {@link DeleteStorageLensGroupCommandOutput}
|
|
51
|
+
* @see {@link DeleteStorageLensGroupCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link DeleteStorageLensGroupCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link S3ControlServiceException}
|
|
56
|
+
* <p>Base exception class for all service exceptions from S3Control service.</p>
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
export declare class DeleteStorageLensGroupCommand extends $Command<DeleteStorageLensGroupCommandInput, DeleteStorageLensGroupCommandOutput, S3ControlClientResolvedConfig> {
|
|
60
|
+
readonly input: DeleteStorageLensGroupCommandInput;
|
|
61
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
constructor(input: DeleteStorageLensGroupCommandInput);
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteStorageLensGroupCommandInput, DeleteStorageLensGroupCommandOutput>;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
private serialize;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
private deserialize;
|
|
78
|
+
}
|
|
@@ -83,6 +83,16 @@ export interface GetStorageLensConfigurationCommandOutput extends GetStorageLens
|
|
|
83
83
|
* // DetailedStatusCodesMetrics: {
|
|
84
84
|
* // IsEnabled: true || false,
|
|
85
85
|
* // },
|
|
86
|
+
* // StorageLensGroupLevel: { // StorageLensGroupLevel
|
|
87
|
+
* // SelectionCriteria: { // StorageLensGroupLevelSelectionCriteria
|
|
88
|
+
* // Include: [ // StorageLensGroupLevelInclude
|
|
89
|
+
* // "STRING_VALUE",
|
|
90
|
+
* // ],
|
|
91
|
+
* // Exclude: [ // StorageLensGroupLevelExclude
|
|
92
|
+
* // "STRING_VALUE",
|
|
93
|
+
* // ],
|
|
94
|
+
* // },
|
|
95
|
+
* // },
|
|
86
96
|
* // },
|
|
87
97
|
* // Include: { // Include
|
|
88
98
|
* // Buckets: [ // Buckets
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { GetStorageLensGroupRequest, GetStorageLensGroupResult } from "../models/models_0";
|
|
5
|
+
import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetStorageLensGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetStorageLensGroupCommandInput extends GetStorageLensGroupRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetStorageLensGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetStorageLensGroupCommandOutput extends GetStorageLensGroupResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>
|
|
27
|
+
* Retrieves the Storage Lens group configuration details.</p>
|
|
28
|
+
* <p>To use this operation, you must have the permission to perform the
|
|
29
|
+
* <code>s3:GetStorageLensGroup</code> action. For more information about the required Storage Lens
|
|
30
|
+
* Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
|
|
31
|
+
* <p>For information about Storage Lens groups errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3LensErrorCodeList">List of Amazon S3 Storage
|
|
32
|
+
* Lens error codes</a>.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { S3ControlClient, GetStorageLensGroupCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
37
|
+
* // const { S3ControlClient, GetStorageLensGroupCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
38
|
+
* const client = new S3ControlClient(config);
|
|
39
|
+
* const input = { // GetStorageLensGroupRequest
|
|
40
|
+
* Name: "STRING_VALUE", // required
|
|
41
|
+
* AccountId: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetStorageLensGroupCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetStorageLensGroupResult
|
|
46
|
+
* // StorageLensGroup: { // StorageLensGroup
|
|
47
|
+
* // Name: "STRING_VALUE", // required
|
|
48
|
+
* // Filter: { // StorageLensGroupFilter
|
|
49
|
+
* // MatchAnyPrefix: [ // MatchAnyPrefix
|
|
50
|
+
* // "STRING_VALUE",
|
|
51
|
+
* // ],
|
|
52
|
+
* // MatchAnySuffix: [ // MatchAnySuffix
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // MatchAnyTag: [ // MatchAnyTag
|
|
56
|
+
* // { // S3Tag
|
|
57
|
+
* // Key: "STRING_VALUE", // required
|
|
58
|
+
* // Value: "STRING_VALUE", // required
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // MatchObjectAge: { // MatchObjectAge
|
|
62
|
+
* // DaysGreaterThan: Number("int"),
|
|
63
|
+
* // DaysLessThan: Number("int"),
|
|
64
|
+
* // },
|
|
65
|
+
* // MatchObjectSize: { // MatchObjectSize
|
|
66
|
+
* // BytesGreaterThan: Number("long"),
|
|
67
|
+
* // BytesLessThan: Number("long"),
|
|
68
|
+
* // },
|
|
69
|
+
* // And: { // StorageLensGroupAndOperator
|
|
70
|
+
* // MatchAnyPrefix: [
|
|
71
|
+
* // "STRING_VALUE",
|
|
72
|
+
* // ],
|
|
73
|
+
* // MatchAnySuffix: [
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
76
|
+
* // MatchAnyTag: [
|
|
77
|
+
* // {
|
|
78
|
+
* // Key: "STRING_VALUE", // required
|
|
79
|
+
* // Value: "STRING_VALUE", // required
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // MatchObjectAge: {
|
|
83
|
+
* // DaysGreaterThan: Number("int"),
|
|
84
|
+
* // DaysLessThan: Number("int"),
|
|
85
|
+
* // },
|
|
86
|
+
* // MatchObjectSize: {
|
|
87
|
+
* // BytesGreaterThan: Number("long"),
|
|
88
|
+
* // BytesLessThan: Number("long"),
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // Or: { // StorageLensGroupOrOperator
|
|
92
|
+
* // MatchAnyPrefix: [
|
|
93
|
+
* // "STRING_VALUE",
|
|
94
|
+
* // ],
|
|
95
|
+
* // MatchAnySuffix: [
|
|
96
|
+
* // "STRING_VALUE",
|
|
97
|
+
* // ],
|
|
98
|
+
* // MatchAnyTag: [
|
|
99
|
+
* // {
|
|
100
|
+
* // Key: "STRING_VALUE", // required
|
|
101
|
+
* // Value: "STRING_VALUE", // required
|
|
102
|
+
* // },
|
|
103
|
+
* // ],
|
|
104
|
+
* // MatchObjectAge: {
|
|
105
|
+
* // DaysGreaterThan: Number("int"),
|
|
106
|
+
* // DaysLessThan: Number("int"),
|
|
107
|
+
* // },
|
|
108
|
+
* // MatchObjectSize: {
|
|
109
|
+
* // BytesGreaterThan: Number("long"),
|
|
110
|
+
* // BytesLessThan: Number("long"),
|
|
111
|
+
* // },
|
|
112
|
+
* // },
|
|
113
|
+
* // },
|
|
114
|
+
* // StorageLensGroupArn: "STRING_VALUE",
|
|
115
|
+
* // },
|
|
116
|
+
* // };
|
|
117
|
+
*
|
|
118
|
+
* ```
|
|
119
|
+
*
|
|
120
|
+
* @param GetStorageLensGroupCommandInput - {@link GetStorageLensGroupCommandInput}
|
|
121
|
+
* @returns {@link GetStorageLensGroupCommandOutput}
|
|
122
|
+
* @see {@link GetStorageLensGroupCommandInput} for command's `input` shape.
|
|
123
|
+
* @see {@link GetStorageLensGroupCommandOutput} for command's `response` shape.
|
|
124
|
+
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link S3ControlServiceException}
|
|
127
|
+
* <p>Base exception class for all service exceptions from S3Control service.</p>
|
|
128
|
+
*
|
|
129
|
+
*/
|
|
130
|
+
export declare class GetStorageLensGroupCommand extends $Command<GetStorageLensGroupCommandInput, GetStorageLensGroupCommandOutput, S3ControlClientResolvedConfig> {
|
|
131
|
+
readonly input: GetStorageLensGroupCommandInput;
|
|
132
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
constructor(input: GetStorageLensGroupCommandInput);
|
|
137
|
+
/**
|
|
138
|
+
* @internal
|
|
139
|
+
*/
|
|
140
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetStorageLensGroupCommandInput, GetStorageLensGroupCommandOutput>;
|
|
141
|
+
/**
|
|
142
|
+
* @internal
|
|
143
|
+
*/
|
|
144
|
+
private serialize;
|
|
145
|
+
/**
|
|
146
|
+
* @internal
|
|
147
|
+
*/
|
|
148
|
+
private deserialize;
|
|
149
|
+
}
|