@aws-sdk/client-keyspaces 3.1087.0 → 3.1088.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-cjs/index.js +1 -1
- package/dist-types/ts3.4/Keyspaces.d.ts +72 -114
- package/dist-types/ts3.4/KeyspacesClient.d.ts +16 -58
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/CreateKeyspaceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/CreateTypeCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DeleteKeyspaceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DeleteTypeCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetKeyspaceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetTableAutoScalingSettingsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetTableCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/GetTypeCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/ListKeyspacesCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListTypesCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/RestoreTableCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateKeyspaceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +3 -5
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +6 -12
- package/dist-types/ts3.4/models/errors.d.ts +5 -15
- package/dist-types/ts3.4/models/models_0.d.ts +1 -3
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +1 -4
- package/dist-types/ts3.4/pagination/ListTypesPaginator.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -7,66 +7,36 @@ import {
|
|
|
7
7
|
CreateKeyspaceCommandInput,
|
|
8
8
|
CreateKeyspaceCommandOutput,
|
|
9
9
|
} from "./commands/CreateKeyspaceCommand";
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
CreateTableCommandOutput,
|
|
13
|
-
} from "./commands/CreateTableCommand";
|
|
14
|
-
import {
|
|
15
|
-
CreateTypeCommandInput,
|
|
16
|
-
CreateTypeCommandOutput,
|
|
17
|
-
} from "./commands/CreateTypeCommand";
|
|
10
|
+
import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
|
|
11
|
+
import { CreateTypeCommandInput, CreateTypeCommandOutput } from "./commands/CreateTypeCommand";
|
|
18
12
|
import {
|
|
19
13
|
DeleteKeyspaceCommandInput,
|
|
20
14
|
DeleteKeyspaceCommandOutput,
|
|
21
15
|
} from "./commands/DeleteKeyspaceCommand";
|
|
22
|
-
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./commands/DeleteTableCommand";
|
|
26
|
-
import {
|
|
27
|
-
DeleteTypeCommandInput,
|
|
28
|
-
DeleteTypeCommandOutput,
|
|
29
|
-
} from "./commands/DeleteTypeCommand";
|
|
30
|
-
import {
|
|
31
|
-
GetKeyspaceCommandInput,
|
|
32
|
-
GetKeyspaceCommandOutput,
|
|
33
|
-
} from "./commands/GetKeyspaceCommand";
|
|
16
|
+
import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
|
|
17
|
+
import { DeleteTypeCommandInput, DeleteTypeCommandOutput } from "./commands/DeleteTypeCommand";
|
|
18
|
+
import { GetKeyspaceCommandInput, GetKeyspaceCommandOutput } from "./commands/GetKeyspaceCommand";
|
|
34
19
|
import {
|
|
35
20
|
GetTableAutoScalingSettingsCommandInput,
|
|
36
21
|
GetTableAutoScalingSettingsCommandOutput,
|
|
37
22
|
} from "./commands/GetTableAutoScalingSettingsCommand";
|
|
38
|
-
import {
|
|
39
|
-
|
|
40
|
-
GetTableCommandOutput,
|
|
41
|
-
} from "./commands/GetTableCommand";
|
|
42
|
-
import {
|
|
43
|
-
GetTypeCommandInput,
|
|
44
|
-
GetTypeCommandOutput,
|
|
45
|
-
} from "./commands/GetTypeCommand";
|
|
23
|
+
import { GetTableCommandInput, GetTableCommandOutput } from "./commands/GetTableCommand";
|
|
24
|
+
import { GetTypeCommandInput, GetTypeCommandOutput } from "./commands/GetTypeCommand";
|
|
46
25
|
import {
|
|
47
26
|
ListKeyspacesCommandInput,
|
|
48
27
|
ListKeyspacesCommandOutput,
|
|
49
28
|
} from "./commands/ListKeyspacesCommand";
|
|
50
|
-
import {
|
|
51
|
-
ListTablesCommandInput,
|
|
52
|
-
ListTablesCommandOutput,
|
|
53
|
-
} from "./commands/ListTablesCommand";
|
|
29
|
+
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
54
30
|
import {
|
|
55
31
|
ListTagsForResourceCommandInput,
|
|
56
32
|
ListTagsForResourceCommandOutput,
|
|
57
33
|
} from "./commands/ListTagsForResourceCommand";
|
|
58
|
-
import {
|
|
59
|
-
ListTypesCommandInput,
|
|
60
|
-
ListTypesCommandOutput,
|
|
61
|
-
} from "./commands/ListTypesCommand";
|
|
34
|
+
import { ListTypesCommandInput, ListTypesCommandOutput } from "./commands/ListTypesCommand";
|
|
62
35
|
import {
|
|
63
36
|
RestoreTableCommandInput,
|
|
64
37
|
RestoreTableCommandOutput,
|
|
65
38
|
} from "./commands/RestoreTableCommand";
|
|
66
|
-
import {
|
|
67
|
-
TagResourceCommandInput,
|
|
68
|
-
TagResourceCommandOutput,
|
|
69
|
-
} from "./commands/TagResourceCommand";
|
|
39
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
70
40
|
import {
|
|
71
41
|
UntagResourceCommandInput,
|
|
72
42
|
UntagResourceCommandOutput,
|
|
@@ -75,287 +45,275 @@ import {
|
|
|
75
45
|
UpdateKeyspaceCommandInput,
|
|
76
46
|
UpdateKeyspaceCommandOutput,
|
|
77
47
|
} from "./commands/UpdateKeyspaceCommand";
|
|
78
|
-
import {
|
|
79
|
-
UpdateTableCommandInput,
|
|
80
|
-
UpdateTableCommandOutput,
|
|
81
|
-
} from "./commands/UpdateTableCommand";
|
|
48
|
+
import { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
|
|
82
49
|
import { KeyspacesClient } from "./KeyspacesClient";
|
|
83
50
|
export interface Keyspaces {
|
|
84
51
|
createKeyspace(
|
|
85
52
|
args: CreateKeyspaceCommandInput,
|
|
86
|
-
options?: __HttpHandlerOptions
|
|
53
|
+
options?: __HttpHandlerOptions,
|
|
87
54
|
): Promise<CreateKeyspaceCommandOutput>;
|
|
88
55
|
createKeyspace(
|
|
89
56
|
args: CreateKeyspaceCommandInput,
|
|
90
|
-
cb: (err: any, data?: CreateKeyspaceCommandOutput) => void
|
|
57
|
+
cb: (err: any, data?: CreateKeyspaceCommandOutput) => void,
|
|
91
58
|
): void;
|
|
92
59
|
createKeyspace(
|
|
93
60
|
args: CreateKeyspaceCommandInput,
|
|
94
61
|
options: __HttpHandlerOptions,
|
|
95
|
-
cb: (err: any, data?: CreateKeyspaceCommandOutput) => void
|
|
62
|
+
cb: (err: any, data?: CreateKeyspaceCommandOutput) => void,
|
|
96
63
|
): void;
|
|
97
64
|
createTable(
|
|
98
65
|
args: CreateTableCommandInput,
|
|
99
|
-
options?: __HttpHandlerOptions
|
|
66
|
+
options?: __HttpHandlerOptions,
|
|
100
67
|
): Promise<CreateTableCommandOutput>;
|
|
101
68
|
createTable(
|
|
102
69
|
args: CreateTableCommandInput,
|
|
103
|
-
cb: (err: any, data?: CreateTableCommandOutput) => void
|
|
70
|
+
cb: (err: any, data?: CreateTableCommandOutput) => void,
|
|
104
71
|
): void;
|
|
105
72
|
createTable(
|
|
106
73
|
args: CreateTableCommandInput,
|
|
107
74
|
options: __HttpHandlerOptions,
|
|
108
|
-
cb: (err: any, data?: CreateTableCommandOutput) => void
|
|
75
|
+
cb: (err: any, data?: CreateTableCommandOutput) => void,
|
|
109
76
|
): void;
|
|
110
77
|
createType(
|
|
111
78
|
args: CreateTypeCommandInput,
|
|
112
|
-
options?: __HttpHandlerOptions
|
|
79
|
+
options?: __HttpHandlerOptions,
|
|
113
80
|
): Promise<CreateTypeCommandOutput>;
|
|
114
81
|
createType(
|
|
115
82
|
args: CreateTypeCommandInput,
|
|
116
|
-
cb: (err: any, data?: CreateTypeCommandOutput) => void
|
|
83
|
+
cb: (err: any, data?: CreateTypeCommandOutput) => void,
|
|
117
84
|
): void;
|
|
118
85
|
createType(
|
|
119
86
|
args: CreateTypeCommandInput,
|
|
120
87
|
options: __HttpHandlerOptions,
|
|
121
|
-
cb: (err: any, data?: CreateTypeCommandOutput) => void
|
|
88
|
+
cb: (err: any, data?: CreateTypeCommandOutput) => void,
|
|
122
89
|
): void;
|
|
123
90
|
deleteKeyspace(
|
|
124
91
|
args: DeleteKeyspaceCommandInput,
|
|
125
|
-
options?: __HttpHandlerOptions
|
|
92
|
+
options?: __HttpHandlerOptions,
|
|
126
93
|
): Promise<DeleteKeyspaceCommandOutput>;
|
|
127
94
|
deleteKeyspace(
|
|
128
95
|
args: DeleteKeyspaceCommandInput,
|
|
129
|
-
cb: (err: any, data?: DeleteKeyspaceCommandOutput) => void
|
|
96
|
+
cb: (err: any, data?: DeleteKeyspaceCommandOutput) => void,
|
|
130
97
|
): void;
|
|
131
98
|
deleteKeyspace(
|
|
132
99
|
args: DeleteKeyspaceCommandInput,
|
|
133
100
|
options: __HttpHandlerOptions,
|
|
134
|
-
cb: (err: any, data?: DeleteKeyspaceCommandOutput) => void
|
|
101
|
+
cb: (err: any, data?: DeleteKeyspaceCommandOutput) => void,
|
|
135
102
|
): void;
|
|
136
103
|
deleteTable(
|
|
137
104
|
args: DeleteTableCommandInput,
|
|
138
|
-
options?: __HttpHandlerOptions
|
|
105
|
+
options?: __HttpHandlerOptions,
|
|
139
106
|
): Promise<DeleteTableCommandOutput>;
|
|
140
107
|
deleteTable(
|
|
141
108
|
args: DeleteTableCommandInput,
|
|
142
|
-
cb: (err: any, data?: DeleteTableCommandOutput) => void
|
|
109
|
+
cb: (err: any, data?: DeleteTableCommandOutput) => void,
|
|
143
110
|
): void;
|
|
144
111
|
deleteTable(
|
|
145
112
|
args: DeleteTableCommandInput,
|
|
146
113
|
options: __HttpHandlerOptions,
|
|
147
|
-
cb: (err: any, data?: DeleteTableCommandOutput) => void
|
|
114
|
+
cb: (err: any, data?: DeleteTableCommandOutput) => void,
|
|
148
115
|
): void;
|
|
149
116
|
deleteType(
|
|
150
117
|
args: DeleteTypeCommandInput,
|
|
151
|
-
options?: __HttpHandlerOptions
|
|
118
|
+
options?: __HttpHandlerOptions,
|
|
152
119
|
): Promise<DeleteTypeCommandOutput>;
|
|
153
120
|
deleteType(
|
|
154
121
|
args: DeleteTypeCommandInput,
|
|
155
|
-
cb: (err: any, data?: DeleteTypeCommandOutput) => void
|
|
122
|
+
cb: (err: any, data?: DeleteTypeCommandOutput) => void,
|
|
156
123
|
): void;
|
|
157
124
|
deleteType(
|
|
158
125
|
args: DeleteTypeCommandInput,
|
|
159
126
|
options: __HttpHandlerOptions,
|
|
160
|
-
cb: (err: any, data?: DeleteTypeCommandOutput) => void
|
|
127
|
+
cb: (err: any, data?: DeleteTypeCommandOutput) => void,
|
|
161
128
|
): void;
|
|
162
129
|
getKeyspace(
|
|
163
130
|
args: GetKeyspaceCommandInput,
|
|
164
|
-
options?: __HttpHandlerOptions
|
|
131
|
+
options?: __HttpHandlerOptions,
|
|
165
132
|
): Promise<GetKeyspaceCommandOutput>;
|
|
166
133
|
getKeyspace(
|
|
167
134
|
args: GetKeyspaceCommandInput,
|
|
168
|
-
cb: (err: any, data?: GetKeyspaceCommandOutput) => void
|
|
135
|
+
cb: (err: any, data?: GetKeyspaceCommandOutput) => void,
|
|
169
136
|
): void;
|
|
170
137
|
getKeyspace(
|
|
171
138
|
args: GetKeyspaceCommandInput,
|
|
172
139
|
options: __HttpHandlerOptions,
|
|
173
|
-
cb: (err: any, data?: GetKeyspaceCommandOutput) => void
|
|
140
|
+
cb: (err: any, data?: GetKeyspaceCommandOutput) => void,
|
|
174
141
|
): void;
|
|
175
142
|
getTable(
|
|
176
143
|
args: GetTableCommandInput,
|
|
177
|
-
options?: __HttpHandlerOptions
|
|
144
|
+
options?: __HttpHandlerOptions,
|
|
178
145
|
): Promise<GetTableCommandOutput>;
|
|
179
|
-
getTable(
|
|
180
|
-
args: GetTableCommandInput,
|
|
181
|
-
cb: (err: any, data?: GetTableCommandOutput) => void
|
|
182
|
-
): void;
|
|
146
|
+
getTable(args: GetTableCommandInput, cb: (err: any, data?: GetTableCommandOutput) => void): void;
|
|
183
147
|
getTable(
|
|
184
148
|
args: GetTableCommandInput,
|
|
185
149
|
options: __HttpHandlerOptions,
|
|
186
|
-
cb: (err: any, data?: GetTableCommandOutput) => void
|
|
150
|
+
cb: (err: any, data?: GetTableCommandOutput) => void,
|
|
187
151
|
): void;
|
|
188
152
|
getTableAutoScalingSettings(
|
|
189
153
|
args: GetTableAutoScalingSettingsCommandInput,
|
|
190
|
-
options?: __HttpHandlerOptions
|
|
154
|
+
options?: __HttpHandlerOptions,
|
|
191
155
|
): Promise<GetTableAutoScalingSettingsCommandOutput>;
|
|
192
156
|
getTableAutoScalingSettings(
|
|
193
157
|
args: GetTableAutoScalingSettingsCommandInput,
|
|
194
|
-
cb: (err: any, data?: GetTableAutoScalingSettingsCommandOutput) => void
|
|
158
|
+
cb: (err: any, data?: GetTableAutoScalingSettingsCommandOutput) => void,
|
|
195
159
|
): void;
|
|
196
160
|
getTableAutoScalingSettings(
|
|
197
161
|
args: GetTableAutoScalingSettingsCommandInput,
|
|
198
162
|
options: __HttpHandlerOptions,
|
|
199
|
-
cb: (err: any, data?: GetTableAutoScalingSettingsCommandOutput) => void
|
|
200
|
-
): void;
|
|
201
|
-
getType(
|
|
202
|
-
args: GetTypeCommandInput,
|
|
203
|
-
options?: __HttpHandlerOptions
|
|
204
|
-
): Promise<GetTypeCommandOutput>;
|
|
205
|
-
getType(
|
|
206
|
-
args: GetTypeCommandInput,
|
|
207
|
-
cb: (err: any, data?: GetTypeCommandOutput) => void
|
|
163
|
+
cb: (err: any, data?: GetTableAutoScalingSettingsCommandOutput) => void,
|
|
208
164
|
): void;
|
|
165
|
+
getType(args: GetTypeCommandInput, options?: __HttpHandlerOptions): Promise<GetTypeCommandOutput>;
|
|
166
|
+
getType(args: GetTypeCommandInput, cb: (err: any, data?: GetTypeCommandOutput) => void): void;
|
|
209
167
|
getType(
|
|
210
168
|
args: GetTypeCommandInput,
|
|
211
169
|
options: __HttpHandlerOptions,
|
|
212
|
-
cb: (err: any, data?: GetTypeCommandOutput) => void
|
|
170
|
+
cb: (err: any, data?: GetTypeCommandOutput) => void,
|
|
213
171
|
): void;
|
|
214
172
|
listKeyspaces(): Promise<ListKeyspacesCommandOutput>;
|
|
215
173
|
listKeyspaces(
|
|
216
174
|
args: ListKeyspacesCommandInput,
|
|
217
|
-
options?: __HttpHandlerOptions
|
|
175
|
+
options?: __HttpHandlerOptions,
|
|
218
176
|
): Promise<ListKeyspacesCommandOutput>;
|
|
219
177
|
listKeyspaces(
|
|
220
178
|
args: ListKeyspacesCommandInput,
|
|
221
|
-
cb: (err: any, data?: ListKeyspacesCommandOutput) => void
|
|
179
|
+
cb: (err: any, data?: ListKeyspacesCommandOutput) => void,
|
|
222
180
|
): void;
|
|
223
181
|
listKeyspaces(
|
|
224
182
|
args: ListKeyspacesCommandInput,
|
|
225
183
|
options: __HttpHandlerOptions,
|
|
226
|
-
cb: (err: any, data?: ListKeyspacesCommandOutput) => void
|
|
184
|
+
cb: (err: any, data?: ListKeyspacesCommandOutput) => void,
|
|
227
185
|
): void;
|
|
228
186
|
listTables(
|
|
229
187
|
args: ListTablesCommandInput,
|
|
230
|
-
options?: __HttpHandlerOptions
|
|
188
|
+
options?: __HttpHandlerOptions,
|
|
231
189
|
): Promise<ListTablesCommandOutput>;
|
|
232
190
|
listTables(
|
|
233
191
|
args: ListTablesCommandInput,
|
|
234
|
-
cb: (err: any, data?: ListTablesCommandOutput) => void
|
|
192
|
+
cb: (err: any, data?: ListTablesCommandOutput) => void,
|
|
235
193
|
): void;
|
|
236
194
|
listTables(
|
|
237
195
|
args: ListTablesCommandInput,
|
|
238
196
|
options: __HttpHandlerOptions,
|
|
239
|
-
cb: (err: any, data?: ListTablesCommandOutput) => void
|
|
197
|
+
cb: (err: any, data?: ListTablesCommandOutput) => void,
|
|
240
198
|
): void;
|
|
241
199
|
listTagsForResource(
|
|
242
200
|
args: ListTagsForResourceCommandInput,
|
|
243
|
-
options?: __HttpHandlerOptions
|
|
201
|
+
options?: __HttpHandlerOptions,
|
|
244
202
|
): Promise<ListTagsForResourceCommandOutput>;
|
|
245
203
|
listTagsForResource(
|
|
246
204
|
args: ListTagsForResourceCommandInput,
|
|
247
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
205
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
248
206
|
): void;
|
|
249
207
|
listTagsForResource(
|
|
250
208
|
args: ListTagsForResourceCommandInput,
|
|
251
209
|
options: __HttpHandlerOptions,
|
|
252
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
210
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
253
211
|
): void;
|
|
254
212
|
listTypes(
|
|
255
213
|
args: ListTypesCommandInput,
|
|
256
|
-
options?: __HttpHandlerOptions
|
|
214
|
+
options?: __HttpHandlerOptions,
|
|
257
215
|
): Promise<ListTypesCommandOutput>;
|
|
258
216
|
listTypes(
|
|
259
217
|
args: ListTypesCommandInput,
|
|
260
|
-
cb: (err: any, data?: ListTypesCommandOutput) => void
|
|
218
|
+
cb: (err: any, data?: ListTypesCommandOutput) => void,
|
|
261
219
|
): void;
|
|
262
220
|
listTypes(
|
|
263
221
|
args: ListTypesCommandInput,
|
|
264
222
|
options: __HttpHandlerOptions,
|
|
265
|
-
cb: (err: any, data?: ListTypesCommandOutput) => void
|
|
223
|
+
cb: (err: any, data?: ListTypesCommandOutput) => void,
|
|
266
224
|
): void;
|
|
267
225
|
restoreTable(
|
|
268
226
|
args: RestoreTableCommandInput,
|
|
269
|
-
options?: __HttpHandlerOptions
|
|
227
|
+
options?: __HttpHandlerOptions,
|
|
270
228
|
): Promise<RestoreTableCommandOutput>;
|
|
271
229
|
restoreTable(
|
|
272
230
|
args: RestoreTableCommandInput,
|
|
273
|
-
cb: (err: any, data?: RestoreTableCommandOutput) => void
|
|
231
|
+
cb: (err: any, data?: RestoreTableCommandOutput) => void,
|
|
274
232
|
): void;
|
|
275
233
|
restoreTable(
|
|
276
234
|
args: RestoreTableCommandInput,
|
|
277
235
|
options: __HttpHandlerOptions,
|
|
278
|
-
cb: (err: any, data?: RestoreTableCommandOutput) => void
|
|
236
|
+
cb: (err: any, data?: RestoreTableCommandOutput) => void,
|
|
279
237
|
): void;
|
|
280
238
|
tagResource(
|
|
281
239
|
args: TagResourceCommandInput,
|
|
282
|
-
options?: __HttpHandlerOptions
|
|
240
|
+
options?: __HttpHandlerOptions,
|
|
283
241
|
): Promise<TagResourceCommandOutput>;
|
|
284
242
|
tagResource(
|
|
285
243
|
args: TagResourceCommandInput,
|
|
286
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
244
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
287
245
|
): void;
|
|
288
246
|
tagResource(
|
|
289
247
|
args: TagResourceCommandInput,
|
|
290
248
|
options: __HttpHandlerOptions,
|
|
291
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
249
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
292
250
|
): void;
|
|
293
251
|
untagResource(
|
|
294
252
|
args: UntagResourceCommandInput,
|
|
295
|
-
options?: __HttpHandlerOptions
|
|
253
|
+
options?: __HttpHandlerOptions,
|
|
296
254
|
): Promise<UntagResourceCommandOutput>;
|
|
297
255
|
untagResource(
|
|
298
256
|
args: UntagResourceCommandInput,
|
|
299
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
257
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
300
258
|
): void;
|
|
301
259
|
untagResource(
|
|
302
260
|
args: UntagResourceCommandInput,
|
|
303
261
|
options: __HttpHandlerOptions,
|
|
304
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
262
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
305
263
|
): void;
|
|
306
264
|
updateKeyspace(
|
|
307
265
|
args: UpdateKeyspaceCommandInput,
|
|
308
|
-
options?: __HttpHandlerOptions
|
|
266
|
+
options?: __HttpHandlerOptions,
|
|
309
267
|
): Promise<UpdateKeyspaceCommandOutput>;
|
|
310
268
|
updateKeyspace(
|
|
311
269
|
args: UpdateKeyspaceCommandInput,
|
|
312
|
-
cb: (err: any, data?: UpdateKeyspaceCommandOutput) => void
|
|
270
|
+
cb: (err: any, data?: UpdateKeyspaceCommandOutput) => void,
|
|
313
271
|
): void;
|
|
314
272
|
updateKeyspace(
|
|
315
273
|
args: UpdateKeyspaceCommandInput,
|
|
316
274
|
options: __HttpHandlerOptions,
|
|
317
|
-
cb: (err: any, data?: UpdateKeyspaceCommandOutput) => void
|
|
275
|
+
cb: (err: any, data?: UpdateKeyspaceCommandOutput) => void,
|
|
318
276
|
): void;
|
|
319
277
|
updateTable(
|
|
320
278
|
args: UpdateTableCommandInput,
|
|
321
|
-
options?: __HttpHandlerOptions
|
|
279
|
+
options?: __HttpHandlerOptions,
|
|
322
280
|
): Promise<UpdateTableCommandOutput>;
|
|
323
281
|
updateTable(
|
|
324
282
|
args: UpdateTableCommandInput,
|
|
325
|
-
cb: (err: any, data?: UpdateTableCommandOutput) => void
|
|
283
|
+
cb: (err: any, data?: UpdateTableCommandOutput) => void,
|
|
326
284
|
): void;
|
|
327
285
|
updateTable(
|
|
328
286
|
args: UpdateTableCommandInput,
|
|
329
287
|
options: __HttpHandlerOptions,
|
|
330
|
-
cb: (err: any, data?: UpdateTableCommandOutput) => void
|
|
288
|
+
cb: (err: any, data?: UpdateTableCommandOutput) => void,
|
|
331
289
|
): void;
|
|
332
290
|
paginateListKeyspaces(
|
|
333
291
|
args?: ListKeyspacesCommandInput,
|
|
334
292
|
paginationConfig?: Pick<
|
|
335
293
|
PaginationConfiguration,
|
|
336
294
|
Exclude<keyof PaginationConfiguration, "client">
|
|
337
|
-
|
|
295
|
+
>,
|
|
338
296
|
): Paginator<ListKeyspacesCommandOutput>;
|
|
339
297
|
paginateListTables(
|
|
340
298
|
args: ListTablesCommandInput,
|
|
341
299
|
paginationConfig?: Pick<
|
|
342
300
|
PaginationConfiguration,
|
|
343
301
|
Exclude<keyof PaginationConfiguration, "client">
|
|
344
|
-
|
|
302
|
+
>,
|
|
345
303
|
): Paginator<ListTablesCommandOutput>;
|
|
346
304
|
paginateListTagsForResource(
|
|
347
305
|
args: ListTagsForResourceCommandInput,
|
|
348
306
|
paginationConfig?: Pick<
|
|
349
307
|
PaginationConfiguration,
|
|
350
308
|
Exclude<keyof PaginationConfiguration, "client">
|
|
351
|
-
|
|
309
|
+
>,
|
|
352
310
|
): Paginator<ListTagsForResourceCommandOutput>;
|
|
353
311
|
paginateListTypes(
|
|
354
312
|
args: ListTypesCommandInput,
|
|
355
313
|
paginationConfig?: Pick<
|
|
356
314
|
PaginationConfiguration,
|
|
357
315
|
Exclude<keyof PaginationConfiguration, "client">
|
|
358
|
-
|
|
316
|
+
>,
|
|
359
317
|
): Paginator<ListTypesCommandOutput>;
|
|
360
318
|
}
|
|
361
319
|
export declare class Keyspaces extends KeyspacesClient implements Keyspaces {}
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -40,66 +37,36 @@ import {
|
|
|
40
37
|
CreateKeyspaceCommandInput,
|
|
41
38
|
CreateKeyspaceCommandOutput,
|
|
42
39
|
} from "./commands/CreateKeyspaceCommand";
|
|
43
|
-
import {
|
|
44
|
-
|
|
45
|
-
CreateTableCommandOutput,
|
|
46
|
-
} from "./commands/CreateTableCommand";
|
|
47
|
-
import {
|
|
48
|
-
CreateTypeCommandInput,
|
|
49
|
-
CreateTypeCommandOutput,
|
|
50
|
-
} from "./commands/CreateTypeCommand";
|
|
40
|
+
import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
|
|
41
|
+
import { CreateTypeCommandInput, CreateTypeCommandOutput } from "./commands/CreateTypeCommand";
|
|
51
42
|
import {
|
|
52
43
|
DeleteKeyspaceCommandInput,
|
|
53
44
|
DeleteKeyspaceCommandOutput,
|
|
54
45
|
} from "./commands/DeleteKeyspaceCommand";
|
|
55
|
-
import {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
} from "./commands/DeleteTableCommand";
|
|
59
|
-
import {
|
|
60
|
-
DeleteTypeCommandInput,
|
|
61
|
-
DeleteTypeCommandOutput,
|
|
62
|
-
} from "./commands/DeleteTypeCommand";
|
|
63
|
-
import {
|
|
64
|
-
GetKeyspaceCommandInput,
|
|
65
|
-
GetKeyspaceCommandOutput,
|
|
66
|
-
} from "./commands/GetKeyspaceCommand";
|
|
46
|
+
import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
|
|
47
|
+
import { DeleteTypeCommandInput, DeleteTypeCommandOutput } from "./commands/DeleteTypeCommand";
|
|
48
|
+
import { GetKeyspaceCommandInput, GetKeyspaceCommandOutput } from "./commands/GetKeyspaceCommand";
|
|
67
49
|
import {
|
|
68
50
|
GetTableAutoScalingSettingsCommandInput,
|
|
69
51
|
GetTableAutoScalingSettingsCommandOutput,
|
|
70
52
|
} from "./commands/GetTableAutoScalingSettingsCommand";
|
|
71
|
-
import {
|
|
72
|
-
|
|
73
|
-
GetTableCommandOutput,
|
|
74
|
-
} from "./commands/GetTableCommand";
|
|
75
|
-
import {
|
|
76
|
-
GetTypeCommandInput,
|
|
77
|
-
GetTypeCommandOutput,
|
|
78
|
-
} from "./commands/GetTypeCommand";
|
|
53
|
+
import { GetTableCommandInput, GetTableCommandOutput } from "./commands/GetTableCommand";
|
|
54
|
+
import { GetTypeCommandInput, GetTypeCommandOutput } from "./commands/GetTypeCommand";
|
|
79
55
|
import {
|
|
80
56
|
ListKeyspacesCommandInput,
|
|
81
57
|
ListKeyspacesCommandOutput,
|
|
82
58
|
} from "./commands/ListKeyspacesCommand";
|
|
83
|
-
import {
|
|
84
|
-
ListTablesCommandInput,
|
|
85
|
-
ListTablesCommandOutput,
|
|
86
|
-
} from "./commands/ListTablesCommand";
|
|
59
|
+
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
87
60
|
import {
|
|
88
61
|
ListTagsForResourceCommandInput,
|
|
89
62
|
ListTagsForResourceCommandOutput,
|
|
90
63
|
} from "./commands/ListTagsForResourceCommand";
|
|
91
|
-
import {
|
|
92
|
-
ListTypesCommandInput,
|
|
93
|
-
ListTypesCommandOutput,
|
|
94
|
-
} from "./commands/ListTypesCommand";
|
|
64
|
+
import { ListTypesCommandInput, ListTypesCommandOutput } from "./commands/ListTypesCommand";
|
|
95
65
|
import {
|
|
96
66
|
RestoreTableCommandInput,
|
|
97
67
|
RestoreTableCommandOutput,
|
|
98
68
|
} from "./commands/RestoreTableCommand";
|
|
99
|
-
import {
|
|
100
|
-
TagResourceCommandInput,
|
|
101
|
-
TagResourceCommandOutput,
|
|
102
|
-
} from "./commands/TagResourceCommand";
|
|
69
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
103
70
|
import {
|
|
104
71
|
UntagResourceCommandInput,
|
|
105
72
|
UntagResourceCommandOutput,
|
|
@@ -108,10 +75,7 @@ import {
|
|
|
108
75
|
UpdateKeyspaceCommandInput,
|
|
109
76
|
UpdateKeyspaceCommandOutput,
|
|
110
77
|
} from "./commands/UpdateKeyspaceCommand";
|
|
111
|
-
import {
|
|
112
|
-
UpdateTableCommandInput,
|
|
113
|
-
UpdateTableCommandOutput,
|
|
114
|
-
} from "./commands/UpdateTableCommand";
|
|
78
|
+
import { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
|
|
115
79
|
import {
|
|
116
80
|
ClientInputEndpointParameters,
|
|
117
81
|
ClientResolvedEndpointParameters,
|
|
@@ -159,8 +123,7 @@ export type ServiceOutputTypes =
|
|
|
159
123
|
| UntagResourceCommandOutput
|
|
160
124
|
| UpdateKeyspaceCommandOutput
|
|
161
125
|
| UpdateTableCommandOutput;
|
|
162
|
-
export interface ClientDefaults
|
|
163
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
126
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
164
127
|
requestHandler?: __HttpHandlerUserInput;
|
|
165
128
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
166
129
|
urlParser?: __UrlParser;
|
|
@@ -185,9 +148,7 @@ export interface ClientDefaults
|
|
|
185
148
|
extensions?: RuntimeExtension[];
|
|
186
149
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
187
150
|
}
|
|
188
|
-
export type KeyspacesClientConfigType = Partial<
|
|
189
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
190
|
-
> &
|
|
151
|
+
export type KeyspacesClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
191
152
|
ClientDefaults &
|
|
192
153
|
UserAgentInputConfig &
|
|
193
154
|
RetryInputConfig &
|
|
@@ -208,8 +169,7 @@ export type KeyspacesClientResolvedConfigType =
|
|
|
208
169
|
EndpointResolvedConfig<EndpointParameters> &
|
|
209
170
|
HttpAuthSchemeResolvedConfig &
|
|
210
171
|
ClientResolvedEndpointParameters;
|
|
211
|
-
export interface KeyspacesClientResolvedConfig
|
|
212
|
-
extends KeyspacesClientResolvedConfigType {}
|
|
172
|
+
export interface KeyspacesClientResolvedConfig extends KeyspacesClientResolvedConfigType {}
|
|
213
173
|
export declare class KeyspacesClient extends __Client<
|
|
214
174
|
__HttpHandlerOptions,
|
|
215
175
|
ServiceInputTypes,
|
|
@@ -217,8 +177,6 @@ export declare class KeyspacesClient extends __Client<
|
|
|
217
177
|
KeyspacesClientResolvedConfig
|
|
218
178
|
> {
|
|
219
179
|
readonly config: KeyspacesClientResolvedConfig;
|
|
220
|
-
constructor(
|
|
221
|
-
...[configuration]: __CheckOptionalClientConfig<KeyspacesClientConfig>
|
|
222
|
-
);
|
|
180
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<KeyspacesClientConfig>);
|
|
223
181
|
destroy(): void;
|
|
224
182
|
}
|
|
@@ -7,17 +7,10 @@ import { KeyspacesHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: KeyspacesHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: KeyspacesHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): KeyspacesHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { KeyspacesClientResolvedConfig } from "../KeyspacesClient";
|
|
15
|
-
export interface KeyspacesHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface KeyspacesHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface KeyspacesHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface KeyspacesHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
KeyspacesClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
KeyspacesHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultKeyspacesHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: KeyspacesClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<KeyspacesHttpAuthSchemeParameters>;
|
|
31
|
-
export interface KeyspacesHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<KeyspacesHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface KeyspacesHttpAuthSchemeProvider extends HttpAuthSchemeProvider<KeyspacesHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultKeyspacesHttpAuthSchemeProvider: KeyspacesHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: KeyspacesHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: KeyspacesHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|