@aws-sdk/client-keyspaces 3.325.0 → 3.327.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.
@@ -43,6 +43,10 @@ export interface CreateKeyspaceCommandOutput extends CreateKeyspaceResponse, __M
43
43
  * };
44
44
  * const command = new CreateKeyspaceCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // CreateKeyspaceResponse
47
+ * // resourceArn: "STRING_VALUE", // required
48
+ * // };
49
+ *
46
50
  * ```
47
51
  *
48
52
  * @param CreateKeyspaceCommandInput - {@link CreateKeyspaceCommandInput}
@@ -69,6 +73,8 @@ export interface CreateKeyspaceCommandOutput extends CreateKeyspaceResponse, __M
69
73
  * @throws {@link ValidationException} (client fault)
70
74
  * <p>The operation failed due to an invalid or malformed request.</p>
71
75
  *
76
+ * @throws {@link KeyspacesServiceException}
77
+ * <p>Base exception class for all service exceptions from Keyspaces service.</p>
72
78
  *
73
79
  */
74
80
  export declare class CreateKeyspaceCommand extends $Command<CreateKeyspaceCommandInput, CreateKeyspaceCommandOutput, KeyspacesClientResolvedConfig> {
@@ -91,6 +91,10 @@ export interface CreateTableCommandOutput extends CreateTableResponse, __Metadat
91
91
  * };
92
92
  * const command = new CreateTableCommand(input);
93
93
  * const response = await client.send(command);
94
+ * // { // CreateTableResponse
95
+ * // resourceArn: "STRING_VALUE", // required
96
+ * // };
97
+ *
94
98
  * ```
95
99
  *
96
100
  * @param CreateTableCommandInput - {@link CreateTableCommandInput}
@@ -120,6 +124,8 @@ export interface CreateTableCommandOutput extends CreateTableResponse, __Metadat
120
124
  * @throws {@link ValidationException} (client fault)
121
125
  * <p>The operation failed due to an invalid or malformed request.</p>
122
126
  *
127
+ * @throws {@link KeyspacesServiceException}
128
+ * <p>Base exception class for all service exceptions from Keyspaces service.</p>
123
129
  *
124
130
  */
125
131
  export declare class CreateTableCommand extends $Command<CreateTableCommandInput, CreateTableCommandOutput, KeyspacesClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface DeleteKeyspaceCommandOutput extends DeleteKeyspaceResponse, __M
31
31
  * };
32
32
  * const command = new DeleteKeyspaceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeleteKeyspaceCommandInput - {@link DeleteKeyspaceCommandInput}
@@ -60,6 +62,8 @@ export interface DeleteKeyspaceCommandOutput extends DeleteKeyspaceResponse, __M
60
62
  * @throws {@link ValidationException} (client fault)
61
63
  * <p>The operation failed due to an invalid or malformed request.</p>
62
64
  *
65
+ * @throws {@link KeyspacesServiceException}
66
+ * <p>Base exception class for all service exceptions from Keyspaces service.</p>
63
67
  *
64
68
  */
65
69
  export declare class DeleteKeyspaceCommand extends $Command<DeleteKeyspaceCommandInput, DeleteKeyspaceCommandOutput, KeyspacesClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface DeleteTableCommandOutput extends DeleteTableResponse, __Metadat
36
36
  * };
37
37
  * const command = new DeleteTableCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param DeleteTableCommandInput - {@link DeleteTableCommandInput}
@@ -65,6 +67,8 @@ export interface DeleteTableCommandOutput extends DeleteTableResponse, __Metadat
65
67
  * @throws {@link ValidationException} (client fault)
66
68
  * <p>The operation failed due to an invalid or malformed request.</p>
67
69
  *
70
+ * @throws {@link KeyspacesServiceException}
71
+ * <p>Base exception class for all service exceptions from Keyspaces service.</p>
68
72
  *
69
73
  */
70
74
  export declare class DeleteTableCommand extends $Command<DeleteTableCommandInput, DeleteTableCommandOutput, KeyspacesClientResolvedConfig> {
@@ -31,6 +31,11 @@ export interface GetKeyspaceCommandOutput extends GetKeyspaceResponse, __Metadat
31
31
  * };
