@aws-sdk/client-keyspaces 3.54.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 (128) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +219 -0
  4. package/dist-cjs/Keyspaces.js +202 -0
  5. package/dist-cjs/KeyspacesClient.js +35 -0
  6. package/dist-cjs/commands/CreateKeyspaceCommand.js +36 -0
  7. package/dist-cjs/commands/CreateTableCommand.js +36 -0
  8. package/dist-cjs/commands/DeleteKeyspaceCommand.js +36 -0
  9. package/dist-cjs/commands/DeleteTableCommand.js +36 -0
  10. package/dist-cjs/commands/GetKeyspaceCommand.js +36 -0
  11. package/dist-cjs/commands/GetTableCommand.js +36 -0
  12. package/dist-cjs/commands/ListKeyspacesCommand.js +36 -0
  13. package/dist-cjs/commands/ListTablesCommand.js +36 -0
  14. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  15. package/dist-cjs/commands/RestoreTableCommand.js +36 -0
  16. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  17. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  18. package/dist-cjs/commands/UpdateTableCommand.js +36 -0
  19. package/dist-cjs/commands/index.js +16 -0
  20. package/dist-cjs/endpoints.js +131 -0
  21. package/dist-cjs/index.js +11 -0
  22. package/dist-cjs/models/KeyspacesServiceException.js +11 -0
  23. package/dist-cjs/models/index.js +4 -0
  24. package/dist-cjs/models/models_0.js +364 -0
  25. package/dist-cjs/pagination/Interfaces.js +2 -0
  26. package/dist-cjs/pagination/ListKeyspacesPaginator.js +35 -0
  27. package/dist-cjs/pagination/ListTablesPaginator.js +35 -0
  28. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +35 -0
  29. package/dist-cjs/pagination/index.js +7 -0
  30. package/dist-cjs/protocols/Aws_json1_0.js +1455 -0
  31. package/dist-cjs/runtimeConfig.browser.js +45 -0
  32. package/dist-cjs/runtimeConfig.js +50 -0
  33. package/dist-cjs/runtimeConfig.native.js +16 -0
  34. package/dist-cjs/runtimeConfig.shared.js +17 -0
  35. package/dist-es/Keyspaces.js +205 -0
  36. package/dist-es/KeyspacesClient.js +37 -0
  37. package/dist-es/commands/CreateKeyspaceCommand.js +39 -0
  38. package/dist-es/commands/CreateTableCommand.js +39 -0
  39. package/dist-es/commands/DeleteKeyspaceCommand.js +39 -0
  40. package/dist-es/commands/DeleteTableCommand.js +39 -0
  41. package/dist-es/commands/GetKeyspaceCommand.js +39 -0
  42. package/dist-es/commands/GetTableCommand.js +39 -0
  43. package/dist-es/commands/ListKeyspacesCommand.js +39 -0
  44. package/dist-es/commands/ListTablesCommand.js +39 -0
  45. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  46. package/dist-es/commands/RestoreTableCommand.js +39 -0
  47. package/dist-es/commands/TagResourceCommand.js +39 -0
  48. package/dist-es/commands/UntagResourceCommand.js +39 -0
  49. package/dist-es/commands/UpdateTableCommand.js +39 -0
  50. package/dist-es/commands/index.js +13 -0
  51. package/dist-es/endpoints.js +127 -0
  52. package/dist-es/index.js +6 -0
  53. package/dist-es/models/KeyspacesServiceException.js +12 -0
  54. package/dist-es/models/index.js +1 -0
  55. package/dist-es/models/models_0.js +273 -0
  56. package/dist-es/pagination/Interfaces.js +1 -0
  57. package/dist-es/pagination/ListKeyspacesPaginator.js +74 -0
  58. package/dist-es/pagination/ListTablesPaginator.js +74 -0
  59. package/dist-es/pagination/ListTagsForResourcePaginator.js +74 -0
  60. package/dist-es/pagination/index.js +4 -0
  61. package/dist-es/protocols/Aws_json1_0.js +1627 -0
  62. package/dist-es/runtimeConfig.browser.js +26 -0
  63. package/dist-es/runtimeConfig.js +28 -0
  64. package/dist-es/runtimeConfig.native.js +8 -0
  65. package/dist-es/runtimeConfig.shared.js +13 -0
  66. package/dist-types/Keyspaces.d.ts +187 -0
  67. package/dist-types/KeyspacesClient.d.ts +173 -0
  68. package/dist-types/commands/CreateKeyspaceCommand.d.ts +41 -0
  69. package/dist-types/commands/CreateTableCommand.d.ts +42 -0
  70. package/dist-types/commands/DeleteKeyspaceCommand.d.ts +35 -0
  71. package/dist-types/commands/DeleteTableCommand.d.ts +40 -0
  72. package/dist-types/commands/GetKeyspaceCommand.d.ts +35 -0
  73. package/dist-types/commands/GetTableCommand.d.ts +38 -0
  74. package/dist-types/commands/ListKeyspacesCommand.d.ts +35 -0
  75. package/dist-types/commands/ListTablesCommand.d.ts +35 -0
  76. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  77. package/dist-types/commands/RestoreTableCommand.d.ts +79 -0
  78. package/dist-types/commands/TagResourceCommand.d.ts +41 -0
  79. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  80. package/dist-types/commands/UpdateTableCommand.d.ts +37 -0
  81. package/dist-types/commands/index.d.ts +13 -0
  82. package/dist-types/endpoints.d.ts +2 -0
  83. package/dist-types/index.d.ts +6 -0
  84. package/dist-types/models/KeyspacesServiceException.d.ts +10 -0
  85. package/dist-types/models/index.d.ts +1 -0
  86. package/dist-types/models/models_0.d.ts +1307 -0
  87. package/dist-types/pagination/Interfaces.d.ts +6 -0
  88. package/dist-types/pagination/ListKeyspacesPaginator.d.ts +4 -0
  89. package/dist-types/pagination/ListTablesPaginator.d.ts +4 -0
  90. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +4 -0
  91. package/dist-types/pagination/index.d.ts +4 -0
  92. package/dist-types/protocols/Aws_json1_0.d.ts +41 -0
  93. package/dist-types/runtimeConfig.browser.d.ts +40 -0
  94. package/dist-types/runtimeConfig.d.ts +40 -0
  95. package/dist-types/runtimeConfig.native.d.ts +39 -0
  96. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  97. package/dist-types/ts3.4/Keyspaces.d.ts +70 -0
  98. package/dist-types/ts3.4/KeyspacesClient.d.ts +86 -0
  99. package/dist-types/ts3.4/commands/CreateKeyspaceCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/DeleteKeyspaceCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/GetKeyspaceCommand.d.ts +17 -0
  104. package/dist-types/ts3.4/commands/GetTableCommand.d.ts +17 -0
  105. package/dist-types/ts3.4/commands/ListKeyspacesCommand.d.ts +17 -0
  106. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  108. package/dist-types/ts3.4/commands/RestoreTableCommand.d.ts +17 -0
  109. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  110. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  111. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +17 -0
  112. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  113. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  114. package/dist-types/ts3.4/index.d.ts +6 -0
  115. package/dist-types/ts3.4/models/KeyspacesServiceException.d.ts +6 -0
  116. package/dist-types/ts3.4/models/index.d.ts +1 -0
  117. package/dist-types/ts3.4/models/models_0.d.ts +539 -0
  118. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  119. package/dist-types/ts3.4/pagination/ListKeyspacesPaginator.d.ts +4 -0
  120. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +4 -0
  121. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +4 -0
  122. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  123. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +41 -0
  124. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  125. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  126. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  127. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  128. package/package.json +93 -0
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
4
+ import { GetKeyspaceRequest, GetKeyspaceResponse } from "../models/models_0";
5
+ export interface GetKeyspaceCommandInput extends GetKeyspaceRequest {
6
+ }
7
+ export interface GetKeyspaceCommandOutput extends GetKeyspaceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Returns the name and the Amazon Resource Name (ARN) of the specified table.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { KeyspacesClient, GetKeyspaceCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
15
+ * // const { KeyspacesClient, GetKeyspaceCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
16
+ * const client = new KeyspacesClient(config);
17
+ * const command = new GetKeyspaceCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetKeyspaceCommandInput} for command's `input` shape.
22
+ * @see {@link GetKeyspaceCommandOutput} for command's `response` shape.
23
+ * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetKeyspaceCommand extends $Command<GetKeyspaceCommandInput, GetKeyspaceCommandOutput, KeyspacesClientResolvedConfig> {
27
+ readonly input: GetKeyspaceCommandInput;
28
+ constructor(input: GetKeyspaceCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetKeyspaceCommandInput, GetKeyspaceCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,38 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
4
+ import { GetTableRequest, GetTableResponse } from "../models/models_0";
5
+ export interface GetTableCommandInput extends GetTableRequest {
6
+ }
7
+ export interface GetTableCommandOutput extends GetTableResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Returns information about the table, including the table's name and current status, the keyspace name,
11
+ * configuration settings, and metadata.</p>
12
+ * <p>To read table metadata using <code>GetTable</code>, <code>Select</code> action
13
+ * permissions for the table and system tables are required to complete the operation.</p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { KeyspacesClient, GetTableCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
18
+ * // const { KeyspacesClient, GetTableCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
19
+ * const client = new KeyspacesClient(config);
20
+ * const command = new GetTableCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link GetTableCommandInput} for command's `input` shape.
25
+ * @see {@link GetTableCommandOutput} for command's `response` shape.
26
+ * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class GetTableCommand extends $Command<GetTableCommandInput, GetTableCommandOutput, KeyspacesClientResolvedConfig> {
30
+ readonly input: GetTableCommandInput;
31
+ constructor(input: GetTableCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTableCommandInput, GetTableCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
4
+ import { ListKeyspacesRequest, ListKeyspacesResponse } from "../models/models_0";
5
+ export interface ListKeyspacesCommandInput extends ListKeyspacesRequest {
6
+ }
7
+ export interface ListKeyspacesCommandOutput extends ListKeyspacesResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Returns a list of keyspaces.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { KeyspacesClient, ListKeyspacesCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
15
+ * // const { KeyspacesClient, ListKeyspacesCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
16
+ * const client = new KeyspacesClient(config);
17
+ * const command = new ListKeyspacesCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListKeyspacesCommandInput} for command's `input` shape.
22
+ * @see {@link ListKeyspacesCommandOutput} for command's `response` shape.
23
+ * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListKeyspacesCommand extends $Command<ListKeyspacesCommandInput, ListKeyspacesCommandOutput, KeyspacesClientResolvedConfig> {
27
+ readonly input: ListKeyspacesCommandInput;
28
+ constructor(input: ListKeyspacesCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListKeyspacesCommandInput, ListKeyspacesCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
4
+ import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
5
+ export interface ListTablesCommandInput extends ListTablesRequest {
6
+ }
7
+ export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Returns a list of tables for a specified keyspace.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { KeyspacesClient, ListTablesCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
15
+ * // const { KeyspacesClient, ListTablesCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
16
+ * const client = new KeyspacesClient(config);
17
+ * const command = new ListTablesCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListTablesCommandInput} for command's `input` shape.
22
+ * @see {@link ListTablesCommandOutput} for command's `response` shape.
23
+ * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListTablesCommand extends $Command<ListTablesCommandInput, ListTablesCommandOutput, KeyspacesClientResolvedConfig> {
27
+ readonly input: ListTablesCommandInput;
28
+ constructor(input: ListTablesCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTablesCommandInput, ListTablesCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
4
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
6
+ }
7
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Returns a list of all tags associated with the specified Amazon Keyspaces resource.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { KeyspacesClient, ListTagsForResourceCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
15
+ * // const { KeyspacesClient, ListTagsForResourceCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
16
+ * const client = new KeyspacesClient(config);
17
+ * const command = new ListTagsForResourceCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
22
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
23
+ * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, KeyspacesClientResolvedConfig> {
27
+ readonly input: ListTagsForResourceCommandInput;
28
+ constructor(input: ListTagsForResourceCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,79 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
4
+ import { RestoreTableRequest, RestoreTableResponse } from "../models/models_0";
5
+ export interface RestoreTableCommandInput extends RestoreTableRequest {
6
+ }
7
+ export interface RestoreTableCommandOutput extends RestoreTableResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Restores the specified table to the specified point in time within the
11
+ * <code>earliest_restorable_timestamp</code> and the current time. For more information about restore points, see
12
+ * <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_window">
13
+ * Time window for PITR continuous backups</a> in the <i>Amazon Keyspaces Developer Guide</i>.
14
+ * </p>
15
+ * <p>
16
+ * Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.</p>
17
+ * <p>When you restore using point in time recovery, Amazon Keyspaces restores your source table's schema and data to the state
18
+ * based on the selected timestamp <code>(day:hour:minute:second)</code> to a new table. The Time to Live (TTL) settings
19
+ * are also restored to the state based on the selected timestamp.</p>
20
+ * <p>In addition to the table's schema, data, and TTL settings, <code>RestoreTable</code> restores the capacity mode, encryption, and
21
+ * point-in-time recovery settings from the source table.
22
+ * Unlike the table's schema data and TTL settings, which are restored based on the selected timestamp,
23
+ * these settings are always restored based on the table's settings as of the current time or when the table was deleted.</p>
24
+ * <p>You can also overwrite these settings during restore:</p>
25
+ * <ul>
26
+ * <li>
27
+ * <p>Read/write capacity mode</p>
28
+ * </li>
29
+ * <li>
30
+ * <p>Provisioned throughput capacity settings</p>
31
+ * </li>
32
+ * <li>
33
+ * <p>Point-in-time (PITR) settings</p>
34
+ * </li>
35
+ * <li>
36
+ * <p>Tags</p>
37
+ * </li>
38
+ * </ul>
39
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_settings">PITR restore settings</a> in the <i>Amazon Keyspaces Developer
40
+ * Guide</i>.</p>
41
+ * <p>The following settings are not restored, and you must configure them manually for the
42
+ * new table. </p>
43
+ * <ul>
44
+ * <li>
45
+ * <p>Automatic scaling policies (for tables that use provisioned capacity
46
+ * mode)</p>
47
+ * </li>
48
+ * <li>
49
+ * <p>Identity and Access Management (IAM) policies</p>
50
+ * </li>
51
+ * <li>
52
+ * <p>Amazon CloudWatch metrics and alarms</p>
53
+ * </li>
54
+ * </ul>
55
+ * @example
56
+ * Use a bare-bones client and the command you need to make an API call.
57
+ * ```javascript
58
+ * import { KeyspacesClient, RestoreTableCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
59
+ * // const { KeyspacesClient, RestoreTableCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
60
+ * const client = new KeyspacesClient(config);
61
+ * const command = new RestoreTableCommand(input);
62
+ * const response = await client.send(command);
63
+ * ```
64
+ *
65
+ * @see {@link RestoreTableCommandInput} for command's `input` shape.
66
+ * @see {@link RestoreTableCommandOutput} for command's `response` shape.
67
+ * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
68
+ *
69
+ */
70
+ export declare class RestoreTableCommand extends $Command<RestoreTableCommandInput, RestoreTableCommandOutput, KeyspacesClientResolvedConfig> {
71
+ readonly input: RestoreTableCommandInput;
72
+ constructor(input: RestoreTableCommandInput);
73
+ /**
74
+ * @internal
75
+ */
76
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RestoreTableCommandInput, RestoreTableCommandOutput>;
77
+ private serialize;
78
+ private deserialize;
79
+ }
@@ -0,0 +1,41 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
4
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ export interface TagResourceCommandInput extends TagResourceRequest {
6
+ }
7
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Associates a set of tags with a Amazon Keyspaces resource. You can then
11
+ * activate these user-defined tags so that they appear on the Cost Management Console for cost allocation tracking.
12
+ * For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html">Adding tags and labels to Amazon Keyspaces resources</a> in the <i>Amazon Keyspaces Developer
13
+ * Guide</i>.</p>
14
+ * <p>For IAM policy examples that show how to control access to Amazon Keyspaces resources based on tags,
15
+ * see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/security_iam_id-based-policy-examples-tags">Amazon Keyspaces resource access based on tags</a>
16
+ * in the <i>Amazon Keyspaces Developer Guide</i>.</p>
17
+ * @example
18
+ * Use a bare-bones client and the command you need to make an API call.
19
+ * ```javascript
20
+ * import { KeyspacesClient, TagResourceCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
21
+ * // const { KeyspacesClient, TagResourceCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
22
+ * const client = new KeyspacesClient(config);
23
+ * const command = new TagResourceCommand(input);
24
+ * const response = await client.send(command);
25
+ * ```
26
+ *
27
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
28
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
29
+ * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
30
+ *
31
+ */
32
+ export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, KeyspacesClientResolvedConfig> {
33
+ readonly input: TagResourceCommandInput;
34
+ constructor(input: TagResourceCommandInput);
35
+ /**
36
+ * @internal
37
+ */
38
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
4
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
6
+ }
7
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Removes the association of tags from a Amazon Keyspaces resource.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { KeyspacesClient, UntagResourceCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
15
+ * // const { KeyspacesClient, UntagResourceCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
16
+ * const client = new KeyspacesClient(config);
17
+ * const command = new UntagResourceCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
22
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
23
+ * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, KeyspacesClientResolvedConfig> {
27
+ readonly input: UntagResourceCommandInput;
28
+ constructor(input: UntagResourceCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,37 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
4
+ import { UpdateTableRequest, UpdateTableResponse } from "../models/models_0";
5
+ export interface UpdateTableCommandInput extends UpdateTableRequest {
6
+ }
7
+ export interface UpdateTableCommandOutput extends UpdateTableResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Adds new columns to the table or updates one of the table's settings, for example
11
+ * capacity mode, encryption, point-in-time recovery, or ttl settings.
12
+ * Note that you can only update one specific table setting per update operation.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { KeyspacesClient, UpdateTableCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
17
+ * // const { KeyspacesClient, UpdateTableCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
18
+ * const client = new KeyspacesClient(config);
19
+ * const command = new UpdateTableCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link UpdateTableCommandInput} for command's `input` shape.
24
+ * @see {@link UpdateTableCommandOutput} for command's `response` shape.
25
+ * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class UpdateTableCommand extends $Command<UpdateTableCommandInput, UpdateTableCommandOutput, KeyspacesClientResolvedConfig> {
29
+ readonly input: UpdateTableCommandInput;
30
+ constructor(input: UpdateTableCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTableCommandInput, UpdateTableCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,13 @@
1
+ export * from "./CreateKeyspaceCommand";
2
+ export * from "./CreateTableCommand";
3
+ export * from "./DeleteKeyspaceCommand";
4
+ export * from "./DeleteTableCommand";
5
+ export * from "./GetKeyspaceCommand";
6
+ export * from "./GetTableCommand";
7
+ export * from "./ListKeyspacesCommand";
8
+ export * from "./ListTablesCommand";
9
+ export * from "./ListTagsForResourceCommand";
10
+ export * from "./RestoreTableCommand";
11
+ export * from "./TagResourceCommand";
12
+ export * from "./UntagResourceCommand";
13
+ export * from "./UpdateTableCommand";
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,6 @@
1
+ export * from "./Keyspaces";
2
+ export * from "./KeyspacesClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { KeyspacesServiceException } from "./models/KeyspacesServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from Keyspaces service.
4
+ */
5
+ export declare class KeyspacesServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";