@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.
Files changed (61) hide show
  1. package/README.md +64 -0
  2. package/dist-cjs/S3Control.js +16 -0
  3. package/dist-cjs/commands/CreateStorageLensGroupCommand.js +56 -0
  4. package/dist-cjs/commands/DeleteStorageLensGroupCommand.js +56 -0
  5. package/dist-cjs/commands/GetStorageLensGroupCommand.js +56 -0
  6. package/dist-cjs/commands/ListStorageLensGroupsCommand.js +56 -0
  7. package/dist-cjs/commands/ListTagsForResourceCommand.js +56 -0
  8. package/dist-cjs/commands/TagResourceCommand.js +56 -0
  9. package/dist-cjs/commands/UntagResourceCommand.js +56 -0
  10. package/dist-cjs/commands/UpdateStorageLensGroupCommand.js +56 -0
  11. package/dist-cjs/commands/index.js +8 -0
  12. package/dist-cjs/pagination/ListStorageLensGroupsPaginator.js +28 -0
  13. package/dist-cjs/pagination/index.js +1 -0
  14. package/dist-cjs/protocols/Aws_restXml.js +968 -3
  15. package/dist-es/S3Control.js +16 -0
  16. package/dist-es/commands/CreateStorageLensGroupCommand.js +52 -0
  17. package/dist-es/commands/DeleteStorageLensGroupCommand.js +52 -0
  18. package/dist-es/commands/GetStorageLensGroupCommand.js +52 -0
  19. package/dist-es/commands/ListStorageLensGroupsCommand.js +52 -0
  20. package/dist-es/commands/ListTagsForResourceCommand.js +52 -0
  21. package/dist-es/commands/TagResourceCommand.js +52 -0
  22. package/dist-es/commands/UntagResourceCommand.js +52 -0
  23. package/dist-es/commands/UpdateStorageLensGroupCommand.js +52 -0
  24. package/dist-es/commands/index.js +8 -0
  25. package/dist-es/pagination/ListStorageLensGroupsPaginator.js +24 -0
  26. package/dist-es/pagination/index.js +1 -0
  27. package/dist-es/protocols/Aws_restXml.js +949 -0
  28. package/dist-types/S3Control.d.ts +56 -0
  29. package/dist-types/S3ControlClient.d.ts +10 -2
  30. package/dist-types/commands/CreateStorageLensGroupCommand.d.ts +159 -0
  31. package/dist-types/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +3 -3
  32. package/dist-types/commands/DeleteStorageLensGroupCommand.d.ts +78 -0
  33. package/dist-types/commands/GetStorageLensConfigurationCommand.d.ts +10 -0
  34. package/dist-types/commands/GetStorageLensGroupCommand.d.ts +149 -0
  35. package/dist-types/commands/ListStorageLensGroupsCommand.d.ts +88 -0
  36. package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
  37. package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +10 -0
  38. package/dist-types/commands/TagResourceCommand.d.ts +86 -0
  39. package/dist-types/commands/UntagResourceCommand.d.ts +84 -0
  40. package/dist-types/commands/UpdateStorageLensGroupCommand.d.ts +148 -0
  41. package/dist-types/commands/index.d.ts +8 -0
  42. package/dist-types/models/models_0.d.ts +555 -7
  43. package/dist-types/pagination/ListStorageLensGroupsPaginator.d.ts +7 -0
  44. package/dist-types/pagination/index.d.ts +1 -0
  45. package/dist-types/protocols/Aws_restXml.d.ts +72 -0
  46. package/dist-types/ts3.4/S3Control.d.ts +136 -0
  47. package/dist-types/ts3.4/S3ControlClient.d.ts +50 -2
  48. package/dist-types/ts3.4/commands/CreateStorageLensGroupCommand.d.ts +37 -0
  49. package/dist-types/ts3.4/commands/DeleteStorageLensGroupCommand.d.ts +37 -0
  50. package/dist-types/ts3.4/commands/GetStorageLensGroupCommand.d.ts +39 -0
  51. package/dist-types/ts3.4/commands/ListStorageLensGroupsCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  53. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  54. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
  55. package/dist-types/ts3.4/commands/UpdateStorageLensGroupCommand.d.ts +37 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +101 -0
  58. package/dist-types/ts3.4/pagination/ListStorageLensGroupsPaginator.d.ts +11 -0
  59. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  60. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +96 -0
  61. package/package.json +2 -2
@@ -4,6 +4,7 @@ import { CreateAccessPointForObjectLambdaCommand, } from "./commands/CreateAcces
4
4
  import { CreateBucketCommand, } from "./commands/CreateBucketCommand";
5
5
  import { CreateJobCommand } from "./commands/CreateJobCommand";
6
6
  import { CreateMultiRegionAccessPointCommand, } from "./commands/CreateMultiRegionAccessPointCommand";
7
+ import { CreateStorageLensGroupCommand, } from "./commands/CreateStorageLensGroupCommand";
7
8
  import { DeleteAccessPointCommand, } from "./commands/DeleteAccessPointCommand";
8
9
  import { DeleteAccessPointForObjectLambdaCommand, } from "./commands/DeleteAccessPointForObjectLambdaCommand";
9
10
  import { DeleteAccessPointPolicyCommand, } from "./commands/DeleteAccessPointPolicyCommand";
@@ -18,6 +19,7 @@ import { DeleteMultiRegionAccessPointCommand, } from "./commands/DeleteMultiRegi
18
19
  import { DeletePublicAccessBlockCommand, } from "./commands/DeletePublicAccessBlockCommand";
19
20
  import { DeleteStorageLensConfigurationCommand, } from "./commands/DeleteStorageLensConfigurationCommand";
20
21
  import { DeleteStorageLensConfigurationTaggingCommand, } from "./commands/DeleteStorageLensConfigurationTaggingCommand";
22
+ import { DeleteStorageLensGroupCommand, } from "./commands/DeleteStorageLensGroupCommand";
21
23
  import { DescribeJobCommand } from "./commands/DescribeJobCommand";
22
24
  import { DescribeMultiRegionAccessPointOperationCommand, } from "./commands/DescribeMultiRegionAccessPointOperationCommand";
23
25
  import { GetAccessPointCommand, } from "./commands/GetAccessPointCommand";
@@ -41,12 +43,15 @@ import { GetMultiRegionAccessPointRoutesCommand, } from "./commands/GetMultiRegi
41
43
  import { GetPublicAccessBlockCommand, } from "./commands/GetPublicAccessBlockCommand";
42
44
  import { GetStorageLensConfigurationCommand, } from "./commands/GetStorageLensConfigurationCommand";
43
45
  import { GetStorageLensConfigurationTaggingCommand, } from "./commands/GetStorageLensConfigurationTaggingCommand";
46
+ import { GetStorageLensGroupCommand, } from "./commands/GetStorageLensGroupCommand";
44
47
  import { ListAccessPointsCommand, } from "./commands/ListAccessPointsCommand";
45
48
  import { ListAccessPointsForObjectLambdaCommand, } from "./commands/ListAccessPointsForObjectLambdaCommand";
46
49
  import { ListJobsCommand } from "./commands/ListJobsCommand";
47
50
  import { ListMultiRegionAccessPointsCommand, } from "./commands/ListMultiRegionAccessPointsCommand";
48
51
  import { ListRegionalBucketsCommand, } from "./commands/ListRegionalBucketsCommand";
49
52
  import { ListStorageLensConfigurationsCommand, } from "./commands/ListStorageLensConfigurationsCommand";
53
+ import { ListStorageLensGroupsCommand, } from "./commands/ListStorageLensGroupsCommand";
54
+ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
50
55
  import { PutAccessPointConfigurationForObjectLambdaCommand, } from "./commands/PutAccessPointConfigurationForObjectLambdaCommand";
51
56
  import { PutAccessPointPolicyCommand, } from "./commands/PutAccessPointPolicyCommand";