32
32
  * const command = new GetKeyspaceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetKeyspaceResponse
35
+ * // keyspaceName: "STRING_VALUE", // required
36
+ * // resourceArn: "STRING_VALUE", // required
37
+ * // };
38
+ *
34
39
  * ```
35
40
  *
36
41
  * @param GetKeyspaceCommandInput - {@link GetKeyspaceCommandInput}
@@ -55,6 +60,8 @@ export interface GetKeyspaceCommandOutput extends GetKeyspaceResponse, __Metadat
55
60
  * @throws {@link ValidationException} (client fault)
56
61
  * <p>The operation failed due to an invalid or malformed request.</p>
57
62
  *
63
+ * @throws {@link KeyspacesServiceException}
64
+ * <p>Base exception class for all service exceptions from Keyspaces service.</p>
58
65
  *
59
66
  */
60
67
  export declare class GetKeyspaceCommand extends $Command<GetKeyspaceCommandInput, GetKeyspaceCommandOutput, KeyspacesClientResolvedConfig> {
@@ -35,6 +35,62 @@ export interface GetTableCommandOutput extends GetTableResponse, __MetadataBeare
35
35
  * };
36
36
  * const command = new GetTableCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // GetTableResponse
39
+ * // keyspaceName: "STRING_VALUE", // required
40
+ * // tableName: "STRING_VALUE", // required
41
+ * // resourceArn: "STRING_VALUE", // required
42
+ * // creationTimestamp: new Date("TIMESTAMP"),
43
+ * // status: "STRING_VALUE",
44
+ * // schemaDefinition: { // SchemaDefinition
45
+ * // allColumns: [ // ColumnDefinitionList // required
46
+ * // { // ColumnDefinition
47
+ * // name: "STRING_VALUE", // required
48
+ * // type: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // partitionKeys: [ // PartitionKeyList // required
52
+ * // { // PartitionKey
53
+ * // name: "STRING_VALUE", // required
54
+ * // },
55
+ * // ],
56
+ * // clusteringKeys: [ // ClusteringKeyList
57
+ * // { // ClusteringKey
58
+ * // name: "STRING_VALUE", // required
59
+ * // orderBy: "STRING_VALUE", // required
60
+ * // },
61
+ * // ],
62
+ * // staticColumns: [ // StaticColumnList
63
+ * // { // StaticColumn
64
+ * // name: "STRING_VALUE", // required
65
+ * // },
66
+ * // ],
67
+ * // },
68
+ * // capacitySpecification: { // CapacitySpecificationSummary
69
+ * // throughputMode: "STRING_VALUE", // required
70
+ * // readCapacityUnits: Number("long"),
71
+ * // writeCapacityUnits: Number("long"),
72
+ * // lastUpdateToPayPerRequestTimestamp: new Date("TIMESTAMP"),
73
+ * // },
74
+ * // encryptionSpecification: { // EncryptionSpecification
75
+ * // type: "STRING_VALUE", // required
76
+ * // kmsKeyIdentifier: "STRING_VALUE",
77
+ * // },
78
+ * // pointInTimeRecovery: { // PointInTimeRecoverySummary
79
+ * // status: "STRING_VALUE", // required
80
+ * // earliestRestorableTimestamp: new Date("TIMESTAMP"),
81
+ * // },
82
+ * // ttl: { // TimeToLive
83
+ * // status: "STRING_VALUE", // required
84
+ * // },
85
+ * // defaultTimeToLive: Number("int"),
86
+ * // comment: { // Comment
87
+ * // message: "STRING_VALUE", // required
88
+ * // },
89
+ * // clientSideTimestamps: { // ClientSideTimestamps
90
+ * // status: "STRING_VALUE", // required
91
+ * // },
92
+ * // };
93
+ *
38
94
  * ```
39
95
  *
40
96
  * @param GetTableCommandInput - {@link GetTableCommandInput}
@@ -59,6 +115,8 @@ export interface GetTableCommandOutput extends GetTableResponse, __MetadataBeare
59
115
  * @throws {@link ValidationException} (client fault)
60
116
  * <p>The operation failed due to an invalid or malformed request.</p>
