@aws-sdk/client-dsql 3.1136.0 → 3.1138.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 CHANGED
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1135.0";
70
+ var version = "3.1137.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -361,10 +361,10 @@ const _tK = "tagKeys";
361
361
  const _uA = "updatedAt";
362
362
  const _wR = "witnessRegion";
363
363
  const n0 = "com.amazonaws.dsql";
364
- const _s_registry = TypeRegistry.for(_s);
364
+ const _s_registry = new TypeRegistry(_s);
365
365
  var DSQLServiceException$ = [-3, _s, "DSQLServiceException", 0, [], []];
366
366
  _s_registry.registerError(DSQLServiceException$, DSQLServiceException);
367
- const n0_registry = TypeRegistry.for(n0);
367
+ const n0_registry = new TypeRegistry(n0);
368
368
  var AccessDeniedException$ = [-3, n0, _ADE,
369
369
  { [_e]: _c, [_hE]: 403 },
370
370
  [_m],
@@ -126,10 +126,10 @@ const n0 = "com.amazonaws.dsql";
126
126
  import { TypeRegistry } from "@smithy/core/schema";
127
127
  import { DSQLServiceException } from "../models/DSQLServiceException";
128
128
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
129
- const _s_registry = TypeRegistry.for(_s);
129
+ const _s_registry = new TypeRegistry(_s);
130
130
  export var DSQLServiceException$ = [-3, _s, "DSQLServiceException", 0, [], []];
131
131
  _s_registry.registerError(DSQLServiceException$, DSQLServiceException);
132
- const n0_registry = TypeRegistry.for(n0);
132
+ const n0_registry = new TypeRegistry(n0);
133
133
  export var AccessDeniedException$ = [-3, n0, _ADE,
134
134
  { [_e]: _c, [_hE]: 403 },
135
135
  [_m],
@@ -1,5 +1,5 @@
1
1
  import { type WaiterResult } from "@smithy/core/client";
2
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
3
3
  import { type CreateClusterCommandInput, type CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
4
4
  import { type CreateStreamCommandInput, type CreateStreamCommandOutput } from "./commands/CreateStreamCommand";
5
5
  import { type DeleteClusterCommandInput, type DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
@@ -18,105 +18,111 @@ import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from
18
18
  import { type UpdateClusterCommandInput, type UpdateClusterCommandOutput } from "./commands/UpdateClusterCommand";
19
19
  import { DSQLClient } from "./DSQLClient";
20
20
  import type { ResourceNotFoundException } from "./models/errors";
21
+ /**
22
+ * @public
23
+ */
24
+ export interface DSQLRequestOptions extends __HttpHandlerOptions {
25
+ metricsRecorder?: __MetricsRecorder<unknown>;
26
+ }
21
27
  export interface DSQL {
22
28
  /**
23
29
  * @see {@link CreateClusterCommand}
24
30
  */
25
31
  createCluster(): Promise<CreateClusterCommandOutput>;
26
- createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterCommandOutput>;
32
+ createCluster(args: CreateClusterCommandInput, options?: DSQLRequestOptions): Promise<CreateClusterCommandOutput>;
27
33
  createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
28
- createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
34
+ createCluster(args: CreateClusterCommandInput, options: DSQLRequestOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
29
35
  /**
30
36
  * @see {@link CreateStreamCommand}
31
37
  */
32
- createStream(args: CreateStreamCommandInput, options?: __HttpHandlerOptions): Promise<CreateStreamCommandOutput>;
38
+ createStream(args: CreateStreamCommandInput, options?: DSQLRequestOptions): Promise<CreateStreamCommandOutput>;
33
39
  createStream(args: CreateStreamCommandInput, cb: (err: any, data?: CreateStreamCommandOutput) => void): void;
34
- createStream(args: CreateStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStreamCommandOutput) => void): void;
40
+ createStream(args: CreateStreamCommandInput, options: DSQLRequestOptions, cb: (err: any, data?: CreateStreamCommandOutput) => void): void;
35
41
  /**
36
42
  * @see {@link DeleteClusterCommand}
37
43
  */
38
- deleteCluster(args: DeleteClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterCommandOutput>;
44
+ deleteCluster(args: DeleteClusterCommandInput, options?: DSQLRequestOptions): Promise<DeleteClusterCommandOutput>;
39
45
  deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
40
- deleteCluster(args: DeleteClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
46
+ deleteCluster(args: DeleteClusterCommandInput, options: DSQLRequestOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
41
47
  /**
42
48
  * @see {@link DeleteClusterPolicyCommand}
43
49
  */
44
- deleteClusterPolicy(args: DeleteClusterPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterPolicyCommandOutput>;
50
+ deleteClusterPolicy(args: DeleteClusterPolicyCommandInput, options?: DSQLRequestOptions): Promise<DeleteClusterPolicyCommandOutput>;
45
51
  deleteClusterPolicy(args: DeleteClusterPolicyCommandInput, cb: (err: any, data?: DeleteClusterPolicyCommandOutput) => void): void;
46
- deleteClusterPolicy(args: DeleteClusterPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterPolicyCommandOutput) => void): void;
52
+ deleteClusterPolicy(args: DeleteClusterPolicyCommandInput, options: DSQLRequestOptions, cb: (err: any, data?: DeleteClusterPolicyCommandOutput) => void): void;
47
53
  /**
48
54
  * @see {@link DeleteStreamCommand}
49
55
  */
50
- deleteStream(args: DeleteStreamCommandInput, options?: __HttpHandlerOptions): Promise<DeleteStreamCommandOutput>;
56
+ deleteStream(args: DeleteStreamCommandInput, options?: DSQLRequestOptions): Promise<DeleteStreamCommandOutput>;
51
57
  deleteStream(args: DeleteStreamCommandInput, cb: (err: any, data?: DeleteStreamCommandOutput) => void): void;
52
- deleteStream(args: DeleteStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteStreamCommandOutput) => void): void;
58
+ deleteStream(args: DeleteStreamCommandInput, options: DSQLRequestOptions, cb: (err: any, data?: DeleteStreamCommandOutput) => void): void;
53
59
  /**
54
60
  * @see {@link GetClusterCommand}
55
61
  */
56
- getCluster(args: GetClusterCommandInput, options?: __HttpHandlerOptions): Promise<GetClusterCommandOutput>;
62
+ getCluster(args: GetClusterCommandInput, options?: DSQLRequestOptions): Promise<GetClusterCommandOutput>;
57
63
  getCluster(args: GetClusterCommandInput, cb: (err: any, data?: GetClusterCommandOutput) => void): void;
58
- getCluster(args: GetClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClusterCommandOutput) => void): void;
64
+ getCluster(args: GetClusterCommandInput, options: DSQLRequestOptions, cb: (err: any, data?: GetClusterCommandOutput) => void): void;
59
65
  /**
60
66
  * @see {@link GetClusterPolicyCommand}
61
67
  */
62
- getClusterPolicy(args: GetClusterPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetClusterPolicyCommandOutput>;
68
+ getClusterPolicy(args: GetClusterPolicyCommandInput, options?: DSQLRequestOptions): Promise<GetClusterPolicyCommandOutput>;
63
69
  getClusterPolicy(args: GetClusterPolicyCommandInput, cb: (err: any, data?: GetClusterPolicyCommandOutput) => void): void;
64
- getClusterPolicy(args: GetClusterPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClusterPolicyCommandOutput) => void): void;
70
+ getClusterPolicy(args: GetClusterPolicyCommandInput, options: DSQLRequestOptions, cb: (err: any, data?: GetClusterPolicyCommandOutput) => void): void;
65
71
  /**
66
72
  * @see {@link GetStreamCommand}
67
73
  */
68
- getStream(args: GetStreamCommandInput, options?: __HttpHandlerOptions): Promise<GetStreamCommandOutput>;
74
+ getStream(args: GetStreamCommandInput, options?: DSQLRequestOptions): Promise<GetStreamCommandOutput>;
69
75
  getStream(args: GetStreamCommandInput, cb: (err: any, data?: GetStreamCommandOutput) => void): void;
70
- getStream(args: GetStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStreamCommandOutput) => void): void;
76
+ getStream(args: GetStreamCommandInput, options: DSQLRequestOptions, cb: (err: any, data?: GetStreamCommandOutput) => void): void;
71
77
  /**
72
78
  * @see {@link GetVpcEndpointServiceNameCommand}
73
79
  */
74
- getVpcEndpointServiceName(args: GetVpcEndpointServiceNameCommandInput, options?: __HttpHandlerOptions): Promise<GetVpcEndpointServiceNameCommandOutput>;
80
+ getVpcEndpointServiceName(args: GetVpcEndpointServiceNameCommandInput, options?: DSQLRequestOptions): Promise<GetVpcEndpointServiceNameCommandOutput>;
75
81
  getVpcEndpointServiceName(args: GetVpcEndpointServiceNameCommandInput, cb: (err: any, data?: GetVpcEndpointServiceNameCommandOutput) => void): void;
76
- getVpcEndpointServiceName(args: GetVpcEndpointServiceNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetVpcEndpointServiceNameCommandOutput) => void): void;
82
+ getVpcEndpointServiceName(args: GetVpcEndpointServiceNameCommandInput, options: DSQLRequestOptions, cb: (err: any, data?: GetVpcEndpointServiceNameCommandOutput) => void): void;
77
83
  /**
78
84
  * @see {@link ListClustersCommand}
79
85
  */
80
86
  listClusters(): Promise<ListClustersCommandOutput>;
81
- listClusters(args: ListClustersCommandInput, options?: __HttpHandlerOptions): Promise<ListClustersCommandOutput>;
87
+ listClusters(args: ListClustersCommandInput, options?: DSQLRequestOptions): Promise<ListClustersCommandOutput>;
82
88
  listClusters(args: ListClustersCommandInput, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
83
- listClusters(args: ListClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
89
+ listClusters(args: ListClustersCommandInput, options: DSQLRequestOptions, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
84
90
  /**
85
91
  * @see {@link ListStreamsCommand}
86
92
  */
87
- listStreams(args: ListStreamsCommandInput, options?: __HttpHandlerOptions): Promise<ListStreamsCommandOutput>;
93
+ listStreams(args: ListStreamsCommandInput, options?: DSQLRequestOptions): Promise<ListStreamsCommandOutput>;
88
94
  listStreams(args: ListStreamsCommandInput, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
89
- listStreams(args: ListStreamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
95
+ listStreams(args: ListStreamsCommandInput, options: DSQLRequestOptions, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
90
96
  /**
91
97
  * @see {@link ListTagsForResourceCommand}
92
98
  */
93
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
99
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: DSQLRequestOptions): Promise<ListTagsForResourceCommandOutput>;
94
100
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
95
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
101
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: DSQLRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
96
102
  /**
97
103
  * @see {@link PutClusterPolicyCommand}
98
104
  */
99
- putClusterPolicy(args: PutClusterPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutClusterPolicyCommandOutput>;
105
+ putClusterPolicy(args: PutClusterPolicyCommandInput, options?: DSQLRequestOptions): Promise<PutClusterPolicyCommandOutput>;
100
106
  putClusterPolicy(args: PutClusterPolicyCommandInput, cb: (err: any, data?: PutClusterPolicyCommandOutput) => void): void;
101
- putClusterPolicy(args: PutClusterPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutClusterPolicyCommandOutput) => void): void;
107
+ putClusterPolicy(args: PutClusterPolicyCommandInput, options: DSQLRequestOptions, cb: (err: any, data?: PutClusterPolicyCommandOutput) => void): void;
102
108
  /**
103
109
  * @see {@link TagResourceCommand}
104
110
  */
105
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
111
+ tagResource(args: TagResourceCommandInput, options?: DSQLRequestOptions): Promise<TagResourceCommandOutput>;
106
112
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
107
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
113
+ tagResource(args: TagResourceCommandInput, options: DSQLRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
108
114
  /**
109
115
  * @see {@link UntagResourceCommand}
110
116
  */
111
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
117
+ untagResource(args: UntagResourceCommandInput, options?: DSQLRequestOptions): Promise<UntagResourceCommandOutput>;
112
118
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
113
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
119
+ untagResource(args: UntagResourceCommandInput, options: DSQLRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
114
120
  /**
115
121
  * @see {@link UpdateClusterCommand}
116
122
  */
117
- updateCluster(args: UpdateClusterCommandInput, options?: __HttpHandlerOptions): Promise<UpdateClusterCommandOutput>;
123
+ updateCluster(args: UpdateClusterCommandInput, options?: DSQLRequestOptions): Promise<UpdateClusterCommandOutput>;
118
124
  updateCluster(args: UpdateClusterCommandInput, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
119
- updateCluster(args: UpdateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
125
+ updateCluster(args: UpdateClusterCommandInput, options: DSQLRequestOptions, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
120
126
  /**
121
127
  * @see {@link ListClustersCommand}
122
128
  * @param args - command input.
@@ -1,6 +1,7 @@
1
1
  import { WaiterResult } from "@smithy/core/client";
2
2
  import {
3
3
  HttpHandlerOptions as __HttpHandlerOptions,
4
+ MetricsRecorder as __MetricsRecorder,
4
5
  PaginationConfiguration,
5
6
  Paginator,
6
7
  WaiterConfiguration,
@@ -59,11 +60,14 @@ import {
59
60
  } from "./commands/UpdateClusterCommand";
60
61
  import { DSQLClient } from "./DSQLClient";
61
62
  import { ResourceNotFoundException } from "./models/errors";
63
+ export interface DSQLRequestOptions extends __HttpHandlerOptions {
64
+ metricsRecorder?: __MetricsRecorder<unknown>;
65
+ }
62
66
  export interface DSQL {
63
67
  createCluster(): Promise<CreateClusterCommandOutput>;
64
68
  createCluster(
65
69
  args: CreateClusterCommandInput,
66
- options?: __HttpHandlerOptions,
70
+ options?: DSQLRequestOptions,
67
71
  ): Promise<CreateClusterCommandOutput>;
68
72
  createCluster(
69
73
  args: CreateClusterCommandInput,
@@ -71,12 +75,12 @@ export interface DSQL {
71
75
  ): void;
72
76
  createCluster(
73
77
  args: CreateClusterCommandInput,
74
- options: __HttpHandlerOptions,
78
+ options: DSQLRequestOptions,
75
79
  cb: (err: any, data?: CreateClusterCommandOutput) => void,
76
80
  ): void;
77
81
  createStream(
78
82
  args: CreateStreamCommandInput,
79
- options?: __HttpHandlerOptions,
83
+ options?: DSQLRequestOptions,
80
84
  ): Promise<CreateStreamCommandOutput>;
81
85
  createStream(
82
86
  args: CreateStreamCommandInput,
@@ -84,12 +88,12 @@ export interface DSQL {
84
88
  ): void;
85
89
  createStream(
86
90
  args: CreateStreamCommandInput,
87
- options: __HttpHandlerOptions,
91
+ options: DSQLRequestOptions,
88
92
  cb: (err: any, data?: CreateStreamCommandOutput) => void,
89
93
  ): void;
90
94
  deleteCluster(
91
95
  args: DeleteClusterCommandInput,
92
- options?: __HttpHandlerOptions,
96
+ options?: DSQLRequestOptions,
93
97
  ): Promise<DeleteClusterCommandOutput>;
94
98
  deleteCluster(
95
99
  args: DeleteClusterCommandInput,
@@ -97,12 +101,12 @@ export interface DSQL {
97
101
  ): void;
98
102
  deleteCluster(
99
103
  args: DeleteClusterCommandInput,
100
- options: __HttpHandlerOptions,
104
+ options: DSQLRequestOptions,
101
105
  cb: (err: any, data?: DeleteClusterCommandOutput) => void,
102
106
  ): void;
103
107
  deleteClusterPolicy(
104
108
  args: DeleteClusterPolicyCommandInput,
105
- options?: __HttpHandlerOptions,
109
+ options?: DSQLRequestOptions,
106
110
  ): Promise<DeleteClusterPolicyCommandOutput>;
107
111
  deleteClusterPolicy(
108
112
  args: DeleteClusterPolicyCommandInput,
@@ -110,12 +114,12 @@ export interface DSQL {
110
114
  ): void;
111
115
  deleteClusterPolicy(
112
116
  args: DeleteClusterPolicyCommandInput,
113
- options: __HttpHandlerOptions,
117
+ options: DSQLRequestOptions,
114
118
  cb: (err: any, data?: DeleteClusterPolicyCommandOutput) => void,
115
119
  ): void;
116
120
  deleteStream(
117
121
  args: DeleteStreamCommandInput,
118
- options?: __HttpHandlerOptions,
122
+ options?: DSQLRequestOptions,
119
123
  ): Promise<DeleteStreamCommandOutput>;
120
124
  deleteStream(
121
125
  args: DeleteStreamCommandInput,
@@ -123,12 +127,12 @@ export interface DSQL {
123
127
  ): void;
124
128
  deleteStream(
125
129
  args: DeleteStreamCommandInput,
126
- options: __HttpHandlerOptions,
130
+ options: DSQLRequestOptions,
127
131
  cb: (err: any, data?: DeleteStreamCommandOutput) => void,
128
132
  ): void;
129
133
  getCluster(
130
134
  args: GetClusterCommandInput,
131
- options?: __HttpHandlerOptions,
135
+ options?: DSQLRequestOptions,
132
136
  ): Promise<GetClusterCommandOutput>;
133
137
  getCluster(
134
138
  args: GetClusterCommandInput,
@@ -136,12 +140,12 @@ export interface DSQL {
136
140
  ): void;
137
141
  getCluster(
138
142
  args: GetClusterCommandInput,
139
- options: __HttpHandlerOptions,
143
+ options: DSQLRequestOptions,
140
144
  cb: (err: any, data?: GetClusterCommandOutput) => void,
141
145
  ): void;
142
146
  getClusterPolicy(
143
147
  args: GetClusterPolicyCommandInput,
144
- options?: __HttpHandlerOptions,
148
+ options?: DSQLRequestOptions,
145
149
  ): Promise<GetClusterPolicyCommandOutput>;
146
150
  getClusterPolicy(
147
151
  args: GetClusterPolicyCommandInput,
@@ -149,12 +153,12 @@ export interface DSQL {
149
153
  ): void;
150
154
  getClusterPolicy(
151
155
  args: GetClusterPolicyCommandInput,
152
- options: __HttpHandlerOptions,
156
+ options: DSQLRequestOptions,
153
157
  cb: (err: any, data?: GetClusterPolicyCommandOutput) => void,
154
158
  ): void;
155
159
  getStream(
156
160
  args: GetStreamCommandInput,
157
- options?: __HttpHandlerOptions,
161
+ options?: DSQLRequestOptions,
158
162
  ): Promise<GetStreamCommandOutput>;
159
163
  getStream(
160
164
  args: GetStreamCommandInput,
@@ -162,12 +166,12 @@ export interface DSQL {
162
166
  ): void;
163
167
  getStream(
164
168
  args: GetStreamCommandInput,
165
- options: __HttpHandlerOptions,
169
+ options: DSQLRequestOptions,
166
170
  cb: (err: any, data?: GetStreamCommandOutput) => void,
167
171
  ): void;
168
172
  getVpcEndpointServiceName(
169
173
  args: GetVpcEndpointServiceNameCommandInput,
170
- options?: __HttpHandlerOptions,
174
+ options?: DSQLRequestOptions,
171
175
  ): Promise<GetVpcEndpointServiceNameCommandOutput>;
172
176
  getVpcEndpointServiceName(
173
177
  args: GetVpcEndpointServiceNameCommandInput,
@@ -175,13 +179,13 @@ export interface DSQL {
175
179
  ): void;
176
180
  getVpcEndpointServiceName(
177
181
  args: GetVpcEndpointServiceNameCommandInput,
178
- options: __HttpHandlerOptions,
182
+ options: DSQLRequestOptions,
179
183
  cb: (err: any, data?: GetVpcEndpointServiceNameCommandOutput) => void,
180
184
  ): void;
181
185
  listClusters(): Promise<ListClustersCommandOutput>;
182
186
  listClusters(
183
187
  args: ListClustersCommandInput,
184
- options?: __HttpHandlerOptions,
188
+ options?: DSQLRequestOptions,
185
189
  ): Promise<ListClustersCommandOutput>;
186
190
  listClusters(
187
191
  args: ListClustersCommandInput,
@@ -189,12 +193,12 @@ export interface DSQL {
189
193
  ): void;
190
194
  listClusters(
191
195
  args: ListClustersCommandInput,
192
- options: __HttpHandlerOptions,
196
+ options: DSQLRequestOptions,
193
197
  cb: (err: any, data?: ListClustersCommandOutput) => void,
194
198
  ): void;
195
199
  listStreams(
196
200
  args: ListStreamsCommandInput,
197
- options?: __HttpHandlerOptions,
201
+ options?: DSQLRequestOptions,
198
202
  ): Promise<ListStreamsCommandOutput>;
199
203
  listStreams(
200
204
  args: ListStreamsCommandInput,
@@ -202,12 +206,12 @@ export interface DSQL {
202
206
  ): void;
203
207
  listStreams(
204
208
  args: ListStreamsCommandInput,
205
- options: __HttpHandlerOptions,
209
+ options: DSQLRequestOptions,
206
210
  cb: (err: any, data?: ListStreamsCommandOutput) => void,
207
211
  ): void;
208
212
  listTagsForResource(
209
213
  args: ListTagsForResourceCommandInput,
210
- options?: __HttpHandlerOptions,
214
+ options?: DSQLRequestOptions,
211
215
  ): Promise<ListTagsForResourceCommandOutput>;
212
216
  listTagsForResource(
213
217
  args: ListTagsForResourceCommandInput,
@@ -215,12 +219,12 @@ export interface DSQL {
215
219
  ): void;
216
220
  listTagsForResource(
217
221
  args: ListTagsForResourceCommandInput,
218
- options: __HttpHandlerOptions,
222
+ options: DSQLRequestOptions,
219
223
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
220
224
  ): void;
221
225
  putClusterPolicy(
222
226
  args: PutClusterPolicyCommandInput,
223
- options?: __HttpHandlerOptions,
227
+ options?: DSQLRequestOptions,
224
228
  ): Promise<PutClusterPolicyCommandOutput>;
225
229
  putClusterPolicy(
226
230
  args: PutClusterPolicyCommandInput,
@@ -228,12 +232,12 @@ export interface DSQL {
228
232
  ): void;
229
233
  putClusterPolicy(
230
234
  args: PutClusterPolicyCommandInput,
231
- options: __HttpHandlerOptions,
235
+ options: DSQLRequestOptions,
232
236
  cb: (err: any, data?: PutClusterPolicyCommandOutput) => void,
233
237
  ): void;
234
238
  tagResource(
235
239
  args: TagResourceCommandInput,
236
- options?: __HttpHandlerOptions,
240
+ options?: DSQLRequestOptions,
237
241
  ): Promise<TagResourceCommandOutput>;
238
242
  tagResource(
239
243
  args: TagResourceCommandInput,
@@ -241,12 +245,12 @@ export interface DSQL {
241
245
  ): void;
242
246
  tagResource(
243
247
  args: TagResourceCommandInput,
244
- options: __HttpHandlerOptions,
248
+ options: DSQLRequestOptions,
245
249
  cb: (err: any, data?: TagResourceCommandOutput) => void,
246
250
  ): void;
247
251
  untagResource(
248
252
  args: UntagResourceCommandInput,
249
- options?: __HttpHandlerOptions,
253
+ options?: DSQLRequestOptions,
250
254
  ): Promise<UntagResourceCommandOutput>;
251
255
  untagResource(
252
256
  args: UntagResourceCommandInput,
@@ -254,12 +258,12 @@ export interface DSQL {
254
258
  ): void;
255
259
  untagResource(
256
260
  args: UntagResourceCommandInput,
257
- options: __HttpHandlerOptions,
261
+ options: DSQLRequestOptions,
258
262
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
259
263
  ): void;
260
264
  updateCluster(
261
265
  args: UpdateClusterCommandInput,
262
- options?: __HttpHandlerOptions,
266
+ options?: DSQLRequestOptions,
263
267
  ): Promise<UpdateClusterCommandOutput>;
264
268
  updateCluster(
265
269
  args: UpdateClusterCommandInput,
@@ -267,7 +271,7 @@ export interface DSQL {
267
271
  ): void;
268
272
  updateCluster(
269
273
  args: UpdateClusterCommandInput,
270
- options: __HttpHandlerOptions,
274
+ options: DSQLRequestOptions,
271
275
  cb: (err: any, data?: UpdateClusterCommandOutput) => void,
272
276
  ): void;
273
277
  paginateListClusters(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dsql",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Dsql Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-dsql",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {