@aws-sdk/client-keyspaces 3.298.0 → 3.300.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/dist-types/commands/CreateKeyspaceCommand.d.ts +9 -0
- package/dist-types/commands/CreateTableCommand.d.ts +56 -0
- package/dist-types/commands/DeleteKeyspaceCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +4 -0
- package/dist-types/commands/GetKeyspaceCommand.d.ts +3 -0
- package/dist-types/commands/GetTableCommand.d.ts +4 -0
- package/dist-types/commands/ListKeyspacesCommand.d.ts +4 -0
- package/dist-types/commands/ListTablesCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -0
- package/dist-types/commands/RestoreTableCommand.d.ts +25 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +29 -0
- package/package.json +12 -12
|
@@ -32,6 +32,15 @@ export interface CreateKeyspaceCommandOutput extends CreateKeyspaceResponse, __M
|
|
|
32
32
|
* import { KeyspacesClient, CreateKeyspaceCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
|
|
33
33
|
* // const { KeyspacesClient, CreateKeyspaceCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
|
|
34
34
|
* const client = new KeyspacesClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* keyspaceName: "STRING_VALUE", // required
|
|
37
|
+
* tags: [
|
|
38
|
+
* {
|
|
39
|
+
* key: "STRING_VALUE", // required
|
|
40
|
+
* value: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
35
44
|
* const command = new CreateKeyspaceCommand(input);
|
|
36
45
|
* const response = await client.send(command);
|
|
37
46
|
* ```
|
|
@@ -33,6 +33,62 @@ export interface CreateTableCommandOutput extends CreateTableResponse, __Metadat
|
|
|
33
33
|
* import { KeyspacesClient, CreateTableCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
|
|
34
34
|
* // const { KeyspacesClient, CreateTableCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
|
|
35
35
|
* const client = new KeyspacesClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* keyspaceName: "STRING_VALUE", // required
|
|
38
|
+
* tableName: "STRING_VALUE", // required
|
|
39
|
+
* schemaDefinition: {
|
|
40
|
+
* allColumns: [ // required
|
|
41
|
+
* {
|
|
42
|
+
* name: "STRING_VALUE", // required
|
|
43
|
+
* type: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* partitionKeys: [ // required
|
|
47
|
+
* {
|
|
48
|
+
* name: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* clusteringKeys: [
|
|
52
|
+
* {
|
|
53
|
+
* name: "STRING_VALUE", // required
|
|
54
|
+
* orderBy: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* staticColumns: [
|
|
58
|
+
* {
|
|
59
|
+
* name: "STRING_VALUE", // required
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* },
|
|
63
|
+
* comment: {
|
|
64
|
+
* message: "STRING_VALUE", // required
|
|
65
|
+
* },
|
|
66
|
+
* capacitySpecification: {
|
|
67
|
+
* throughputMode: "STRING_VALUE", // required
|
|
68
|
+
* readCapacityUnits: Number("long"),
|
|
69
|
+
* writeCapacityUnits: Number("long"),
|
|
70
|
+
* },
|
|
71
|
+
* encryptionSpecification: {
|
|
72
|
+
* type: "STRING_VALUE", // required
|
|
73
|
+
* kmsKeyIdentifier: "STRING_VALUE",
|
|
74
|
+
* },
|
|
75
|
+
* pointInTimeRecovery: {
|
|
76
|
+
* status: "STRING_VALUE", // required
|
|
77
|
+
* },
|
|
78
|
+
* ttl: {
|
|
79
|
+
* status: "STRING_VALUE", // required
|
|
80
|
+
* },
|
|
81
|
+
* defaultTimeToLive: Number("int"),
|
|
82
|
+
* tags: [
|
|
83
|
+
* {
|
|
84
|
+
* key: "STRING_VALUE", // required
|
|
85
|
+
* value: "STRING_VALUE", // required
|
|
86
|
+
* },
|
|
87
|
+
* ],
|
|
88
|
+
* clientSideTimestamps: {
|
|
89
|
+
* status: "STRING_VALUE", // required
|
|
90
|
+
* },
|
|
91
|
+
* };
|
|
36
92
|
* const command = new CreateTableCommand(input);
|
|
37
93
|
* const response = await client.send(command);
|
|
38
94
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteKeyspaceCommandOutput extends DeleteKeyspaceResponse, __M
|
|
|
26
26
|
* import { KeyspacesClient, DeleteKeyspaceCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
|
|
27
27
|
* // const { KeyspacesClient, DeleteKeyspaceCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
|
|
28
28
|
* const client = new KeyspacesClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* keyspaceName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteKeyspaceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface DeleteTableCommandOutput extends DeleteTableResponse, __Metadat
|
|
|
30
30
|
* import { KeyspacesClient, DeleteTableCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
|
|
31
31
|
* // const { KeyspacesClient, DeleteTableCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
|
|
32
32
|
* const client = new KeyspacesClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* keyspaceName: "STRING_VALUE", // required
|
|
35
|
+
* tableName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
33
37
|
* const command = new DeleteTableCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetKeyspaceCommandOutput extends GetKeyspaceResponse, __Metadat
|
|
|
26
26
|
* import { KeyspacesClient, GetKeyspaceCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
|
|
27
27
|
* // const { KeyspacesClient, GetKeyspaceCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
|
|
28
28
|
* const client = new KeyspacesClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* keyspaceName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetKeyspaceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface GetTableCommandOutput extends GetTableResponse, __MetadataBeare
|
|
|
29
29
|
* import { KeyspacesClient, GetTableCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
|
|
30
30
|
* // const { KeyspacesClient, GetTableCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
|
|
31
31
|
* const client = new KeyspacesClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* keyspaceName: "STRING_VALUE", // required
|
|
34
|
+
* tableName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new GetTableCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListKeyspacesCommandOutput extends ListKeyspacesResponse, __Met
|
|
|
26
26
|
* import { KeyspacesClient, ListKeyspacesCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
|
|
27
27
|
* // const { KeyspacesClient, ListKeyspacesCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
|
|
28
28
|
* const client = new KeyspacesClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListKeyspacesCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataB
|
|
|
26
26
|
* import { KeyspacesClient, ListTablesCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
|
|
27
27
|
* // const { KeyspacesClient, ListTablesCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
|
|
28
28
|
* const client = new KeyspacesClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* keyspaceName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListTablesCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { KeyspacesClient, ListTagsForResourceCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
|
|
27
27
|
* // const { KeyspacesClient, ListTagsForResourceCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
|
|
28
28
|
* const client = new KeyspacesClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -72,6 +72,31 @@ export interface RestoreTableCommandOutput extends RestoreTableResponse, __Metad
|
|
|
72
72
|
* import { KeyspacesClient, RestoreTableCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
|
|
73
73
|
* // const { KeyspacesClient, RestoreTableCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
|
|
74
74
|
* const client = new KeyspacesClient(config);
|
|
75
|
+
* const input = {
|
|
76
|
+
* sourceKeyspaceName: "STRING_VALUE", // required
|
|
77
|
+
* sourceTableName: "STRING_VALUE", // required
|
|
78
|
+
* targetKeyspaceName: "STRING_VALUE", // required
|
|
79
|
+
* targetTableName: "STRING_VALUE", // required
|
|
80
|
+
* restoreTimestamp: new Date("TIMESTAMP"),
|
|
81
|
+
* capacitySpecificationOverride: {
|
|
82
|
+
* throughputMode: "STRING_VALUE", // required
|
|
83
|
+
* readCapacityUnits: Number("long"),
|
|
84
|
+
* writeCapacityUnits: Number("long"),
|
|
85
|
+
* },
|
|
86
|
+
* encryptionSpecificationOverride: {
|
|
87
|
+
* type: "STRING_VALUE", // required
|
|
88
|
+
* kmsKeyIdentifier: "STRING_VALUE",
|
|
89
|
+
* },
|
|
90
|
+
* pointInTimeRecoveryOverride: {
|
|
91
|
+
* status: "STRING_VALUE", // required
|
|
92
|
+
* },
|
|
93
|
+
* tagsOverride: [
|
|
94
|
+
* {
|
|
95
|
+
* key: "STRING_VALUE", // required
|
|
96
|
+
* value: "STRING_VALUE", // required
|
|
97
|
+
* },
|
|
98
|
+
* ],
|
|
99
|
+
* };
|
|
75
100
|
* const command = new RestoreTableCommand(input);
|
|
76
101
|
* const response = await client.send(command);
|
|
77
102
|
* ```
|
|
@@ -32,6 +32,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
32
32
|
* import { KeyspacesClient, TagResourceCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
|
|
33
33
|
* // const { KeyspacesClient, TagResourceCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
|
|
34
34
|
* const client = new KeyspacesClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* resourceArn: "STRING_VALUE", // required
|
|
37
|
+
* tags: [ // required
|
|
38
|
+
* {
|
|
39
|
+
* key: "STRING_VALUE", // required
|
|
40
|
+
* value: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
35
44
|
* const command = new TagResourceCommand(input);
|
|
36
45
|
* const response = await client.send(command);
|
|
37
46
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { KeyspacesClient, UntagResourceCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
|
|
27
27
|
* // const { KeyspacesClient, UntagResourceCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
|
|
28
28
|
* const client = new KeyspacesClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tags: [ // required
|
|
32
|
+
* {
|
|
33
|
+
* key: "STRING_VALUE", // required
|
|
34
|
+
* value: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
29
38
|
* const command = new UntagResourceCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -28,6 +28,35 @@ export interface UpdateTableCommandOutput extends UpdateTableResponse, __Metadat
|
|
|
28
28
|
* import { KeyspacesClient, UpdateTableCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
|
|
29
29
|
* // const { KeyspacesClient, UpdateTableCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
|
|
30
30
|
* const client = new KeyspacesClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* keyspaceName: "STRING_VALUE", // required
|
|
33
|
+
* tableName: "STRING_VALUE", // required
|
|
34
|
+
* addColumns: [
|
|
35
|
+
* {
|
|
36
|
+
* name: "STRING_VALUE", // required
|
|
37
|
+
* type: "STRING_VALUE", // required
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* capacitySpecification: {
|
|
41
|
+
* throughputMode: "STRING_VALUE", // required
|
|
42
|
+
* readCapacityUnits: Number("long"),
|
|
43
|
+
* writeCapacityUnits: Number("long"),
|
|
44
|
+
* },
|
|
45
|
+
* encryptionSpecification: {
|
|
46
|
+
* type: "STRING_VALUE", // required
|
|
47
|
+
* kmsKeyIdentifier: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* pointInTimeRecovery: {
|
|
50
|
+
* status: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* ttl: {
|
|
53
|
+
* status: "STRING_VALUE", // required
|
|
54
|
+
* },
|
|
55
|
+
* defaultTimeToLive: Number("int"),
|
|
56
|
+
* clientSideTimestamps: {
|
|
57
|
+
* status: "STRING_VALUE", // required
|
|
58
|
+
* },
|
|
59
|
+
* };
|
|
31
60
|
* const command = new UpdateTableCommand(input);
|
|
32
61
|
* const response = await client.send(command);
|
|
33
62
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-keyspaces",
|
|
3
3
|
"description": "AWS SDK for JavaScript Keyspaces Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,23 +21,23 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|