@aws-sdk/client-keyspaces 3.957.0 → 3.958.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 CHANGED
@@ -9,10 +9,8 @@ AWS SDK for JavaScript Keyspaces Client for Node.js, Browser and React Native.
9
9
  <p>Amazon Keyspaces (for Apache Cassandra) is a scalable, highly available, and managed Apache Cassandra-compatible database service. Amazon Keyspaces makes it easy to migrate, run, and scale Cassandra workloads in the Amazon Web Services Cloud. With just a few clicks on the Amazon Web Services Management Console or a few lines of code, you can create keyspaces and tables in Amazon Keyspaces, without deploying any infrastructure or installing software. </p> <p>In addition to supporting Cassandra Query Language (CQL) requests via open-source Cassandra drivers, Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI, as well as infrastructure as code (IaC) services and tools such as CloudFormation and Terraform. This API reference describes the supported DDL operations in detail.</p> <p>For the list of all supported CQL APIs, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/cassandra-apis.html">Supported Cassandra APIs, operations, and data types in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p> <p>To learn how Amazon Keyspaces API actions are recorded with CloudTrail, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/logging-using-cloudtrail.html#service-name-info-in-cloudtrail">Amazon Keyspaces information in CloudTrail</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p> <p>For more information about Amazon Web Services APIs, for example how to implement retry logic or how to sign Amazon Web Services API requests, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-apis.html">Amazon Web Services APIs</a> in the <i>General Reference</i>.</p>
10
10
 
11
11
  ## Installing
12
-
13
12
  To install this package, simply type add or install @aws-sdk/client-keyspaces
14
13
  using your favorite package manager:
15
-
16
14
  - `npm install @aws-sdk/client-keyspaces`
17
15
  - `yarn add @aws-sdk/client-keyspaces`
18
16
  - `pnpm add @aws-sdk/client-keyspaces`
@@ -48,9 +46,7 @@ To send a request, you:
48
46
  // a client can be shared by different commands.
49
47
  const client = new KeyspacesClient({ region: "REGION" });
50
48
 
51
- const params = {
52
- /** input parameters */
53
- };
49
+ const params = { /** input parameters */ };
54
50
  const command = new ListKeyspacesCommand(params);
