@aws-sdk/client-keyspaces 3.300.0 → 3.301.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 +3 -3
- package/dist-types/commands/CreateTableCommand.d.ts +18 -18
- package/dist-types/commands/DeleteKeyspaceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTableCommand.d.ts +1 -1
- package/dist-types/commands/GetKeyspaceCommand.d.ts +1 -1
- package/dist-types/commands/GetTableCommand.d.ts +1 -1
- package/dist-types/commands/ListKeyspacesCommand.d.ts +1 -1
- package/dist-types/commands/ListTablesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/RestoreTableCommand.d.ts +6 -6
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateTableCommand.d.ts +8 -8
- package/package.json +3 -3
|
@@ -32,10 +32,10 @@ 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 = {
|
|
35
|
+
* const input = { // CreateKeyspaceRequest
|
|
36
36
|
* keyspaceName: "STRING_VALUE", // required
|
|
37
|
-
* tags: [
|
|
38
|
-
* {
|
|
37
|
+
* tags: [ // TagList
|
|
38
|
+
* { // Tag
|
|
39
39
|
* key: "STRING_VALUE", // required
|
|
40
40
|
* value: "STRING_VALUE", // required
|
|
41
41
|
* },
|
|
@@ -33,59 +33,59 @@ 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 = {
|
|
36
|
+
* const input = { // CreateTableRequest
|
|
37
37
|
* keyspaceName: "STRING_VALUE", // required
|
|
38
38
|
* tableName: "STRING_VALUE", // required
|
|
39
|
-
* schemaDefinition: {
|
|
40
|
-
* allColumns: [ // required
|
|
41
|
-
* {
|
|
39
|
+
* schemaDefinition: { // SchemaDefinition
|
|
40
|
+
* allColumns: [ // ColumnDefinitionList // required
|
|
41
|
+
* { // ColumnDefinition
|
|
42
42
|
* name: "STRING_VALUE", // required
|
|
43
43
|
* type: "STRING_VALUE", // required
|
|
44
44
|
* },
|
|
45
45
|
* ],
|
|
46
|
-
* partitionKeys: [ // required
|
|
47
|
-
* {
|
|
46
|
+
* partitionKeys: [ // PartitionKeyList // required
|
|
47
|
+
* { // PartitionKey
|
|
48
48
|
* name: "STRING_VALUE", // required
|
|
49
49
|
* },
|
|
50
50
|
* ],
|
|
51
|
-
* clusteringKeys: [
|
|
52
|
-
* {
|
|
51
|
+
* clusteringKeys: [ // ClusteringKeyList
|
|
52
|
+
* { // ClusteringKey
|
|
53
53
|
* name: "STRING_VALUE", // required
|
|
54
54
|
* orderBy: "STRING_VALUE", // required
|
|
55
55
|
* },
|
|
56
56
|
* ],
|
|
57
|
-
* staticColumns: [
|
|
58
|
-
* {
|
|
57
|
+
* staticColumns: [ // StaticColumnList
|
|
58
|
+
* { // StaticColumn
|
|
59
59
|
* name: "STRING_VALUE", // required
|
|
60
60
|
* },
|
|
61
61
|
* ],
|
|
62
62
|
* },
|
|
63
|
-
* comment: {
|
|
63
|
+
* comment: { // Comment
|
|
64
64
|
* message: "STRING_VALUE", // required
|
|
65
65
|
* },
|
|
66
|
-
* capacitySpecification: {
|
|
66
|
+
* capacitySpecification: { // CapacitySpecification
|
|
67
67
|
* throughputMode: "STRING_VALUE", // required
|
|
68
68
|
* readCapacityUnits: Number("long"),
|
|
69
69
|
* writeCapacityUnits: Number("long"),
|
|
70
70
|
* },
|
|
71
|
-
* encryptionSpecification: {
|
|
71
|
+
* encryptionSpecification: { // EncryptionSpecification
|
|
72
72
|
* type: "STRING_VALUE", // required
|
|
73
73
|
* kmsKeyIdentifier: "STRING_VALUE",
|
|
74
74
|
* },
|
|
75
|
-
* pointInTimeRecovery: {
|
|
75
|
+
* pointInTimeRecovery: { // PointInTimeRecovery
|
|
76
76
|
* status: "STRING_VALUE", // required
|
|
77
77
|
* },
|
|
78
|
-
* ttl: {
|
|
78
|
+
* ttl: { // TimeToLive
|
|
79
79
|
* status: "STRING_VALUE", // required
|
|
80
80
|
* },
|
|
81
81
|
* defaultTimeToLive: Number("int"),
|
|
82
|
-
* tags: [
|
|
83
|
-
* {
|
|
82
|
+
* tags: [ // TagList
|
|
83
|
+
* { // Tag
|
|
84
84
|
* key: "STRING_VALUE", // required
|
|
85
85
|
* value: "STRING_VALUE", // required
|
|
86
86
|
* },
|
|
87
87
|
* ],
|
|
88
|
-
* clientSideTimestamps: {
|
|
88
|
+
* clientSideTimestamps: { // ClientSideTimestamps
|
|
89
89
|
* status: "STRING_VALUE", // required
|
|
90
90
|
* },
|
|
91
91
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DeleteKeyspaceRequest
|
|
30
30
|
* keyspaceName: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteKeyspaceCommand(input);
|
|
@@ -30,7 +30,7 @@ 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 = {
|
|
33
|
+
* const input = { // DeleteTableRequest
|
|
34
34
|
* keyspaceName: "STRING_VALUE", // required
|
|
35
35
|
* tableName: "STRING_VALUE", // required
|
|
36
36
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // GetKeyspaceRequest
|
|
30
30
|
* keyspaceName: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetKeyspaceCommand(input);
|
|
@@ -29,7 +29,7 @@ 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 = {
|
|
32
|
+
* const input = { // GetTableRequest
|
|
33
33
|
* keyspaceName: "STRING_VALUE", // required
|
|
34
34
|
* tableName: "STRING_VALUE", // required
|
|
35
35
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // ListKeyspacesRequest
|
|
30
30
|
* nextToken: "STRING_VALUE",
|
|
31
31
|
* maxResults: Number("int"),
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // ListTablesRequest
|
|
30
30
|
* nextToken: "STRING_VALUE",
|
|
31
31
|
* maxResults: Number("int"),
|
|
32
32
|
* keyspaceName: "STRING_VALUE", // required
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
31
|
* nextToken: "STRING_VALUE",
|
|
32
32
|
* maxResults: Number("int"),
|
|
@@ -72,26 +72,26 @@ 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 = {
|
|
75
|
+
* const input = { // RestoreTableRequest
|
|
76
76
|
* sourceKeyspaceName: "STRING_VALUE", // required
|
|
77
77
|
* sourceTableName: "STRING_VALUE", // required
|
|
78
78
|
* targetKeyspaceName: "STRING_VALUE", // required
|
|
79
79
|
* targetTableName: "STRING_VALUE", // required
|
|
80
80
|
* restoreTimestamp: new Date("TIMESTAMP"),
|
|
81
|
-
* capacitySpecificationOverride: {
|
|
81
|
+
* capacitySpecificationOverride: { // CapacitySpecification
|
|
82
82
|
* throughputMode: "STRING_VALUE", // required
|
|
83
83
|
* readCapacityUnits: Number("long"),
|
|
84
84
|
* writeCapacityUnits: Number("long"),
|
|
85
85
|
* },
|
|
86
|
-
* encryptionSpecificationOverride: {
|
|
86
|
+
* encryptionSpecificationOverride: { // EncryptionSpecification
|
|
87
87
|
* type: "STRING_VALUE", // required
|
|
88
88
|
* kmsKeyIdentifier: "STRING_VALUE",
|
|
89
89
|
* },
|
|
90
|
-
* pointInTimeRecoveryOverride: {
|
|
90
|
+
* pointInTimeRecoveryOverride: { // PointInTimeRecovery
|
|
91
91
|
* status: "STRING_VALUE", // required
|
|
92
92
|
* },
|
|
93
|
-
* tagsOverride: [
|
|
94
|
-
* {
|
|
93
|
+
* tagsOverride: [ // TagList
|
|
94
|
+
* { // Tag
|
|
95
95
|
* key: "STRING_VALUE", // required
|
|
96
96
|
* value: "STRING_VALUE", // required
|
|
97
97
|
* },
|
|
@@ -32,10 +32,10 @@ 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 = {
|
|
35
|
+
* const input = { // TagResourceRequest
|
|
36
36
|
* resourceArn: "STRING_VALUE", // required
|
|
37
|
-
* tags: [ // required
|
|
38
|
-
* {
|
|
37
|
+
* tags: [ // TagList // required
|
|
38
|
+
* { // Tag
|
|
39
39
|
* key: "STRING_VALUE", // required
|
|
40
40
|
* value: "STRING_VALUE", // required
|
|
41
41
|
* },
|
|
@@ -26,10 +26,10 @@ 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 = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tags: [ // required
|
|
32
|
-
* {
|
|
31
|
+
* tags: [ // TagList // required
|
|
32
|
+
* { // Tag
|
|
33
33
|
* key: "STRING_VALUE", // required
|
|
34
34
|
* value: "STRING_VALUE", // required
|
|
35
35
|
* },
|
|
@@ -28,32 +28,32 @@ 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 = {
|
|
31
|
+
* const input = { // UpdateTableRequest
|
|
32
32
|
* keyspaceName: "STRING_VALUE", // required
|
|
33
33
|
* tableName: "STRING_VALUE", // required
|
|
34
|
-
* addColumns: [
|
|
35
|
-
* {
|
|
34
|
+
* addColumns: [ // ColumnDefinitionList
|
|
35
|
+
* { // ColumnDefinition
|
|
36
36
|
* name: "STRING_VALUE", // required
|
|
37
37
|
* type: "STRING_VALUE", // required
|
|
38
38
|
* },
|
|
39
39
|
* ],
|
|
40
|
-
* capacitySpecification: {
|
|
40
|
+
* capacitySpecification: { // CapacitySpecification
|
|
41
41
|
* throughputMode: "STRING_VALUE", // required
|
|
42
42
|
* readCapacityUnits: Number("long"),
|
|
43
43
|
* writeCapacityUnits: Number("long"),
|
|
44
44
|
* },
|
|
45
|
-
* encryptionSpecification: {
|
|
45
|
+
* encryptionSpecification: { // EncryptionSpecification
|
|
46
46
|
* type: "STRING_VALUE", // required
|
|
47
47
|
* kmsKeyIdentifier: "STRING_VALUE",
|
|
48
48
|
* },
|
|
49
|
-
* pointInTimeRecovery: {
|
|
49
|
+
* pointInTimeRecovery: { // PointInTimeRecovery
|
|
50
50
|
* status: "STRING_VALUE", // required
|
|
51
51
|
* },
|
|
52
|
-
* ttl: {
|
|
52
|
+
* ttl: { // TimeToLive
|
|
53
53
|
* status: "STRING_VALUE", // required
|
|
54
54
|
* },
|
|
55
55
|
* defaultTimeToLive: Number("int"),
|
|
56
|
-
* clientSideTimestamps: {
|
|
56
|
+
* clientSideTimestamps: { // ClientSideTimestamps
|
|
57
57
|
* status: "STRING_VALUE", // required
|
|
58
58
|
* },
|
|
59
59
|
* };
|
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.301.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,9 +21,9 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.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",
|