@aws-sdk/client-keyspaces 3.952.0 → 3.953.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.
Files changed (39) hide show
  1. package/dist-cjs/index.js +301 -208
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/CreateKeyspaceCommand.js +2 -2
  4. package/dist-es/commands/CreateTableCommand.js +2 -2
  5. package/dist-es/commands/CreateTypeCommand.js +2 -2
  6. package/dist-es/commands/DeleteKeyspaceCommand.js +2 -2
  7. package/dist-es/commands/DeleteTableCommand.js +2 -2
  8. package/dist-es/commands/DeleteTypeCommand.js +2 -2
  9. package/dist-es/commands/GetKeyspaceCommand.js +2 -2
  10. package/dist-es/commands/GetTableAutoScalingSettingsCommand.js +2 -2
  11. package/dist-es/commands/GetTableCommand.js +2 -2
  12. package/dist-es/commands/GetTypeCommand.js +2 -2
  13. package/dist-es/commands/ListKeyspacesCommand.js +2 -2
  14. package/dist-es/commands/ListTablesCommand.js +2 -2
  15. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  16. package/dist-es/commands/ListTypesCommand.js +2 -2
  17. package/dist-es/commands/RestoreTableCommand.js +2 -2
  18. package/dist-es/commands/TagResourceCommand.js +2 -2
  19. package/dist-es/commands/UntagResourceCommand.js +2 -2
  20. package/dist-es/commands/UpdateKeyspaceCommand.js +2 -2
  21. package/dist-es/commands/UpdateTableCommand.js +2 -2
  22. package/dist-es/index.js +1 -0
  23. package/dist-es/runtimeConfig.shared.js +6 -6
  24. package/dist-es/schemas/schemas_0.js +175 -174
  25. package/dist-types/KeyspacesClient.d.ts +1 -10
  26. package/dist-types/index.d.ts +1 -0
  27. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  28. package/dist-types/runtimeConfig.d.ts +6 -2
  29. package/dist-types/runtimeConfig.native.d.ts +6 -2
  30. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  31. package/dist-types/schemas/schemas_0.d.ts +93 -108
  32. package/dist-types/ts3.4/KeyspacesClient.d.ts +0 -4
  33. package/dist-types/ts3.4/index.d.ts +1 -0
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  37. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  38. package/dist-types/ts3.4/schemas/schemas_0.d.ts +92 -108
  39. package/package.json +34 -34
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_0Protocol({
31
- defaultNamespace: "com.amazonaws.keyspaces",
32
- serviceTarget: "KeyspacesService",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.keyspaces",
32
+ version: "2022-02-10",
33
+ serviceTarget: "KeyspacesService",
34
+ },
35
35
  serviceId: config?.serviceId ?? "Keyspaces",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateKeyspace } from "../schemas/schemas_0";
4
+ import { CreateKeyspace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateKeyspaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateKeyspaceCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "CreateKeyspace", {})
13
13
  .n("KeyspacesClient", "CreateKeyspaceCommand")
14
- .sc(CreateKeyspace)
14
+ .sc(CreateKeyspace$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateTable } from "../schemas/schemas_0";
4
+ import { CreateTable$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateTableCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateTableCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "CreateTable", {})
13
13
  .n("KeyspacesClient", "CreateTableCommand")
14
- .sc(CreateTable)
14
+ .sc(CreateTable$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateType } from "../schemas/schemas_0";
4
+ import { CreateType$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateTypeCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateTypeCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "CreateType", {})
13
13
  .n("KeyspacesClient", "CreateTypeCommand")
14
- .sc(CreateType)
14
+ .sc(CreateType$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteKeyspace } from "../schemas/schemas_0";
4
+ import { DeleteKeyspace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteKeyspaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteKeyspaceCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "DeleteKeyspace", {})
13
13
  .n("KeyspacesClient", "DeleteKeyspaceCommand")
14
- .sc(DeleteKeyspace)
14
+ .sc(DeleteKeyspace$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteTable } from "../schemas/schemas_0";
4
+ import { DeleteTable$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteTableCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteTableCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "DeleteTable", {})
13
13
  .n("KeyspacesClient", "DeleteTableCommand")