52
57
  import { PutAccessPointPolicyForObjectLambdaCommand, } from "./commands/PutAccessPointPolicyForObjectLambdaCommand";
@@ -61,8 +66,11 @@ import { PutPublicAccessBlockCommand, } from "./commands/PutPublicAccessBlockCom
61
66
  import { PutStorageLensConfigurationCommand, } from "./commands/PutStorageLensConfigurationCommand";
62
67
  import { PutStorageLensConfigurationTaggingCommand, } from "./commands/PutStorageLensConfigurationTaggingCommand";
63
68
  import { SubmitMultiRegionAccessPointRoutesCommand, } from "./commands/SubmitMultiRegionAccessPointRoutesCommand";
69
+ import { TagResourceCommand } from "./commands/TagResourceCommand";
70
+ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
64
71
  import { UpdateJobPriorityCommand, } from "./commands/UpdateJobPriorityCommand";
65
72
  import { UpdateJobStatusCommand, } from "./commands/UpdateJobStatusCommand";
73
+ import { UpdateStorageLensGroupCommand, } from "./commands/UpdateStorageLensGroupCommand";
66
74
  import { S3ControlClient } from "./S3ControlClient";
67
75
  const commands = {
68
76
  CreateAccessPointCommand,
@@ -70,6 +78,7 @@ const commands = {
70
78
  CreateBucketCommand,
71
79
  CreateJobCommand,
72
80
  CreateMultiRegionAccessPointCommand,
81
+ CreateStorageLensGroupCommand,
73
82
  DeleteAccessPointCommand,
74
83
  DeleteAccessPointForObjectLambdaCommand,
75
84
  DeleteAccessPointPolicyCommand,
@@ -84,6 +93,7 @@ const commands = {
84
93
  DeletePublicAccessBlockCommand,
85
94
  DeleteStorageLensConfigurationCommand,
86
95
  DeleteStorageLensConfigurationTaggingCommand,
96
+ DeleteStorageLensGroupCommand,
87
97
  DescribeJobCommand,
88
98
  DescribeMultiRegionAccessPointOperationCommand,
89
99
  GetAccessPointCommand,
@@ -107,12 +117,15 @@ const commands = {
107
117
  GetPublicAccessBlockCommand,
108
118
  GetStorageLensConfigurationCommand,
109
119
  GetStorageLensConfigurationTaggingCommand,
120
+ GetStorageLensGroupCommand,
110
121
  ListAccessPointsCommand,
111
122
  ListAccessPointsForObjectLambdaCommand,
112
123
  ListJobsCommand,
113
124
  ListMultiRegionAccessPointsCommand,
114
125
  ListRegionalBucketsCommand,
115
126
  ListStorageLensConfigurationsCommand,
127
+ ListStorageLensGroupsCommand,
128
+ ListTagsForResourceCommand,
116
129
  PutAccessPointConfigurationForObjectLambdaCommand,
117
130
  PutAccessPointPolicyCommand,
118
131
  PutAccessPointPolicyForObjectLambdaCommand,
@@ -127,8 +140,11 @@ const commands = {
127
140
  PutStorageLensConfigurationCommand,
128
141
  PutStorageLensConfigurationTaggingCommand,
129
142
  SubmitMultiRegionAccessPointRoutesCommand,
143
+ TagResourceCommand,
144
+ UntagResourceCommand,
130
145
  UpdateJobPriorityCommand,
131
146
  UpdateJobStatusCommand,
147
+ UpdateStorageLensGroupCommand,
132
148
  };
133
149
  export class S3Control extends S3ControlClient {
134
150
  }
@@ -0,0 +1,52 @@
1
+ import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { getSerdePlugin } from "@smithy/middleware-serde";
4
+ import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
6
+ import { de_CreateStorageLensGroupCommand, se_CreateStorageLensGroupCommand } from "../protocols/Aws_restXml";
7
+ export { $Command };
8
+ export class CreateStorageLensGroupCommand extends $Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ RequiresAccountId: { type: "staticContextParams", value: true },
12
+ AccountId: { type: "contextParams", name: "AccountId" },
13
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateStorageLensGroupCommand.getEndpointParameterInstructions()));
27
+ this.middlewareStack.use(getProcessArnablesPlugin(configuration));
28
+ const stack = clientStack.concat(this.middlewareStack);
29
+ const { logger } = configuration;
30
+ const clientName = "S3ControlClient";
31
+ const commandName = "CreateStorageLensGroupCommand";
32
+ const handlerExecutionContext = {
33
+ logger,
34
+ clientName,
35
+ commandName,
36
+ inputFilterSensitiveLog: (_) => _,
37
+ outputFilterSensitiveLog: (_) => _,
38
+ [SMITHY_CONTEXT_KEY]: {
39
+ service: "AWSS3ControlServiceV20180820",
40
+ operation: "CreateStorageLensGroup",
41
+ },
42
+ };
43
+ const { requestHandler } = configuration;
44
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
45
+ }
46
+ serialize(input, context) {
47
+ return se_CreateStorageLensGroupCommand(input, context);
48
+ }
49
+ deserialize(output, context) {
50
+ return de_CreateStorageLensGroupCommand(output, context);
51
+ }
52
+ }
@@ -0,0 +1,52 @@
1
+ import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { getSerdePlugin } from "@smithy/middleware-serde";
4
+ import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
6
+ import { de_DeleteStorageLensGroupCommand, se_DeleteStorageLensGroupCommand } from "../protocols/Aws_restXml";
7
+ export { $Command };
8
+ export class DeleteStorageLensGroupCommand extends $Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ RequiresAccountId: { type: "staticContextParams", value: true },
12
+ AccountId: { type: "contextParams", name: "AccountId" },
13
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteStorageLensGroupCommand.getEndpointParameterInstructions()));
27
+ this.middlewareStack.use(getProcessArnablesPlugin(configuration));
28
+ const stack = clientStack.concat(this.middlewareStack);
29
+ const { logger } = configuration;
30
+ const clientName = "S3ControlClient";
31
+ const commandName = "DeleteStorageLensGroupCommand";
32
+ const handlerExecutionContext = {
33
+ logger,
34
+ clientName,
35
+ commandName,
36
+ inputFilterSensitiveLog: (_) => _,
37
+ outputFilterSensitiveLog: (_) => _,
38
+ [SMITHY_CONTEXT_KEY]: {
39
+ service: "AWSS3ControlServiceV20180820",
40
+ operation: "DeleteStorageLensGroup",
41
+ },
42
+ };
43
+ const { requestHandler } = configuration;
44
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
45
+ }
46
+ serialize(input, context) {
47
+ return se_DeleteStorageLensGroupCommand(input, context);
48
+ }
49
+ deserialize(output, context) {
50
+ return de_DeleteStorageLensGroupCommand(output, context);
51
+ }
52
+ }
@@ -0,0 +1,52 @@
1
+ import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { getSerdePlugin } from "@smithy/middleware-serde";
4
+ import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
6
+ import { de_GetStorageLensGroupCommand, se_GetStorageLensGroupCommand } from "../protocols/Aws_restXml";
7
+ export { $Command };
8
+ export class GetStorageLensGroupCommand extends $Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ RequiresAccountId: { type: "staticContextParams", value: true },
12
+ AccountId: { type: "contextParams", name: "AccountId" },
13
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetStorageLensGroupCommand.getEndpointParameterInstructions()));
27
+ this.middlewareStack.use(getProcessArnablesPlugin(configuration));
28
+ const stack = clientStack.concat(this.middlewareStack);
29
+ const { logger } = configuration;
30
+ const clientName = "S3ControlClient";
31
+ const commandName = "GetStorageLensGroupCommand";
32
+ const handlerExecutionContext = {
33
+ logger,
34
+ clientName,
35
+ commandName,
36
+ inputFilterSensitiveLog: (_) => _,
37
+ outputFilterSensitiveLog: (_) => _,
38
+ [SMITHY_CONTEXT_KEY]: {
39
+ service: "AWSS3ControlServiceV20180820",
40
+ operation: "GetStorageLensGroup",
41
+ },
42
+ };
43
+ const { requestHandler } = configuration;
44
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
45
+ }
46
+ serialize(input, context) {
47
+ return se_GetStorageLensGroupCommand(input, context);
48
+ }
49
+ deserialize(output, context) {
50
+ return de_GetStorageLensGroupCommand(output, context);
51
+ }
52
+ }
@@ -0,0 +1,52 @@
1
+ import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { getSerdePlugin } from "@smithy/middleware-serde";
4
+ import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
6
+ import { de_ListStorageLensGroupsCommand, se_ListStorageLensGroupsCommand } from "../protocols/Aws_restXml";
7
+ export { $Command };
8
+ export class ListStorageLensGroupsCommand extends $Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ RequiresAccountId: { type: "staticContextParams", value: true },
12
+ AccountId: { type: "contextParams", name: "AccountId" },
13
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListStorageLensGroupsCommand.getEndpointParameterInstructions()));
27
+ this.middlewareStack.use(getProcessArnablesPlugin(configuration));
28
+ const stack = clientStack.concat(this.middlewareStack);
29
+ const { logger } = configuration;
30
+ const clientName = "S3ControlClient";
31
+ const commandName = "ListStorageLensGroupsCommand";
32
+ const handlerExecutionContext = {
33
+ logger,
34
+ clientName,
35
+ commandName,
36
+ inputFilterSensitiveLog: (_) => _,
37
+ outputFilterSensitiveLog: (_) => _,
38
+ [SMITHY_CONTEXT_KEY]: {
39
+ service: "AWSS3ControlServiceV20180820",
40
+ operation: "ListStorageLensGroups",
41
+ },
42
+ };
43
+ const { requestHandler } = configuration;
44
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
45
+ }
46
+ serialize(input, context) {
47
+ return se_ListStorageLensGroupsCommand(input, context);
48
+ }
49
+ deserialize(output, context) {
50
+ return de_ListStorageLensGroupsCommand(output, context);
51
+ }
52
+ }
@@ -0,0 +1,52 @@
1
+ import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { getSerdePlugin } from "@smithy/middleware-serde";
4
+ import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
6
+ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restXml";
7
+ export { $Command };
8
+ export class ListTagsForResourceCommand extends $Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ RequiresAccountId: { type: "staticContextParams", value: true },
12
+ AccountId: { type: "contextParams", name: "AccountId" },
13
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
27
+ this.middlewareStack.use(getProcessArnablesPlugin(configuration));
28
+ const stack = clientStack.concat(this.middlewareStack);
29
+ const { logger } = configuration;
30
+ const clientName = "S3ControlClient";
31
+ const commandName = "ListTagsForResourceCommand";
32
+ const handlerExecutionContext = {
33
+ logger,
34
+ clientName,
35
+ commandName,
36
+ inputFilterSensitiveLog: (_) => _,
37
+ outputFilterSensitiveLog: (_) => _,
38
+ [SMITHY_CONTEXT_KEY]: {
39
+ service: "AWSS3ControlServiceV20180820",
40
+ operation: "ListTagsForResource",
41
+ },
42
+ };
43
+ const { requestHandler } = configuration;
44
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
45
+ }
46
+ serialize(input, context) {
47
+ return se_ListTagsForResourceCommand(input, context);
48
+ }
49
+ deserialize(output, context) {
50
+ return de_ListTagsForResourceCommand(output, context);
51
+ }
52
+ }
@@ -0,0 +1,52 @@
1
+ import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { getSerdePlugin } from "@smithy/middleware-serde";
4
+ import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
6
+ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restXml";
7
+ export { $Command };
8
+ export class TagResourceCommand extends $Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ RequiresAccountId: { type: "staticContextParams", value: true },
12
+ AccountId: { type: "contextParams", name: "AccountId" },
13
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
27
+ this.middlewareStack.use(getProcessArnablesPlugin(configuration));
28
+ const stack = clientStack.concat(this.middlewareStack);
29
+ const { logger } = configuration;
30
+ const clientName = "S3ControlClient";
31
+ const commandName = "TagResourceCommand";
32
+ const handlerExecutionContext = {
33
+ logger,
34
+ clientName,
35
+ commandName,
36
+ inputFilterSensitiveLog: (_) => _,
37
+ outputFilterSensitiveLog: (_) => _,
38
+ [SMITHY_CONTEXT_KEY]: {
39
+ service: "AWSS3ControlServiceV20180820",
40
+ operation: "TagResource",
41
+ },
42
+ };
43
+ const { requestHandler } = configuration;
44
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
45
+ }
46
+ serialize(input, context) {
47
+ return se_TagResourceCommand(input, context);
48
+ }
49
+ deserialize(output, context) {
50
+ return de_TagResourceCommand(output, context);
51
+ }
52
+ }
@@ -0,0 +1,52 @@
1
+ import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { getSerdePlugin } from "@smithy/middleware-serde";
4
+ import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
6
+ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restXml";
7
+ export { $Command };
8
+ export class UntagResourceCommand extends $Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ RequiresAccountId: { type: "staticContextParams", value: true },
12
+ AccountId: { type: "contextParams", name: "AccountId" },
13
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
27
+ this.middlewareStack.use(getProcessArnablesPlugin(configuration));
28
+ const stack = clientStack.concat(this.middlewareStack);
29
+ const { logger } = configuration;
30
+ const clientName = "S3ControlClient";
31
+ const commandName = "UntagResourceCommand";
32
+ const handlerExecutionContext = {
33
+ logger,
34
+ clientName,
35
+ commandName,
36
+ inputFilterSensitiveLog: (_) => _,
37
+ outputFilterSensitiveLog: (_) => _,
38
+ [SMITHY_CONTEXT_KEY]: {
39
+ service: "AWSS3ControlServiceV20180820",
40
+ operation: "UntagResource",
41
+ },
42
+ };
43
+ const { requestHandler } = configuration;
44
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
45
+ }
46
+ serialize(input, context) {
47
+ return se_UntagResourceCommand(input, context);
48
+ }
49
+ deserialize(output, context) {
50
+ return de_UntagResourceCommand(output, context);
51
+ }
52
+ }
@@ -0,0 +1,52 @@
1
+ import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { getSerdePlugin } from "@smithy/middleware-serde";
4
+ import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
6
+ import { de_UpdateStorageLensGroupCommand, se_UpdateStorageLensGroupCommand } from "../protocols/Aws_restXml";
7
+ export { $Command };
8
+ export class UpdateStorageLensGroupCommand extends $Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ RequiresAccountId: { type: "staticContextParams", value: true },
12
+ AccountId: { type: "contextParams", name: "AccountId" },
13
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateStorageLensGroupCommand.getEndpointParameterInstructions()));
27
+ this.middlewareStack.use(getProcessArnablesPlugin(configuration));
28
+ const stack = clientStack.concat(this.middlewareStack);
29
+ const { logger } = configuration;
30
+ const clientName = "S3ControlClient";
31
+ const commandName = "UpdateStorageLensGroupCommand";
32
+ const handlerExecutionContext = {
33
+ logger,
34
+ clientName,
35
+ commandName,
36
+ inputFilterSensitiveLog: (_) => _,
37
+ outputFilterSensitiveLog: (_) => _,
38
+ [SMITHY_CONTEXT_KEY]: {
39
+ service: "AWSS3ControlServiceV20180820",
40
+ operation: "UpdateStorageLensGroup",
41
+ },
42
+ };
43
+ const { requestHandler } = configuration;
44
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
45
+ }
46
+ serialize(input, context) {
47
+ return se_UpdateStorageLensGroupCommand(input, context);
48
+ }
49
+ deserialize(output, context) {
50
+ return de_UpdateStorageLensGroupCommand(output, context);
51
+ }
52
+ }
@@ -3,6 +3,7 @@ export * from "./CreateAccessPointForObjectLambdaCommand";
3
3
  export * from "./CreateBucketCommand";
