@aws-sdk/client-s3tables 3.925.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/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 +5 -5
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ListTagsForResourceRequest,
|
|
5
|
+
ListTagsForResourceResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
S3TablesClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../S3TablesClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListTagsForResourceCommandInput
|
|
15
|
+
extends ListTagsForResourceRequest {}
|
|
16
|
+
export interface ListTagsForResourceCommandOutput
|
|
17
|
+
extends ListTagsForResourceResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListTagsForResourceCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListTagsForResourceCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListTagsForResourceCommandInput,
|
|
24
|
+
ListTagsForResourceCommandOutput,
|
|
25
|
+
S3TablesClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: ListTagsForResourceCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListTagsForResourceCommandInput,
|
|
33
|
+
ListTagsForResourceCommandOutput,
|
|
34
|
+
S3TablesClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListTagsForResourceRequest;
|
|
44
|
+
output: ListTagsForResourceResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListTagsForResourceCommandInput;
|
|
48
|
+
output: ListTagsForResourceCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 {
|
|
5
|
+
S3TablesClientResolvedConfig,
|
|
6
|
+
ServiceInputTypes,
|
|
7
|
+
ServiceOutputTypes,
|
|
8
|
+
} from "../S3TablesClient";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
12
|
+
export interface TagResourceCommandOutput
|
|
13
|
+
extends TagResourceResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const TagResourceCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: TagResourceCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
TagResourceCommandInput,
|
|
20
|
+
TagResourceCommandOutput,
|
|
21
|
+
S3TablesClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: TagResourceCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
TagResourceCommandInput,
|
|
29
|
+
TagResourceCommandOutput,
|
|
30
|
+
S3TablesClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: TagResourceRequest;
|
|
40
|
+
output: {};
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: TagResourceCommandInput;
|
|
44
|
+
output: TagResourceCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
UntagResourceRequest,
|
|
5
|
+
UntagResourceResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
S3TablesClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../S3TablesClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
15
|
+
export interface UntagResourceCommandOutput
|
|
16
|
+
extends UntagResourceResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const UntagResourceCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: UntagResourceCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
UntagResourceCommandInput,
|
|
23
|
+
UntagResourceCommandOutput,
|
|
24
|
+
S3TablesClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: UntagResourceCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
UntagResourceCommandInput,
|
|
32
|
+
UntagResourceCommandOutput,
|
|
33
|
+
S3TablesClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: UntagResourceRequest;
|
|
43
|
+
output: {};
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: UntagResourceCommandInput;
|
|
47
|
+
output: UntagResourceCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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";
|
|
@@ -101,6 +101,7 @@ export interface CreateTableRequest {
|
|
|
101
101
|
format: OpenTableFormat | undefined;
|
|
102
102
|
metadata?: TableMetadata | undefined;
|
|
103
103
|
encryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
104
|
+
tags?: Record<string, string> | undefined;
|
|
104
105
|
}
|
|
105
106
|
export interface CreateTableResponse {
|
|
106
107
|
tableARN: string | undefined;
|
|
@@ -109,6 +110,7 @@ export interface CreateTableResponse {
|
|
|
109
110
|
export interface CreateTableBucketRequest {
|
|
110
111
|
name: string | undefined;
|
|
111
112
|
encryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
113
|
+
tags?: Record<string, string> | undefined;
|
|
112
114
|
}
|
|
113
115
|
export interface CreateTableBucketResponse {
|
|
114
116
|
arn: string | undefined;
|
|
@@ -440,6 +442,12 @@ export interface ListTablesResponse {
|
|
|
440
442
|
tables: TableSummary[] | undefined;
|
|
441
443
|
continuationToken?: string | undefined;
|
|
442
444
|
}
|
|
445
|
+
export interface ListTagsForResourceRequest {
|
|
446
|
+
resourceArn: string | undefined;
|
|
447
|
+
}
|
|
448
|
+
export interface ListTagsForResourceResponse {
|
|
449
|
+
tags?: Record<string, string> | undefined;
|
|
450
|
+
}
|
|
443
451
|
export interface PutTableBucketEncryptionRequest {
|
|
444
452
|
tableBucketARN: string | undefined;
|
|
445
453
|
encryptionConfiguration: EncryptionConfiguration | undefined;
|
|
@@ -488,3 +496,13 @@ export interface UpdateTableMetadataLocationResponse {
|
|
|
488
496
|
versionToken: string | undefined;
|
|
489
497
|
metadataLocation: string | undefined;
|
|
490
498
|
}
|
|
499
|
+
export interface TagResourceRequest {
|
|
500
|
+
resourceArn: string | undefined;
|
|
501
|
+
tags: Record<string, string> | undefined;
|
|
502
|
+
}
|
|
503
|
+
export interface TagResourceResponse {}
|
|
504
|
+
export interface UntagResourceRequest {
|
|
505
|
+
resourceArn: string | undefined;
|
|
506
|
+
tagKeys: string[] | undefined;
|
|
507
|
+
}
|
|
508
|
+
export interface UntagResourceResponse {}
|
|
@@ -95,6 +95,10 @@ import {
|
|
|
95
95
|
ListTablesCommandInput,
|
|
96
96
|
ListTablesCommandOutput,
|
|
97
97
|
} from "../commands/ListTablesCommand";
|
|
98
|
+
import {
|
|
99
|
+
ListTagsForResourceCommandInput,
|
|
100
|
+
ListTagsForResourceCommandOutput,
|
|
101
|
+
} from "../commands/ListTagsForResourceCommand";
|
|
98
102
|
import {
|
|
99
103
|
PutTableBucketEncryptionCommandInput,
|
|
100
104
|
PutTableBucketEncryptionCommandOutput,
|
|
@@ -119,6 +123,14 @@ import {
|
|
|
119
123
|
RenameTableCommandInput,
|
|
120
124
|
RenameTableCommandOutput,
|
|
121
125
|
} from "../commands/RenameTableCommand";
|
|
126
|
+
import {
|
|
127
|
+
TagResourceCommandInput,
|
|
128
|
+
TagResourceCommandOutput,
|
|
129
|
+
} from "../commands/TagResourceCommand";
|
|
130
|
+
import {
|
|
131
|
+
UntagResourceCommandInput,
|
|
132
|
+
UntagResourceCommandOutput,
|
|
133
|
+
} from "../commands/UntagResourceCommand";
|
|
122
134
|
import {
|
|
123
135
|
UpdateTableMetadataLocationCommandInput,
|
|
124
136
|
UpdateTableMetadataLocationCommandOutput,
|
|
@@ -215,6 +227,10 @@ export declare const se_ListTablesCommand: (
|
|
|
215
227
|
input: ListTablesCommandInput,
|
|
216
228
|
context: __SerdeContext
|
|
217
229
|
) => Promise<__HttpRequest>;
|
|
230
|
+
export declare const se_ListTagsForResourceCommand: (
|
|
231
|
+
input: ListTagsForResourceCommandInput,
|
|
232
|
+
context: __SerdeContext
|
|
233
|
+
) => Promise<__HttpRequest>;
|
|
218
234
|
export declare const se_PutTableBucketEncryptionCommand: (
|
|
219
235
|
input: PutTableBucketEncryptionCommandInput,
|
|
220
236
|
context: __SerdeContext
|
|
@@ -239,6 +255,14 @@ export declare const se_RenameTableCommand: (
|
|
|
239
255
|
input: RenameTableCommandInput,
|
|
240
256
|
context: __SerdeContext
|
|
241
257
|
) => Promise<__HttpRequest>;
|
|
258
|
+
export declare const se_TagResourceCommand: (
|
|
259
|
+
input: TagResourceCommandInput,
|
|
260
|
+
context: __SerdeContext
|
|
261
|
+
) => Promise<__HttpRequest>;
|
|
262
|
+
export declare const se_UntagResourceCommand: (
|
|
263
|
+
input: UntagResourceCommandInput,
|
|
264
|
+
context: __SerdeContext
|
|
265
|
+
) => Promise<__HttpRequest>;
|
|
242
266
|
export declare const se_UpdateTableMetadataLocationCommand: (
|
|
243
267
|
input: UpdateTableMetadataLocationCommandInput,
|
|
244
268
|
context: __SerdeContext
|
|
@@ -335,6 +359,10 @@ export declare const de_ListTablesCommand: (
|
|
|
335
359
|
output: __HttpResponse,
|
|
336
360
|
context: __SerdeContext
|
|
337
361
|
) => Promise<ListTablesCommandOutput>;
|
|
362
|
+
export declare const de_ListTagsForResourceCommand: (
|
|
363
|
+
output: __HttpResponse,
|
|
364
|
+
context: __SerdeContext
|
|
365
|
+
) => Promise<ListTagsForResourceCommandOutput>;
|
|
338
366
|
export declare const de_PutTableBucketEncryptionCommand: (
|
|
339
367
|
output: __HttpResponse,
|
|
340
368
|
context: __SerdeContext
|
|
@@ -359,6 +387,14 @@ export declare const de_RenameTableCommand: (
|
|
|
359
387
|
output: __HttpResponse,
|
|
360
388
|
context: __SerdeContext
|
|
361
389
|
) => Promise<RenameTableCommandOutput>;
|
|
390
|
+
export declare const de_TagResourceCommand: (
|
|
391
|
+
output: __HttpResponse,
|
|
392
|
+
context: __SerdeContext
|
|
393
|
+
) => Promise<TagResourceCommandOutput>;
|
|
394
|
+
export declare const de_UntagResourceCommand: (
|
|
395
|
+
output: __HttpResponse,
|
|
396
|
+
context: __SerdeContext
|
|
397
|
+
) => Promise<UntagResourceCommandOutput>;
|
|
362
398
|
export declare const de_UpdateTableMetadataLocationCommand: (
|
|
363
399
|
output: __HttpResponse,
|
|
364
400
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3tables",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3tables Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.926.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3tables",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.926.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.926.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.922.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.922.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.922.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.926.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.925.0",
|
|
30
30
|
"@aws-sdk/types": "3.922.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.922.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.922.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.926.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.2",
|
|
35
35
|
"@smithy/core": "^3.17.2",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.5",
|