@aws-sdk/client-s3tables 3.922.0 → 3.926.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist-cjs/index.js +129 -0
- package/dist-es/S3Tables.js +6 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +72 -0
- package/dist-types/S3Tables.d.ts +21 -0
- package/dist-types/S3TablesClient.d.ts +5 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/commands/CreateTableBucketCommand.d.ts +4 -1
- package/dist-types/commands/CreateTableCommand.d.ts +4 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +94 -0
- package/dist-types/commands/PutTableBucketPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutTablePolicyCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +93 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +72 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/S3Tables.d.ts +51 -0
- package/dist-types/ts3.4/S3TablesClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +18 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +8 -8
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
4
|
+
import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $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 ListTagsForResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListTagsForResourceCommand_base: {
|
|
25
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all of the tags applied to a specified Amazon S3 Tables resource. Each tag is a label consisting of a key and value pair. Tags can help you organize, track costs for, and control access to resources. </p> <note> <p>For a list of S3 resources that support tagging, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#manage-tags">Managing tags for Amazon S3 resources</a>.</p> </note> <dl> <dt>Permissions</dt> <dd> <p>For tables and table buckets, you must have the <code>s3tables:ListTagsForResource</code> permission to use this operation.</p> </dd> </dl>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { S3TablesClient, ListTagsForResourceCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
35
|
+
* // const { S3TablesClient, ListTagsForResourceCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
36
|
+
* // import type { S3TablesClientConfig } from "@aws-sdk/client-s3tables";
|
|
37
|
+
* const config = {}; // type is S3TablesClientConfig
|
|
38
|
+
* const client = new S3TablesClient(config);
|
|
39
|
+
* const input = { // ListTagsForResourceRequest
|
|
40
|
+
* resourceArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListTagsForResourceResponse
|
|
45
|
+
* // tags: { // Tags
|
|
46
|
+
* // "<keys>": "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
53
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
54
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link BadRequestException} (client fault)
|
|
59
|
+
* <p>The request is invalid or malformed.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConflictException} (client fault)
|
|
62
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the request.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
65
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
68
|
+
* <p>The request failed due to an internal server error.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link NotFoundException} (client fault)
|
|
71
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
74
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link S3TablesServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: ListTagsForResourceRequest;
|
|
87
|
+
output: ListTagsForResourceResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: ListTagsForResourceCommandInput;
|
|
91
|
+
output: ListTagsForResourceCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -27,7 +27,7 @@ declare const PutTableBucketPolicyCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a new
|
|
30
|
+
* <p>Creates a new table bucket policy or replaces an existing table bucket policy for a table bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-bucket-policy.html#table-bucket-policy-add">Adding a table bucket policy</a> in the <i>Amazon Simple Storage Service User Guide</i>.</p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:PutTableBucketPolicy</code> permission to use this operation. </p> </dd> </dl>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const PutTablePolicyCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a new
|
|
30
|
+
* <p>Creates a new table policy or replaces an existing table policy for a table. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-table-policy.html#table-policy-add">Adding a table policy</a> in the <i>Amazon Simple Storage Service User Guide</i>. </p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:PutTablePolicy</code> permission to use this operation. </p> </dd> </dl>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
4
|
+
import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $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 TagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const TagResourceCommand_base: {
|
|
25
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Applies one or more user-defined tags to an Amazon S3 Tables resource or updates existing tags. Each tag is a label consisting of a key and value pair. Tags can help you organize, track costs for, and control access to your resources. You can add up to 50 tags for each S3 resource. </p> <note> <p>For a list of S3 resources that support tagging, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#manage-tags">Managing tags for Amazon S3 resources</a>.</p> </note> <dl> <dt>Permissions</dt> <dd> <p>For tables and table buckets, you must have the <code>s3tables:TagResource</code> permission to use this operation.</p> </dd> </dl>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { S3TablesClient, TagResourceCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
35
|
+
* // const { S3TablesClient, TagResourceCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
36
|
+
* // import type { S3TablesClientConfig } from "@aws-sdk/client-s3tables";
|
|
37
|
+
* const config = {}; // type is S3TablesClientConfig
|
|
38
|
+
* const client = new S3TablesClient(config);
|
|
39
|
+
* const input = { // TagResourceRequest
|
|
40
|
+
* resourceArn: "STRING_VALUE", // required
|
|
41
|
+
* tags: { // Tags // required
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
45
|
+
* const command = new TagResourceCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
52
|
+
* @returns {@link TagResourceCommandOutput}
|
|
53
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link BadRequestException} (client fault)
|
|
58
|
+
* <p>The request is invalid or malformed.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the request.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
64
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
67
|
+
* <p>The request failed due to an internal server error.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link NotFoundException} (client fault)
|
|
70
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
73
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link S3TablesServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: TagResourceRequest;
|
|
86
|
+
output: {};
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: TagResourceCommandInput;
|
|
90
|
+
output: TagResourceCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
4
|
+
import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $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 UntagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UntagResourceCommand_base: {
|
|
25
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Removes the specified user-defined tags from an Amazon S3 Tables resource. You can pass one or more tag keys. </p> <note> <p>For a list of S3 resources that support tagging, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#manage-tags">Managing tags for Amazon S3 resources</a>.</p> </note> <dl> <dt>Permissions</dt> <dd> <p>For tables and table buckets, you must have the <code>s3tables:UntagResource</code> permission to use this operation.</p> </dd> </dl>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { S3TablesClient, UntagResourceCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
35
|
+
* // const { S3TablesClient, UntagResourceCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
36
|
+
* // import type { S3TablesClientConfig } from "@aws-sdk/client-s3tables";
|
|
37
|
+
* const config = {}; // type is S3TablesClientConfig
|
|
38
|
+
* const client = new S3TablesClient(config);
|
|
39
|
+
* const input = { // UntagResourceRequest
|
|
40
|
+
* resourceArn: "STRING_VALUE", // required
|
|
41
|
+
* tagKeys: [ // TagKeyList // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
45
|
+
* const command = new UntagResourceCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
52
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
53
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link BadRequestException} (client fault)
|
|
58
|
+
* <p>The request is invalid or malformed.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the request.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
64
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
67
|
+
* <p>The request failed due to an internal server error.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link NotFoundException} (client fault)
|
|
70
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
73
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link S3TablesServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: UntagResourceRequest;
|
|
86
|
+
output: {};
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: UntagResourceCommandInput;
|
|
90
|
+
output: UntagResourceCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -21,10 +21,13 @@ export * from "./GetTablePolicyCommand";
|
|
|
21
21
|
export * from "./ListNamespacesCommand";
|
|
22
22
|
export * from "./ListTableBucketsCommand";
|
|
23
23
|
export * from "./ListTablesCommand";
|
|
24
|
+
export * from "./ListTagsForResourceCommand";
|
|
24
25
|
export * from "./PutTableBucketEncryptionCommand";
|
|
25
26
|
export * from "./PutTableBucketMaintenanceConfigurationCommand";
|
|
26
27
|
export * from "./PutTableBucketPolicyCommand";
|
|
27
28
|
export * from "./PutTableMaintenanceConfigurationCommand";
|
|
28
29
|
export * from "./PutTablePolicyCommand";
|
|
29
30
|
export * from "./RenameTableCommand";
|
|
31
|
+
export * from "./TagResourceCommand";
|
|
32
|
+
export * from "./UntagResourceCommand";
|
|
30
33
|
export * from "./UpdateTableMetadataLocationCommand";
|
|
@@ -260,6 +260,11 @@ export interface CreateTableRequest {
|
|
|
260
260
|
* @public
|
|
261
261
|
*/
|
|
262
262
|
encryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
263
|
+
/**
|
|
264
|
+
* <p>A map of user-defined tags that you would like to apply to the table that you are creating. A tag is a key-value pair that you apply to your resources. Tags can help you organize, track costs for, and control access to resources. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html">Tagging for cost allocation or attribute-based access control (ABAC)</a>.</p> <note> <p>You must have the <code>s3tables:TagResource</code> permission in addition to <code>s3tables:CreateTable</code> permission to create a table with tags.</p> </note>
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
267
|
+
tags?: Record<string, string> | undefined;
|
|
263
268
|
}
|
|
264
269
|
/**
|
|
265
270
|
* @public
|
|
@@ -290,6 +295,11 @@ export interface CreateTableBucketRequest {
|
|
|
290
295
|
* @public
|
|
291
296
|
*/
|
|
292
297
|
encryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
298
|
+
/**
|
|
299
|
+
* <p>A map of user-defined tags that you would like to apply to the table bucket that you are creating. A tag is a key-value pair that you apply to your resources. Tags can help you organize and control access to resources. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html">Tagging for cost allocation or attribute-based access control (ABAC)</a>.</p> <note> <p>You must have the <code>s3tables:TagResource</code> permission in addition to <code>s3tables:CreateTableBucket</code> permisson to create a table bucket with tags.</p> </note>
|
|
300
|
+
* @public
|
|
301
|
+
*/
|
|
302
|
+
tags?: Record<string, string> | undefined;
|
|
293
303
|
}
|
|
294
304
|
/**
|
|
295
305
|
* @public
|
|
@@ -966,7 +976,7 @@ export interface GetTableMaintenanceJobStatusRequest {
|
|
|
966
976
|
*/
|
|
967
977
|
namespace: string | undefined;
|
|
968
978
|
/**
|
|
969
|
-
* <p>The name of the maintenance job.</p>
|
|
979
|
+
* <p>The name of the table containing the maintenance job status you want to check.</p>
|
|
970
980
|
* @public
|
|
971
981
|
*/
|
|
972
982
|
name: string | undefined;
|
|
@@ -1347,6 +1357,26 @@ export interface ListTablesResponse {
|
|
|
1347
1357
|
*/
|
|
1348
1358
|
continuationToken?: string | undefined;
|
|
1349
1359
|
}
|
|
1360
|
+
/**
|
|
1361
|
+
* @public
|
|
1362
|
+
*/
|
|
1363
|
+
export interface ListTagsForResourceRequest {
|
|
1364
|
+
/**
|
|
1365
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon S3 Tables resource that you want to list tags for. The tagged resource can be a table bucket or a table. For a list of all S3 resources that support tagging, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#manage-tags">Managing tags for Amazon S3 resources</a>.</p>
|
|
1366
|
+
* @public
|
|
1367
|
+
*/
|
|
1368
|
+
resourceArn: string | undefined;
|
|
1369
|
+
}
|
|
1370
|
+
/**
|
|
1371
|
+
* @public
|
|
1372
|
+
*/
|
|
1373
|
+
export interface ListTagsForResourceResponse {
|
|
1374
|
+
/**
|
|
1375
|
+
* <p>The user-defined tags that are applied to the resource. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html">Tagging for cost allocation or attribute-based access control (ABAC)</a>.</p>
|
|
1376
|
+
* @public
|
|
1377
|
+
*/
|
|
1378
|
+
tags?: Record<string, string> | undefined;
|
|
1379
|
+
}
|
|
1350
1380
|
/**
|
|
1351
1381
|
* @public
|
|
1352
1382
|
*/
|
|
@@ -1412,7 +1442,7 @@ export interface PutTableMaintenanceConfigurationRequest {
|
|
|
1412
1442
|
*/
|
|
1413
1443
|
namespace: string | undefined;
|
|
1414
1444
|
/**
|
|
1415
|
-
* <p>The name of the
|
|
1445
|
+
* <p>The name of the table.</p>
|
|
1416
1446
|
* @public
|
|
1417
1447
|
*/
|
|
1418
1448
|
name: string | undefined;
|
|
@@ -1547,3 +1577,43 @@ export interface UpdateTableMetadataLocationResponse {
|
|
|
1547
1577
|
*/
|
|
1548
1578
|
metadataLocation: string | undefined;
|
|
1549
1579
|
}
|
|
1580
|
+
/**
|
|
1581
|
+
* @public
|
|
1582
|
+
*/
|
|
1583
|
+
export interface TagResourceRequest {
|
|
1584
|
+
/**
|
|
1585
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon S3 Tables resource that you're applying tags to. The tagged resource can be a table bucket or a table. For a list of all S3 resources that support tagging, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#manage-tags">Managing tags for Amazon S3 resources</a>.</p>
|
|
1586
|
+
* @public
|
|
1587
|
+
*/
|
|
1588
|
+
resourceArn: string | undefined;
|
|
1589
|
+
/**
|
|
1590
|
+
* <p>The user-defined tag that you want to add to the specified S3 Tables resource. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html">Tagging for cost allocation or attribute-based access control (ABAC)</a>.</p>
|
|
1591
|
+
* @public
|
|
1592
|
+
*/
|
|
1593
|
+
tags: Record<string, string> | undefined;
|
|
1594
|
+
}
|
|
1595
|
+
/**
|
|
1596
|
+
* @public
|
|
1597
|
+
*/
|
|
1598
|
+
export interface TagResourceResponse {
|
|
1599
|
+
}
|
|
1600
|
+
/**
|
|
1601
|
+
* @public
|
|
1602
|
+
*/
|
|
1603
|
+
export interface UntagResourceRequest {
|
|
1604
|
+
/**
|
|
1605
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon S3 Tables resource that you're removing tags from. The tagged resource can be a table bucket or a table. For a list of all S3 resources that support tagging, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#manage-tags">Managing tags for Amazon S3 resources</a>.</p>
|
|
1606
|
+
* @public
|
|
1607
|
+
*/
|
|
1608
|
+
resourceArn: string | undefined;
|
|
1609
|
+
/**
|
|
1610
|
+
* <p>The array of tag keys that you're removing from the S3 Tables resource. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html">Tagging for cost allocation or attribute-based access control (ABAC)</a>.</p>
|
|
1611
|
+
* @public
|
|
1612
|
+
*/
|
|
1613
|
+
tagKeys: string[] | undefined;
|
|
1614
|
+
}
|
|
1615
|
+
/**
|
|
1616
|
+
* @public
|
|
1617
|
+
*/
|
|
1618
|
+
export interface UntagResourceResponse {
|
|
1619
|
+
}
|
|
@@ -23,12 +23,15 @@ import { GetTablePolicyCommandInput, GetTablePolicyCommandOutput } from "../comm
|
|
|
23
23
|
import { ListNamespacesCommandInput, ListNamespacesCommandOutput } from "../commands/ListNamespacesCommand";
|
|
24
24
|
import { ListTableBucketsCommandInput, ListTableBucketsCommandOutput } from "../commands/ListTableBucketsCommand";
|
|
25
25
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
|
|
26
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
26
27
|
import { PutTableBucketEncryptionCommandInput, PutTableBucketEncryptionCommandOutput } from "../commands/PutTableBucketEncryptionCommand";
|
|
27
28
|
import { PutTableBucketMaintenanceConfigurationCommandInput, PutTableBucketMaintenanceConfigurationCommandOutput } from "../commands/PutTableBucketMaintenanceConfigurationCommand";
|
|
28
29
|
import { PutTableBucketPolicyCommandInput, PutTableBucketPolicyCommandOutput } from "../commands/PutTableBucketPolicyCommand";
|
|
29
30
|
import { PutTableMaintenanceConfigurationCommandInput, PutTableMaintenanceConfigurationCommandOutput } from "../commands/PutTableMaintenanceConfigurationCommand";
|
|
30
31
|
import { PutTablePolicyCommandInput, PutTablePolicyCommandOutput } from "../commands/PutTablePolicyCommand";
|
|
31
32
|
import { RenameTableCommandInput, RenameTableCommandOutput } from "../commands/RenameTableCommand";
|
|
33
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
34
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
32
35
|
import { UpdateTableMetadataLocationCommandInput, UpdateTableMetadataLocationCommandOutput } from "../commands/UpdateTableMetadataLocationCommand";
|
|
33
36
|
/**
|
|
34
37
|
* serializeAws_restJson1CreateNamespaceCommand
|
|
@@ -122,6 +125,10 @@ export declare const se_ListTableBucketsCommand: (input: ListTableBucketsCommand
|
|
|
122
125
|
* serializeAws_restJson1ListTablesCommand
|
|
123
126
|
*/
|
|
124
127
|
export declare const se_ListTablesCommand: (input: ListTablesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
128
|
+
/**
|
|
129
|
+
* serializeAws_restJson1ListTagsForResourceCommand
|
|
130
|
+
*/
|
|
131
|
+
export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
125
132
|
/**
|
|
126
133
|
* serializeAws_restJson1PutTableBucketEncryptionCommand
|
|
127
134
|
*/
|
|
@@ -146,6 +153,14 @@ export declare const se_PutTablePolicyCommand: (input: PutTablePolicyCommandInpu
|
|
|
146
153
|
* serializeAws_restJson1RenameTableCommand
|
|
147
154
|
*/
|
|
148
155
|
export declare const se_RenameTableCommand: (input: RenameTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
156
|
+
/**
|
|
157
|
+
* serializeAws_restJson1TagResourceCommand
|
|
158
|
+
*/
|
|
159
|
+
export declare const se_TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
160
|
+
/**
|
|
161
|
+
* serializeAws_restJson1UntagResourceCommand
|
|
162
|
+
*/
|
|
163
|
+
export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
149
164
|
/**
|
|
150
165
|
* serializeAws_restJson1UpdateTableMetadataLocationCommand
|
|
151
166
|
*/
|
|
@@ -242,6 +257,10 @@ export declare const de_ListTableBucketsCommand: (output: __HttpResponse, contex
|
|
|
242
257
|
* deserializeAws_restJson1ListTablesCommand
|
|
243
258
|
*/
|
|
244
259
|
export declare const de_ListTablesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTablesCommandOutput>;
|
|
260
|
+
/**
|
|
261
|
+
* deserializeAws_restJson1ListTagsForResourceCommand
|
|
262
|
+
*/
|
|
263
|
+
export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
245
264
|
/**
|
|
246
265
|
* deserializeAws_restJson1PutTableBucketEncryptionCommand
|
|
247
266
|
*/
|
|
@@ -266,6 +285,14 @@ export declare const de_PutTablePolicyCommand: (output: __HttpResponse, context:
|
|
|
266
285
|
* deserializeAws_restJson1RenameTableCommand
|
|
267
286
|
*/
|
|
268
287
|
export declare const de_RenameTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RenameTableCommandOutput>;
|
|
288
|
+
/**
|
|
289
|
+
* deserializeAws_restJson1TagResourceCommand
|
|
290
|
+
*/
|
|
291
|
+
export declare const de_TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
292
|
+
/**
|
|
293
|
+
* deserializeAws_restJson1UntagResourceCommand
|
|
294
|
+
*/
|
|
295
|
+
export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
269
296
|
/**
|
|
270
297
|
* deserializeAws_restJson1UpdateTableMetadataLocationCommand
|
|
271
298
|
*/
|
|
@@ -91,6 +91,10 @@ import {
|
|
|
91
91
|
ListTablesCommandInput,
|
|
92
92
|
ListTablesCommandOutput,
|
|
93
93
|
} from "./commands/ListTablesCommand";
|
|
94
|
+
import {
|
|
95
|
+
ListTagsForResourceCommandInput,
|
|
96
|
+
ListTagsForResourceCommandOutput,
|
|
97
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
94
98
|
import {
|
|
95
99
|
PutTableBucketEncryptionCommandInput,
|
|
96
100
|
PutTableBucketEncryptionCommandOutput,
|
|
@@ -115,6 +119,14 @@ import {
|
|
|
115
119
|
RenameTableCommandInput,
|
|
116
120
|
RenameTableCommandOutput,
|
|
117
121
|
} from "./commands/RenameTableCommand";
|
|
122
|
+
import {
|
|
123
|
+
TagResourceCommandInput,
|
|
124
|
+
TagResourceCommandOutput,
|
|
125
|
+
} from "./commands/TagResourceCommand";
|
|
126
|
+
import {
|
|
127
|
+
UntagResourceCommandInput,
|
|
128
|
+
UntagResourceCommandOutput,
|
|
129
|
+
} from "./commands/UntagResourceCommand";
|
|
118
130
|
import {
|
|
119
131
|
UpdateTableMetadataLocationCommandInput,
|
|
120
132
|
UpdateTableMetadataLocationCommandOutput,
|
|
@@ -428,6 +440,19 @@ export interface S3Tables {
|
|
|
428
440
|
options: __HttpHandlerOptions,
|
|
429
441
|
cb: (err: any, data?: ListTablesCommandOutput) => void
|
|
430
442
|
): void;
|
|
443
|
+
listTagsForResource(
|
|
444
|
+
args: ListTagsForResourceCommandInput,
|
|
445
|
+
options?: __HttpHandlerOptions
|
|
446
|
+
): Promise<ListTagsForResourceCommandOutput>;
|
|
447
|
+
listTagsForResource(
|
|
448
|
+
args: ListTagsForResourceCommandInput,
|
|
449
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
450
|
+
): void;
|
|
451
|
+
listTagsForResource(
|
|
452
|
+
args: ListTagsForResourceCommandInput,
|
|
453
|
+
options: __HttpHandlerOptions,
|
|
454
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
455
|
+
): void;
|
|
431
456
|
putTableBucketEncryption(
|
|
432
457
|
args: PutTableBucketEncryptionCommandInput,
|
|
433
458
|
options?: __HttpHandlerOptions
|
|
@@ -512,6 +537,32 @@ export interface S3Tables {
|
|
|
512
537
|
options: __HttpHandlerOptions,
|
|
513
538
|
cb: (err: any, data?: RenameTableCommandOutput) => void
|
|
514
539
|
): void;
|
|
540
|
+
tagResource(
|
|
541
|
+
args: TagResourceCommandInput,
|
|
542
|
+
options?: __HttpHandlerOptions
|
|
543
|
+
): Promise<TagResourceCommandOutput>;
|
|
544
|
+
tagResource(
|
|
545
|
+
args: TagResourceCommandInput,
|
|
546
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
547
|
+
): void;
|
|
548
|
+
tagResource(
|
|
549
|
+
args: TagResourceCommandInput,
|
|
550
|
+
options: __HttpHandlerOptions,
|
|
551
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
552
|
+
): void;
|
|
553
|
+
untagResource(
|
|
554
|
+
args: UntagResourceCommandInput,
|
|
555
|
+
options?: __HttpHandlerOptions
|
|
556
|
+
): Promise<UntagResourceCommandOutput>;
|
|
557
|
+
untagResource(
|
|
558
|
+
args: UntagResourceCommandInput,
|
|
559
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
560
|
+
): void;
|
|
561
|
+
untagResource(
|
|
562
|
+
args: UntagResourceCommandInput,
|
|
563
|
+
options: __HttpHandlerOptions,
|
|
564
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
565
|
+
): void;
|
|
515
566
|
updateTableMetadataLocation(
|
|
516
567
|
args: UpdateTableMetadataLocationCommandInput,
|
|
517
568
|
options?: __HttpHandlerOptions
|
|
@@ -137,6 +137,10 @@ import {
|
|
|
137
137
|
ListTablesCommandInput,
|
|
138
138
|
ListTablesCommandOutput,
|
|
139
139
|
} from "./commands/ListTablesCommand";
|
|
140
|
+
import {
|
|
141
|
+
ListTagsForResourceCommandInput,
|
|
142
|
+
ListTagsForResourceCommandOutput,
|
|
143
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
140
144
|
import {
|
|
141
145
|
PutTableBucketEncryptionCommandInput,
|
|
142
146
|
PutTableBucketEncryptionCommandOutput,
|
|
@@ -161,6 +165,14 @@ import {
|
|
|
161
165
|
RenameTableCommandInput,
|
|
162
166
|
RenameTableCommandOutput,
|
|
163
167
|
} from "./commands/RenameTableCommand";
|
|
168
|
+
import {
|
|
169
|
+
TagResourceCommandInput,
|
|
170
|
+
TagResourceCommandOutput,
|
|
171
|
+
} from "./commands/TagResourceCommand";
|
|
172
|
+
import {
|
|
173
|
+
UntagResourceCommandInput,
|
|
174
|
+
UntagResourceCommandOutput,
|
|
175
|
+
} from "./commands/UntagResourceCommand";
|
|
164
176
|
import {
|
|
165
177
|
UpdateTableMetadataLocationCommandInput,
|
|
166
178
|
UpdateTableMetadataLocationCommandOutput,
|
|
@@ -196,12 +208,15 @@ export type ServiceInputTypes =
|
|
|
196
208
|
| ListNamespacesCommandInput
|
|
197
209
|
| ListTableBucketsCommandInput
|
|
198
210
|
| ListTablesCommandInput
|
|
211
|
+
| ListTagsForResourceCommandInput
|
|
199
212
|
| PutTableBucketEncryptionCommandInput
|
|
200
213
|
| PutTableBucketMaintenanceConfigurationCommandInput
|
|
201
214
|
| PutTableBucketPolicyCommandInput
|
|
202
215
|
| PutTableMaintenanceConfigurationCommandInput
|
|
203
216
|
| PutTablePolicyCommandInput
|
|
204
217
|
| RenameTableCommandInput
|
|
218
|
+
| TagResourceCommandInput
|
|
219
|
+
| UntagResourceCommandInput
|
|
205
220
|
| UpdateTableMetadataLocationCommandInput;
|
|
206
221
|
export type ServiceOutputTypes =
|
|
207
222
|
| CreateNamespaceCommandOutput
|
|
@@ -227,12 +242,15 @@ export type ServiceOutputTypes =
|
|
|
227
242
|
| ListNamespacesCommandOutput
|
|
228
243
|
| ListTableBucketsCommandOutput
|
|
229
244
|
| ListTablesCommandOutput
|
|
245
|
+
| ListTagsForResourceCommandOutput
|
|
230
246
|
| PutTableBucketEncryptionCommandOutput
|
|
231
247
|
| PutTableBucketMaintenanceConfigurationCommandOutput
|
|
232
248
|
| PutTableBucketPolicyCommandOutput
|
|
233
249
|
| PutTableMaintenanceConfigurationCommandOutput
|
|
234
250
|
| PutTablePolicyCommandOutput
|
|
235
251
|
| RenameTableCommandOutput
|
|
252
|
+
| TagResourceCommandOutput
|
|
253
|
+
| UntagResourceCommandOutput
|
|
236
254
|
| UpdateTableMetadataLocationCommandOutput;
|
|
237
255
|
export interface ClientDefaults
|
|
238
256
|
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|