@aws-sdk/client-keyspaces 3.679.0 → 3.683.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/README.md +33 -1
- package/dist-cjs/index.js +173 -2
- package/dist-es/Keyspaces.js +8 -0
- package/dist-es/commands/CreateTypeCommand.js +22 -0
- package/dist-es/commands/DeleteTypeCommand.js +22 -0
- package/dist-es/commands/GetTypeCommand.js +22 -0
- package/dist-es/commands/ListTypesCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/pagination/ListTypesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +89 -0
- package/dist-types/Keyspaces.d.ts +28 -0
- package/dist-types/KeyspacesClient.d.ts +6 -2
- package/dist-types/commands/CreateKeyspaceCommand.d.ts +1 -1
- package/dist-types/commands/CreateTableCommand.d.ts +3 -2
- package/dist-types/commands/CreateTypeCommand.d.ts +105 -0
- package/dist-types/commands/DeleteKeyspaceCommand.d.ts +2 -1
- package/dist-types/commands/DeleteTableCommand.d.ts +2 -1
- package/dist-types/commands/DeleteTypeCommand.d.ts +98 -0
- package/dist-types/commands/GetKeyspaceCommand.d.ts +2 -1
- package/dist-types/commands/GetTableAutoScalingSettingsCommand.d.ts +2 -1
- package/dist-types/commands/GetTableCommand.d.ts +5 -3
- package/dist-types/commands/GetTypeCommand.d.ts +112 -0
- package/dist-types/commands/ListKeyspacesCommand.d.ts +3 -2
- package/dist-types/commands/ListTablesCommand.d.ts +6 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -1
- package/dist-types/commands/ListTypesCommand.d.ts +98 -0
- package/dist-types/commands/RestoreTableCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +7 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateTableCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +268 -2
- package/dist-types/pagination/ListTypesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +36 -0
- package/dist-types/ts3.4/Keyspaces.d.ts +68 -0
- package/dist-types/ts3.4/KeyspacesClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateTypeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteTypeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetTypeCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListTypesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +52 -0
- package/dist-types/ts3.4/pagination/ListTypesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +48 -0
- package/package.json +6 -6
|
@@ -2,14 +2,18 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s
|
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
3
|
import { CreateKeyspaceCommandInput, CreateKeyspaceCommandOutput } from "../commands/CreateKeyspaceCommand";
|
|
4
4
|
import { CreateTableCommandInput, CreateTableCommandOutput } from "../commands/CreateTableCommand";
|
|
5
|
+
import { CreateTypeCommandInput, CreateTypeCommandOutput } from "../commands/CreateTypeCommand";
|
|
5
6
|
import { DeleteKeyspaceCommandInput, DeleteKeyspaceCommandOutput } from "../commands/DeleteKeyspaceCommand";
|
|
6
7
|
import { DeleteTableCommandInput, DeleteTableCommandOutput } from "../commands/DeleteTableCommand";
|
|
8
|
+
import { DeleteTypeCommandInput, DeleteTypeCommandOutput } from "../commands/DeleteTypeCommand";
|
|
7
9
|
import { GetKeyspaceCommandInput, GetKeyspaceCommandOutput } from "../commands/GetKeyspaceCommand";
|
|
8
10
|
import { GetTableAutoScalingSettingsCommandInput, GetTableAutoScalingSettingsCommandOutput } from "../commands/GetTableAutoScalingSettingsCommand";
|
|
9
11
|
import { GetTableCommandInput, GetTableCommandOutput } from "../commands/GetTableCommand";
|
|
12
|
+
import { GetTypeCommandInput, GetTypeCommandOutput } from "../commands/GetTypeCommand";
|
|
10
13
|
import { ListKeyspacesCommandInput, ListKeyspacesCommandOutput } from "../commands/ListKeyspacesCommand";
|
|
11
14
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
|
|
12
15
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
16
|
+
import { ListTypesCommandInput, ListTypesCommandOutput } from "../commands/ListTypesCommand";
|
|
13
17
|
import { RestoreTableCommandInput, RestoreTableCommandOutput } from "../commands/RestoreTableCommand";
|
|
14
18
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
15
19
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
@@ -22,6 +26,10 @@ export declare const se_CreateKeyspaceCommand: (input: CreateKeyspaceCommandInpu
|
|
|
22
26
|
* serializeAws_json1_0CreateTableCommand
|
|
23
27
|
*/
|
|
24
28
|
export declare const se_CreateTableCommand: (input: CreateTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
29
|
+
/**
|
|
30
|
+
* serializeAws_json1_0CreateTypeCommand
|
|
31
|
+
*/
|
|
32
|
+
export declare const se_CreateTypeCommand: (input: CreateTypeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
25
33
|
/**
|
|
26
34
|
* serializeAws_json1_0DeleteKeyspaceCommand
|
|
27
35
|
*/
|
|
@@ -30,6 +38,10 @@ export declare const se_DeleteKeyspaceCommand: (input: DeleteKeyspaceCommandInpu
|
|
|
30
38
|
* serializeAws_json1_0DeleteTableCommand
|
|
31
39
|
*/
|
|
32
40
|
export declare const se_DeleteTableCommand: (input: DeleteTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
41
|
+
/**
|
|
42
|
+
* serializeAws_json1_0DeleteTypeCommand
|
|
43
|
+
*/
|
|
44
|
+
export declare const se_DeleteTypeCommand: (input: DeleteTypeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
33
45
|
/**
|
|
34
46
|
* serializeAws_json1_0GetKeyspaceCommand
|
|
35
47
|
*/
|
|
@@ -42,6 +54,10 @@ export declare const se_GetTableCommand: (input: GetTableCommandInput, context:
|
|
|
42
54
|
* serializeAws_json1_0GetTableAutoScalingSettingsCommand
|
|
43
55
|
*/
|
|
44
56
|
export declare const se_GetTableAutoScalingSettingsCommand: (input: GetTableAutoScalingSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
57
|
+
/**
|
|
58
|
+
* serializeAws_json1_0GetTypeCommand
|
|
59
|
+
*/
|
|
60
|
+
export declare const se_GetTypeCommand: (input: GetTypeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
45
61
|
/**
|
|
46
62
|
* serializeAws_json1_0ListKeyspacesCommand
|
|
47
63
|
*/
|
|
@@ -54,6 +70,10 @@ export declare const se_ListTablesCommand: (input: ListTablesCommandInput, conte
|
|
|
54
70
|
* serializeAws_json1_0ListTagsForResourceCommand
|
|
55
71
|
*/
|
|
56
72
|
export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
73
|
+
/**
|
|
74
|
+
* serializeAws_json1_0ListTypesCommand
|
|
75
|
+
*/
|
|
76
|
+
export declare const se_ListTypesCommand: (input: ListTypesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
57
77
|
/**
|
|
58
78
|
* serializeAws_json1_0RestoreTableCommand
|
|
59
79
|
*/
|
|
@@ -78,6 +98,10 @@ export declare const de_CreateKeyspaceCommand: (output: __HttpResponse, context:
|
|
|
78
98
|
* deserializeAws_json1_0CreateTableCommand
|
|
79
99
|
*/
|
|
80
100
|
export declare const de_CreateTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateTableCommandOutput>;
|
|
101
|
+
/**
|
|
102
|
+
* deserializeAws_json1_0CreateTypeCommand
|
|
103
|
+
*/
|
|
104
|
+
export declare const de_CreateTypeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateTypeCommandOutput>;
|
|
81
105
|
/**
|
|
82
106
|
* deserializeAws_json1_0DeleteKeyspaceCommand
|
|
83
107
|
*/
|
|
@@ -86,6 +110,10 @@ export declare const de_DeleteKeyspaceCommand: (output: __HttpResponse, context:
|
|
|
86
110
|
* deserializeAws_json1_0DeleteTableCommand
|
|
87
111
|
*/
|
|
88
112
|
export declare const de_DeleteTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTableCommandOutput>;
|
|
113
|
+
/**
|
|
114
|
+
* deserializeAws_json1_0DeleteTypeCommand
|
|
115
|
+
*/
|
|
116
|
+
export declare const de_DeleteTypeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTypeCommandOutput>;
|
|
89
117
|
/**
|
|
90
118
|
* deserializeAws_json1_0GetKeyspaceCommand
|
|
91
119
|
*/
|
|
@@ -98,6 +126,10 @@ export declare const de_GetTableCommand: (output: __HttpResponse, context: __Ser
|
|
|
98
126
|
* deserializeAws_json1_0GetTableAutoScalingSettingsCommand
|
|
99
127
|
*/
|
|
100
128
|
export declare const de_GetTableAutoScalingSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTableAutoScalingSettingsCommandOutput>;
|
|
129
|
+
/**
|
|
130
|
+
* deserializeAws_json1_0GetTypeCommand
|
|
131
|
+
*/
|
|
132
|
+
export declare const de_GetTypeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTypeCommandOutput>;
|
|
101
133
|
/**
|
|
102
134
|
* deserializeAws_json1_0ListKeyspacesCommand
|
|
103
135
|
*/
|
|
@@ -110,6 +142,10 @@ export declare const de_ListTablesCommand: (output: __HttpResponse, context: __S
|
|
|
110
142
|
* deserializeAws_json1_0ListTagsForResourceCommand
|
|
111
143
|
*/
|
|
112
144
|
export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
145
|
+
/**
|
|
146
|
+
* deserializeAws_json1_0ListTypesCommand
|
|
147
|
+
*/
|
|
148
|
+
export declare const de_ListTypesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTypesCommandOutput>;
|
|
113
149
|
/**
|
|
114
150
|
* deserializeAws_json1_0RestoreTableCommand
|
|
115
151
|
*/
|
|
@@ -7,6 +7,10 @@ import {
|
|
|
7
7
|
CreateTableCommandInput,
|
|
8
8
|
CreateTableCommandOutput,
|
|
9
9
|
} from "./commands/CreateTableCommand";
|
|
10
|
+
import {
|
|
11
|
+
CreateTypeCommandInput,
|
|
12
|
+
CreateTypeCommandOutput,
|
|
13
|
+
} from "./commands/CreateTypeCommand";
|
|
10
14
|
import {
|
|
11
15
|
DeleteKeyspaceCommandInput,
|
|
12
16
|
DeleteKeyspaceCommandOutput,
|
|
@@ -15,6 +19,10 @@ import {
|
|
|
15
19
|
DeleteTableCommandInput,
|
|
16
20
|
DeleteTableCommandOutput,
|
|
17
21
|
} from "./commands/DeleteTableCommand";
|
|
22
|
+
import {
|
|
23
|
+
DeleteTypeCommandInput,
|
|
24
|
+
DeleteTypeCommandOutput,
|
|
25
|
+
} from "./commands/DeleteTypeCommand";
|
|
18
26
|
import {
|
|
19
27
|
GetKeyspaceCommandInput,
|
|
20
28
|
GetKeyspaceCommandOutput,
|
|
@@ -27,6 +35,10 @@ import {
|
|
|
27
35
|
GetTableCommandInput,
|
|
28
36
|
GetTableCommandOutput,
|
|
29
37
|
} from "./commands/GetTableCommand";
|
|
38
|
+
import {
|
|
39
|
+
GetTypeCommandInput,
|
|
40
|
+
GetTypeCommandOutput,
|
|
41
|
+
} from "./commands/GetTypeCommand";
|
|
30
42
|
import {
|
|
31
43
|
ListKeyspacesCommandInput,
|
|
32
44
|
ListKeyspacesCommandOutput,
|
|
@@ -39,6 +51,10 @@ import {
|
|
|
39
51
|
ListTagsForResourceCommandInput,
|
|
40
52
|
ListTagsForResourceCommandOutput,
|
|
41
53
|
} from "./commands/ListTagsForResourceCommand";
|
|
54
|
+
import {
|
|
55
|
+
ListTypesCommandInput,
|
|
56
|
+
ListTypesCommandOutput,
|
|
57
|
+
} from "./commands/ListTypesCommand";
|
|
42
58
|
import {
|
|
43
59
|
RestoreTableCommandInput,
|
|
44
60
|
RestoreTableCommandOutput,
|
|
@@ -83,6 +99,19 @@ export interface Keyspaces {
|
|
|
83
99
|
options: __HttpHandlerOptions,
|
|
84
100
|
cb: (err: any, data?: CreateTableCommandOutput) => void
|
|
85
101
|
): void;
|
|
102
|
+
createType(
|
|
103
|
+
args: CreateTypeCommandInput,
|
|
104
|
+
options?: __HttpHandlerOptions
|
|
105
|
+
): Promise<CreateTypeCommandOutput>;
|
|
106
|
+
createType(
|
|
107
|
+
args: CreateTypeCommandInput,
|
|
108
|
+
cb: (err: any, data?: CreateTypeCommandOutput) => void
|
|
109
|
+
): void;
|
|
110
|
+
createType(
|
|
111
|
+
args: CreateTypeCommandInput,
|
|
112
|
+
options: __HttpHandlerOptions,
|
|
113
|
+
cb: (err: any, data?: CreateTypeCommandOutput) => void
|
|
114
|
+
): void;
|
|
86
115
|
deleteKeyspace(
|
|
87
116
|
args: DeleteKeyspaceCommandInput,
|
|
88
117
|
options?: __HttpHandlerOptions
|
|
@@ -109,6 +138,19 @@ export interface Keyspaces {
|
|
|
109
138
|
options: __HttpHandlerOptions,
|
|
110
139
|
cb: (err: any, data?: DeleteTableCommandOutput) => void
|
|
111
140
|
): void;
|
|
141
|
+
deleteType(
|
|
142
|
+
args: DeleteTypeCommandInput,
|
|
143
|
+
options?: __HttpHandlerOptions
|
|
144
|
+
): Promise<DeleteTypeCommandOutput>;
|
|
145
|
+
deleteType(
|
|
146
|
+
args: DeleteTypeCommandInput,
|
|
147
|
+
cb: (err: any, data?: DeleteTypeCommandOutput) => void
|
|
148
|
+
): void;
|
|
149
|
+
deleteType(
|
|
150
|
+
args: DeleteTypeCommandInput,
|
|
151
|
+
options: __HttpHandlerOptions,
|
|
152
|
+
cb: (err: any, data?: DeleteTypeCommandOutput) => void
|
|
153
|
+
): void;
|
|
112
154
|
getKeyspace(
|
|
113
155
|
args: GetKeyspaceCommandInput,
|
|
114
156
|
options?: __HttpHandlerOptions
|
|
@@ -148,6 +190,19 @@ export interface Keyspaces {
|
|
|
148
190
|
options: __HttpHandlerOptions,
|
|
149
191
|
cb: (err: any, data?: GetTableAutoScalingSettingsCommandOutput) => void
|
|
150
192
|
): void;
|
|
193
|
+
getType(
|
|
194
|
+
args: GetTypeCommandInput,
|
|
195
|
+
options?: __HttpHandlerOptions
|
|
196
|
+
): Promise<GetTypeCommandOutput>;
|
|
197
|
+
getType(
|
|
198
|
+
args: GetTypeCommandInput,
|
|
199
|
+
cb: (err: any, data?: GetTypeCommandOutput) => void
|
|
200
|
+
): void;
|
|
201
|
+
getType(
|
|
202
|
+
args: GetTypeCommandInput,
|
|
203
|
+
options: __HttpHandlerOptions,
|
|
204
|
+
cb: (err: any, data?: GetTypeCommandOutput) => void
|
|
205
|
+
): void;
|
|
151
206
|
listKeyspaces(): Promise<ListKeyspacesCommandOutput>;
|
|
152
207
|
listKeyspaces(
|
|
153
208
|
args: ListKeyspacesCommandInput,
|
|
@@ -188,6 +243,19 @@ export interface Keyspaces {
|
|
|
188
243
|
options: __HttpHandlerOptions,
|
|
189
244
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
190
245
|
): void;
|
|
246
|
+
listTypes(
|
|
247
|
+
args: ListTypesCommandInput,
|
|
248
|
+
options?: __HttpHandlerOptions
|
|
249
|
+
): Promise<ListTypesCommandOutput>;
|
|
250
|
+
listTypes(
|
|
251
|
+
args: ListTypesCommandInput,
|
|
252
|
+
cb: (err: any, data?: ListTypesCommandOutput) => void
|
|
253
|
+
): void;
|
|
254
|
+
listTypes(
|
|
255
|
+
args: ListTypesCommandInput,
|
|
256
|
+
options: __HttpHandlerOptions,
|
|
257
|
+
cb: (err: any, data?: ListTypesCommandOutput) => void
|
|
258
|
+
): void;
|
|
191
259
|
restoreTable(
|
|
192
260
|
args: RestoreTableCommandInput,
|
|
193
261
|
options?: __HttpHandlerOptions
|
|
@@ -53,6 +53,10 @@ import {
|
|
|
53
53
|
CreateTableCommandInput,
|
|
54
54
|
CreateTableCommandOutput,
|
|
55
55
|
} from "./commands/CreateTableCommand";
|
|
56
|
+
import {
|
|
57
|
+
CreateTypeCommandInput,
|
|
58
|
+
CreateTypeCommandOutput,
|
|
59
|
+
} from "./commands/CreateTypeCommand";
|
|
56
60
|
import {
|
|
57
61
|
DeleteKeyspaceCommandInput,
|
|
58
62
|
DeleteKeyspaceCommandOutput,
|
|
@@ -61,6 +65,10 @@ import {
|
|
|
61
65
|
DeleteTableCommandInput,
|
|
62
66
|
DeleteTableCommandOutput,
|
|
63
67
|
} from "./commands/DeleteTableCommand";
|
|
68
|
+
import {
|
|
69
|
+
DeleteTypeCommandInput,
|
|
70
|
+
DeleteTypeCommandOutput,
|
|
71
|
+
} from "./commands/DeleteTypeCommand";
|
|
64
72
|
import {
|
|
65
73
|
GetKeyspaceCommandInput,
|
|
66
74
|
GetKeyspaceCommandOutput,
|
|
@@ -73,6 +81,10 @@ import {
|
|
|
73
81
|
GetTableCommandInput,
|
|
74
82
|
GetTableCommandOutput,
|
|
75
83
|
} from "./commands/GetTableCommand";
|
|
84
|
+
import {
|
|
85
|
+
GetTypeCommandInput,
|
|
86
|
+
GetTypeCommandOutput,
|
|
87
|
+
} from "./commands/GetTypeCommand";
|
|
76
88
|
import {
|
|
77
89
|
ListKeyspacesCommandInput,
|
|
78
90
|
ListKeyspacesCommandOutput,
|
|
@@ -85,6 +97,10 @@ import {
|
|
|
85
97
|
ListTagsForResourceCommandInput,
|
|
86
98
|
ListTagsForResourceCommandOutput,
|
|
87
99
|
} from "./commands/ListTagsForResourceCommand";
|
|
100
|
+
import {
|
|
101
|
+
ListTypesCommandInput,
|
|
102
|
+
ListTypesCommandOutput,
|
|
103
|
+
} from "./commands/ListTypesCommand";
|
|
88
104
|
import {
|
|
89
105
|
RestoreTableCommandInput,
|
|
90
106
|
RestoreTableCommandOutput,
|
|
@@ -111,14 +127,18 @@ export { __Client };
|
|
|
111
127
|
export type ServiceInputTypes =
|
|
112
128
|
| CreateKeyspaceCommandInput
|
|
113
129
|
| CreateTableCommandInput
|
|
130
|
+
| CreateTypeCommandInput
|
|
114
131
|
| DeleteKeyspaceCommandInput
|
|
115
132
|
| DeleteTableCommandInput
|
|
133
|
+
| DeleteTypeCommandInput
|
|
116
134
|
| GetKeyspaceCommandInput
|
|
117
135
|
| GetTableAutoScalingSettingsCommandInput
|
|
118
136
|
| GetTableCommandInput
|
|
137
|
+
| GetTypeCommandInput
|
|
119
138
|
| ListKeyspacesCommandInput
|
|
120
139
|
| ListTablesCommandInput
|
|
121
140
|
| ListTagsForResourceCommandInput
|
|
141
|
+
| ListTypesCommandInput
|
|
122
142
|
| RestoreTableCommandInput
|
|
123
143
|
| TagResourceCommandInput
|
|
124
144
|
| UntagResourceCommandInput
|
|
@@ -126,14 +146,18 @@ export type ServiceInputTypes =
|
|
|
126
146
|
export type ServiceOutputTypes =
|
|
127
147
|
| CreateKeyspaceCommandOutput
|
|
128
148
|
| CreateTableCommandOutput
|
|
149
|
+
| CreateTypeCommandOutput
|
|
129
150
|
| DeleteKeyspaceCommandOutput
|
|
130
151
|
| DeleteTableCommandOutput
|
|
152
|
+
| DeleteTypeCommandOutput
|
|
131
153
|
| GetKeyspaceCommandOutput
|
|
132
154
|
| GetTableAutoScalingSettingsCommandOutput
|
|
133
155
|
| GetTableCommandOutput
|
|
156
|
+
| GetTypeCommandOutput
|
|
134
157
|
| ListKeyspacesCommandOutput
|
|
135
158
|
| ListTablesCommandOutput
|
|
136
159
|
| ListTagsForResourceCommandOutput
|
|
160
|
+
| ListTypesCommandOutput
|
|
137
161
|
| RestoreTableCommandOutput
|
|
138
162
|
| TagResourceCommandOutput
|
|
139
163
|
| UntagResourceCommandOutput
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
KeyspacesClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../KeyspacesClient";
|
|
8
|
+
import { CreateTypeRequest, CreateTypeResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface CreateTypeCommandInput extends CreateTypeRequest {}
|
|
12
|
+
export interface CreateTypeCommandOutput
|
|
13
|
+
extends CreateTypeResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const CreateTypeCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: CreateTypeCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
CreateTypeCommandInput,
|
|
20
|
+
CreateTypeCommandOutput,
|
|
21
|
+
KeyspacesClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: CreateTypeCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
CreateTypeCommandInput,
|
|
29
|
+
CreateTypeCommandOutput,
|
|
30
|
+
KeyspacesClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class CreateTypeCommand extends CreateTypeCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: CreateTypeRequest;
|
|
40
|
+
output: CreateTypeResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: CreateTypeCommandInput;
|
|
44
|
+
output: CreateTypeCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
KeyspacesClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../KeyspacesClient";
|
|
8
|
+
import { DeleteTypeRequest, DeleteTypeResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface DeleteTypeCommandInput extends DeleteTypeRequest {}
|
|
12
|
+
export interface DeleteTypeCommandOutput
|
|
13
|
+
extends DeleteTypeResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const DeleteTypeCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: DeleteTypeCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
DeleteTypeCommandInput,
|
|
20
|
+
DeleteTypeCommandOutput,
|
|
21
|
+
KeyspacesClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: DeleteTypeCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
DeleteTypeCommandInput,
|
|
29
|
+
DeleteTypeCommandOutput,
|
|
30
|
+
KeyspacesClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class DeleteTypeCommand extends DeleteTypeCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: DeleteTypeRequest;
|
|
40
|
+
output: DeleteTypeResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: DeleteTypeCommandInput;
|
|
44
|
+
output: DeleteTypeCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
KeyspacesClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../KeyspacesClient";
|
|
8
|
+
import { GetTypeRequest, GetTypeResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface GetTypeCommandInput extends GetTypeRequest {}
|
|
12
|
+
export interface GetTypeCommandOutput
|
|
13
|
+
extends GetTypeResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const GetTypeCommand_base: {
|
|
16
|
+
new (input: GetTypeCommandInput): import("@smithy/smithy-client").CommandImpl<
|
|
17
|
+
GetTypeCommandInput,
|
|
18
|
+
GetTypeCommandOutput,
|
|
19
|
+
KeyspacesClientResolvedConfig,
|
|
20
|
+
ServiceInputTypes,
|
|
21
|
+
ServiceOutputTypes
|
|
22
|
+
>;
|
|
23
|
+
new (__0_0: GetTypeCommandInput): import("@smithy/smithy-client").CommandImpl<
|
|
24
|
+
GetTypeCommandInput,
|
|
25
|
+
GetTypeCommandOutput,
|
|
26
|
+
KeyspacesClientResolvedConfig,
|
|
27
|
+
ServiceInputTypes,
|
|
28
|
+
ServiceOutputTypes
|
|
29
|
+
>;
|
|
30
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
31
|
+
};
|
|
32
|
+
export declare class GetTypeCommand extends GetTypeCommand_base {
|
|
33
|
+
protected static __types: {
|
|
34
|
+
api: {
|
|
35
|
+
input: GetTypeRequest;
|
|
36
|
+
output: GetTypeResponse;
|
|
37
|
+
};
|
|
38
|
+
sdk: {
|
|
39
|
+
input: GetTypeCommandInput;
|
|
40
|
+
output: GetTypeCommandOutput;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
KeyspacesClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../KeyspacesClient";
|
|
8
|
+
import { ListTypesRequest, ListTypesResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface ListTypesCommandInput extends ListTypesRequest {}
|
|
12
|
+
export interface ListTypesCommandOutput
|
|
13
|
+
extends ListTypesResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const ListTypesCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: ListTypesCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
ListTypesCommandInput,
|
|
20
|
+
ListTypesCommandOutput,
|
|
21
|
+
KeyspacesClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: ListTypesCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
ListTypesCommandInput,
|
|
29
|
+
ListTypesCommandOutput,
|
|
30
|
+
KeyspacesClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class ListTypesCommand extends ListTypesCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: ListTypesRequest;
|
|
40
|
+
output: ListTypesResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: ListTypesCommandInput;
|
|
44
|
+
output: ListTypesCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
export * from "./CreateKeyspaceCommand";
|
|
2
2
|
export * from "./CreateTableCommand";
|
|
3
|
+
export * from "./CreateTypeCommand";
|
|
3
4
|
export * from "./DeleteKeyspaceCommand";
|
|
4
5
|
export * from "./DeleteTableCommand";
|
|
6
|
+
export * from "./DeleteTypeCommand";
|
|
5
7
|
export * from "./GetKeyspaceCommand";
|
|
6
8
|
export * from "./GetTableAutoScalingSettingsCommand";
|
|
7
9
|
export * from "./GetTableCommand";
|
|
10
|
+
export * from "./GetTypeCommand";
|
|
8
11
|
export * from "./ListKeyspacesCommand";
|
|
9
12
|
export * from "./ListTablesCommand";
|
|
10
13
|
export * from "./ListTagsForResourceCommand";
|
|
14
|
+
export * from "./ListTypesCommand";
|
|
11
15
|
export * from "./RestoreTableCommand";
|
|
12
16
|
export * from "./TagResourceCommand";
|
|
13
17
|
export * from "./UntagResourceCommand";
|
|
@@ -184,6 +184,19 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
184
184
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
185
185
|
);
|
|
186
186
|
}
|
|
187
|
+
export interface FieldDefinition {
|
|
188
|
+
name: string | undefined;
|
|
189
|
+
type: string | undefined;
|
|
190
|
+
}
|
|
191
|
+
export interface CreateTypeRequest {
|
|
192
|
+
keyspaceName: string | undefined;
|
|
193
|
+
typeName: string | undefined;
|
|
194
|
+
fieldDefinitions: FieldDefinition[] | undefined;
|
|
195
|
+
}
|
|
196
|
+
export interface CreateTypeResponse {
|
|
197
|
+
keyspaceArn: string | undefined;
|
|
198
|
+
typeName: string | undefined;
|
|
199
|
+
}
|
|
187
200
|
export interface DeleteKeyspaceRequest {
|
|
188
201
|
keyspaceName: string | undefined;
|
|
189
202
|
}
|
|
@@ -193,6 +206,14 @@ export interface DeleteTableRequest {
|
|
|
193
206
|
tableName: string | undefined;
|
|
194
207
|
}
|
|
195
208
|
export interface DeleteTableResponse {}
|
|
209
|
+
export interface DeleteTypeRequest {
|
|
210
|
+
keyspaceName: string | undefined;
|
|
211
|
+
typeName: string | undefined;
|
|
212
|
+
}
|
|
213
|
+
export interface DeleteTypeResponse {
|
|
214
|
+
keyspaceArn: string | undefined;
|
|
215
|
+
typeName: string | undefined;
|
|
216
|
+
}
|
|
196
217
|
export interface GetKeyspaceRequest {
|
|
197
218
|
keyspaceName: string | undefined;
|
|
198
219
|
}
|
|
@@ -256,6 +277,28 @@ export interface GetTableAutoScalingSettingsResponse {
|
|
|
256
277
|
autoScalingSpecification?: AutoScalingSpecification;
|
|
257
278
|
replicaSpecifications?: ReplicaAutoScalingSpecification[];
|
|
258
279
|
}
|
|
280
|
+
export interface GetTypeRequest {
|
|
281
|
+
keyspaceName: string | undefined;
|
|
282
|
+
typeName: string | undefined;
|
|
283
|
+
}
|
|
284
|
+
export declare const TypeStatus: {
|
|
285
|
+
readonly ACTIVE: "ACTIVE";
|
|
286
|
+
readonly CREATING: "CREATING";
|
|
287
|
+
readonly DELETING: "DELETING";
|
|
288
|
+
readonly RESTORING: "RESTORING";
|
|
289
|
+
};
|
|
290
|
+
export type TypeStatus = (typeof TypeStatus)[keyof typeof TypeStatus];
|
|
291
|
+
export interface GetTypeResponse {
|
|
292
|
+
keyspaceName: string | undefined;
|
|
293
|
+
typeName: string | undefined;
|
|
294
|
+
fieldDefinitions?: FieldDefinition[];
|
|
295
|
+
lastModifiedTimestamp?: Date;
|
|
296
|
+
status?: TypeStatus;
|
|
297
|
+
directReferringTables?: string[];
|
|
298
|
+
directParentTypes?: string[];
|
|
299
|
+
maxNestingDepth?: number;
|
|
300
|
+
keyspaceArn: string | undefined;
|
|
301
|
+
}
|
|
259
302
|
export interface ListKeyspacesRequest {
|
|
260
303
|
nextToken?: string;
|
|
261
304
|
maxResults?: number;
|
|
@@ -293,6 +336,15 @@ export interface ListTagsForResourceResponse {
|
|
|
293
336
|
nextToken?: string;
|
|
294
337
|
tags?: Tag[];
|
|
295
338
|
}
|
|
339
|
+
export interface ListTypesRequest {
|
|
340
|
+
nextToken?: string;
|
|
341
|
+
maxResults?: number;
|
|
342
|
+
keyspaceName: string | undefined;
|
|
343
|
+
}
|
|
344
|
+
export interface ListTypesResponse {
|
|
345
|
+
nextToken?: string;
|
|
346
|
+
types: string[] | undefined;
|
|
347
|
+
}
|
|
296
348
|
export interface RestoreTableRequest {
|
|
297
349
|
sourceKeyspaceName: string | undefined;
|
|
298
350
|
sourceTableName: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListTypesCommandInput,
|
|
4
|
+
ListTypesCommandOutput,
|
|
5
|
+
} from "../commands/ListTypesCommand";
|
|
6
|
+
import { KeyspacesPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListTypes: (
|
|
8
|
+
config: KeyspacesPaginationConfiguration,
|
|
9
|
+
input: ListTypesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListTypesCommandOutput>;
|