@aws-sdk/client-timestream-query 3.687.0 → 3.691.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.
@@ -3,7 +3,7 @@ import { TimestreamQueryServiceException as __BaseException } from "./Timestream
3
3
  export declare class AccessDeniedException extends __BaseException {
4
4
  readonly name: "AccessDeniedException";
5
5
  readonly $fault: "client";
6
- Message?: string;
6
+ Message?: string | undefined;
7
7
  constructor(
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
@@ -12,12 +12,12 @@ export interface CancelQueryRequest {
12
12
  QueryId: string | undefined;
13
13
  }
14
14
  export interface CancelQueryResponse {
15
- CancellationMessage?: string;
15
+ CancellationMessage?: string | undefined;
16
16
  }
17
17
  export declare class InternalServerException extends __BaseException {
18
18
  readonly name: "InternalServerException";
19
19
  readonly $fault: "server";
20
- Message?: string;
20
+ Message?: string | undefined;
21
21
  constructor(
22
22
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
23
23
  );
@@ -25,7 +25,7 @@ export declare class InternalServerException extends __BaseException {
25
25
  export declare class InvalidEndpointException extends __BaseException {
26
26
  readonly name: "InvalidEndpointException";
27
27
  readonly $fault: "client";
28
- Message?: string;
28
+ Message?: string | undefined;
29
29
  constructor(
30
30
  opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>
31
31
  );
@@ -33,7 +33,7 @@ export declare class InvalidEndpointException extends __BaseException {
33
33
  export declare class ThrottlingException extends __BaseException {
34
34
  readonly name: "ThrottlingException";
35
35
  readonly $fault: "client";
36
- Message?: string;
36
+ Message?: string | undefined;
37
37
  constructor(
38
38
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
39
39
  );
@@ -41,7 +41,7 @@ export declare class ThrottlingException extends __BaseException {
41
41
  export declare class ValidationException extends __BaseException {
42
42
  readonly name: "ValidationException";
43
43
  readonly $fault: "client";
44
- Message?: string;
44
+ Message?: string | undefined;
45
45
  constructor(
46
46
  opts: __ExceptionOptionType<ValidationException, __BaseException>
47
47
  );
@@ -63,7 +63,7 @@ export type ScalarType = (typeof ScalarType)[keyof typeof ScalarType];
63
63
  export declare class ConflictException extends __BaseException {
64
64
  readonly name: "ConflictException";
65
65
  readonly $fault: "client";
66
- Message?: string;
66
+ Message?: string | undefined;
67
67
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
68
68
  }
69
69
  export declare const S3EncryptionOption: {
@@ -74,8 +74,8 @@ export type S3EncryptionOption =
74
74
  (typeof S3EncryptionOption)[keyof typeof S3EncryptionOption];
75
75
  export interface S3Configuration {
76
76
  BucketName: string | undefined;
77
- ObjectKeyPrefix?: string;
78
- EncryptionOption?: S3EncryptionOption;
77
+ ObjectKeyPrefix?: string | undefined;
78
+ EncryptionOption?: S3EncryptionOption | undefined;
79
79
  }
80
80
  export interface ErrorReportConfiguration {
81
81
  S3Configuration: S3Configuration | undefined;
@@ -122,18 +122,18 @@ export type ScalarMeasureValueType =
122
122
  (typeof ScalarMeasureValueType)[keyof typeof ScalarMeasureValueType];
123
123
  export interface MultiMeasureAttributeMapping {
124
124
  SourceColumn: string | undefined;
125
- TargetMultiMeasureAttributeName?: string;
125
+ TargetMultiMeasureAttributeName?: string | undefined;
126
126
  MeasureValueType: ScalarMeasureValueType | undefined;
127
127
  }
128
128
  export interface MixedMeasureMapping {
129
- MeasureName?: string;
130
- SourceColumn?: string;
131
- TargetMeasureName?: string;
129
+ MeasureName?: string | undefined;
130
+ SourceColumn?: string | undefined;
131
+ TargetMeasureName?: string | undefined;
132
132
  MeasureValueType: MeasureValueType | undefined;
133
- MultiMeasureAttributeMappings?: MultiMeasureAttributeMapping[];
133
+ MultiMeasureAttributeMappings?: MultiMeasureAttributeMapping[] | undefined;
134
134
  }
135
135
  export interface MultiMeasureMappings {
136
- TargetMultiMeasureName?: string;
136
+ TargetMultiMeasureName?: string | undefined;
137
137
  MultiMeasureAttributeMappings: MultiMeasureAttributeMapping[] | undefined;
138
138
  }
139
139
  export interface TimestreamConfiguration {
@@ -141,9 +141,9 @@ export interface TimestreamConfiguration {
141
141
  TableName: string | undefined;
142
142
  TimeColumn: string | undefined;
143
143
  DimensionMappings: DimensionMapping[] | undefined;
144
- MultiMeasureMappings?: MultiMeasureMappings;
145
- MixedMeasureMappings?: MixedMeasureMapping[];
146
- MeasureNameColumn?: string;
144
+ MultiMeasureMappings?: MultiMeasureMappings | undefined;
145
+ MixedMeasureMappings?: MixedMeasureMapping[] | undefined;
146
+ MeasureNameColumn?: string | undefined;
147
147
  }
148
148
  export interface TargetConfiguration {
149
149
  TimestreamConfiguration: TimestreamConfiguration | undefined;
@@ -153,11 +153,11 @@ export interface CreateScheduledQueryRequest {
153
153
  QueryString: string | undefined;
154
154
  ScheduleConfiguration: ScheduleConfiguration | undefined;
155
155
  NotificationConfiguration: NotificationConfiguration | undefined;
156
- TargetConfiguration?: TargetConfiguration;
157
- ClientToken?: string;
156
+ TargetConfiguration?: TargetConfiguration | undefined;
157
+ ClientToken?: string | undefined;
158
158
  ScheduledQueryExecutionRoleArn: string | undefined;
159
- Tags?: Tag[];
160
- KmsKeyId?: string;
159
+ Tags?: Tag[] | undefined;
160
+ KmsKeyId?: string | undefined;
161
161
  ErrorReportConfiguration: ErrorReportConfiguration | undefined;
162
162
  }
163
163
  export interface CreateScheduledQueryResponse {
@@ -166,7 +166,7 @@ export interface CreateScheduledQueryResponse {
166
166
  export declare class ServiceQuotaExceededException extends __BaseException {
167
167
  readonly name: "ServiceQuotaExceededException";
168
168
  readonly $fault: "client";
169
- Message?: string;
169
+ Message?: string | undefined;
170
170
  constructor(
171
171
  opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
172
172
  );
@@ -177,8 +177,8 @@ export interface DeleteScheduledQueryRequest {
177
177
  export declare class ResourceNotFoundException extends __BaseException {
178
178
  readonly name: "ResourceNotFoundException";
179
179
  readonly $fault: "client";
180
- Message?: string;
181
- ScheduledQueryArn?: string;
180
+ Message?: string | undefined;
181
+ ScheduledQueryArn?: string | undefined;
182
182
  constructor(
183
183
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
184
184
  );
@@ -191,8 +191,8 @@ export declare const QueryPricingModel: {
191
191
  export type QueryPricingModel =
192
192
  (typeof QueryPricingModel)[keyof typeof QueryPricingModel];
193
193
  export interface DescribeAccountSettingsResponse {
194
- MaxQueryTCU?: number;
195
- QueryPricingModel?: QueryPricingModel;
194
+ MaxQueryTCU?: number | undefined;
195
+ QueryPricingModel?: QueryPricingModel | undefined;
196
196
  }
197
197
  export interface DescribeEndpointsRequest {}
198
198
  export interface Endpoint {
@@ -206,41 +206,41 @@ export interface DescribeScheduledQueryRequest {
206
206
  ScheduledQueryArn: string | undefined;
207
207
  }
208
208
  export interface S3ReportLocation {
209
- BucketName?: string;
210
- ObjectKey?: string;
209
+ BucketName?: string | undefined;
210
+ ObjectKey?: string | undefined;
211
211
  }
212
212
  export interface ErrorReportLocation {
213
- S3ReportLocation?: S3ReportLocation;
213
+ S3ReportLocation?: S3ReportLocation | undefined;
214
214
  }
215
215
  export interface ExecutionStats {
216
- ExecutionTimeInMillis?: number;
217
- DataWrites?: number;
218
- BytesMetered?: number;
219
- CumulativeBytesScanned?: number;
220
- RecordsIngested?: number;
221
- QueryResultRows?: number;
216
+ ExecutionTimeInMillis?: number | undefined;
217
+ DataWrites?: number | undefined;
218
+ BytesMetered?: number | undefined;
219
+ CumulativeBytesScanned?: number | undefined;
220
+ RecordsIngested?: number | undefined;
221
+ QueryResultRows?: number | undefined;
222
222
  }
223
223
  export interface QuerySpatialCoverageMax {
224
- Value?: number;
225
- TableArn?: string;
226
- PartitionKey?: string[];
224
+ Value?: number | undefined;
225
+ TableArn?: string | undefined;
226
+ PartitionKey?: string[] | undefined;
227
227
  }
228
228
  export interface QuerySpatialCoverage {
229
- Max?: QuerySpatialCoverageMax;
229
+ Max?: QuerySpatialCoverageMax | undefined;
230
230
  }
231
231
  export interface QueryTemporalRangeMax {
232
- Value?: number;
233
- TableArn?: string;
232
+ Value?: number | undefined;
233
+ TableArn?: string | undefined;
234
234
  }
235
235
  export interface QueryTemporalRange {
236
- Max?: QueryTemporalRangeMax;
236
+ Max?: QueryTemporalRangeMax | undefined;
237
237
  }
238
238
  export interface ScheduledQueryInsightsResponse {
239
- QuerySpatialCoverage?: QuerySpatialCoverage;
240
- QueryTemporalRange?: QueryTemporalRange;
241
- QueryTableCount?: number;
242
- OutputRows?: number;
243
- OutputBytes?: number;
239
+ QuerySpatialCoverage?: QuerySpatialCoverage | undefined;
240
+ QueryTemporalRange?: QueryTemporalRange | undefined;
241
+ QueryTableCount?: number | undefined;
242
+ OutputRows?: number | undefined;
243
+ OutputBytes?: number | undefined;
244
244
  }
245
245
  export declare const ScheduledQueryRunStatus: {
246
246
  readonly AUTO_TRIGGER_FAILURE: "AUTO_TRIGGER_FAILURE";
@@ -251,13 +251,13 @@ export declare const ScheduledQueryRunStatus: {
251
251
  export type ScheduledQueryRunStatus =
252
252
  (typeof ScheduledQueryRunStatus)[keyof typeof ScheduledQueryRunStatus];
253
253
  export interface ScheduledQueryRunSummary {
254
- InvocationTime?: Date;
255
- TriggerTime?: Date;
256
- RunStatus?: ScheduledQueryRunStatus;
257
- ExecutionStats?: ExecutionStats;
258
- QueryInsightsResponse?: ScheduledQueryInsightsResponse;
259
- ErrorReportLocation?: ErrorReportLocation;
260
- FailureReason?: string;
254
+ InvocationTime?: Date | undefined;
255
+ TriggerTime?: Date | undefined;
256
+ RunStatus?: ScheduledQueryRunStatus | undefined;
257
+ ExecutionStats?: ExecutionStats | undefined;
258
+ QueryInsightsResponse?: ScheduledQueryInsightsResponse | undefined;
259
+ ErrorReportLocation?: ErrorReportLocation | undefined;
260
+ FailureReason?: string | undefined;
261
261
  }
262
262
  export declare const ScheduledQueryState: {
263
263
  readonly DISABLED: "DISABLED";
@@ -269,18 +269,18 @@ export interface ScheduledQueryDescription {
269
269
  Arn: string | undefined;
270
270
  Name: string | undefined;
271
271
  QueryString: string | undefined;
272
- CreationTime?: Date;
272
+ CreationTime?: Date | undefined;
273
273
  State: ScheduledQueryState | undefined;
274
- PreviousInvocationTime?: Date;
275
- NextInvocationTime?: Date;
274
+ PreviousInvocationTime?: Date | undefined;
275
+ NextInvocationTime?: Date | undefined;
276
276
  ScheduleConfiguration: ScheduleConfiguration | undefined;
277
277
  NotificationConfiguration: NotificationConfiguration | undefined;
278
- TargetConfiguration?: TargetConfiguration;
279
- ScheduledQueryExecutionRoleArn?: string;
280
- KmsKeyId?: string;
281
- ErrorReportConfiguration?: ErrorReportConfiguration;
282
- LastRunSummary?: ScheduledQueryRunSummary;
283
- RecentlyFailedRuns?: ScheduledQueryRunSummary[];
278
+ TargetConfiguration?: TargetConfiguration | undefined;
279
+ ScheduledQueryExecutionRoleArn?: string | undefined;
280
+ KmsKeyId?: string | undefined;
281
+ ErrorReportConfiguration?: ErrorReportConfiguration | undefined;
282
+ LastRunSummary?: ScheduledQueryRunSummary | undefined;
283
+ RecentlyFailedRuns?: ScheduledQueryRunSummary[] | undefined;
284
284
  }
285
285
  export interface DescribeScheduledQueryResponse {
286
286
  ScheduledQuery: ScheduledQueryDescription | undefined;
@@ -297,52 +297,52 @@ export interface ScheduledQueryInsights {
297
297
  export interface ExecuteScheduledQueryRequest {
298
298
  ScheduledQueryArn: string | undefined;
299
299
  InvocationTime: Date | undefined;
300
- ClientToken?: string;
301
- QueryInsights?: ScheduledQueryInsights;
300
+ ClientToken?: string | undefined;
301
+ QueryInsights?: ScheduledQueryInsights | undefined;
302
302
  }
303
303
  export interface ListScheduledQueriesRequest {
304
- MaxResults?: number;
305
- NextToken?: string;
304
+ MaxResults?: number | undefined;
305
+ NextToken?: string | undefined;
306
306
  }
307
307
  export interface TimestreamDestination {
308
- DatabaseName?: string;
309
- TableName?: string;
308
+ DatabaseName?: string | undefined;
309
+ TableName?: string | undefined;
310
310
  }
311
311
  export interface TargetDestination {
312
- TimestreamDestination?: TimestreamDestination;
312
+ TimestreamDestination?: TimestreamDestination | undefined;
313
313
  }
314
314
  export interface ScheduledQuery {
315
315
  Arn: string | undefined;
316
316
  Name: string | undefined;
317
- CreationTime?: Date;
317
+ CreationTime?: Date | undefined;
318
318
  State: ScheduledQueryState | undefined;
319
- PreviousInvocationTime?: Date;
320
- NextInvocationTime?: Date;
321
- ErrorReportConfiguration?: ErrorReportConfiguration;
322
- TargetDestination?: TargetDestination;
323
- LastRunStatus?: ScheduledQueryRunStatus;
319
+ PreviousInvocationTime?: Date | undefined;
320
+ NextInvocationTime?: Date | undefined;
321
+ ErrorReportConfiguration?: ErrorReportConfiguration | undefined;
322
+ TargetDestination?: TargetDestination | undefined;
323
+ LastRunStatus?: ScheduledQueryRunStatus | undefined;
324
324
  }
325
325
  export interface ListScheduledQueriesResponse {
326
326
  ScheduledQueries: ScheduledQuery[] | undefined;
327
- NextToken?: string;
327
+ NextToken?: string | undefined;
328
328
  }
329
329
  export interface ListTagsForResourceRequest {
330
330
  ResourceARN: string | undefined;
331
- MaxResults?: number;
332
- NextToken?: string;
331
+ MaxResults?: number | undefined;
332
+ NextToken?: string | undefined;
333
333
  }
334
334
  export interface ListTagsForResourceResponse {
335
335
  Tags: Tag[] | undefined;
336
- NextToken?: string;
336
+ NextToken?: string | undefined;
337
337
  }
338
338
  export interface PrepareQueryRequest {
339
339
  QueryString: string | undefined;
340
- ValidateOnly?: boolean;
340
+ ValidateOnly?: boolean | undefined;
341
341
  }
342
342
  export declare class QueryExecutionException extends __BaseException {
343
343
  readonly name: "QueryExecutionException";
344
344
  readonly $fault: "client";
345
- Message?: string;
345
+ Message?: string | undefined;
346
346
  constructor(
347
347
  opts: __ExceptionOptionType<QueryExecutionException, __BaseException>
348
348
  );
@@ -358,25 +358,25 @@ export interface QueryInsights {
358
358
  }
359
359
  export interface QueryRequest {
360
360
  QueryString: string | undefined;
361
- ClientToken?: string;
362
- NextToken?: string;
363
- MaxRows?: number;
364
- QueryInsights?: QueryInsights;
361
+ ClientToken?: string | undefined;
362
+ NextToken?: string | undefined;
363
+ MaxRows?: number | undefined;
364
+ QueryInsights?: QueryInsights | undefined;
365
365
  }
366
366
  export interface QueryInsightsResponse {
367
- QuerySpatialCoverage?: QuerySpatialCoverage;
368
- QueryTemporalRange?: QueryTemporalRange;
369
- QueryTableCount?: number;
370
- OutputRows?: number;
371
- OutputBytes?: number;
372
- UnloadPartitionCount?: number;
373
- UnloadWrittenRows?: number;
374
- UnloadWrittenBytes?: number;
367
+ QuerySpatialCoverage?: QuerySpatialCoverage | undefined;
368
+ QueryTemporalRange?: QueryTemporalRange | undefined;
369
+ QueryTableCount?: number | undefined;
370
+ OutputRows?: number | undefined;
371
+ OutputBytes?: number | undefined;
372
+ UnloadPartitionCount?: number | undefined;
373
+ UnloadWrittenRows?: number | undefined;
374
+ UnloadWrittenBytes?: number | undefined;
375
375
  }
376
376
  export interface QueryStatus {
377
- ProgressPercentage?: number;
378
- CumulativeBytesScanned?: number;
379
- CumulativeBytesMetered?: number;
377
+ ProgressPercentage?: number | undefined;
378
+ CumulativeBytesScanned?: number | undefined;
379
+ CumulativeBytesMetered?: number | undefined;
380
380
  }
381
381
  export interface TagResourceRequest {
382
382
  ResourceARN: string | undefined;
@@ -389,44 +389,44 @@ export interface UntagResourceRequest {
389
389
  }
390
390
  export interface UntagResourceResponse {}
391
391
  export interface UpdateAccountSettingsRequest {
392
- MaxQueryTCU?: number;
393
- QueryPricingModel?: QueryPricingModel;
392
+ MaxQueryTCU?: number | undefined;
393
+ QueryPricingModel?: QueryPricingModel | undefined;
394
394
  }
395
395
  export interface UpdateAccountSettingsResponse {
396
- MaxQueryTCU?: number;
397
- QueryPricingModel?: QueryPricingModel;
396
+ MaxQueryTCU?: number | undefined;
397
+ QueryPricingModel?: QueryPricingModel | undefined;
398
398
  }
399
399
  export interface UpdateScheduledQueryRequest {
400
400
  ScheduledQueryArn: string | undefined;
401
401
  State: ScheduledQueryState | undefined;
402
402
  }
403
403
  export interface ColumnInfo {
404
- Name?: string;
404
+ Name?: string | undefined;
405
405
  Type: Type | undefined;
406
406
  }
407
407
  export interface Type {
408
- ScalarType?: ScalarType;
409
- ArrayColumnInfo?: ColumnInfo;
410
- TimeSeriesMeasureValueColumnInfo?: ColumnInfo;
411
- RowColumnInfo?: ColumnInfo[];
408
+ ScalarType?: ScalarType | undefined;
409
+ ArrayColumnInfo?: ColumnInfo | undefined;
410
+ TimeSeriesMeasureValueColumnInfo?: ColumnInfo | undefined;
411
+ RowColumnInfo?: ColumnInfo[] | undefined;
412
412
  }
413
413
  export interface Datum {
414
- ScalarValue?: string;
415
- TimeSeriesValue?: TimeSeriesDataPoint[];
416
- ArrayValue?: Datum[];
417
- RowValue?: Row;
418
- NullValue?: boolean;
414
+ ScalarValue?: string | undefined;
415
+ TimeSeriesValue?: TimeSeriesDataPoint[] | undefined;
416
+ ArrayValue?: Datum[] | undefined;
417
+ RowValue?: Row | undefined;
418
+ NullValue?: boolean | undefined;
419
419
  }
420
420
  export interface ParameterMapping {
421
421
  Name: string | undefined;
422
422
  Type: Type | undefined;
423
423
  }
424
424
  export interface SelectColumn {
425
- Name?: string;
426
- Type?: Type;
427
- DatabaseName?: string;
428
- TableName?: string;
429
- Aliased?: boolean;
425
+ Name?: string | undefined;
426
+ Type?: Type | undefined;
427
+ DatabaseName?: string | undefined;
428
+ TableName?: string | undefined;
429
+ Aliased?: boolean | undefined;
430
430
  }
431
431
  export interface TimeSeriesDataPoint {
432
432
  Time: string | undefined;
@@ -437,11 +437,11 @@ export interface Row {
437
437
  }
438
438
  export interface QueryResponse {
439
439
  QueryId: string | undefined;
440
- NextToken?: string;
440
+ NextToken?: string | undefined;
441
441
  Rows: Row[] | undefined;
442
442
  ColumnInfo: ColumnInfo[] | undefined;
443
- QueryStatus?: QueryStatus;
444
- QueryInsightsResponse?: QueryInsightsResponse;
443
+ QueryStatus?: QueryStatus | undefined;
444
+ QueryInsightsResponse?: QueryInsightsResponse | undefined;
445
445
  }
446
446
  export interface PrepareQueryResponse {
447
447
  QueryString: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-timestream-query",
3
3
  "description": "AWS SDK for JavaScript Timestream Query Client for Node.js, Browser and React Native",
4
- "version": "3.687.0",
4
+ "version": "3.691.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-timestream-query",
@@ -20,20 +20,20 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-endpoint-discovery": "3.686.0",
28
28
  "@aws-sdk/middleware-host-header": "3.686.0",
29
29
  "@aws-sdk/middleware-logger": "3.686.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
31
- "@aws-sdk/middleware-user-agent": "3.687.0",
31
+ "@aws-sdk/middleware-user-agent": "3.691.0",
32
32
  "@aws-sdk/region-config-resolver": "3.686.0",
33
33
  "@aws-sdk/types": "3.686.0",
34
34
  "@aws-sdk/util-endpoints": "3.686.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.686.0",
36
- "@aws-sdk/util-user-agent-node": "3.687.0",
36
+ "@aws-sdk/util-user-agent-node": "3.691.0",
37
37
  "@smithy/config-resolver": "^3.0.10",
38
38
  "@smithy/core": "^2.5.1",
39
39
  "@smithy/fetch-http-handler": "^4.0.0",