@aws-sdk/client-keyspaces 3.295.0 → 3.297.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/Keyspaces.d.ts +14 -0
- package/dist-types/KeyspacesClient.d.ts +24 -4
- package/dist-types/commands/CreateKeyspaceCommand.d.ts +16 -0
- package/dist-types/commands/CreateTableCommand.d.ts +16 -0
- package/dist-types/commands/DeleteKeyspaceCommand.d.ts +16 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +16 -0
- package/dist-types/commands/GetKeyspaceCommand.d.ts +16 -0
- package/dist-types/commands/GetTableCommand.d.ts +16 -0
- package/dist-types/commands/ListKeyspacesCommand.d.ts +16 -0
- package/dist-types/commands/ListTablesCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/RestoreTableCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +16 -0
- package/dist-types/models/KeyspacesServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +121 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListKeyspacesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTablesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +3 -0
- package/package.json +29 -29
|
@@ -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
|
|
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
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
|
|
5
5
|
import { GetTableRequest, GetTableResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetTableCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetTableCommandInput extends GetTableRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetTableCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetTableCommandOutput extends GetTableResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns information about the table, including the table's name and current status, the keyspace name,
|
|
18
23
|
* configuration settings, and metadata.</p>
|
|
19
24
|
* <p>To read table metadata using <code>GetTable</code>, <code>Select</code> action
|
|
@@ -28,6 +33,8 @@ export interface GetTableCommandOutput extends GetTableResponse, __MetadataBeare
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param GetTableCommandInput - {@link GetTableCommandInput}
|
|
37
|
+
* @returns {@link GetTableCommandOutput}
|
|
31
38
|
* @see {@link GetTableCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link GetTableCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
|
|
@@ -53,11 +60,20 @@ export interface GetTableCommandOutput extends GetTableResponse, __MetadataBeare
|
|
|
53
60
|
export declare class GetTableCommand extends $Command<GetTableCommandInput, GetTableCommandOutput, KeyspacesClientResolvedConfig> {
|
|
54
61
|
readonly input: GetTableCommandInput;
|
|
55
62
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
56
66
|
constructor(input: GetTableCommandInput);
|
|
57
67
|
/**
|
|
58
68
|
* @internal
|
|
59
69
|
*/
|
|
60
70
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTableCommandInput, GetTableCommandOutput>;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
61
74
|
private serialize;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
62
78
|
private deserialize;
|
|
63
79
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
|
|
5
5
|
import { ListKeyspacesRequest, ListKeyspacesResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListKeyspacesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListKeyspacesCommandInput extends ListKeyspacesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListKeyspacesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListKeyspacesCommandOutput extends ListKeyspacesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns a list of keyspaces.</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 ListKeyspacesCommandOutput extends ListKeyspacesResponse, __Met
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListKeyspacesCommandInput - {@link ListKeyspacesCommandInput}
|
|
34
|
+
* @returns {@link ListKeyspacesCommandOutput}
|
|
28
35
|
* @see {@link ListKeyspacesCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListKeyspacesCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
|
|
@@ -50,11 +57,20 @@ export interface ListKeyspacesCommandOutput extends ListKeyspacesResponse, __Met
|
|
|
50
57
|
export declare class ListKeyspacesCommand extends $Command<ListKeyspacesCommandInput, ListKeyspacesCommandOutput, KeyspacesClientResolvedConfig> {
|
|
51
58
|
readonly input: ListKeyspacesCommandInput;
|
|
52
59
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
53
63
|
constructor(input: ListKeyspacesCommandInput);
|
|
54
64
|
/**
|
|
55
65
|
* @internal
|
|
56
66
|
*/
|
|
57
67
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListKeyspacesCommandInput, ListKeyspacesCommandOutput>;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
58
71
|
private serialize;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
59
75
|
private deserialize;
|
|
60
76
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
|
|
5
5
|
import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListTablesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListTablesCommandInput extends ListTablesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListTablesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns a list of tables for a specified keyspace.</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 ListTablesCommandOutput extends ListTablesResponse, __MetadataB
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListTablesCommandInput - {@link ListTablesCommandInput}
|
|
34
|
+
* @returns {@link ListTablesCommandOutput}
|
|
28
35
|
* @see {@link ListTablesCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListTablesCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
|
|
@@ -50,11 +57,20 @@ export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataB
|
|
|
50
57
|
export declare class ListTablesCommand extends $Command<ListTablesCommandInput, ListTablesCommandOutput, KeyspacesClientResolvedConfig> {
|
|
51
58
|
readonly input: ListTablesCommandInput;
|
|
52
59
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
53
63
|
constructor(input: ListTablesCommandInput);
|
|
54
64
|
/**
|
|
55
65
|
* @internal
|
|
56
66
|
*/
|
|
57
67
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTablesCommandInput, ListTablesCommandOutput>;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
58
71
|
private serialize;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
59
75
|
private deserialize;
|
|
60
76
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
|
|
5
5
|
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListTagsForResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListTagsForResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns a list of all tags associated with the specified Amazon Keyspaces resource.</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 ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
34
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
28
35
|
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
|
|
@@ -50,11 +57,20 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
50
57
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, KeyspacesClientResolvedConfig> {
|
|
51
58
|
readonly input: ListTagsForResourceCommandInput;
|
|
52
59
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
53
63
|
constructor(input: ListTagsForResourceCommandInput);
|
|
54
64
|
/**
|
|
55
65
|
* @internal
|
|
56
66
|
*/
|
|
57
67
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
58
71
|
private serialize;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
59
75
|
private deserialize;
|
|
60
76
|
}
|