61
117
  *
118
+ * @throws {@link KeyspacesServiceException}
119
+ * <p>Base exception class for all service exceptions from Keyspaces service.</p>
62
120
  *
63
121
  */
64
122
  export declare class GetTableCommand extends $Command<GetTableCommandInput, GetTableCommandOutput, KeyspacesClientResolvedConfig> {
@@ -32,6 +32,16 @@ export interface ListKeyspacesCommandOutput extends ListKeyspacesResponse, __Met
32
32
  * };
33
33
  * const command = new ListKeyspacesCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListKeyspacesResponse
36
+ * // nextToken: "STRING_VALUE",
37
+ * // keyspaces: [ // KeyspaceSummaryList // required
38
+ * // { // KeyspaceSummary
39
+ * // keyspaceName: "STRING_VALUE", // required
40
+ * // resourceArn: "STRING_VALUE", // required
41
+ * // },
42
+ * // ],
43
+ * // };
44
+ *
35
45
  * ```
36
46
  *
37
47
  * @param ListKeyspacesCommandInput - {@link ListKeyspacesCommandInput}
@@ -56,6 +66,8 @@ export interface ListKeyspacesCommandOutput extends ListKeyspacesResponse, __Met
56
66
  * @throws {@link ValidationException} (client fault)
57
67
  * <p>The operation failed due to an invalid or malformed request.</p>
58
68
  *
69
+ * @throws {@link KeyspacesServiceException}
70
+ * <p>Base exception class for all service exceptions from Keyspaces service.</p>
59
71
  *
60
72
  */
61
73
  export declare class ListKeyspacesCommand extends $Command<ListKeyspacesCommandInput, ListKeyspacesCommandOutput, KeyspacesClientResolvedConfig> {
@@ -33,6 +33,17 @@ export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataB
33
33
  * };
34
34
  * const command = new ListTablesCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListTablesResponse
37
+ * // nextToken: "STRING_VALUE",
38
+ * // tables: [ // TableSummaryList
39
+ * // { // TableSummary
40
+ * // keyspaceName: "STRING_VALUE", // required
41
+ * // tableName: "STRING_VALUE", // required
42
+ * // resourceArn: "STRING_VALUE", // required
43
+ * // },
44
+ * // ],
45
+ * // };
46
+ *
36
47
  * ```
37
48
  *
38
49
  * @param ListTablesCommandInput - {@link ListTablesCommandInput}
@@ -57,6 +68,8 @@ export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataB
57
68
  * @throws {@link ValidationException} (client fault)
58
69
  * <p>The operation failed due to an invalid or malformed request.</p>
59
70
  *
71
+ * @throws {@link KeyspacesServiceException}
72
+ * <p>Base exception class for all service exceptions from Keyspaces service.</p>
60
73
  *
61
74
  */
62
75
  export declare class ListTablesCommand extends $Command<ListTablesCommandInput, ListTablesCommandOutput, KeyspacesClientResolvedConfig> {
@@ -33,6 +33,16 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
33
33
  * };
34
34
  * const command = new ListTagsForResourceCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListTagsForResourceResponse
37
+ * // nextToken: "STRING_VALUE",
38
+ * // tags: [ // TagList
39
+ * // { // Tag
40
+ * // key: "STRING_VALUE", // required
41
+ * // value: "STRING_VALUE", // required
42
+ * // },
43
+ * // ],
44
+ * // };
45
+ *
36
46
  * ```
37
47
  *
38
48
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -57,6 +67,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
57
67
  * @throws {@link ValidationException} (client fault)
58
68
  * <p>The operation failed due to an invalid or malformed request.</p>
59
69
  *
70
+ * @throws {@link KeyspacesServiceException}
71
+ * <p>Base exception class for all service exceptions from Keyspaces service.</p>
60
72
  *
61
73
  */
62
74
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, KeyspacesClientResolvedConfig> {
@@ -99,6 +99,10 @@ export interface RestoreTableCommandOutput extends RestoreTableResponse, __Metad
99
99
  * };
100
100
  * const command = new RestoreTableCommand(input);
101
101
  * const response = await client.send(command);
102
+ * // { // RestoreTableResponse
103
+ * // restoredTableARN: "STRING_VALUE", // required
104
+ * // };
105
+ *
102
106
  * ```
