@aws-sdk/client-timestream-query 3.1137.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
@@ -428,10 +428,10 @@ const _hE = "httpError";
428
428
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.timestreamquery";
429
429
  const _se = "server";
430
430
  const n0 = "com.amazonaws.timestreamquery";
431
- const _s_registry = TypeRegistry.for(_s);
431
+ const _s_registry = new TypeRegistry(_s);
432
432
  var TimestreamQueryServiceException$ = [-3, _s, "TimestreamQueryServiceException", 0, [], []];
433
433
  _s_registry.registerError(TimestreamQueryServiceException$, TimestreamQueryServiceException);
434
- const n0_registry = TypeRegistry.for(n0);
434
+ const n0_registry = new TypeRegistry(n0);
435
435
  var AccessDeniedException$ = [-3, n0, _ADE,
436
436
  { [_aQE]: [`AccessDenied`, 403], [_e]: _c, [_hE]: 403 },
437
437
  [_M],
@@ -932,7 +932,7 @@ var UpdateScheduledQuery$ = [9, n0, _USQ,
932
932
  class DescribeEndpointsCommand extends command(_ep0, _mw1, "DescribeEndpoints", DescribeEndpoints$) {
933
933
  }
934
934
 
935
- var version = "3.1136.0";
935
+ var version = "3.1137.0";
936
936
  var packageInfo = {
937
937
  version: version};
938
938
 
@@ -212,10 +212,10 @@ const n0 = "com.amazonaws.timestreamquery";
212
212
  import { TypeRegistry } from "@smithy/core/schema";
213
213
  import { AccessDeniedException, ConflictException, InternalServerException, InvalidEndpointException, QueryExecutionException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
214
214
  import { TimestreamQueryServiceException } from "../models/TimestreamQueryServiceException";
215
- const _s_registry = TypeRegistry.for(_s);
215
+ const _s_registry = new TypeRegistry(_s);
216
216
  export var TimestreamQueryServiceException$ = [-3, _s, "TimestreamQueryServiceException", 0, [], []];
217
217
  _s_registry.registerError(TimestreamQueryServiceException$, TimestreamQueryServiceException);
218
- const n0_registry = TypeRegistry.for(n0);
218
+ const n0_registry = new TypeRegistry(n0);
219
219
  export var AccessDeniedException$ = [-3, n0, _ADE,
220
220
  { [_aQE]: [`AccessDenied`, 403], [_e]: _c, [_hE]: 403 },
221
221
  [_M],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type CancelQueryCommandInput, type CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
3
3
  import { type CreateScheduledQueryCommandInput, type CreateScheduledQueryCommandOutput } from "./commands/CreateScheduledQueryCommand";
4
4
  import { type DeleteScheduledQueryCommandInput, type DeleteScheduledQueryCommandOutput } from "./commands/DeleteScheduledQueryCommand";
@@ -15,101 +15,107 @@ import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from
15
15
  import { type UpdateAccountSettingsCommandInput, type UpdateAccountSettingsCommandOutput } from "./commands/UpdateAccountSettingsCommand";
16
16
  import { type UpdateScheduledQueryCommandInput, type UpdateScheduledQueryCommandOutput } from "./commands/UpdateScheduledQueryCommand";
17
17
  import { TimestreamQueryClient } from "./TimestreamQueryClient";
18
+ /**
19
+ * @public
20
+ */
21
+ export interface TimestreamQueryRequestOptions extends __HttpHandlerOptions {
22
+ metricsRecorder?: __MetricsRecorder<unknown>;
23
+ }
18
24
  export interface TimestreamQuery {
19
25
  /**
20
26
  * @see {@link CancelQueryCommand}
21
27
  */
22
- cancelQuery(args: CancelQueryCommandInput, options?: __HttpHandlerOptions): Promise<CancelQueryCommandOutput>;
28
+ cancelQuery(args: CancelQueryCommandInput, options?: TimestreamQueryRequestOptions): Promise<CancelQueryCommandOutput>;
23
29
  cancelQuery(args: CancelQueryCommandInput, cb: (err: any, data?: CancelQueryCommandOutput) => void): void;
24
- cancelQuery(args: CancelQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelQueryCommandOutput) => void): void;
30
+ cancelQuery(args: CancelQueryCommandInput, options: TimestreamQueryRequestOptions, cb: (err: any, data?: CancelQueryCommandOutput) => void): void;
25
31
  /**
26
32
  * @see {@link CreateScheduledQueryCommand}
27
33
  */
28
- createScheduledQuery(args: CreateScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<CreateScheduledQueryCommandOutput>;
34
+ createScheduledQuery(args: CreateScheduledQueryCommandInput, options?: TimestreamQueryRequestOptions): Promise<CreateScheduledQueryCommandOutput>;
29
35
  createScheduledQuery(args: CreateScheduledQueryCommandInput, cb: (err: any, data?: CreateScheduledQueryCommandOutput) => void): void;
30
- createScheduledQuery(args: CreateScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateScheduledQueryCommandOutput) => void): void;
36
+ createScheduledQuery(args: CreateScheduledQueryCommandInput, options: TimestreamQueryRequestOptions, cb: (err: any, data?: CreateScheduledQueryCommandOutput) => void): void;
31
37
  /**
32
38
  * @see {@link DeleteScheduledQueryCommand}
33
39
  */
34
- deleteScheduledQuery(args: DeleteScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScheduledQueryCommandOutput>;
40
+ deleteScheduledQuery(args: DeleteScheduledQueryCommandInput, options?: TimestreamQueryRequestOptions): Promise<DeleteScheduledQueryCommandOutput>;
35
41
  deleteScheduledQuery(args: DeleteScheduledQueryCommandInput, cb: (err: any, data?: DeleteScheduledQueryCommandOutput) => void): void;
36
- deleteScheduledQuery(args: DeleteScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScheduledQueryCommandOutput) => void): void;
42
+ deleteScheduledQuery(args: DeleteScheduledQueryCommandInput, options: TimestreamQueryRequestOptions, cb: (err: any, data?: DeleteScheduledQueryCommandOutput) => void): void;
37
43
  /**
38
44
  * @see {@link DescribeAccountSettingsCommand}
39
45
  */
40
46
  describeAccountSettings(): Promise<DescribeAccountSettingsCommandOutput>;
41
- describeAccountSettings(args: DescribeAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAccountSettingsCommandOutput>;
47
+ describeAccountSettings(args: DescribeAccountSettingsCommandInput, options?: TimestreamQueryRequestOptions): Promise<DescribeAccountSettingsCommandOutput>;
42
48
  describeAccountSettings(args: DescribeAccountSettingsCommandInput, cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void): void;
43
- describeAccountSettings(args: DescribeAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void): void;
49
+ describeAccountSettings(args: DescribeAccountSettingsCommandInput, options: TimestreamQueryRequestOptions, cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void): void;
44
50
  /**
45
51
  * @see {@link DescribeEndpointsCommand}
46
52
  */
47
53
  describeEndpoints(): Promise<DescribeEndpointsCommandOutput>;
48
- describeEndpoints(args: DescribeEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEndpointsCommandOutput>;
54
+ describeEndpoints(args: DescribeEndpointsCommandInput, options?: TimestreamQueryRequestOptions): Promise<DescribeEndpointsCommandOutput>;
49
55
  describeEndpoints(args: DescribeEndpointsCommandInput, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
50
- describeEndpoints(args: DescribeEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
56
+ describeEndpoints(args: DescribeEndpointsCommandInput, options: TimestreamQueryRequestOptions, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
51
57
  /**
52
58
  * @see {@link DescribeScheduledQueryCommand}
53
59
  */
54
- describeScheduledQuery(args: DescribeScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScheduledQueryCommandOutput>;
60
+ describeScheduledQuery(args: DescribeScheduledQueryCommandInput, options?: TimestreamQueryRequestOptions): Promise<DescribeScheduledQueryCommandOutput>;
55
61
  describeScheduledQuery(args: DescribeScheduledQueryCommandInput, cb: (err: any, data?: DescribeScheduledQueryCommandOutput) => void): void;
56
- describeScheduledQuery(args: DescribeScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScheduledQueryCommandOutput) => void): void;
62
+ describeScheduledQuery(args: DescribeScheduledQueryCommandInput, options: TimestreamQueryRequestOptions, cb: (err: any, data?: DescribeScheduledQueryCommandOutput) => void): void;
57
63
  /**
58
64
  * @see {@link ExecuteScheduledQueryCommand}
59
65
  */
60
- executeScheduledQuery(args: ExecuteScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteScheduledQueryCommandOutput>;
66
+ executeScheduledQuery(args: ExecuteScheduledQueryCommandInput, options?: TimestreamQueryRequestOptions): Promise<ExecuteScheduledQueryCommandOutput>;
61
67
  executeScheduledQuery(args: ExecuteScheduledQueryCommandInput, cb: (err: any, data?: ExecuteScheduledQueryCommandOutput) => void): void;
62
- executeScheduledQuery(args: ExecuteScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteScheduledQueryCommandOutput) => void): void;
68
+ executeScheduledQuery(args: ExecuteScheduledQueryCommandInput, options: TimestreamQueryRequestOptions, cb: (err: any, data?: ExecuteScheduledQueryCommandOutput) => void): void;
63
69
  /**
64
70
  * @see {@link ListScheduledQueriesCommand}
65
71
  */
66
72
  listScheduledQueries(): Promise<ListScheduledQueriesCommandOutput>;
67
- listScheduledQueries(args: ListScheduledQueriesCommandInput, options?: __HttpHandlerOptions): Promise<ListScheduledQueriesCommandOutput>;
73
+ listScheduledQueries(args: ListScheduledQueriesCommandInput, options?: TimestreamQueryRequestOptions): Promise<ListScheduledQueriesCommandOutput>;
68
74
  listScheduledQueries(args: ListScheduledQueriesCommandInput, cb: (err: any, data?: ListScheduledQueriesCommandOutput) => void): void;
69
- listScheduledQueries(args: ListScheduledQueriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListScheduledQueriesCommandOutput) => void): void;
75
+ listScheduledQueries(args: ListScheduledQueriesCommandInput, options: TimestreamQueryRequestOptions, cb: (err: any, data?: ListScheduledQueriesCommandOutput) => void): void;
70
76
  /**
71
77
  * @see {@link ListTagsForResourceCommand}
72
78
  */
73
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
79
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: TimestreamQueryRequestOptions): Promise<ListTagsForResourceCommandOutput>;
74
80
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
75
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
81
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: TimestreamQueryRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
76
82
  /**
77
83
  * @see {@link PrepareQueryCommand}
78
84
  */
79
- prepareQuery(args: PrepareQueryCommandInput, options?: __HttpHandlerOptions): Promise<PrepareQueryCommandOutput>;
85
+ prepareQuery(args: PrepareQueryCommandInput, options?: TimestreamQueryRequestOptions): Promise<PrepareQueryCommandOutput>;
80
86
  prepareQuery(args: PrepareQueryCommandInput, cb: (err: any, data?: PrepareQueryCommandOutput) => void): void;
81
- prepareQuery(args: PrepareQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PrepareQueryCommandOutput) => void): void;
87
+ prepareQuery(args: PrepareQueryCommandInput, options: TimestreamQueryRequestOptions, cb: (err: any, data?: PrepareQueryCommandOutput) => void): void;
82
88
  /**
83
89
  * @see {@link QueryCommand}
84
90
  */
85
- query(args: QueryCommandInput, options?: __HttpHandlerOptions): Promise<QueryCommandOutput>;
91
+ query(args: QueryCommandInput, options?: TimestreamQueryRequestOptions): Promise<QueryCommandOutput>;
86
92
  query(args: QueryCommandInput, cb: (err: any, data?: QueryCommandOutput) => void): void;
87
- query(args: QueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryCommandOutput) => void): void;
93
+ query(args: QueryCommandInput, options: TimestreamQueryRequestOptions, cb: (err: any, data?: QueryCommandOutput) => void): void;
88
94
  /**
89
95
  * @see {@link TagResourceCommand}
90
96
  */
91
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
97
+ tagResource(args: TagResourceCommandInput, options?: TimestreamQueryRequestOptions): Promise<TagResourceCommandOutput>;
92
98
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
93
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
99
+ tagResource(args: TagResourceCommandInput, options: TimestreamQueryRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
94
100
  /**
95
101
  * @see {@link UntagResourceCommand}
96
102
  */
97
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
103
+ untagResource(args: UntagResourceCommandInput, options?: TimestreamQueryRequestOptions): Promise<UntagResourceCommandOutput>;
98
104
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
99
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
105
+ untagResource(args: UntagResourceCommandInput, options: TimestreamQueryRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
100
106
  /**
101
107
  * @see {@link UpdateAccountSettingsCommand}
102
108
  */
103
109
  updateAccountSettings(): Promise<UpdateAccountSettingsCommandOutput>;
104
- updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAccountSettingsCommandOutput>;
110
+ updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: TimestreamQueryRequestOptions): Promise<UpdateAccountSettingsCommandOutput>;
105
111
  updateAccountSettings(args: UpdateAccountSettingsCommandInput, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
106
- updateAccountSettings(args: UpdateAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
112
+ updateAccountSettings(args: UpdateAccountSettingsCommandInput, options: TimestreamQueryRequestOptions, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
107
113
  /**
108
114
  * @see {@link UpdateScheduledQueryCommand}
109
115
  */
110
- updateScheduledQuery(args: UpdateScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateScheduledQueryCommandOutput>;
116
+ updateScheduledQuery(args: UpdateScheduledQueryCommandInput, options?: TimestreamQueryRequestOptions): Promise<UpdateScheduledQueryCommandOutput>;
111
117
  updateScheduledQuery(args: UpdateScheduledQueryCommandInput, cb: (err: any, data?: UpdateScheduledQueryCommandOutput) => void): void;
112
- updateScheduledQuery(args: UpdateScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScheduledQueryCommandOutput) => void): void;
118
+ updateScheduledQuery(args: UpdateScheduledQueryCommandInput, options: TimestreamQueryRequestOptions, cb: (err: any, data?: UpdateScheduledQueryCommandOutput) => void): void;
113
119
  /**
114
120
  * @see {@link ListScheduledQueriesCommand}
115
121
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -55,10 +56,13 @@ import {
55
56
  UpdateScheduledQueryCommandOutput,
56
57
  } from "./commands/UpdateScheduledQueryCommand";
57
58
  import { TimestreamQueryClient } from "./TimestreamQueryClient";
59
+ export interface TimestreamQueryRequestOptions extends __HttpHandlerOptions {
60
+ metricsRecorder?: __MetricsRecorder<unknown>;
61
+ }
58
62
  export interface TimestreamQuery {
59
63
  cancelQuery(
60
64
  args: CancelQueryCommandInput,
61
- options?: __HttpHandlerOptions,
65
+ options?: TimestreamQueryRequestOptions,
62
66
  ): Promise<CancelQueryCommandOutput>;
63
67
  cancelQuery(
64
68
  args: CancelQueryCommandInput,
@@ -66,12 +70,12 @@ export interface TimestreamQuery {
66
70
  ): void;
67
71
  cancelQuery(
68
72
  args: CancelQueryCommandInput,
69
- options: __HttpHandlerOptions,
73
+ options: TimestreamQueryRequestOptions,
70
74
  cb: (err: any, data?: CancelQueryCommandOutput) => void,
71
75
  ): void;
72
76
  createScheduledQuery(
73
77
  args: CreateScheduledQueryCommandInput,
74
- options?: __HttpHandlerOptions,
78
+ options?: TimestreamQueryRequestOptions,
75
79
  ): Promise<CreateScheduledQueryCommandOutput>;
76
80
  createScheduledQuery(
77
81
  args: CreateScheduledQueryCommandInput,
@@ -79,12 +83,12 @@ export interface TimestreamQuery {
79
83
  ): void;
80
84
  createScheduledQuery(
81
85
  args: CreateScheduledQueryCommandInput,
82
- options: __HttpHandlerOptions,
86
+ options: TimestreamQueryRequestOptions,
83
87
  cb: (err: any, data?: CreateScheduledQueryCommandOutput) => void,
84
88
  ): void;
85
89
  deleteScheduledQuery(
86
90
  args: DeleteScheduledQueryCommandInput,
87
- options?: __HttpHandlerOptions,
91
+ options?: TimestreamQueryRequestOptions,
88
92
  ): Promise<DeleteScheduledQueryCommandOutput>;
89
93
  deleteScheduledQuery(
90
94
  args: DeleteScheduledQueryCommandInput,
@@ -92,13 +96,13 @@ export interface TimestreamQuery {
92
96
  ): void;
93
97
  deleteScheduledQuery(
94
98
  args: DeleteScheduledQueryCommandInput,
95
- options: __HttpHandlerOptions,
99
+ options: TimestreamQueryRequestOptions,
96
100
  cb: (err: any, data?: DeleteScheduledQueryCommandOutput) => void,
97
101
  ): void;
98
102
  describeAccountSettings(): Promise<DescribeAccountSettingsCommandOutput>;
99
103
  describeAccountSettings(
100
104
  args: DescribeAccountSettingsCommandInput,
101
- options?: __HttpHandlerOptions,
105
+ options?: TimestreamQueryRequestOptions,
102
106
  ): Promise<DescribeAccountSettingsCommandOutput>;
103
107
  describeAccountSettings(
104
108
  args: DescribeAccountSettingsCommandInput,
@@ -106,13 +110,13 @@ export interface TimestreamQuery {
106
110
  ): void;
107
111
  describeAccountSettings(
108
112
  args: DescribeAccountSettingsCommandInput,
109
- options: __HttpHandlerOptions,
113
+ options: TimestreamQueryRequestOptions,
110
114
  cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void,
111
115
  ): void;
112
116
  describeEndpoints(): Promise<DescribeEndpointsCommandOutput>;
113
117
  describeEndpoints(
114
118
  args: DescribeEndpointsCommandInput,
115
- options?: __HttpHandlerOptions,
119
+ options?: TimestreamQueryRequestOptions,
116
120
  ): Promise<DescribeEndpointsCommandOutput>;
117
121
  describeEndpoints(
118
122
  args: DescribeEndpointsCommandInput,
@@ -120,12 +124,12 @@ export interface TimestreamQuery {
120
124
  ): void;
121
125
  describeEndpoints(
122
126
  args: DescribeEndpointsCommandInput,
123
- options: __HttpHandlerOptions,
127
+ options: TimestreamQueryRequestOptions,
124
128
  cb: (err: any, data?: DescribeEndpointsCommandOutput) => void,
125
129
  ): void;
126
130
  describeScheduledQuery(
127
131
  args: DescribeScheduledQueryCommandInput,
128
- options?: __HttpHandlerOptions,
132
+ options?: TimestreamQueryRequestOptions,
129
133
  ): Promise<DescribeScheduledQueryCommandOutput>;
130
134
  describeScheduledQuery(
131
135
  args: DescribeScheduledQueryCommandInput,
@@ -133,12 +137,12 @@ export interface TimestreamQuery {
133
137
  ): void;
134
138
  describeScheduledQuery(
135
139
  args: DescribeScheduledQueryCommandInput,
136
- options: __HttpHandlerOptions,
140
+ options: TimestreamQueryRequestOptions,
137
141
  cb: (err: any, data?: DescribeScheduledQueryCommandOutput) => void,
138
142
  ): void;
139
143
  executeScheduledQuery(
140
144
  args: ExecuteScheduledQueryCommandInput,
141
- options?: __HttpHandlerOptions,
145
+ options?: TimestreamQueryRequestOptions,
142
146
  ): Promise<ExecuteScheduledQueryCommandOutput>;
143
147
  executeScheduledQuery(
144
148
  args: ExecuteScheduledQueryCommandInput,
@@ -146,13 +150,13 @@ export interface TimestreamQuery {
146
150
  ): void;
147
151
  executeScheduledQuery(
148
152
  args: ExecuteScheduledQueryCommandInput,
149
- options: __HttpHandlerOptions,
153
+ options: TimestreamQueryRequestOptions,
150
154
  cb: (err: any, data?: ExecuteScheduledQueryCommandOutput) => void,
151
155
  ): void;
152
156
  listScheduledQueries(): Promise<ListScheduledQueriesCommandOutput>;
153
157
  listScheduledQueries(
154
158
  args: ListScheduledQueriesCommandInput,
155
- options?: __HttpHandlerOptions,
159
+ options?: TimestreamQueryRequestOptions,
156
160
  ): Promise<ListScheduledQueriesCommandOutput>;
157
161
  listScheduledQueries(
158
162
  args: ListScheduledQueriesCommandInput,
@@ -160,12 +164,12 @@ export interface TimestreamQuery {
160
164
  ): void;
161
165
  listScheduledQueries(
162
166
  args: ListScheduledQueriesCommandInput,
163
- options: __HttpHandlerOptions,
167
+ options: TimestreamQueryRequestOptions,
164
168
  cb: (err: any, data?: ListScheduledQueriesCommandOutput) => void,
165
169
  ): void;
166
170
  listTagsForResource(
167
171
  args: ListTagsForResourceCommandInput,
168
- options?: __HttpHandlerOptions,
172
+ options?: TimestreamQueryRequestOptions,
169
173
  ): Promise<ListTagsForResourceCommandOutput>;
170
174
  listTagsForResource(
171
175
  args: ListTagsForResourceCommandInput,
@@ -173,12 +177,12 @@ export interface TimestreamQuery {
173
177
  ): void;
174
178
  listTagsForResource(
175
179
  args: ListTagsForResourceCommandInput,
176
- options: __HttpHandlerOptions,
180
+ options: TimestreamQueryRequestOptions,
177
181
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
178
182
  ): void;
179
183
  prepareQuery(
180
184
  args: PrepareQueryCommandInput,
181
- options?: __HttpHandlerOptions,
185
+ options?: TimestreamQueryRequestOptions,
182
186
  ): Promise<PrepareQueryCommandOutput>;
183
187
  prepareQuery(
184
188
  args: PrepareQueryCommandInput,
@@ -186,19 +190,22 @@ export interface TimestreamQuery {
186
190
  ): void;
187
191
  prepareQuery(
188
192
  args: PrepareQueryCommandInput,
189
- options: __HttpHandlerOptions,
193
+ options: TimestreamQueryRequestOptions,
190
194
  cb: (err: any, data?: PrepareQueryCommandOutput) => void,
191
195
  ): void;
192
- query(args: QueryCommandInput, options?: __HttpHandlerOptions): Promise<QueryCommandOutput>;
196
+ query(
197
+ args: QueryCommandInput,
198
+ options?: TimestreamQueryRequestOptions,
199
+ ): Promise<QueryCommandOutput>;
193
200
  query(args: QueryCommandInput, cb: (err: any, data?: QueryCommandOutput) => void): void;
194
201
  query(
195
202
  args: QueryCommandInput,
196
- options: __HttpHandlerOptions,
203
+ options: TimestreamQueryRequestOptions,
197
204
  cb: (err: any, data?: QueryCommandOutput) => void,
198
205
  ): void;
199
206
  tagResource(
200
207
  args: TagResourceCommandInput,
201
- options?: __HttpHandlerOptions,
208
+ options?: TimestreamQueryRequestOptions,
202
209
  ): Promise<TagResourceCommandOutput>;
203
210
  tagResource(
204
211
  args: TagResourceCommandInput,
@@ -206,12 +213,12 @@ export interface TimestreamQuery {
206
213
  ): void;
207
214
  tagResource(
208
215
  args: TagResourceCommandInput,
209
- options: __HttpHandlerOptions,
216
+ options: TimestreamQueryRequestOptions,
210
217
  cb: (err: any, data?: TagResourceCommandOutput) => void,
211
218
  ): void;
212
219
  untagResource(
213
220
  args: UntagResourceCommandInput,
214
- options?: __HttpHandlerOptions,
221
+ options?: TimestreamQueryRequestOptions,
215
222
  ): Promise<UntagResourceCommandOutput>;
216
223
  untagResource(
217
224
  args: UntagResourceCommandInput,
@@ -219,13 +226,13 @@ export interface TimestreamQuery {
219
226
  ): void;
220
227
  untagResource(
221
228
  args: UntagResourceCommandInput,
222
- options: __HttpHandlerOptions,
229
+ options: TimestreamQueryRequestOptions,
223
230
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
224
231
  ): void;
225
232
  updateAccountSettings(): Promise<UpdateAccountSettingsCommandOutput>;
226
233
  updateAccountSettings(
227
234
  args: UpdateAccountSettingsCommandInput,
228
- options?: __HttpHandlerOptions,
235
+ options?: TimestreamQueryRequestOptions,
229
236
  ): Promise<UpdateAccountSettingsCommandOutput>;
230
237
  updateAccountSettings(
231
238
  args: UpdateAccountSettingsCommandInput,
@@ -233,12 +240,12 @@ export interface TimestreamQuery {
233
240
  ): void;
234
241
  updateAccountSettings(
235
242
  args: UpdateAccountSettingsCommandInput,
236
- options: __HttpHandlerOptions,
243
+ options: TimestreamQueryRequestOptions,
237
244
  cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void,
238
245
  ): void;
239
246
  updateScheduledQuery(
240
247
  args: UpdateScheduledQueryCommandInput,
241
- options?: __HttpHandlerOptions,
248
+ options?: TimestreamQueryRequestOptions,
242
249
  ): Promise<UpdateScheduledQueryCommandOutput>;
243
250
  updateScheduledQuery(
244
251
  args: UpdateScheduledQueryCommandInput,
@@ -246,7 +253,7 @@ export interface TimestreamQuery {
246
253
  ): void;
247
254
  updateScheduledQuery(
248
255
  args: UpdateScheduledQueryCommandInput,
249
- options: __HttpHandlerOptions,
256
+ options: TimestreamQueryRequestOptions,
250
257
  cb: (err: any, data?: UpdateScheduledQueryCommandOutput) => void,
251
258
  ): void;
252
259
  paginateListScheduledQueries(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-timestream-query",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Timestream Query Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-timestream-query",
6
6
  "license": "Apache-2.0",
@@ -46,14 +46,14 @@
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/middleware-endpoint-discovery": "^3.972.30",
52
- "@aws-sdk/types": "^3.974.5",
53
- "@smithy/core": "^3.33.3",
54
- "@smithy/fetch-http-handler": "^5.7.2",
55
- "@smithy/node-http-handler": "^4.11.3",
56
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/middleware-endpoint-discovery": "^3.972.31",
52
+ "@aws-sdk/types": "^3.974.6",
53
+ "@smithy/core": "^3.35.0",
54
+ "@smithy/fetch-http-handler": "^5.8.0",
55
+ "@smithy/node-http-handler": "^4.12.1",
56
+ "@smithy/types": "^4.19.0",
57
57
  "tslib": "^2.6.2"
58
58
  },
59
59
  "devDependencies": {