@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
|
@@ -0,0 +1,88 @@
|
|
|
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 { ListStorageLensGroupsRequest, ListStorageLensGroupsResult } 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 ListStorageLensGroupsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListStorageLensGroupsCommandInput extends ListStorageLensGroupsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListStorageLensGroupsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListStorageLensGroupsCommandOutput extends ListStorageLensGroupsResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>
|
|
27
|
+
* Lists all the Storage Lens groups in the specified home Region.
|
|
28
|
+
* </p>
|
|
29
|
+
* <p>To use this operation, you must have the permission to perform the
|
|
30
|
+
* <code>s3:ListStorageLensGroups</code> action. For more information about the required Storage Lens
|
|
31
|
+
* 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>
|
|
32
|
+
* <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
|
|
33
|
+
* Lens error codes</a>.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { S3ControlClient, ListStorageLensGroupsCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
38
|
+
* // const { S3ControlClient, ListStorageLensGroupsCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
39
|
+
* const client = new S3ControlClient(config);
|
|
40
|
+
* const input = { // ListStorageLensGroupsRequest
|
|
41
|
+
* AccountId: "STRING_VALUE",
|
|
42
|
+
* NextToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListStorageLensGroupsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListStorageLensGroupsResult
|
|
47
|
+
* // NextToken: "STRING_VALUE",
|
|
48
|
+
* // StorageLensGroupList: [ // StorageLensGroupList
|
|
49
|
+
* // { // ListStorageLensGroupEntry
|
|
50
|
+
* // Name: "STRING_VALUE", // required
|
|
51
|
+
* // StorageLensGroupArn: "STRING_VALUE", // required
|
|
52
|
+
* // HomeRegion: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param ListStorageLensGroupsCommandInput - {@link ListStorageLensGroupsCommandInput}
|
|
60
|
+
* @returns {@link ListStorageLensGroupsCommandOutput}
|
|
61
|
+
* @see {@link ListStorageLensGroupsCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link ListStorageLensGroupsCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link S3ControlServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from S3Control service.</p>
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
export declare class ListStorageLensGroupsCommand extends $Command<ListStorageLensGroupsCommandInput, ListStorageLensGroupsCommandOutput, S3ControlClientResolvedConfig> {
|
|
70
|
+
readonly input: ListStorageLensGroupsCommandInput;
|
|
71
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
constructor(input: ListStorageLensGroupsCommandInput);
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListStorageLensGroupsCommandInput, ListStorageLensGroupsCommandOutput>;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
private serialize;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private deserialize;
|
|
88
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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 { ListTagsForResourceRequest, ListTagsForResourceResult } 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 ListTagsForResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p> This operation allows you to list all the Amazon Web Services resource tags for the specified
|
|
27
|
+
* resource. </p>
|
|
28
|
+
* <p>To use this operation, you must have the permission to perform the
|
|
29
|
+
* <code>s3:ListTagsForResource</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 S3 Tagging errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList">List of Amazon S3 Tagging error codes</a>.</p>
|
|
32
|
+
* <note>
|
|
33
|
+
* <p>This operation is only supported for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens
|
|
34
|
+
* groups</a>.</p>
|
|
35
|
+
* </note>
|
|
36
|
+
* @example
|
|
37
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
+
* ```javascript
|
|
39
|
+
* import { S3ControlClient, ListTagsForResourceCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
40
|
+
* // const { S3ControlClient, ListTagsForResourceCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
41
|
+
* const client = new S3ControlClient(config);
|
|
42
|
+
* const input = { // ListTagsForResourceRequest
|
|
43
|
+
* AccountId: "STRING_VALUE",
|
|
44
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ListTagsForResourceResult
|
|
49
|
+
* // Tags: [ // TagList
|
|
50
|
+
* // { // Tag
|
|
51
|
+
* // Key: "STRING_VALUE", // required
|
|
52
|
+
* // Value: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
60
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
61
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link S3ControlServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from S3Control service.</p>
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, S3ControlClientResolvedConfig> {
|
|
70
|
+
readonly input: ListTagsForResourceCommandInput;
|
|
71
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
constructor(input: ListTagsForResourceCommandInput);
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
private serialize;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private deserialize;
|
|
88
|
+
}
|
|
@@ -78,6 +78,16 @@ export interface PutStorageLensConfigurationCommandOutput extends __MetadataBear
|
|
|
78
78
|
* DetailedStatusCodesMetrics: {
|
|
79
79
|
* IsEnabled: true || false,
|
|
80
80
|
* },
|
|
81
|
+
* StorageLensGroupLevel: { // StorageLensGroupLevel
|
|
82
|
+
* SelectionCriteria: { // StorageLensGroupLevelSelectionCriteria
|
|
83
|
+
* Include: [ // StorageLensGroupLevelInclude
|
|
84
|
+
* "STRING_VALUE",
|
|
85
|
+
* ],
|
|
86
|
+
* Exclude: [ // StorageLensGroupLevelExclude
|
|
87
|
+
* "STRING_VALUE",
|
|
88
|
+
* ],
|
|
89
|
+
* },
|
|
90
|
+
* },
|
|
81
91
|
* },
|
|
82
92
|
* Include: { // Include
|
|
83
93
|
* Buckets: [ // Buckets
|
|
@@ -0,0 +1,86 @@
|
|
|
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 { TagResourceRequest, TagResourceResult } 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 TagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagResourceCommandOutput extends TagResourceResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p> Creates a new Amazon Web Services resource tag or updates an existing resource tag. You can add up to
|
|
27
|
+
* 50 Amazon Web Services resource tags for each S3 resource. </p>
|
|
28
|
+
* <p>To use this operation, you must have the permission to perform the
|
|
29
|
+
* <code>s3:TagResource</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 S3 Tagging errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList">List of Amazon S3 Tagging error codes</a>.</p>
|
|
32
|
+
* <note>
|
|
33
|
+
* <p>This operation is only supported for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens groups</a>.</p>
|
|
34
|
+
* </note>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { S3ControlClient, TagResourceCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
39
|
+
* // const { S3ControlClient, TagResourceCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
40
|
+
* const client = new S3ControlClient(config);
|
|
41
|
+
* const input = { // TagResourceRequest
|
|
42
|
+
* AccountId: "STRING_VALUE",
|
|
43
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
44
|
+
* Tags: [ // TagList // required
|
|
45
|
+
* { // Tag
|
|
46
|
+
* Key: "STRING_VALUE", // required
|
|
47
|
+
* Value: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* };
|
|
51
|
+
* const command = new TagResourceCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // {};
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
58
|
+
* @returns {@link TagResourceCommandOutput}
|
|
59
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link S3ControlServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from S3Control service.</p>
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, S3ControlClientResolvedConfig> {
|
|
68
|
+
readonly input: TagResourceCommandInput;
|
|
69
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
constructor(input: TagResourceCommandInput);
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
private deserialize;
|
|
86
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
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 { UntagResourceRequest, UntagResourceResult } 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 UntagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UntagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UntagResourceCommandOutput extends UntagResourceResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p> This operation removes the specified Amazon Web Services resource tags from an S3 resource. </p>
|
|
27
|
+
* <p>To use this operation, you must have the permission to perform the
|
|
28
|
+
* <code>s3:UntagResource</code> action. For more information about the required Storage
|
|
29
|
+
* Lens 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>
|
|
30
|
+
* <p>For information about S3 Tagging errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList">List of Amazon S3
|
|
31
|
+
* Tagging error codes</a>.</p>
|
|
32
|
+
* <note>
|
|
33
|
+
* <p>This operation is only supported for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens
|
|
34
|
+
* groups</a>.</p>
|
|
35
|
+
* </note>
|
|
36
|
+
* @example
|
|
37
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
+
* ```javascript
|
|
39
|
+
* import { S3ControlClient, UntagResourceCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
40
|
+
* // const { S3ControlClient, UntagResourceCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
41
|
+
* const client = new S3ControlClient(config);
|
|
42
|
+
* const input = { // UntagResourceRequest
|
|
43
|
+
* AccountId: "STRING_VALUE",
|
|
44
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
45
|
+
* TagKeys: [ // TagKeyList // required
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* };
|
|
49
|
+
* const command = new UntagResourceCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // {};
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
56
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
57
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link S3ControlServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from S3Control service.</p>
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, S3ControlClientResolvedConfig> {
|
|
66
|
+
readonly input: UntagResourceCommandInput;
|
|
67
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
constructor(input: UntagResourceCommandInput);
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
private serialize;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
private deserialize;
|
|
84
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
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 { UpdateStorageLensGroupRequest } 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 UpdateStorageLensGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateStorageLensGroupCommandInput extends UpdateStorageLensGroupRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateStorageLensGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateStorageLensGroupCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>
|
|
27
|
+
* Updates the existing Storage Lens group.</p>
|
|
28
|
+
* <p>To use this operation, you must have the permission to perform the
|
|
29
|
+
* <code>s3:UpdateStorageLensGroup</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, UpdateStorageLensGroupCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
37
|
+
* // const { S3ControlClient, UpdateStorageLensGroupCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
38
|
+
* const client = new S3ControlClient(config);
|
|
39
|
+
* const input = { // UpdateStorageLensGroupRequest
|
|
40
|
+
* Name: "STRING_VALUE", // required
|
|
41
|
+
* AccountId: "STRING_VALUE",
|
|
42
|
+
* StorageLensGroup: { // StorageLensGroup
|
|
43
|
+
* Name: "STRING_VALUE", // required
|
|
44
|
+
* Filter: { // StorageLensGroupFilter
|
|
45
|
+
* MatchAnyPrefix: [ // MatchAnyPrefix
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* MatchAnySuffix: [ // MatchAnySuffix
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* MatchAnyTag: [ // MatchAnyTag
|
|
52
|
+
* { // S3Tag
|
|
53
|
+
* Key: "STRING_VALUE", // required
|
|
54
|
+
* Value: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* MatchObjectAge: { // MatchObjectAge
|
|
58
|
+
* DaysGreaterThan: Number("int"),
|
|
59
|
+
* DaysLessThan: Number("int"),
|
|
60
|
+
* },
|
|
61
|
+
* MatchObjectSize: { // MatchObjectSize
|
|
62
|
+
* BytesGreaterThan: Number("long"),
|
|
63
|
+
* BytesLessThan: Number("long"),
|
|
64
|
+
* },
|
|
65
|
+
* And: { // StorageLensGroupAndOperator
|
|
66
|
+
* MatchAnyPrefix: [
|
|
67
|
+
* "STRING_VALUE",
|
|
68
|
+
* ],
|
|
69
|
+
* MatchAnySuffix: [
|
|
70
|
+
* "STRING_VALUE",
|
|
71
|
+
* ],
|
|
72
|
+
* MatchAnyTag: [
|
|
73
|
+
* {
|
|
74
|
+
* Key: "STRING_VALUE", // required
|
|
75
|
+
* Value: "STRING_VALUE", // required
|
|
76
|
+
* },
|
|
77
|
+
* ],
|
|
78
|
+
* MatchObjectAge: {
|
|
79
|
+
* DaysGreaterThan: Number("int"),
|
|
80
|
+
* DaysLessThan: Number("int"),
|
|
81
|
+
* },
|
|
82
|
+
* MatchObjectSize: {
|
|
83
|
+
* BytesGreaterThan: Number("long"),
|
|
84
|
+
* BytesLessThan: Number("long"),
|
|
85
|
+
* },
|
|
86
|
+
* },
|
|
87
|
+
* Or: { // StorageLensGroupOrOperator
|
|
88
|
+
* MatchAnyPrefix: [
|
|
89
|
+
* "STRING_VALUE",
|
|
90
|
+
* ],
|
|
91
|
+
* MatchAnySuffix: [
|
|
92
|
+
* "STRING_VALUE",
|
|
93
|
+
* ],
|
|
94
|
+
* MatchAnyTag: [
|
|
95
|
+
* {
|
|
96
|
+
* Key: "STRING_VALUE", // required
|
|
97
|
+
* Value: "STRING_VALUE", // required
|
|
98
|
+
* },
|
|
99
|
+
* ],
|
|
100
|
+
* MatchObjectAge: {
|
|
101
|
+
* DaysGreaterThan: Number("int"),
|
|
102
|
+
* DaysLessThan: Number("int"),
|
|
103
|
+
* },
|
|
104
|
+
* MatchObjectSize: {
|
|
105
|
+
* BytesGreaterThan: Number("long"),
|
|
106
|
+
* BytesLessThan: Number("long"),
|
|
107
|
+
* },
|
|
108
|
+
* },
|
|
109
|
+
* },
|
|
110
|
+
* StorageLensGroupArn: "STRING_VALUE",
|
|
111
|
+
* },
|
|
112
|
+
* };
|
|
113
|
+
* const command = new UpdateStorageLensGroupCommand(input);
|
|
114
|
+
* const response = await client.send(command);
|
|
115
|
+
* // {};
|
|
116
|
+
*
|
|
117
|
+
* ```
|
|
118
|
+
*
|
|
119
|
+
* @param UpdateStorageLensGroupCommandInput - {@link UpdateStorageLensGroupCommandInput}
|
|
120
|
+
* @returns {@link UpdateStorageLensGroupCommandOutput}
|
|
121
|
+
* @see {@link UpdateStorageLensGroupCommandInput} for command's `input` shape.
|
|
122
|
+
* @see {@link UpdateStorageLensGroupCommandOutput} for command's `response` shape.
|
|
123
|
+
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link S3ControlServiceException}
|
|
126
|
+
* <p>Base exception class for all service exceptions from S3Control service.</p>
|
|
127
|
+
*
|
|
128
|
+
*/
|
|
129
|
+
export declare class UpdateStorageLensGroupCommand extends $Command<UpdateStorageLensGroupCommandInput, UpdateStorageLensGroupCommandOutput, S3ControlClientResolvedConfig> {
|
|
130
|
+
readonly input: UpdateStorageLensGroupCommandInput;
|
|
131
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
constructor(input: UpdateStorageLensGroupCommandInput);
|
|
136
|
+
/**
|
|
137
|
+
* @internal
|
|
138
|
+
*/
|
|
139
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateStorageLensGroupCommandInput, UpdateStorageLensGroupCommandOutput>;
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
143
|
+
private serialize;
|
|
144
|
+
/**
|
|
145
|
+
* @internal
|
|
146
|
+
*/
|
|
147
|
+
private deserialize;
|
|
148
|
+
}
|
|
@@ -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";
|