@aws-sdk/client-keyspaces 3.296.0 → 3.298.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 (51) hide show
  1. package/dist-cjs/commands/CreateKeyspaceCommand.js +2 -3
  2. package/dist-cjs/commands/CreateTableCommand.js +2 -3
  3. package/dist-cjs/commands/DeleteKeyspaceCommand.js +2 -3
  4. package/dist-cjs/commands/DeleteTableCommand.js +2 -3
  5. package/dist-cjs/commands/GetKeyspaceCommand.js +2 -3
  6. package/dist-cjs/commands/GetTableCommand.js +2 -3
  7. package/dist-cjs/commands/ListKeyspacesCommand.js +2 -3
  8. package/dist-cjs/commands/ListTablesCommand.js +2 -3
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
  10. package/dist-cjs/commands/RestoreTableCommand.js +2 -3
  11. package/dist-cjs/commands/TagResourceCommand.js +2 -3
  12. package/dist-cjs/commands/UntagResourceCommand.js +2 -3
  13. package/dist-cjs/commands/UpdateTableCommand.js +2 -3
  14. package/dist-cjs/models/models_0.js +1 -170
  15. package/dist-es/commands/CreateKeyspaceCommand.js +2 -3
  16. package/dist-es/commands/CreateTableCommand.js +2 -3
  17. package/dist-es/commands/DeleteKeyspaceCommand.js +2 -3
  18. package/dist-es/commands/DeleteTableCommand.js +2 -3
  19. package/dist-es/commands/GetKeyspaceCommand.js +2 -3
  20. package/dist-es/commands/GetTableCommand.js +2 -3
  21. package/dist-es/commands/ListKeyspacesCommand.js +2 -3
  22. package/dist-es/commands/ListTablesCommand.js +2 -3
  23. package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
  24. package/dist-es/commands/RestoreTableCommand.js +2 -3
  25. package/dist-es/commands/TagResourceCommand.js +2 -3
  26. package/dist-es/commands/UntagResourceCommand.js +2 -3
  27. package/dist-es/commands/UpdateTableCommand.js +2 -3
  28. package/dist-es/models/models_0.js +0 -126
  29. package/dist-types/Keyspaces.d.ts +14 -0
  30. package/dist-types/KeyspacesClient.d.ts +24 -4
  31. package/dist-types/commands/CreateKeyspaceCommand.d.ts +16 -0
  32. package/dist-types/commands/CreateTableCommand.d.ts +16 -0
  33. package/dist-types/commands/DeleteKeyspaceCommand.d.ts +16 -0
  34. package/dist-types/commands/DeleteTableCommand.d.ts +16 -0
  35. package/dist-types/commands/GetKeyspaceCommand.d.ts +16 -0
  36. package/dist-types/commands/GetTableCommand.d.ts +16 -0
  37. package/dist-types/commands/ListKeyspacesCommand.d.ts +16 -0
  38. package/dist-types/commands/ListTablesCommand.d.ts +16 -0
  39. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  40. package/dist-types/commands/RestoreTableCommand.d.ts +16 -0
  41. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  42. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  43. package/dist-types/commands/UpdateTableCommand.d.ts +16 -0
  44. package/dist-types/models/KeyspacesServiceException.d.ts +2 -0
  45. package/dist-types/models/models_0.d.ts +121 -168
  46. package/dist-types/pagination/Interfaces.d.ts +3 -0
  47. package/dist-types/pagination/ListKeyspacesPaginator.d.ts +3 -0
  48. package/dist-types/pagination/ListTablesPaginator.d.ts +3 -0
  49. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +3 -0
  50. package/dist-types/ts3.4/models/models_0.d.ts +0 -114
  51. package/package.json +4 -3
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0TagResourceCommand, serializeAws_json1_0TagResourceCommand, } from "../protocols/Aws_json1_0";
6
5
  export class TagResourceCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class TagResourceCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0UntagResourceCommand, serializeAws_json1_0UntagResourceCommand, } from "../protocols/Aws_json1_0";
