@aws-sdk/client-dsql 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/DSQL.d.ts +58 -82
- package/dist-types/ts3.4/DSQLClient.d.ts +19 -41
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +10 -13
- package/dist-types/ts3.4/commandBuilder.d.ts +8 -18
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateStreamCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DeleteClusterPolicyCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteStreamCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetClusterCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetClusterPolicyCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetStreamCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/GetVpcEndpointServiceNameCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/PutClusterPolicyCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/UpdateClusterCommand.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 +3 -6
- package/dist-types/ts3.4/models/errors.d.ts +6 -18
- package/dist-types/ts3.4/models/models_0.d.ts +1 -3
- package/dist-types/ts3.4/pagination/ListStreamsPaginator.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/waiters/waitForClusterActive.d.ts +3 -6
- package/dist-types/ts3.4/waiters/waitForClusterNotExists.d.ts +3 -6
- package/dist-types/ts3.4/waiters/waitForStreamActive.d.ts +3 -6
- package/dist-types/ts3.4/waiters/waitForStreamNotExists.d.ts +3 -6
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -25,18 +25,12 @@ import {
|
|
|
25
25
|
DeleteStreamCommandInput,
|
|
26
26
|
DeleteStreamCommandOutput,
|
|
27
27
|
} from "./commands/DeleteStreamCommand";
|
|
28
|
-
import {
|
|
29
|
-
GetClusterCommandInput,
|
|
30
|
-
GetClusterCommandOutput,
|
|
31
|
-
} from "./commands/GetClusterCommand";
|
|
28
|
+
import { GetClusterCommandInput, GetClusterCommandOutput } from "./commands/GetClusterCommand";
|
|
32
29
|
import {
|
|
33
30
|
GetClusterPolicyCommandInput,
|
|
34
31
|
GetClusterPolicyCommandOutput,
|
|
35
32
|
} from "./commands/GetClusterPolicyCommand";
|
|
36
|
-
import {
|
|
37
|
-
GetStreamCommandInput,
|
|
38
|
-
GetStreamCommandOutput,
|
|
39
|
-
} from "./commands/GetStreamCommand";
|
|
33
|
+
import { GetStreamCommandInput, GetStreamCommandOutput } from "./commands/GetStreamCommand";
|
|
40
34
|
import {
|
|
41
35
|
GetVpcEndpointServiceNameCommandInput,
|
|
42
36
|
GetVpcEndpointServiceNameCommandOutput,
|
|
@@ -45,10 +39,7 @@ import {
|
|
|
45
39
|
ListClustersCommandInput,
|
|
46
40
|
ListClustersCommandOutput,
|
|
47
41
|
} from "./commands/ListClustersCommand";
|
|
48
|
-
import {
|
|
49
|
-
ListStreamsCommandInput,
|
|
50
|
-
ListStreamsCommandOutput,
|
|
51
|
-
} from "./commands/ListStreamsCommand";
|
|
42
|
+
import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
|
|
52
43
|
import {
|
|
53
44
|
ListTagsForResourceCommandInput,
|
|
54
45
|
ListTagsForResourceCommandOutput,
|
|
@@ -57,10 +48,7 @@ import {
|
|
|
57
48
|
PutClusterPolicyCommandInput,
|
|
58
49
|
PutClusterPolicyCommandOutput,
|
|
59
50
|
} from "./commands/PutClusterPolicyCommand";
|
|
60
|
-
import {
|
|
61
|
-
TagResourceCommandInput,
|
|
62
|
-
TagResourceCommandOutput,
|
|
63
|
-
} from "./commands/TagResourceCommand";
|
|
51
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
64
52
|
import {
|
|
65
53
|
UntagResourceCommandInput,
|
|
66
54
|
UntagResourceCommandOutput,
|
|
@@ -75,262 +63,250 @@ export interface DSQL {
|
|
|
75
63
|
createCluster(): Promise<CreateClusterCommandOutput>;
|
|
76
64
|
createCluster(
|
|
77
65
|
args: CreateClusterCommandInput,
|
|
78
|
-
options?: __HttpHandlerOptions
|
|
66
|
+
options?: __HttpHandlerOptions,
|
|
79
67
|
): Promise<CreateClusterCommandOutput>;
|
|
80
68
|
createCluster(
|
|
81
69
|
args: CreateClusterCommandInput,
|
|
82
|
-
cb: (err: any, data?: CreateClusterCommandOutput) => void
|
|
70
|
+
cb: (err: any, data?: CreateClusterCommandOutput) => void,
|
|
83
71
|
): void;
|
|
84
72
|
createCluster(
|
|
85
73
|
args: CreateClusterCommandInput,
|
|
86
74
|
options: __HttpHandlerOptions,
|
|
87
|
-
cb: (err: any, data?: CreateClusterCommandOutput) => void
|
|
75
|
+
cb: (err: any, data?: CreateClusterCommandOutput) => void,
|
|
88
76
|
): void;
|
|
89
77
|
createStream(
|
|
90
78
|
args: CreateStreamCommandInput,
|
|
91
|
-
options?: __HttpHandlerOptions
|
|
79
|
+
options?: __HttpHandlerOptions,
|
|
92
80
|
): Promise<CreateStreamCommandOutput>;
|
|
93
81
|
createStream(
|
|
94
82
|
args: CreateStreamCommandInput,
|
|
95
|
-
cb: (err: any, data?: CreateStreamCommandOutput) => void
|
|
83
|
+
cb: (err: any, data?: CreateStreamCommandOutput) => void,
|
|
96
84
|
): void;
|
|
97
85
|
createStream(
|
|
98
86
|
args: CreateStreamCommandInput,
|
|
99
87
|
options: __HttpHandlerOptions,
|
|
100
|
-
cb: (err: any, data?: CreateStreamCommandOutput) => void
|
|
88
|
+
cb: (err: any, data?: CreateStreamCommandOutput) => void,
|
|
101
89
|
): void;
|
|
102
90
|
deleteCluster(
|
|
103
91
|
args: DeleteClusterCommandInput,
|
|
104
|
-
options?: __HttpHandlerOptions
|
|
92
|
+
options?: __HttpHandlerOptions,
|
|
105
93
|
): Promise<DeleteClusterCommandOutput>;
|
|
106
94
|
deleteCluster(
|
|
107
95
|
args: DeleteClusterCommandInput,
|
|
108
|
-
cb: (err: any, data?: DeleteClusterCommandOutput) => void
|
|
96
|
+
cb: (err: any, data?: DeleteClusterCommandOutput) => void,
|
|
109
97
|
): void;
|
|
110
98
|
deleteCluster(
|
|
111
99
|
args: DeleteClusterCommandInput,
|
|
112
100
|
options: __HttpHandlerOptions,
|
|
113
|
-
cb: (err: any, data?: DeleteClusterCommandOutput) => void
|
|
101
|
+
cb: (err: any, data?: DeleteClusterCommandOutput) => void,
|
|
114
102
|
): void;
|
|
115
103
|
deleteClusterPolicy(
|
|
116
104
|
args: DeleteClusterPolicyCommandInput,
|
|
117
|
-
options?: __HttpHandlerOptions
|
|
105
|
+
options?: __HttpHandlerOptions,
|
|
118
106
|
): Promise<DeleteClusterPolicyCommandOutput>;
|
|
119
107
|
deleteClusterPolicy(
|
|
120
108
|
args: DeleteClusterPolicyCommandInput,
|
|
121
|
-
cb: (err: any, data?: DeleteClusterPolicyCommandOutput) => void
|
|
109
|
+
cb: (err: any, data?: DeleteClusterPolicyCommandOutput) => void,
|
|
122
110
|
): void;
|
|
123
111
|
deleteClusterPolicy(
|
|
124
112
|
args: DeleteClusterPolicyCommandInput,
|
|
125
113
|
options: __HttpHandlerOptions,
|
|
126
|
-
cb: (err: any, data?: DeleteClusterPolicyCommandOutput) => void
|
|
114
|
+
cb: (err: any, data?: DeleteClusterPolicyCommandOutput) => void,
|
|
127
115
|
): void;
|
|
128
116
|
deleteStream(
|
|
129
117
|
args: DeleteStreamCommandInput,
|
|
130
|
-
options?: __HttpHandlerOptions
|
|
118
|
+
options?: __HttpHandlerOptions,
|
|
131
119
|
): Promise<DeleteStreamCommandOutput>;
|
|
132
120
|
deleteStream(
|
|
133
121
|
args: DeleteStreamCommandInput,
|
|
134
|
-
cb: (err: any, data?: DeleteStreamCommandOutput) => void
|
|
122
|
+
cb: (err: any, data?: DeleteStreamCommandOutput) => void,
|
|
135
123
|
): void;
|
|
136
124
|
deleteStream(
|
|
137
125
|
args: DeleteStreamCommandInput,
|
|
138
126
|
options: __HttpHandlerOptions,
|
|
139
|
-
cb: (err: any, data?: DeleteStreamCommandOutput) => void
|
|
127
|
+
cb: (err: any, data?: DeleteStreamCommandOutput) => void,
|
|
140
128
|
): void;
|
|
141
129
|
getCluster(
|
|
142
130
|
args: GetClusterCommandInput,
|
|
143
|
-
options?: __HttpHandlerOptions
|
|
131
|
+
options?: __HttpHandlerOptions,
|
|
144
132
|
): Promise<GetClusterCommandOutput>;
|
|
145
133
|
getCluster(
|
|
146
134
|
args: GetClusterCommandInput,
|
|
147
|
-
cb: (err: any, data?: GetClusterCommandOutput) => void
|
|
135
|
+
cb: (err: any, data?: GetClusterCommandOutput) => void,
|
|
148
136
|
): void;
|
|
149
137
|
getCluster(
|
|
150
138
|
args: GetClusterCommandInput,
|
|
151
139
|
options: __HttpHandlerOptions,
|
|
152
|
-
cb: (err: any, data?: GetClusterCommandOutput) => void
|
|
140
|
+
cb: (err: any, data?: GetClusterCommandOutput) => void,
|
|
153
141
|
): void;
|
|
154
142
|
getClusterPolicy(
|
|
155
143
|
args: GetClusterPolicyCommandInput,
|
|
156
|
-
options?: __HttpHandlerOptions
|
|
144
|
+
options?: __HttpHandlerOptions,
|
|
157
145
|
): Promise<GetClusterPolicyCommandOutput>;
|
|
158
146
|
getClusterPolicy(
|
|
159
147
|
args: GetClusterPolicyCommandInput,
|
|
160
|
-
cb: (err: any, data?: GetClusterPolicyCommandOutput) => void
|
|
148
|
+
cb: (err: any, data?: GetClusterPolicyCommandOutput) => void,
|
|
161
149
|
): void;
|
|
162
150
|
getClusterPolicy(
|
|
163
151
|
args: GetClusterPolicyCommandInput,
|
|
164
152
|
options: __HttpHandlerOptions,
|
|
165
|
-
cb: (err: any, data?: GetClusterPolicyCommandOutput) => void
|
|
153
|
+
cb: (err: any, data?: GetClusterPolicyCommandOutput) => void,
|
|
166
154
|
): void;
|
|
167
155
|
getStream(
|
|
168
156
|
args: GetStreamCommandInput,
|
|
169
|
-
options?: __HttpHandlerOptions
|
|
157
|
+
options?: __HttpHandlerOptions,
|
|
170
158
|
): Promise<GetStreamCommandOutput>;
|
|
171
159
|
getStream(
|
|
172
160
|
args: GetStreamCommandInput,
|
|
173
|
-
cb: (err: any, data?: GetStreamCommandOutput) => void
|
|
161
|
+
cb: (err: any, data?: GetStreamCommandOutput) => void,
|
|
174
162
|
): void;
|
|
175
163
|
getStream(
|
|
176
164
|
args: GetStreamCommandInput,
|
|
177
165
|
options: __HttpHandlerOptions,
|
|
178
|
-
cb: (err: any, data?: GetStreamCommandOutput) => void
|
|
166
|
+
cb: (err: any, data?: GetStreamCommandOutput) => void,
|
|
179
167
|
): void;
|
|
180
168
|
getVpcEndpointServiceName(
|
|
181
169
|
args: GetVpcEndpointServiceNameCommandInput,
|
|
182
|
-
options?: __HttpHandlerOptions
|
|
170
|
+
options?: __HttpHandlerOptions,
|
|
183
171
|
): Promise<GetVpcEndpointServiceNameCommandOutput>;
|
|
184
172
|
getVpcEndpointServiceName(
|
|
185
173
|
args: GetVpcEndpointServiceNameCommandInput,
|
|
186
|
-
cb: (err: any, data?: GetVpcEndpointServiceNameCommandOutput) => void
|
|
174
|
+
cb: (err: any, data?: GetVpcEndpointServiceNameCommandOutput) => void,
|
|
187
175
|
): void;
|
|
188
176
|
getVpcEndpointServiceName(
|
|
189
177
|
args: GetVpcEndpointServiceNameCommandInput,
|
|
190
178
|
options: __HttpHandlerOptions,
|
|
191
|
-
cb: (err: any, data?: GetVpcEndpointServiceNameCommandOutput) => void
|
|
179
|
+
cb: (err: any, data?: GetVpcEndpointServiceNameCommandOutput) => void,
|
|
192
180
|
): void;
|
|
193
181
|
listClusters(): Promise<ListClustersCommandOutput>;
|
|
194
182
|
listClusters(
|
|
195
183
|
args: ListClustersCommandInput,
|
|
196
|
-
options?: __HttpHandlerOptions
|
|
184
|
+
options?: __HttpHandlerOptions,
|
|
197
185
|
): Promise<ListClustersCommandOutput>;
|
|
198
186
|
listClusters(
|
|
199
187
|
args: ListClustersCommandInput,
|
|
200
|
-
cb: (err: any, data?: ListClustersCommandOutput) => void
|
|
188
|
+
cb: (err: any, data?: ListClustersCommandOutput) => void,
|
|
201
189
|
): void;
|
|
202
190
|
listClusters(
|
|
203
191
|
args: ListClustersCommandInput,
|
|
204
192
|
options: __HttpHandlerOptions,
|
|
205
|
-
cb: (err: any, data?: ListClustersCommandOutput) => void
|
|
193
|
+
cb: (err: any, data?: ListClustersCommandOutput) => void,
|
|
206
194
|
): void;
|
|
207
195
|
listStreams(
|
|
208
196
|
args: ListStreamsCommandInput,
|
|
209
|
-
options?: __HttpHandlerOptions
|
|
197
|
+
options?: __HttpHandlerOptions,
|
|
210
198
|
): Promise<ListStreamsCommandOutput>;
|
|
211
199
|
listStreams(
|
|
212
200
|
args: ListStreamsCommandInput,
|
|
213
|
-
cb: (err: any, data?: ListStreamsCommandOutput) => void
|
|
201
|
+
cb: (err: any, data?: ListStreamsCommandOutput) => void,
|
|
214
202
|
): void;
|
|
215
203
|
listStreams(
|
|
216
204
|
args: ListStreamsCommandInput,
|
|
217
205
|
options: __HttpHandlerOptions,
|
|
218
|
-
cb: (err: any, data?: ListStreamsCommandOutput) => void
|
|
206
|
+
cb: (err: any, data?: ListStreamsCommandOutput) => void,
|
|
219
207
|
): void;
|
|
220
208
|
listTagsForResource(
|
|
221
209
|
args: ListTagsForResourceCommandInput,
|
|
222
|
-
options?: __HttpHandlerOptions
|
|
210
|
+
options?: __HttpHandlerOptions,
|
|
223
211
|
): Promise<ListTagsForResourceCommandOutput>;
|
|
224
212
|
listTagsForResource(
|
|
225
213
|
args: ListTagsForResourceCommandInput,
|
|
226
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
214
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
227
215
|
): void;
|
|
228
216
|
listTagsForResource(
|
|
229
217
|
args: ListTagsForResourceCommandInput,
|
|
230
218
|
options: __HttpHandlerOptions,
|
|
231
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
219
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
232
220
|
): void;
|
|
233
221
|
putClusterPolicy(
|
|
234
222
|
args: PutClusterPolicyCommandInput,
|
|
235
|
-
options?: __HttpHandlerOptions
|
|
223
|
+
options?: __HttpHandlerOptions,
|
|
236
224
|
): Promise<PutClusterPolicyCommandOutput>;
|
|
237
225
|
putClusterPolicy(
|
|
238
226
|
args: PutClusterPolicyCommandInput,
|
|
239
|
-
cb: (err: any, data?: PutClusterPolicyCommandOutput) => void
|
|
227
|
+
cb: (err: any, data?: PutClusterPolicyCommandOutput) => void,
|
|
240
228
|
): void;
|
|
241
229
|
putClusterPolicy(
|
|
242
230
|
args: PutClusterPolicyCommandInput,
|
|
243
231
|
options: __HttpHandlerOptions,
|
|
244
|
-
cb: (err: any, data?: PutClusterPolicyCommandOutput) => void
|
|
232
|
+
cb: (err: any, data?: PutClusterPolicyCommandOutput) => void,
|
|
245
233
|
): void;
|
|
246
234
|
tagResource(
|
|
247
235
|
args: TagResourceCommandInput,
|
|
248
|
-
options?: __HttpHandlerOptions
|
|
236
|
+
options?: __HttpHandlerOptions,
|
|
249
237
|
): Promise<TagResourceCommandOutput>;
|
|
250
238
|
tagResource(
|
|
251
239
|
args: TagResourceCommandInput,
|
|
252
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
240
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
253
241
|
): void;
|
|
254
242
|
tagResource(
|
|
255
243
|
args: TagResourceCommandInput,
|
|
256
244
|
options: __HttpHandlerOptions,
|
|
257
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
245
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
258
246
|
): void;
|
|
259
247
|
untagResource(
|
|
260
248
|
args: UntagResourceCommandInput,
|
|
261
|
-
options?: __HttpHandlerOptions
|
|
249
|
+
options?: __HttpHandlerOptions,
|
|
262
250
|
): Promise<UntagResourceCommandOutput>;
|
|
263
251
|
untagResource(
|
|
264
252
|
args: UntagResourceCommandInput,
|
|
265
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
253
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
266
254
|
): void;
|
|
267
255
|
untagResource(
|
|
268
256
|
args: UntagResourceCommandInput,
|
|
269
257
|
options: __HttpHandlerOptions,
|
|
270
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
258
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
271
259
|
): void;
|
|
272
260
|
updateCluster(
|
|
273
261
|
args: UpdateClusterCommandInput,
|
|
274
|
-
options?: __HttpHandlerOptions
|
|
262
|
+
options?: __HttpHandlerOptions,
|
|
275
263
|
): Promise<UpdateClusterCommandOutput>;
|
|
276
264
|
updateCluster(
|
|
277
265
|
args: UpdateClusterCommandInput,
|
|
278
|
-
cb: (err: any, data?: UpdateClusterCommandOutput) => void
|
|
266
|
+
cb: (err: any, data?: UpdateClusterCommandOutput) => void,
|
|
279
267
|
): void;
|
|
280
268
|
updateCluster(
|
|
281
269
|
args: UpdateClusterCommandInput,
|
|
282
270
|
options: __HttpHandlerOptions,
|
|
283
|
-
cb: (err: any, data?: UpdateClusterCommandOutput) => void
|
|
271
|
+
cb: (err: any, data?: UpdateClusterCommandOutput) => void,
|
|
284
272
|
): void;
|
|
285
273
|
paginateListClusters(
|
|
286
274
|
args?: ListClustersCommandInput,
|
|
287
275
|
paginationConfig?: Pick<
|
|
288
276
|
PaginationConfiguration,
|
|
289
277
|
Exclude<keyof PaginationConfiguration, "client">
|
|
290
|
-
|
|
278
|
+
>,
|
|
291
279
|
): Paginator<ListClustersCommandOutput>;
|
|
292
280
|
paginateListStreams(
|
|
293
281
|
args: ListStreamsCommandInput,
|
|
294
282
|
paginationConfig?: Pick<
|
|
295
283
|
PaginationConfiguration,
|
|
296
284
|
Exclude<keyof PaginationConfiguration, "client">
|
|
297
|
-
|
|
285
|
+
>,
|
|
298
286
|
): Paginator<ListStreamsCommandOutput>;
|
|
299
287
|
waitUntilClusterActive(
|
|
300
288
|
args: GetClusterCommandInput,
|
|
301
289
|
waiterConfig:
|
|
302
290
|
| number
|
|
303
|
-
| Pick<
|
|
304
|
-
WaiterConfiguration<DSQL>,
|
|
305
|
-
Exclude<keyof WaiterConfiguration<DSQL>, "client">
|
|
306
|
-
>
|
|
291
|
+
| Pick<WaiterConfiguration<DSQL>, Exclude<keyof WaiterConfiguration<DSQL>, "client">>,
|
|
307
292
|
): Promise<WaiterResult<GetClusterCommandOutput>>;
|
|
308
293
|
waitUntilClusterNotExists(
|
|
309
294
|
args: GetClusterCommandInput,
|
|
310
295
|
waiterConfig:
|
|
311
296
|
| number
|
|
312
|
-
| Pick<
|
|
313
|
-
WaiterConfiguration<DSQL>,
|
|
314
|
-
Exclude<keyof WaiterConfiguration<DSQL>, "client">
|
|
315
|
-
>
|
|
297
|
+
| Pick<WaiterConfiguration<DSQL>, Exclude<keyof WaiterConfiguration<DSQL>, "client">>,
|
|
316
298
|
): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
317
299
|
waitUntilStreamActive(
|
|
318
300
|
args: GetStreamCommandInput,
|
|
319
301
|
waiterConfig:
|
|
320
302
|
| number
|
|
321
|
-
| Pick<
|
|
322
|
-
WaiterConfiguration<DSQL>,
|
|
323
|
-
Exclude<keyof WaiterConfiguration<DSQL>, "client">
|
|
324
|
-
>
|
|
303
|
+
| Pick<WaiterConfiguration<DSQL>, Exclude<keyof WaiterConfiguration<DSQL>, "client">>,
|
|
325
304
|
): Promise<WaiterResult<GetStreamCommandOutput>>;
|
|
326
305
|
waitUntilStreamNotExists(
|
|
327
306
|
args: GetStreamCommandInput,
|
|
328
307
|
waiterConfig:
|
|
329
308
|
| number
|
|
330
|
-
| Pick<
|
|
331
|
-
WaiterConfiguration<DSQL>,
|
|
332
|
-
Exclude<keyof WaiterConfiguration<DSQL>, "client">
|
|
333
|
-
>
|
|
309
|
+
| Pick<WaiterConfiguration<DSQL>, Exclude<keyof WaiterConfiguration<DSQL>, "client">>,
|
|
334
310
|
): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
335
311
|
}
|
|
336
312
|
export declare class DSQL extends DSQLClient implements DSQL {}
|
|
@@ -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 {
|
|
@@ -56,18 +53,12 @@ import {
|
|
|
56
53
|
DeleteStreamCommandInput,
|
|
57
54
|
DeleteStreamCommandOutput,
|
|
58
55
|
} from "./commands/DeleteStreamCommand";
|
|
59
|
-
import {
|
|
60
|
-
GetClusterCommandInput,
|
|
61
|
-
GetClusterCommandOutput,
|
|
62
|
-
} from "./commands/GetClusterCommand";
|
|
56
|
+
import { GetClusterCommandInput, GetClusterCommandOutput } from "./commands/GetClusterCommand";
|
|
63
57
|
import {
|
|
64
58
|
GetClusterPolicyCommandInput,
|
|
65
59
|
GetClusterPolicyCommandOutput,
|
|
66
60
|
} from "./commands/GetClusterPolicyCommand";
|
|
67
|
-
import {
|
|
68
|
-
GetStreamCommandInput,
|
|
69
|
-
GetStreamCommandOutput,
|
|
70
|
-
} from "./commands/GetStreamCommand";
|
|
61
|
+
import { GetStreamCommandInput, GetStreamCommandOutput } from "./commands/GetStreamCommand";
|
|
71
62
|
import {
|
|
72
63
|
GetVpcEndpointServiceNameCommandInput,
|
|
73
64
|
GetVpcEndpointServiceNameCommandOutput,
|
|
@@ -76,10 +67,7 @@ import {
|
|
|
76
67
|
ListClustersCommandInput,
|
|
77
68
|
ListClustersCommandOutput,
|
|
78
69
|
} from "./commands/ListClustersCommand";
|
|
79
|
-
import {
|
|
80
|
-
ListStreamsCommandInput,
|
|
81
|
-
ListStreamsCommandOutput,
|
|
82
|
-
} from "./commands/ListStreamsCommand";
|
|
70
|
+
import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
|
|
83
71
|
import {
|
|
84
72
|
ListTagsForResourceCommandInput,
|
|
85
73
|
ListTagsForResourceCommandOutput,
|
|
@@ -88,10 +76,7 @@ import {
|
|
|
88
76
|
PutClusterPolicyCommandInput,
|
|
89
77
|
PutClusterPolicyCommandOutput,
|
|
90
78
|
} from "./commands/PutClusterPolicyCommand";
|
|
91
|
-
import {
|
|
92
|
-
TagResourceCommandInput,
|
|
93
|
-
TagResourceCommandOutput,
|
|
94
|
-
} from "./commands/TagResourceCommand";
|
|
79
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
95
80
|
import {
|
|
96
81
|
UntagResourceCommandInput,
|
|
97
82
|
UntagResourceCommandOutput,
|
|
@@ -141,8 +126,7 @@ export type ServiceOutputTypes =
|
|
|
141
126
|
| TagResourceCommandOutput
|
|
142
127
|
| UntagResourceCommandOutput
|
|
143
128
|
| UpdateClusterCommandOutput;
|
|
144
|
-
export interface ClientDefaults
|
|
145
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
129
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
146
130
|
requestHandler?: __HttpHandlerUserInput;
|
|
147
131
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
148
132
|
urlParser?: __UrlParser;
|
|
@@ -167,9 +151,7 @@ export interface ClientDefaults
|
|
|
167
151
|
extensions?: RuntimeExtension[];
|
|
168
152
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
169
153
|
}
|
|
170
|
-
export type DSQLClientConfigType = Partial<
|
|
171
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
172
|
-
> &
|
|
154
|
+
export type DSQLClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
173
155
|
ClientDefaults &
|
|
174
156
|
UserAgentInputConfig &
|
|
175
157
|
RetryInputConfig &
|
|
@@ -179,19 +161,17 @@ export type DSQLClientConfigType = Partial<
|
|
|
179
161
|
HttpAuthSchemeInputConfig &
|
|
180
162
|
ClientInputEndpointParameters;
|
|
181
163
|
export interface DSQLClientConfig extends DSQLClientConfigType {}
|
|
182
|
-
export type DSQLClientResolvedConfigType =
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
export interface DSQLClientResolvedConfig
|
|
194
|
-
extends DSQLClientResolvedConfigType {}
|
|
164
|
+
export type DSQLClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
165
|
+
Required<ClientDefaults> &
|
|
166
|
+
RuntimeExtensionsConfig &
|
|
167
|
+
UserAgentResolvedConfig &
|
|
168
|
+
RetryResolvedConfig &
|
|
169
|
+
RegionResolvedConfig &
|
|
170
|
+
HostHeaderResolvedConfig &
|
|
171
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
172
|
+
HttpAuthSchemeResolvedConfig &
|
|
173
|
+
ClientResolvedEndpointParameters;
|
|
174
|
+
export interface DSQLClientResolvedConfig extends DSQLClientResolvedConfigType {}
|
|
195
175
|
export declare class DSQLClient extends __Client<
|
|
196
176
|
__HttpHandlerOptions,
|
|
197
177
|
ServiceInputTypes,
|
|
@@ -199,8 +179,6 @@ export declare class DSQLClient extends __Client<
|
|
|
199
179
|
DSQLClientResolvedConfig
|
|
200
180
|
> {
|
|
201
181
|
readonly config: DSQLClientResolvedConfig;
|
|
202
|
-
constructor(
|
|
203
|
-
...[configuration]: __CheckOptionalClientConfig<DSQLClientConfig>
|
|
204
|
-
);
|
|
182
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<DSQLClientConfig>);
|
|
205
183
|
destroy(): void;
|
|
206
184
|
}
|
|
@@ -7,17 +7,10 @@ import { DSQLHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: DSQLHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: DSQLHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): DSQLHttpAuthSchemeProvider;
|
|
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;
|
|
@@ -15,32 +15,29 @@ import { DSQLClientResolvedConfig } from "../DSQLClient";
|
|
|
15
15
|
export interface DSQLHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
16
16
|
region?: string;
|
|
17
17
|
}
|
|
18
|
-
export interface DSQLHttpAuthSchemeParametersProvider
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
> {}
|
|
18
|
+
export interface DSQLHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
DSQLClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
DSQLHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
25
24
|
export declare const defaultDSQLHttpAuthSchemeParametersProvider: (
|
|
26
25
|
config: DSQLClientResolvedConfig,
|
|
27
26
|
context: HandlerExecutionContext,
|
|
28
|
-
input: object
|
|
27
|
+
input: object,
|
|
29
28
|
) => Promise<DSQLHttpAuthSchemeParameters>;
|
|
30
|
-
export interface DSQLHttpAuthSchemeProvider
|
|
31
|
-
extends HttpAuthSchemeProvider<DSQLHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface DSQLHttpAuthSchemeProvider extends HttpAuthSchemeProvider<DSQLHttpAuthSchemeParameters> {}
|
|
32
30
|
export declare const defaultDSQLHttpAuthSchemeProvider: DSQLHttpAuthSchemeProvider;
|
|
33
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
34
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
35
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
36
34
|
httpAuthSchemeProvider?: DSQLHttpAuthSchemeProvider;
|
|
37
35
|
}
|
|
38
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
39
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
40
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
41
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
42
39
|
readonly httpAuthSchemeProvider: DSQLHttpAuthSchemeProvider;
|
|
43
40
|
}
|
|
44
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
45
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
46
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -1,25 +1,20 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
ServiceInputTypes,
|
|
5
|
-
ServiceOutputTypes,
|
|
6
|
-
} from "./DSQLClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
2
|
+
import { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./DSQLClient";
|
|
3
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
4
|
added: EndpointParameterInstructions,
|
|
12
5
|
plugins: (
|
|
13
6
|
CommandCtor: any,
|
|
14
7
|
clientStack: any,
|
|
15
8
|
config: any,
|
|
16
|
-
options: any
|
|
9
|
+
options: any,
|
|
17
10
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
11
|
op: string,
|
|
19
12
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
13
|
+
smithyContext?: Record<string, unknown>,
|
|
21
14
|
) => {
|
|
22
|
-
new (
|
|
15
|
+
new (
|
|
16
|
+
input: I,
|
|
17
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
18
|
I,
|
|
24
19
|
O,
|
|
25
20
|
DSQLClientResolvedConfig,
|
|
@@ -38,9 +33,4 @@ export declare const command: <
|
|
|
38
33
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
34
|
};
|
|
40
35
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
36
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { CreateClusterInput, CreateClusterOutput } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface CreateClusterCommandInput extends CreateClusterInput {}
|
|
5
|
-
export interface CreateClusterCommandOutput
|
|
6
|
-
extends CreateClusterOutput,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface CreateClusterCommandOutput extends CreateClusterOutput, __MetadataBearer {}
|
|
8
6
|
declare const CreateClusterCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: CreateClusterCommandInput
|
|
8
|
+
input: CreateClusterCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
CreateClusterCommandInput,
|
|
13
11
|
CreateClusterCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { CreateStreamInput, CreateStreamOutput } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface CreateStreamCommandInput extends CreateStreamInput {}
|
|
5
|
-
export interface CreateStreamCommandOutput
|
|
6
|
-
extends CreateStreamOutput,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface CreateStreamCommandOutput extends CreateStreamOutput, __MetadataBearer {}
|
|
8
6
|
declare const CreateStreamCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: CreateStreamCommandInput
|
|
8
|
+
input: CreateStreamCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
CreateStreamCommandInput,
|
|
13
11
|
CreateStreamCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const CreateStreamCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: CreateStreamCommandInput
|
|
17
|
+
input: CreateStreamCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
CreateStreamCommandInput,
|
|
22
20
|
CreateStreamCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { DeleteClusterInput, DeleteClusterOutput } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface DeleteClusterCommandInput extends DeleteClusterInput {}
|
|
5
|
-
export interface DeleteClusterCommandOutput
|
|
6
|
-
extends DeleteClusterOutput,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface DeleteClusterCommandOutput extends DeleteClusterOutput, __MetadataBearer {}
|
|
8
6
|
declare const DeleteClusterCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: DeleteClusterCommandInput
|
|
8
|
+
input: DeleteClusterCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
DeleteClusterCommandInput,
|
|
13
11
|
DeleteClusterCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const DeleteClusterCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: DeleteClusterCommandInput
|
|
17
|
+
input: DeleteClusterCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
DeleteClusterCommandInput,
|
|
22
20
|
DeleteClusterCommandOutput,
|