14
- .sc(DeleteTable)
14
+ .sc(DeleteTable$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteType } from "../schemas/schemas_0";
4
+ import { DeleteType$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteTypeCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteTypeCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "DeleteType", {})
13
13
  .n("KeyspacesClient", "DeleteTypeCommand")
14
- .sc(DeleteType)
14
+ .sc(DeleteType$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetKeyspace } from "../schemas/schemas_0";
4
+ import { GetKeyspace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetKeyspaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetKeyspaceCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "GetKeyspace", {})
13
13
  .n("KeyspacesClient", "GetKeyspaceCommand")
14
- .sc(GetKeyspace)
14
+ .sc(GetKeyspace$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetTableAutoScalingSettings } from "../schemas/schemas_0";
4
+ import { GetTableAutoScalingSettings$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetTableAutoScalingSettingsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetTableAutoScalingSettingsCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "GetTableAutoScalingSettings", {})
13
13
  .n("KeyspacesClient", "GetTableAutoScalingSettingsCommand")
14
- .sc(GetTableAutoScalingSettings)
14
+ .sc(GetTableAutoScalingSettings$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetTable } from "../schemas/schemas_0";
4
+ import { GetTable$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetTableCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetTableCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "GetTable", {})
13
13
  .n("KeyspacesClient", "GetTableCommand")
14
- .sc(GetTable)
14
+ .sc(GetTable$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetType } from "../schemas/schemas_0";
4
+ import { GetType$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetTypeCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetTypeCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "GetType", {})
13
13
  .n("KeyspacesClient", "GetTypeCommand")
14
- .sc(GetType)
14
+ .sc(GetType$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListKeyspaces } from "../schemas/schemas_0";
4
+ import { ListKeyspaces$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListKeyspacesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListKeyspacesCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "ListKeyspaces", {})
13
13
  .n("KeyspacesClient", "ListKeyspacesCommand")
14
- .sc(ListKeyspaces)
14
+ .sc(ListKeyspaces$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTables } from "../schemas/schemas_0";
4
+ import { ListTables$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTablesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTablesCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "ListTables", {})
13
13
  .n("KeyspacesClient", "ListTablesCommand")
14
- .sc(ListTables)
14
+ .sc(ListTables$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "ListTagsForResource", {})
13
13
  .n("KeyspacesClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTypes } from "../schemas/schemas_0";
4
+ import { ListTypes$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTypesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTypesCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "ListTypes", {})
13
13
  .n("KeyspacesClient", "ListTypesCommand")
14
- .sc(ListTypes)
14
+ .sc(ListTypes$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { RestoreTable } from "../schemas/schemas_0";
4
+ import { RestoreTable$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RestoreTableCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RestoreTableCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "RestoreTable", {})
13
13
  .n("KeyspacesClient", "RestoreTableCommand")
14
- .sc(RestoreTable)
14
+ .sc(RestoreTable$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "TagResource", {})
13
13
  .n("KeyspacesClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "UntagResource", {})
13
13
  .n("KeyspacesClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateKeyspace } from "../schemas/schemas_0";
4
+ import { UpdateKeyspace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateKeyspaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateKeyspaceCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "UpdateKeyspace", {})
13
13
  .n("KeyspacesClient", "UpdateKeyspaceCommand")
14
- .sc(UpdateKeyspace)
14
+ .sc(UpdateKeyspace$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateTable } from "../schemas/schemas_0";
4
+ import { UpdateTable$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateTableCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateTableCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesService", "UpdateTable", {})
13
13
  .n("KeyspacesClient", "UpdateTableCommand")
14
- .sc(UpdateTable)
14
+ .sc(UpdateTable$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./KeyspacesClient";
2
2
  export * from "./Keyspaces";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_0Protocol({
28
- defaultNamespace: "com.amazonaws.keyspaces",
29
- serviceTarget: "KeyspacesService",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.keyspaces",
29
+ version: "2022-02-10",
30
+ serviceTarget: "KeyspacesService",
31
+ },
32
32
  serviceId: config?.serviceId ?? "Keyspaces",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,