6
5
  export class UntagResourceCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class UntagResourceCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateTableRequestFilterSensitiveLog, UpdateTableResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0UpdateTableCommand, serializeAws_json1_0UpdateTableCommand, } from "../protocols/Aws_json1_0";
6
5
  export class UpdateTableCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class UpdateTableCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: UpdateTableRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: UpdateTableResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -110,129 +110,3 @@ export var TableStatus;
110
110
  TableStatus["RESTORING"] = "RESTORING";
111
111
  TableStatus["UPDATING"] = "UPDATING";
112
112
  })(TableStatus || (TableStatus = {}));
113
- export const CapacitySpecificationFilterSensitiveLog = (obj) => ({
114
- ...obj,
115
- });
116
- export const CapacitySpecificationSummaryFilterSensitiveLog = (obj) => ({
117
- ...obj,
118
- });
119
- export const ClientSideTimestampsFilterSensitiveLog = (obj) => ({
120
- ...obj,
121
- });
122
- export const ClusteringKeyFilterSensitiveLog = (obj) => ({
123
- ...obj,
124
- });
125
- export const ColumnDefinitionFilterSensitiveLog = (obj) => ({
126
- ...obj,
127
- });
128
- export const CommentFilterSensitiveLog = (obj) => ({
129
- ...obj,
130
- });
131
- export const TagFilterSensitiveLog = (obj) => ({
132
- ...obj,
133
- });
134
- export const CreateKeyspaceRequestFilterSensitiveLog = (obj) => ({
135
- ...obj,
136
- });
137
- export const CreateKeyspaceResponseFilterSensitiveLog = (obj) => ({
138
- ...obj,
139
- });
140
- export const EncryptionSpecificationFilterSensitiveLog = (obj) => ({
141
- ...obj,
142
- });
143
- export const PointInTimeRecoveryFilterSensitiveLog = (obj) => ({
144
- ...obj,
145
- });
146
- export const PartitionKeyFilterSensitiveLog = (obj) => ({
147
- ...obj,
148
- });
149
- export const StaticColumnFilterSensitiveLog = (obj) => ({
150
- ...obj,
151
- });
152
- export const SchemaDefinitionFilterSensitiveLog = (obj) => ({
153
- ...obj,
154
- });
155
- export const TimeToLiveFilterSensitiveLog = (obj) => ({
156
- ...obj,
157
- });
158
- export const CreateTableRequestFilterSensitiveLog = (obj) => ({
159
- ...obj,
160
- });
161
- export const CreateTableResponseFilterSensitiveLog = (obj) => ({
162
- ...obj,
163
- });
164
- export const DeleteKeyspaceRequestFilterSensitiveLog = (obj) => ({
165
- ...obj,
166
- });
167
- export const DeleteKeyspaceResponseFilterSensitiveLog = (obj) => ({
168
- ...obj,
169
- });
170
- export const DeleteTableRequestFilterSensitiveLog = (obj) => ({
171
- ...obj,
172
- });
173
- export const DeleteTableResponseFilterSensitiveLog = (obj) => ({
174
- ...obj,
175
- });
176
- export const GetKeyspaceRequestFilterSensitiveLog = (obj) => ({
177
- ...obj,
178
- });
179
- export const GetKeyspaceResponseFilterSensitiveLog = (obj) => ({
180
- ...obj,
181
- });
182
- export const GetTableRequestFilterSensitiveLog = (obj) => ({
183
- ...obj,
184
- });
185
- export const PointInTimeRecoverySummaryFilterSensitiveLog = (obj) => ({
186
- ...obj,
187
- });
188
- export const GetTableResponseFilterSensitiveLog = (obj) => ({
189
- ...obj,
190
- });
191
- export const ListKeyspacesRequestFilterSensitiveLog = (obj) => ({
192
- ...obj,
193
- });
194
- export const KeyspaceSummaryFilterSensitiveLog = (obj) => ({
195
- ...obj,
196
- });
197
- export const ListKeyspacesResponseFilterSensitiveLog = (obj) => ({
198
- ...obj,
199
- });
200
- export const ListTablesRequestFilterSensitiveLog = (obj) => ({
201
- ...obj,
202
- });
203
- export const TableSummaryFilterSensitiveLog = (obj) => ({
204
- ...obj,
205
- });
206
- export const ListTablesResponseFilterSensitiveLog = (obj) => ({
207
- ...obj,
208
- });
209
- export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
210
- ...obj,
211
- });
212
- export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
213
- ...obj,
214
- });
215
- export const RestoreTableRequestFilterSensitiveLog = (obj) => ({
216
- ...obj,
217
- });
218
- export const RestoreTableResponseFilterSensitiveLog = (obj) => ({
219
- ...obj,
220
- });
221
- export const TagResourceRequestFilterSensitiveLog = (obj) => ({
222
- ...obj,
223
- });
224
- export const TagResourceResponseFilterSensitiveLog = (obj) => ({
225
- ...obj,
226
- });
227
- export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
228
- ...obj,
229
- });
230
- export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
231
- ...obj,
232
- });
233
- export const UpdateTableRequestFilterSensitiveLog = (obj) => ({
234
- ...obj,
235
- });
236
- export const UpdateTableResponseFilterSensitiveLog = (obj) => ({
237
- ...obj,
238
- });
@@ -14,6 +14,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
14
14
  import { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
15
15
  import { KeyspacesClient } from "./KeyspacesClient";
16
16
  /**
17
+ * @public
17
18
  * <p>Amazon Keyspaces (for Apache Cassandra) is a scalable,
18
19
  * highly available, and managed Apache Cassandra-compatible database service. Amazon Keyspaces makes it easy to migrate,
19
20
  * 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,
@@ -31,6 +32,7 @@ import { KeyspacesClient } from "./KeyspacesClient";
31
32
  */
32
33
  export declare class Keyspaces extends KeyspacesClient {
33
34
  /**
35
+ * @public
34
36
  * <p>The <code>CreateKeyspace</code> operation adds a new keyspace to your account. In an Amazon Web Services account, keyspace names
35
37
  * must be unique within each Region.</p>
36
38
  * <p>
@@ -43,6 +45,7 @@ export declare class Keyspaces extends KeyspacesClient {
43
45
  createKeyspace(args: CreateKeyspaceCommandInput, cb: (err: any, data?: CreateKeyspaceCommandOutput) => void): void;
44
46
  createKeyspace(args: CreateKeyspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateKeyspaceCommandOutput) => void): void;
45
47
  /**
48
+ * @public
46
49
  * <p>The <code>CreateTable</code> operation adds a new table to the specified keyspace. Within a keyspace, table names
47
50
  * must be unique.</p>
48
51
  * <p>
@@ -56,12 +59,14 @@ export declare class Keyspaces extends KeyspacesClient {
56
59
  createTable(args: CreateTableCommandInput, cb: (err: any, data?: CreateTableCommandOutput) => void): void;
57
60
  createTable(args: CreateTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTableCommandOutput) => void): void;
58
61
  /**
62
+ * @public
59
63
  * <p>The <code>DeleteKeyspace</code> operation deletes a keyspace and all of its tables. </p>
60
64
  */
61
65
  deleteKeyspace(args: DeleteKeyspaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKeyspaceCommandOutput>;
62
66
  deleteKeyspace(args: DeleteKeyspaceCommandInput, cb: (err: any, data?: DeleteKeyspaceCommandOutput) => void): void;
63
67
  deleteKeyspace(args: DeleteKeyspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKeyspaceCommandOutput) => void): void;
64
68
  /**
69
+ * @public
65
70
  * <p>The <code>DeleteTable</code> operation deletes a table and all of its data. After a <code>DeleteTable</code> request is received,
66
71
  * the specified table is in the <code>DELETING</code> state until Amazon Keyspaces completes the deletion. If the table
67
72
  * is in the <code>ACTIVE</code> state, you can delete it. If a table is either in the <code>CREATING</code> or <code>UPDATING</code> states, then
@@ -72,12 +77,14 @@ export declare class Keyspaces extends KeyspacesClient {
72
77
  deleteTable(args: DeleteTableCommandInput, cb: (err: any, data?: DeleteTableCommandOutput) => void): void;
73
78
  deleteTable(args: DeleteTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTableCommandOutput) => void): void;
74
79
  /**
80
+ * @public
75
81
  * <p>Returns the name and the Amazon Resource Name (ARN) of the specified table.</p>
76
82
  */
77
83
  getKeyspace(args: GetKeyspaceCommandInput, options?: __HttpHandlerOptions): Promise<GetKeyspaceCommandOutput>;
78
84
  getKeyspace(args: GetKeyspaceCommandInput, cb: (err: any, data?: GetKeyspaceCommandOutput) => void): void;
79
85
  getKeyspace(args: GetKeyspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetKeyspaceCommandOutput) => void): void;
80
86
  /**
87
+ * @public
81
88
  * <p>Returns information about the table, including the table's name and current status, the keyspace name,
82
89
  * configuration settings, and metadata.</p>
83
90
  * <p>To read table metadata using <code>GetTable</code>, <code>Select</code> action
@@ -87,24 +94,28 @@ export declare class Keyspaces extends KeyspacesClient {
87
94
  getTable(args: GetTableCommandInput, cb: (err: any, data?: GetTableCommandOutput) => void): void;
88
95
  getTable(args: GetTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableCommandOutput) => void): void;
89
96
  /**
97
+ * @public
90
98
  * <p>Returns a list of keyspaces.</p>
91
99
  */
92
100
  listKeyspaces(args: ListKeyspacesCommandInput, options?: __HttpHandlerOptions): Promise<ListKeyspacesCommandOutput>;
93
101
  listKeyspaces(args: ListKeyspacesCommandInput, cb: (err: any, data?: ListKeyspacesCommandOutput) => void): void;
94
102
  listKeyspaces(args: ListKeyspacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListKeyspacesCommandOutput) => void): void;
95
103
  /**
104
+ * @public
96
105
  * <p>Returns a list of tables for a specified keyspace.</p>
97
106
  */
98
107
  listTables(args: ListTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListTablesCommandOutput>;
99
108
  listTables(args: ListTablesCommandInput, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
100
109
  listTables(args: ListTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
101
110
  /**
111
+ * @public
102
112
  * <p>Returns a list of all tags associated with the specified Amazon Keyspaces resource.</p>
103
113
  */
104
114
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
105
115
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
106
116
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
107
117
  /**
118
+ * @public
108
119
  * <p>Restores the specified table to the specified point in time within the
109
120
  * <code>earliest_restorable_timestamp</code> and the current time. For more information about restore points, see
110
121
  * <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_window">
@@ -157,6 +168,7 @@ export declare class Keyspaces extends KeyspacesClient {
157
168
  restoreTable(args: RestoreTableCommandInput, cb: (err: any, data?: RestoreTableCommandOutput) => void): void;
158
169
  restoreTable(args: RestoreTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreTableCommandOutput) => void): void;
159
170
  /**
171
+ * @public
160
172
  * <p>Associates a set of tags with a Amazon Keyspaces resource. You can then
161
173
  * activate these user-defined tags so that they appear on the Cost Management Console for cost allocation tracking.
162
174
  * 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
@@ -169,12 +181,14 @@ export declare class Keyspaces extends KeyspacesClient {
169
181
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
170
182
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
171
183
  /**
184
+ * @public
172
185
  * <p>Removes the association of tags from a Amazon Keyspaces resource.</p>
173
186
  */
174
187
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
175
188
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
176
189
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
177
190
  /**
191
+ * @public
178
192
  * <p>Adds new columns to the table or updates one of the table's settings, for example
179
193
  * capacity mode, encryption, point-in-time recovery, or ttl settings.
180
194
  * Note that you can only update one specific table setting per update operation.</p>
@@ -21,15 +21,24 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
21
21
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
22
22
  import { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
23
23
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
24
+ /**
25
+ * @public
26
+ */
24
27
  export type ServiceInputTypes = CreateKeyspaceCommandInput | CreateTableCommandInput | DeleteKeyspaceCommandInput | DeleteTableCommandInput | GetKeyspaceCommandInput | GetTableCommandInput | ListKeyspacesCommandInput | ListTablesCommandInput | ListTagsForResourceCommandInput | RestoreTableCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateTableCommandInput;
28
+ /**
29
+ * @public
30
+ */
25
31
  export type ServiceOutputTypes = CreateKeyspaceCommandOutput | CreateTableCommandOutput | DeleteKeyspaceCommandOutput | DeleteTableCommandOutput | GetKeyspaceCommandOutput | GetTableCommandOutput | ListKeyspacesCommandOutput | ListTablesCommandOutput | ListTagsForResourceCommandOutput | RestoreTableCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateTableCommandOutput;
32
+ /**
33
+ * @public
34
+ */
26
35
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
27
36
  /**
28
37
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
29
38
  */
30
39
  requestHandler?: __HttpHandler;
31
40
  /**
32
- * A constructor for a class implementing the {@link __Checksum} interface
41
+ * A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
33
42
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
34
43
  * @internal
35
44
  */
@@ -119,23 +128,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
119
128
  */
120
129
  logger?: __Logger;
121
130
  /**
122
- * The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
131
+ * The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
123
132
  */
124
133
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
125
134
  }
135
+ /**
136
+ * @public
137
+ */
126
138
  type KeyspacesClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
127
139
  /**
128
- * The configuration interface of KeyspacesClient class constructor that set the region, credentials and other options.
140
+ * @public
141
+ *
142
+ * The configuration interface of KeyspacesClient class constructor that set the region, credentials and other options.
129
143
  */
130
144
  export interface KeyspacesClientConfig extends KeyspacesClientConfigType {
131
145
  }
146
+ /**
147
+ * @public
148
+ */
132
149
  type KeyspacesClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
133
150
  /**
134
- * The resolved configuration interface of KeyspacesClient class. This is resolved and normalized from the {@link KeyspacesClientConfig | constructor configuration interface}.
151
+ * @public
152
+ *
153
+ * The resolved configuration interface of KeyspacesClient class. This is resolved and normalized from the {@link KeyspacesClientConfig | constructor configuration interface}.
135
154
  */
136
155
  export interface KeyspacesClientResolvedConfig extends KeyspacesClientResolvedConfigType {
137
156
  }
138
157
  /**
158
+ * @public
139
159
  * <p>Amazon Keyspaces (for Apache Cassandra) is a scalable,
140
160
  * highly available, and managed Apache Cassandra-compatible database service. Amazon Keyspaces makes it easy to migrate,
141
161
  * 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,
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
5
5
  import { CreateKeyspaceRequest, CreateKeyspaceResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link CreateKeyspaceCommand}.
8
10
  */
9
11
  export interface CreateKeyspaceCommandInput extends CreateKeyspaceRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link CreateKeyspaceCommand}.
13
17
  */
14
18
  export interface CreateKeyspaceCommandOutput extends CreateKeyspaceResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>The <code>CreateKeyspace</code> operation adds a new keyspace to your account. In an Amazon Web Services account, keyspace names
18
23
  * must be unique within each Region.</p>
19
24
  * <p>
@@ -31,6 +36,8 @@ export interface CreateKeyspaceCommandOutput extends CreateKeyspaceResponse, __M
31
36
  * const response = await client.send(command);
32
37
  * ```
33
38
  *
39
+ * @param CreateKeyspaceCommandInput - {@link CreateKeyspaceCommandInput}
40
+ * @returns {@link CreateKeyspaceCommandOutput}
34
41
  * @see {@link CreateKeyspaceCommandInput} for command's `input` shape.
35
42
  * @see {@link CreateKeyspaceCommandOutput} for command's `response` shape.
36
43
  * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
@@ -58,11 +65,20 @@ export interface CreateKeyspaceCommandOutput extends CreateKeyspaceResponse, __M
58
65
  export declare class CreateKeyspaceCommand extends $Command<CreateKeyspaceCommandInput, CreateKeyspaceCommandOutput, KeyspacesClientResolvedConfig> {
59
66
  readonly input: CreateKeyspaceCommandInput;
60
67
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
68
+ /**
69
+ * @public
70
+ */
61
71
  constructor(input: CreateKeyspaceCommandInput);
62
72
  /**
63
73
  * @internal
64
74
  */
65
75
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateKeyspaceCommandInput, CreateKeyspaceCommandOutput>;
76
+ /**
77
+ * @internal
78
+ */
66
79
  private serialize;
80
+ /**
81
+ * @internal
82
+ */
67
83
  private deserialize;
68
84
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
5
5
  import { CreateTableRequest, CreateTableResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link CreateTableCommand}.
8
10
  */
9
11
  export interface CreateTableCommandInput extends CreateTableRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link CreateTableCommand}.
13
17
  */
14
18
  export interface CreateTableCommandOutput extends CreateTableResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>The <code>CreateTable</code> operation adds a new table to the specified keyspace. Within a keyspace, table names
18
23
  * must be unique.</p>
19
24
  * <p>
@@ -32,6 +37,8 @@ export interface CreateTableCommandOutput extends CreateTableResponse, __Metadat
32
37
  * const response = await client.send(command);
33
38
  * ```
34
39
  *
40
+ * @param CreateTableCommandInput - {@link CreateTableCommandInput}
41
+ * @returns {@link CreateTableCommandOutput}
35
42
  * @see {@link CreateTableCommandInput} for command's `input` shape.
36
43
  * @see {@link CreateTableCommandOutput} for command's `response` shape.
37
44
  * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
@@ -62,11 +69,20 @@ export interface CreateTableCommandOutput extends CreateTableResponse, __Metadat
62
69
  export declare class CreateTableCommand extends $Command<CreateTableCommandInput, CreateTableCommandOutput, KeyspacesClientResolvedConfig> {
63
70
  readonly input: CreateTableCommandInput;
64
71
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
72
+ /**
73
+ * @public
74
+ */
65
75
  constructor(input: CreateTableCommandInput);
66
76
  /**
67
77
  * @internal
68
78
  */
69
79
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTableCommandInput, CreateTableCommandOutput>;
80
+ /**
81
+ * @internal
82
+ */
70
83
  private serialize;
84
+ /**
85
+ * @internal
86
+ */
71
87
  private deserialize;
72
88
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
5
5
  import { DeleteKeyspaceRequest, DeleteKeyspaceResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link DeleteKeyspaceCommand}.
8
10
  */
9
11
  export interface DeleteKeyspaceCommandInput extends DeleteKeyspaceRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link DeleteKeyspaceCommand}.
13
17
  */
14
18
  export interface DeleteKeyspaceCommandOutput extends DeleteKeyspaceResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>The <code>DeleteKeyspace</code> operation deletes a keyspace and all of its tables. </p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface DeleteKeyspaceCommandOutput extends DeleteKeyspaceResponse, __M
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param DeleteKeyspaceCommandInput - {@link DeleteKeyspaceCommandInput}
34
+ * @returns {@link DeleteKeyspaceCommandOutput}
28
35
  * @see {@link DeleteKeyspaceCommandInput} for command's `input` shape.
29
36
  * @see {@link DeleteKeyspaceCommandOutput} for command's `response` shape.
30
37
  * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
@@ -55,11 +62,20 @@ export interface DeleteKeyspaceCommandOutput extends DeleteKeyspaceResponse, __M
55
62
  export declare class DeleteKeyspaceCommand extends $Command<DeleteKeyspaceCommandInput, DeleteKeyspaceCommandOutput, KeyspacesClientResolvedConfig> {
56
63
  readonly input: DeleteKeyspaceCommandInput;
57
64
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
65
+ /**
66
+ * @public
67
+ */
58
68
  constructor(input: DeleteKeyspaceCommandInput);
59
69
  /**
60
70
  * @internal
61
71
  */
62
72
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteKeyspaceCommandInput, DeleteKeyspaceCommandOutput>;
73
+ /**
74
+ * @internal
75
+ */
63
76
  private serialize;
77
+ /**
78
+ * @internal
79
+ */
64
80
  private deserialize;
65
81
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
5
5
  import { DeleteTableRequest, DeleteTableResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link DeleteTableCommand}.
8
10
  */
9
11
  export interface DeleteTableCommandInput extends DeleteTableRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link DeleteTableCommand}.
13
17
  */
14
18
  export interface DeleteTableCommandOutput extends DeleteTableResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>The <code>DeleteTable</code> operation deletes a table and all of its data. After a <code>DeleteTable</code> request is received,
18
23
  * the specified table is in the <code>DELETING</code> state until Amazon Keyspaces completes the deletion. If the table
19
24
  * is in the <code>ACTIVE</code> state, you can delete it. If a table is either in the <code>CREATING</code> or <code>UPDATING</code> states, then
@@ -29,6 +34,8 @@ export interface DeleteTableCommandOutput extends DeleteTableResponse, __Metadat
29
34
  * const response = await client.send(command);
30
35
  * ```
31
36
  *
37
+ * @param DeleteTableCommandInput - {@link DeleteTableCommandInput}
38
+ * @returns {@link DeleteTableCommandOutput}
32
39
  * @see {@link DeleteTableCommandInput} for command's `input` shape.
33
40
  * @see {@link DeleteTableCommandOutput} for command's `response` shape.
34
41
  * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
@@ -59,11 +66,20 @@ export interface DeleteTableCommandOutput extends DeleteTableResponse, __Metadat
59
66
  export declare class DeleteTableCommand extends $Command<DeleteTableCommandInput, DeleteTableCommandOutput, KeyspacesClientResolvedConfig> {
60
67
  readonly input: DeleteTableCommandInput;
61
68
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
69
+ /**
70
+ * @public
71
+ */
62
72
  constructor(input: DeleteTableCommandInput);
63
73
  /**
64
74
  * @internal
65
75
  */
66
76
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTableCommandInput, DeleteTableCommandOutput>;
77
+ /**
78
+ * @internal
79
+ */
67
80
  private serialize;
81
+ /**
82
+ * @internal
83
+ */
68
84
  private deserialize;
69
85
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
5
5
  import { GetKeyspaceRequest, GetKeyspaceResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link GetKeyspaceCommand}.
8
10
  */
9
11
  export interface GetKeyspaceCommandInput extends GetKeyspaceRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link GetKeyspaceCommand}.
13
17
  */
14
18
  export interface GetKeyspaceCommandOutput extends GetKeyspaceResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Returns the name and the Amazon Resource Name (ARN) of the specified table.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface GetKeyspaceCommandOutput extends GetKeyspaceResponse, __Metadat
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param GetKeyspaceCommandInput - {@link GetKeyspaceCommandInput}
34
+ * @returns {@link GetKeyspaceCommandOutput}
28
35
  * @see {@link GetKeyspaceCommandInput} for command's `input` shape.
29
36
  * @see {@link GetKeyspaceCommandOutput} for command's `response` shape.
30
37
  * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
@@ -50,11 +57,20 @@ export interface GetKeyspaceCommandOutput extends GetKeyspaceResponse, __Metadat
50
57
  export declare class GetKeyspaceCommand extends $Command<GetKeyspaceCommandInput, GetKeyspaceCommandOutput, KeyspacesClientResolvedConfig> {
51
58
  readonly input: GetKeyspaceCommandInput;
52
59
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
60
+ /**
61
+ * @public
62
+ */
53
63
  constructor(input: GetKeyspaceCommandInput);
54
64
  /**
55
65
  * @internal
56
66
  */
57
67
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetKeyspaceCommandInput, GetKeyspaceCommandOutput>;
68
+ /**
69
+ * @internal
70
+ */
58
71
  private serialize;
72
+ /**
73
+ * @internal
74
+ */
59
75
  private deserialize;
60
76
  }