55
51
  ```
56
52
 
@@ -209,7 +205,6 @@ CreateKeyspace
209
205
  </summary>
210
206
 
211
207
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/CreateKeyspaceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/CreateKeyspaceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/CreateKeyspaceCommandOutput/)
212
-
213
208
  </details>
214
209
  <details>
215
210
  <summary>
@@ -217,7 +212,6 @@ CreateTable
217
212
  </summary>
218
213
 
219
214
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/CreateTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/CreateTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/CreateTableCommandOutput/)
220
-
221
215
  </details>
222
216
  <details>
223
217
  <summary>
@@ -225,7 +219,6 @@ CreateType
225
219
  </summary>
226
220
 
227
221
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/CreateTypeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/CreateTypeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/CreateTypeCommandOutput/)
228
-
229
222
  </details>
230
223
  <details>
231
224
  <summary>
@@ -233,7 +226,6 @@ DeleteKeyspace
233
226
  </summary>
234
227
 
235
228
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/DeleteKeyspaceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/DeleteKeyspaceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/DeleteKeyspaceCommandOutput/)
236
-
237
229
  </details>
238
230
  <details>
239
231
  <summary>
@@ -241,7 +233,6 @@ DeleteTable
241
233
  </summary>
242
234
 
243
235
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/DeleteTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/DeleteTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/DeleteTableCommandOutput/)
244
-
245
236
  </details>
246
237
  <details>
247
238
  <summary>
@@ -249,7 +240,6 @@ DeleteType
249
240
  </summary>
250
241
 
251
242
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/DeleteTypeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/DeleteTypeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/DeleteTypeCommandOutput/)
252
-
253
243
  </details>
254
244
  <details>
255
245
  <summary>
@@ -257,7 +247,6 @@ GetKeyspace
257
247
  </summary>
258
248
 
259
249
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/GetKeyspaceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/GetKeyspaceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/GetKeyspaceCommandOutput/)
260
-
261
250
  </details>
262
251
  <details>
263
252
  <summary>
@@ -265,7 +254,6 @@ GetTable
265
254
  </summary>
266
255
 
267
256
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/GetTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/GetTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/GetTableCommandOutput/)
268
-
269
257
  </details>
270
258
  <details>
271
259
  <summary>
@@ -273,7 +261,6 @@ GetTableAutoScalingSettings
273
261
  </summary>
274
262
 
275
263
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/GetTableAutoScalingSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/GetTableAutoScalingSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/GetTableAutoScalingSettingsCommandOutput/)
276
-
277
264
  </details>
278
265
  <details>
279
266
  <summary>
@@ -281,7 +268,6 @@ GetType
281
268
  </summary>
282
269
 
283
270
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/GetTypeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/GetTypeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/GetTypeCommandOutput/)
284
-
285
271
  </details>
286
272
  <details>
287
273
  <summary>
@@ -289,7 +275,6 @@ ListKeyspaces
289
275
  </summary>
290
276
 
291
277
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/ListKeyspacesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/ListKeyspacesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/ListKeyspacesCommandOutput/)
292
-
293
278
  </details>
294
279
  <details>
295
280
  <summary>
@@ -297,7 +282,6 @@ ListTables
297
282
  </summary>
298
283
 
299
284
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/ListTablesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/ListTablesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/ListTablesCommandOutput/)
300
-
301
285
  </details>
302
286
  <details>
303
287
  <summary>
@@ -305,7 +289,6 @@ ListTagsForResource
305
289
  </summary>
306
290
 
307
291
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/ListTagsForResourceCommandOutput/)
308
-
309
292
  </details>
310
293
  <details>
311
294
  <summary>
@@ -313,7 +296,6 @@ ListTypes
313
296
  </summary>
314
297
 
315
298
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/ListTypesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/ListTypesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/ListTypesCommandOutput/)
316
-
317
299
  </details>
318
300
  <details>
319
301
  <summary>
@@ -321,7 +303,6 @@ RestoreTable
321
303
  </summary>
322
304
 
323
305
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/RestoreTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/RestoreTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/RestoreTableCommandOutput/)
324
-
325
306
  </details>
326
307
  <details>
327
308
  <summary>
@@ -329,7 +310,6 @@ TagResource
329
310
  </summary>
330
311
 
331
312
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/TagResourceCommandOutput/)
332
-
333
313
  </details>
334
314
  <details>
335
315
  <summary>
@@ -337,7 +317,6 @@ UntagResource
337
317
  </summary>
338
318
 
339
319
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/UntagResourceCommandOutput/)
340
-
341
320
  </details>
342
321
  <details>
343
322
  <summary>
@@ -345,7 +324,6 @@ UpdateKeyspace
345
324
  </summary>
346
325
 
347
326
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/UpdateKeyspaceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/UpdateKeyspaceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/UpdateKeyspaceCommandOutput/)
348
-
349
327
  </details>
350
328
  <details>
351
329
  <summary>
@@ -353,5 +331,4 @@ UpdateTable
353
331
  </summary>
354
332
 
355
333
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/UpdateTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/UpdateTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/UpdateTableCommandOutput/)
356
-
357
334
  </details>
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
6
6
  const defaultKeyspacesHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
7
  return {
8
8
  operation: (0, util_middleware_1.getSmithyContext)(context).operation,
9
- region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
10
- (() => {
11
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
12
- })(),
9
+ region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
10
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
11
+ })(),
13
12
  };
14
13
  };
15
14
  exports.defaultKeyspacesHttpAuthSchemeParametersProvider = defaultKeyspacesHttpAuthSchemeParametersProvider;