@aws-sdk/client-keyspaces 3.477.0 → 3.481.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 (69) hide show
  1. package/dist-cjs/commands/CreateKeyspaceCommand.js +18 -41
  2. package/dist-cjs/commands/CreateTableCommand.js +18 -41
  3. package/dist-cjs/commands/DeleteKeyspaceCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteTableCommand.js +18 -41
  5. package/dist-cjs/commands/GetKeyspaceCommand.js +18 -41
  6. package/dist-cjs/commands/GetTableCommand.js +18 -41
  7. package/dist-cjs/commands/ListKeyspacesCommand.js +18 -41
  8. package/dist-cjs/commands/ListTablesCommand.js +18 -41
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  10. package/dist-cjs/commands/RestoreTableCommand.js +18 -41
  11. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  12. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  13. package/dist-cjs/commands/UpdateTableCommand.js +18 -41
  14. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  15. package/dist-cjs/pagination/ListKeyspacesPaginator.js +2 -24
  16. package/dist-cjs/pagination/ListTablesPaginator.js +2 -24
  17. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -24
  18. package/dist-es/commands/CreateKeyspaceCommand.js +18 -41
  19. package/dist-es/commands/CreateTableCommand.js +18 -41
  20. package/dist-es/commands/DeleteKeyspaceCommand.js +18 -41
  21. package/dist-es/commands/DeleteTableCommand.js +18 -41
  22. package/dist-es/commands/GetKeyspaceCommand.js +18 -41
  23. package/dist-es/commands/GetTableCommand.js +18 -41
  24. package/dist-es/commands/ListKeyspacesCommand.js +18 -41
  25. package/dist-es/commands/ListTablesCommand.js +18 -41
  26. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  27. package/dist-es/commands/RestoreTableCommand.js +18 -41
  28. package/dist-es/commands/TagResourceCommand.js +18 -41
  29. package/dist-es/commands/UntagResourceCommand.js +18 -41
  30. package/dist-es/commands/UpdateTableCommand.js +18 -41
  31. package/dist-es/endpoint/EndpointParameters.js +6 -0
  32. package/dist-es/pagination/ListKeyspacesPaginator.js +2 -23
  33. package/dist-es/pagination/ListTablesPaginator.js +2 -23
  34. package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -23
  35. package/dist-types/commands/CreateKeyspaceCommand.d.ts +6 -21
  36. package/dist-types/commands/CreateTableCommand.d.ts +6 -21
  37. package/dist-types/commands/DeleteKeyspaceCommand.d.ts +6 -21
  38. package/dist-types/commands/DeleteTableCommand.d.ts +6 -21
  39. package/dist-types/commands/GetKeyspaceCommand.d.ts +6 -21
  40. package/dist-types/commands/GetTableCommand.d.ts +6 -21
  41. package/dist-types/commands/ListKeyspacesCommand.d.ts +6 -21
  42. package/dist-types/commands/ListTablesCommand.d.ts +6 -21
  43. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  44. package/dist-types/commands/RestoreTableCommand.d.ts +6 -21
  45. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  46. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  47. package/dist-types/commands/UpdateTableCommand.d.ts +6 -21
  48. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  49. package/dist-types/pagination/ListKeyspacesPaginator.d.ts +1 -1
  50. package/dist-types/pagination/ListTablesPaginator.d.ts +1 -1
  51. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/CreateKeyspaceCommand.d.ts +14 -23
  53. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +14 -23
  54. package/dist-types/ts3.4/commands/DeleteKeyspaceCommand.d.ts +14 -23
  55. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +14 -23
  56. package/dist-types/ts3.4/commands/GetKeyspaceCommand.d.ts +14 -23
  57. package/dist-types/ts3.4/commands/GetTableCommand.d.ts +14 -23
  58. package/dist-types/ts3.4/commands/ListKeyspacesCommand.d.ts +14 -23
  59. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +14 -23
  60. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  61. package/dist-types/ts3.4/commands/RestoreTableCommand.d.ts +14 -23
  62. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  63. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  64. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +14 -23
  65. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  66. package/dist-types/ts3.4/pagination/ListKeyspacesPaginator.d.ts +3 -3
  67. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +3 -3
  68. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
  69. package/package.json +11 -10
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateTableCommand, se_UpdateTableCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class UpdateTableCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateTableCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "KeyspacesClient";
26
- const commandName = "UpdateTableCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "KeyspacesService",
35
- operation: "UpdateTable",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateTableCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateTableCommand(output, context);
46
- }
7
+ export class UpdateTableCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("KeyspacesService", "UpdateTable", {})
19
+ .n("KeyspacesClient", "UpdateTableCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateTableCommand)
22
+ .de(de_UpdateTableCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "cassandra",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListKeyspacesCommand, } from "../commands/ListKeyspacesCommand";
2
3
  import { KeyspacesClient } from "../KeyspacesClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListKeyspacesCommand(input), ...args);
5
- };
6
- export async function* paginateListKeyspaces(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof KeyspacesClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Keyspaces | KeyspacesClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListKeyspaces = createPaginator(KeyspacesClient, ListKeyspacesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTablesCommand } from "../commands/ListTablesCommand";
2
3
  import { KeyspacesClient } from "../KeyspacesClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTablesCommand(input), ...args);
5
- };
6
- export async function* paginateListTables(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof KeyspacesClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Keyspaces | KeyspacesClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListTables = createPaginator(KeyspacesClient, ListTablesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTagsForResourceCommand, } from "../commands/ListTagsForResourceCommand";
2
3
  import { KeyspacesClient } from "../KeyspacesClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTagsForResourceCommand(input), ...args);
5
- };
6
- export async function* paginateListTagsForResource(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof KeyspacesClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Keyspaces | KeyspacesClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListTagsForResource = createPaginator(KeyspacesClient, ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
5
4
  import { CreateKeyspaceRequest, CreateKeyspaceResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateKeyspaceCommandInput extends CreateKeyspaceRequest {
21
20
  */
22
21
  export interface CreateKeyspaceCommandOutput extends CreateKeyspaceResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateKeyspaceCommand_base: {
24
+ new (input: CreateKeyspaceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateKeyspaceCommandInput, CreateKeyspaceCommandOutput, KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>The <code>CreateKeyspace</code> operation adds a new keyspace to your account. In an Amazon Web Services account, keyspace names
@@ -87,23 +90,5 @@ export interface CreateKeyspaceCommandOutput extends CreateKeyspaceResponse, __M
87
90
  * <p>Base exception class for all service exceptions from Keyspaces service.</p>
88
91
  *
89
92
  */
90
- export declare class CreateKeyspaceCommand extends $Command<CreateKeyspaceCommandInput, CreateKeyspaceCommandOutput, KeyspacesClientResolvedConfig> {
91
- readonly input: CreateKeyspaceCommandInput;
92
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
- /**
94
- * @public
95
- */
96
- constructor(input: CreateKeyspaceCommandInput);
97
- /**
98
- * @internal
99
- */
100
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateKeyspaceCommandInput, CreateKeyspaceCommandOutput>;
101
- /**
102
- * @internal
103
- */
104
- private serialize;
105
- /**
106
- * @internal
107
- */
108
- private deserialize;
93
+ export declare class CreateKeyspaceCommand extends CreateKeyspaceCommand_base {
109
94
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
5
4
  import { CreateTableRequest, CreateTableResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateTableCommandInput extends CreateTableRequest {
21
20
  */
22
21
  export interface CreateTableCommandOutput extends CreateTableResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateTableCommand_base: {
24
+ new (input: CreateTableCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTableCommandInput, CreateTableCommandOutput, KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>The <code>CreateTable</code> operation adds a new table to the specified keyspace. Within a keyspace, table names
@@ -132,23 +135,5 @@ export interface CreateTableCommandOutput extends CreateTableResponse, __Metadat
132
135
  * <p>Base exception class for all service exceptions from Keyspaces service.</p>
133
136
  *
134
137
  */
135
- export declare class CreateTableCommand extends $Command<CreateTableCommandInput, CreateTableCommandOutput, KeyspacesClientResolvedConfig> {
136
- readonly input: CreateTableCommandInput;
137
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
138
- /**
139
- * @public
140
- */
141
- constructor(input: CreateTableCommandInput);
142
- /**
143
- * @internal
144
- */
145
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTableCommandInput, CreateTableCommandOutput>;
146
- /**
147
- * @internal
148
- */
149
- private serialize;
150
- /**
151
- * @internal
152
- */
153
- private deserialize;
138
+ export declare class CreateTableCommand extends CreateTableCommand_base {
154
139
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
5
4
  import { DeleteKeyspaceRequest, DeleteKeyspaceResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteKeyspaceCommandInput extends DeleteKeyspaceRequest {
21
20
  */
22
21
  export interface DeleteKeyspaceCommandOutput extends DeleteKeyspaceResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteKeyspaceCommand_base: {
24
+ new (input: DeleteKeyspaceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteKeyspaceCommandInput, DeleteKeyspaceCommandOutput, KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>The <code>DeleteKeyspace</code> operation deletes a keyspace and all of its tables. </p>
@@ -70,23 +73,5 @@ export interface DeleteKeyspaceCommandOutput extends DeleteKeyspaceResponse, __M
70
73
  * <p>Base exception class for all service exceptions from Keyspaces service.</p>
71
74
  *
72
75
  */
73
- export declare class DeleteKeyspaceCommand extends $Command<DeleteKeyspaceCommandInput, DeleteKeyspaceCommandOutput, KeyspacesClientResolvedConfig> {
74
- readonly input: DeleteKeyspaceCommandInput;
75
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
- /**
77
- * @public
78
- */
79
- constructor(input: DeleteKeyspaceCommandInput);
80
- /**
81
- * @internal
82
- */
83
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteKeyspaceCommandInput, DeleteKeyspaceCommandOutput>;
84
- /**
85
- * @internal
86
- */
87
- private serialize;
88
- /**
89
- * @internal
90
- */
91
- private deserialize;
76
+ export declare class DeleteKeyspaceCommand extends DeleteKeyspaceCommand_base {
92
77
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
5
4
  import { DeleteTableRequest, DeleteTableResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteTableCommandInput extends DeleteTableRequest {
21
20
  */
22
21
  export interface DeleteTableCommandOutput extends DeleteTableResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteTableCommand_base: {
24
+ new (input: DeleteTableCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTableCommandInput, DeleteTableCommandOutput, KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>The <code>DeleteTable</code> operation deletes a table and all of its data. After a <code>DeleteTable</code> request is received,
@@ -75,23 +78,5 @@ export interface DeleteTableCommandOutput extends DeleteTableResponse, __Metadat
75
78
  * <p>Base exception class for all service exceptions from Keyspaces service.</p>
76
79
  *
77
80
  */
78
- export declare class DeleteTableCommand extends $Command<DeleteTableCommandInput, DeleteTableCommandOutput, KeyspacesClientResolvedConfig> {
79
- readonly input: DeleteTableCommandInput;
80
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
- /**
82
- * @public
83
- */
84
- constructor(input: DeleteTableCommandInput);
85
- /**
86
- * @internal
87
- */
88
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTableCommandInput, DeleteTableCommandOutput>;
89
- /**
90
- * @internal
91
- */
92
- private serialize;
93
- /**
94
- * @internal
95
- */
96
- private deserialize;
81
+ export declare class DeleteTableCommand extends DeleteTableCommand_base {
97
82
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
5
4
  import { GetKeyspaceRequest, GetKeyspaceResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetKeyspaceCommandInput extends GetKeyspaceRequest {
21
20
  */
22
21
  export interface GetKeyspaceCommandOutput extends GetKeyspaceResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetKeyspaceCommand_base: {
24
+ new (input: GetKeyspaceCommandInput): import("@smithy/smithy-client").CommandImpl<GetKeyspaceCommandInput, GetKeyspaceCommandOutput, KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns the name and the Amazon Resource Name (ARN) of the specified table.</p>
@@ -72,23 +75,5 @@ export interface GetKeyspaceCommandOutput extends GetKeyspaceResponse, __Metadat
72
75
  * <p>Base exception class for all service exceptions from Keyspaces service.</p>
73
76
  *
74
77
  */
75
- export declare class GetKeyspaceCommand extends $Command<GetKeyspaceCommandInput, GetKeyspaceCommandOutput, KeyspacesClientResolvedConfig> {
76
- readonly input: GetKeyspaceCommandInput;
77
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
78
- /**
79
- * @public
80
- */
81
- constructor(input: GetKeyspaceCommandInput);
82
- /**
83
- * @internal
84
- */
85
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetKeyspaceCommandInput, GetKeyspaceCommandOutput>;
86
- /**
87
- * @internal
88
- */
89
- private serialize;
90
- /**
91
- * @internal
92
- */
93
- private deserialize;
78
+ export declare class GetKeyspaceCommand extends GetKeyspaceCommand_base {
94
79
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
5
4
  import { GetTableRequest, GetTableResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetTableCommandInput extends GetTableRequest {
21
20
  */
22
21
  export interface GetTableCommandOutput extends GetTableResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetTableCommand_base: {
24
+ new (input: GetTableCommandInput): import("@smithy/smithy-client").CommandImpl<GetTableCommandInput, GetTableCommandOutput, KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns information about the table, including the table's name and current status, the keyspace name,
@@ -123,23 +126,5 @@ export interface GetTableCommandOutput extends GetTableResponse, __MetadataBeare
123
126
  * <p>Base exception class for all service exceptions from Keyspaces service.</p>
124
127
  *
125
128
  */
126
- export declare class GetTableCommand extends $Command<GetTableCommandInput, GetTableCommandOutput, KeyspacesClientResolvedConfig> {
127
- readonly input: GetTableCommandInput;
128
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
129
- /**
130
- * @public
131
- */
132
- constructor(input: GetTableCommandInput);
133
- /**
134
- * @internal
135
- */
136
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTableCommandInput, GetTableCommandOutput>;
137
- /**
138
- * @internal
139
- */
140
- private serialize;
141
- /**
142
- * @internal
143
- */
144
- private deserialize;
129
+ export declare class GetTableCommand extends GetTableCommand_base {
145
130
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
5
4
  import { ListKeyspacesRequest, ListKeyspacesResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListKeyspacesCommandInput extends ListKeyspacesRequest {
21
20
  */
22
21
  export interface ListKeyspacesCommandOutput extends ListKeyspacesResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListKeyspacesCommand_base: {
24
+ new (input: ListKeyspacesCommandInput): import("@smithy/smithy-client").CommandImpl<ListKeyspacesCommandInput, ListKeyspacesCommandOutput, KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns a list of keyspaces.</p>
@@ -78,23 +81,5 @@ export interface ListKeyspacesCommandOutput extends ListKeyspacesResponse, __Met
78
81
  * <p>Base exception class for all service exceptions from Keyspaces service.</p>
79
82
  *
80
83
  */
81
- export declare class ListKeyspacesCommand extends $Command<ListKeyspacesCommandInput, ListKeyspacesCommandOutput, KeyspacesClientResolvedConfig> {
82
- readonly input: ListKeyspacesCommandInput;
83
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
84
- /**
85
- * @public
86
- */
87
- constructor(input: ListKeyspacesCommandInput);
88
- /**
89
- * @internal
90
- */
91
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListKeyspacesCommandInput, ListKeyspacesCommandOutput>;
92
- /**
93
- * @internal
94
- */
95
- private serialize;
96
- /**
97
- * @internal
98
- */
99
- private deserialize;
84
+ export declare class ListKeyspacesCommand extends ListKeyspacesCommand_base {
100
85
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
5
4
  import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListTablesCommandInput extends ListTablesRequest {
21
20
  */
22
21
  export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListTablesCommand_base: {
24
+ new (input: ListTablesCommandInput): import("@smithy/smithy-client").CommandImpl<ListTablesCommandInput, ListTablesCommandOutput, KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns a list of tables for a specified keyspace.</p>
@@ -76,23 +79,5 @@ export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataB
76
79
  * <p>Base exception class for all service exceptions from Keyspaces service.</p>
77
80
  *
78
81
  */
79
- export declare class ListTablesCommand extends $Command<ListTablesCommandInput, ListTablesCommandOutput, KeyspacesClientResolvedConfig> {
80
- readonly input: ListTablesCommandInput;
81
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
82
- /**
83
- * @public
84
- */
85
- constructor(input: ListTablesCommandInput);
86
- /**
87
- * @internal
88
- */
89
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTablesCommandInput, ListTablesCommandOutput>;
90
- /**
91
- * @internal
92
- */
93
- private serialize;
94
- /**
95
- * @internal
96
- */
97
- private deserialize;
82
+ export declare class ListTablesCommand extends ListTablesCommand_base {
98
83
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
5
4
  import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
21
20
  */
22
21
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListTagsForResourceCommand_base: {
24
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns a list of all tags associated with the specified Amazon Keyspaces resource.</p>
@@ -75,23 +78,5 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
75
78
  * <p>Base exception class for all service exceptions from Keyspaces service.</p>
76
79
  *
77
80
  */
78
- export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, KeyspacesClientResolvedConfig> {
79
- readonly input: ListTagsForResourceCommandInput;
80
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
- /**
82
- * @public
83
- */
84
- constructor(input: ListTagsForResourceCommandInput);
85
- /**
86
- * @internal
87
- */
88
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
89
- /**
90
- * @internal
91
- */
92
- private serialize;
93
- /**
94
- * @internal
95
- */
96
- private deserialize;
81
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
97
82
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
5
4
  import { RestoreTableRequest, RestoreTableResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface RestoreTableCommandInput extends RestoreTableRequest {
21
20
  */
22
21
  export interface RestoreTableCommandOutput extends RestoreTableResponse, __MetadataBearer {
23
22
  }
23
+ declare const RestoreTableCommand_base: {
24
+ new (input: RestoreTableCommandInput): import("@smithy/smithy-client").CommandImpl<RestoreTableCommandInput, RestoreTableCommandOutput, KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Restores the specified table to the specified point in time within the
@@ -140,23 +143,5 @@ export interface RestoreTableCommandOutput extends RestoreTableResponse, __Metad
140
143
  * <p>Base exception class for all service exceptions from Keyspaces service.</p>
141
144
  *
142
145
  */
143
- export declare class RestoreTableCommand extends $Command<RestoreTableCommandInput, RestoreTableCommandOutput, KeyspacesClientResolvedConfig> {
144
- readonly input: RestoreTableCommandInput;
145
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
146
- /**
147
- * @public
148
- */
149
- constructor(input: RestoreTableCommandInput);
150
- /**
151
- * @internal
152
- */
153
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RestoreTableCommandInput, RestoreTableCommandOutput>;
154
- /**
155
- * @internal
156
- */
157
- private serialize;
158
- /**
159
- * @internal
160
- */
161
- private deserialize;
146
+ export declare class RestoreTableCommand extends RestoreTableCommand_base {
162
147
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
5
4
  import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface TagResourceCommandInput extends TagResourceRequest {
21
20
  */
22
21
  export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const TagResourceCommand_base: {
24
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Associates a set of tags with a Amazon Keyspaces resource. You can then
@@ -77,23 +80,5 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
77
80
  * <p>Base exception class for all service exceptions from Keyspaces service.</p>
78
81
  *
79
82
  */
80
- export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, KeyspacesClientResolvedConfig> {
81
- readonly input: TagResourceCommandInput;
82
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
- /**
84
- * @public
85
- */
86
- constructor(input: TagResourceCommandInput);
87
- /**
88
- * @internal
89
- */
90
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
91
- /**
92
- * @internal
93
- */
94
- private serialize;
95
- /**
96
- * @internal
97
- */
98
- private deserialize;
83
+ export declare class TagResourceCommand extends TagResourceCommand_base {
99
84
  }