4
4
  export * from "./CreateJobCommand";
5
5
  export * from "./CreateMultiRegionAccessPointCommand";
6
+ export * from "./CreateStorageLensGroupCommand";
6
7
  export * from "./DeleteAccessPointCommand";
7
8
  export * from "./DeleteAccessPointForObjectLambdaCommand";
8
9
  export * from "./DeleteAccessPointPolicyCommand";
@@ -17,6 +18,7 @@ export * from "./DeleteMultiRegionAccessPointCommand";
17
18
  export * from "./DeletePublicAccessBlockCommand";
18
19
  export * from "./DeleteStorageLensConfigurationCommand";
19
20
  export * from "./DeleteStorageLensConfigurationTaggingCommand";
21
+ export * from "./DeleteStorageLensGroupCommand";
20
22
  export * from "./DescribeJobCommand";
21
23
  export * from "./DescribeMultiRegionAccessPointOperationCommand";
22
24
  export * from "./GetAccessPointCommand";
@@ -40,12 +42,15 @@ export * from "./GetMultiRegionAccessPointRoutesCommand";
40
42
  export * from "./GetPublicAccessBlockCommand";
41
43
  export * from "./GetStorageLensConfigurationCommand";
42
44
  export * from "./GetStorageLensConfigurationTaggingCommand";
45
+ export * from "./GetStorageLensGroupCommand";
43
46
  export * from "./ListAccessPointsCommand";
44
47
  export * from "./ListAccessPointsForObjectLambdaCommand";
45
48
  export * from "./ListJobsCommand";
46
49
  export * from "./ListMultiRegionAccessPointsCommand";
47
50
  export * from "./ListRegionalBucketsCommand";
48
51
  export * from "./ListStorageLensConfigurationsCommand";
52
+ export * from "./ListStorageLensGroupsCommand";
53
+ export * from "./ListTagsForResourceCommand";
49
54
  export * from "./PutAccessPointConfigurationForObjectLambdaCommand";
50
55
  export * from "./PutAccessPointPolicyCommand";
51
56
  export * from "./PutAccessPointPolicyForObjectLambdaCommand";
@@ -60,5 +65,8 @@ export * from "./PutPublicAccessBlockCommand";
60
65
  export * from "./PutStorageLensConfigurationCommand";
61
66
  export * from "./PutStorageLensConfigurationTaggingCommand";
62
67
  export * from "./SubmitMultiRegionAccessPointRoutesCommand";
68
+ export * from "./TagResourceCommand";
69
+ export * from "./UntagResourceCommand";
63
70
  export * from "./UpdateJobPriorityCommand";
64
71
  export * from "./UpdateJobStatusCommand";
72
+ export * from "./UpdateStorageLensGroupCommand";
@@ -0,0 +1,24 @@
1
+ import { ListStorageLensGroupsCommand, } from "../commands/ListStorageLensGroupsCommand";
2
+ import { S3ControlClient } from "../S3ControlClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListStorageLensGroupsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListStorageLensGroups(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.NextToken = token;
12
+ if (config.client instanceof S3ControlClient) {
13
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
+ }
15
+ else {
16
+ throw new Error("Invalid client, expected S3Control | S3ControlClient");
17
+ }
18
+ yield page;
19
+ const prevToken = token;
20
+ token = page.NextToken;
21
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
+ }
23
+ return undefined;
24
+ }
@@ -5,3 +5,4 @@ export * from "./ListJobsPaginator";
5
5
  export * from "./ListMultiRegionAccessPointsPaginator";
6
6
  export * from "./ListRegionalBucketsPaginator";
7
7
  export * from "./ListStorageLensConfigurationsPaginator";
8
+ export * from "./ListStorageLensGroupsPaginator";