103
107
  *
104
108
  * @param RestoreTableCommandInput - {@link RestoreTableCommandInput}
@@ -128,6 +132,8 @@ export interface RestoreTableCommandOutput extends RestoreTableResponse, __Metad
128
132
  * @throws {@link ValidationException} (client fault)
129
133
  * <p>The operation failed due to an invalid or malformed request.</p>
130
134
  *
135
+ * @throws {@link KeyspacesServiceException}
136
+ * <p>Base exception class for all service exceptions from Keyspaces service.</p>
131
137
  *
132
138
  */
133
139
  export declare class RestoreTableCommand extends $Command<RestoreTableCommandInput, RestoreTableCommandOutput, KeyspacesClientResolvedConfig> {
@@ -43,6 +43,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
43
43
  * };
44
44
  * const command = new TagResourceCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // {};
47
+ *
46
48
  * ```
47
49
  *
48
50
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -67,6 +69,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
67
69
  * @throws {@link ValidationException} (client fault)
68
70
  * <p>The operation failed due to an invalid or malformed request.</p>
69
71
  *
72
+ * @throws {@link KeyspacesServiceException}
73
+ * <p>Base exception class for all service exceptions from Keyspaces service.</p>
70
74
  *
71
75
  */
72
76
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, KeyspacesClientResolvedConfig> {
@@ -37,6 +37,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
37
37
  * };
38
38
  * const command = new UntagResourceCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -66,6 +68,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
66
68
  * @throws {@link ValidationException} (client fault)
67
69
  * <p>The operation failed due to an invalid or malformed request.</p>
68
70
  *
71
+ * @throws {@link KeyspacesServiceException}
72
+ * <p>Base exception class for all service exceptions from Keyspaces service.</p>
69
73
  *
70
74
  */
71
75
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, KeyspacesClientResolvedConfig> {
@@ -59,6 +59,10 @@ export interface UpdateTableCommandOutput extends UpdateTableResponse, __Metadat
59
59
  * };
60
60
  * const command = new UpdateTableCommand(input);
61
61
  * const response = await client.send(command);
62
+ * // { // UpdateTableResponse
63
+ * // resourceArn: "STRING_VALUE", // required
64
+ * // };
65
+ *
62
66
  * ```
63
67
  *
64
68
  * @param UpdateTableCommandInput - {@link UpdateTableCommandInput}
@@ -88,6 +92,8 @@ export interface UpdateTableCommandOutput extends UpdateTableResponse, __Metadat
88
92
  * @throws {@link ValidationException} (client fault)
89
93
  * <p>The operation failed due to an invalid or malformed request.</p>
90
94
  *
95
+ * @throws {@link KeyspacesServiceException}
96
+ * <p>Base exception class for all service exceptions from Keyspaces service.</p>
91
97
  *
92
98
  */
93
99
  export declare class UpdateTableCommand extends $Command<UpdateTableCommandInput, UpdateTableCommandOutput, KeyspacesClientResolvedConfig> {
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.325.0",
4
+ "version": "3.327.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.325.0",
24
+ "@aws-sdk/client-sts": "3.327.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.327.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -32,11 +32,11 @@
32
32
  "@aws-sdk/middleware-host-header": "3.325.0",
33
33
  "@aws-sdk/middleware-logger": "3.325.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
- "@aws-sdk/middleware-retry": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.327.0",
36
36
  "@aws-sdk/middleware-serde": "3.325.0",
37
37
  "@aws-sdk/middleware-signing": "3.325.0",
38
38
  "@aws-sdk/middleware-stack": "3.325.0",
39
- "@aws-sdk/middleware-user-agent": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.327.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
@@ -48,8 +48,8 @@
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
50
  "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
- "@aws-sdk/util-endpoints": "3.319.0",
52
- "@aws-sdk/util-retry": "3.310.0",
51
+ "@aws-sdk/util-endpoints": "3.327.0",
52
+ "@aws-sdk/util-retry": "3.327.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",
55
55
  "@aws-sdk/util-utf8": "3.310.0",