@aws-sdk/client-timestream-query 3.686.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.
@@ -7,7 +7,7 @@ import { TimestreamQueryServiceException as __BaseException } from "./Timestream
7
7
  export declare class AccessDeniedException extends __BaseException {
8
8
  readonly name: "AccessDeniedException";
9
9
  readonly $fault: "client";
10
- Message?: string;
10
+ Message?: string | undefined;
11
11
  /**
12
12
  * @internal
13
13
  */
@@ -33,7 +33,7 @@ export interface CancelQueryResponse {
33
33
  * request for the query specified by <code>QueryId</code> has already been issued. </p>
34
34
  * @public
35
35
  */
36
- CancellationMessage?: string;
36
+ CancellationMessage?: string | undefined;
37
37
  }
38
38
  /**
39
39
  * <p>
@@ -44,7 +44,7 @@ export interface CancelQueryResponse {
44
44
  export declare class InternalServerException extends __BaseException {
45
45
  readonly name: "InternalServerException";
46
46
  readonly $fault: "server";
47
- Message?: string;
47
+ Message?: string | undefined;
48
48
  /**
49
49
  * @internal
50
50
  */
@@ -57,7 +57,7 @@ export declare class InternalServerException extends __BaseException {
57
57
  export declare class InvalidEndpointException extends __BaseException {
58
58
  readonly name: "InvalidEndpointException";
59
59
  readonly $fault: "client";
60
- Message?: string;
60
+ Message?: string | undefined;
61
61
  /**
62
62
  * @internal
63
63
  */
@@ -70,7 +70,7 @@ export declare class InvalidEndpointException extends __BaseException {
70
70
  export declare class ThrottlingException extends __BaseException {
71
71
  readonly name: "ThrottlingException";
72
72
  readonly $fault: "client";
73
- Message?: string;
73
+ Message?: string | undefined;
74
74
  /**
75
75
  * @internal
76
76
  */
@@ -83,7 +83,7 @@ export declare class ThrottlingException extends __BaseException {
83
83
  export declare class ValidationException extends __BaseException {
84
84
  readonly name: "ValidationException";
85
85
  readonly $fault: "client";
86
- Message?: string;
86
+ Message?: string | undefined;
87
87
  /**
88
88
  * @internal
89
89
  */
@@ -117,7 +117,7 @@ export type ScalarType = (typeof ScalarType)[keyof typeof ScalarType];
117
117
  export declare class ConflictException extends __BaseException {
118
118
  readonly name: "ConflictException";
119
119
  readonly $fault: "client";
120
- Message?: string;
120
+ Message?: string | undefined;
121
121
  /**
122
122
  * @internal
123
123
  */
@@ -150,13 +150,13 @@ export interface S3Configuration {
150
150
  * the error report path. </p>
151
151
  * @public
152
152
  */
153
- ObjectKeyPrefix?: string;
153
+ ObjectKeyPrefix?: string | undefined;
154
154
  /**
155
155
  * <p> Encryption at rest options for the error reports. If no encryption option is
156
156
  * specified, Timestream will choose SSE_S3 as default. </p>
157
157
  * @public
158
158
  */
159
- EncryptionOption?: S3EncryptionOption;
159
+ EncryptionOption?: S3EncryptionOption | undefined;
160
160
  }
161
161
  /**
162
162
  * <p>Configuration required for error reporting.</p>
@@ -296,7 +296,7 @@ export interface MultiMeasureAttributeMapping {
296
296
  * column name would be used.</p>
297
297
  * @public
298
298
  */
299
- TargetMultiMeasureAttributeName?: string;
299
+ TargetMultiMeasureAttributeName?: string | undefined;
300
300
  /**
301
301
  * <p>Type of the attribute to be read from the source column.</p>
302
302
  * @public
@@ -314,19 +314,19 @@ export interface MixedMeasureMapping {
314
314
  * MeasureNameColumn is provided.</p>
315
315
  * @public
316
316
  */
317
- MeasureName?: string;
317
+ MeasureName?: string | undefined;
318
318
  /**
319
319
  * <p>This field refers to the source column from which measure-value is to be read for
320
320
  * result materialization.</p>
321
321
  * @public
322
322
  */
323
- SourceColumn?: string;
323
+ SourceColumn?: string | undefined;
324
324
  /**
325
325
  * <p>Target measure name to be used. If not provided, the target measure name by default
326
326
  * would be measure-name if provided, or sourceColumn otherwise. </p>
327
327
  * @public
328
328
  */
329
- TargetMeasureName?: string;
329
+ TargetMeasureName?: string | undefined;
330
330
  /**
331
331
  * <p>Type of the value that is to be read from sourceColumn. If the mapping is for MULTI,
332
332
  * use MeasureValueType.MULTI.</p>
@@ -338,7 +338,7 @@ export interface MixedMeasureMapping {
338
338
  * measures.</p>
339
339
  * @public
340
340
  */
341
- MultiMeasureAttributeMappings?: MultiMeasureAttributeMapping[];
341
+ MultiMeasureAttributeMappings?: MultiMeasureAttributeMapping[] | undefined;
342
342
  }
343
343
  /**
344
344
  * <p>Only one of MixedMeasureMappings or MultiMeasureMappings is to be provided.
@@ -353,7 +353,7 @@ export interface MultiMeasureMappings {
353
353
  * from that column will be used as multi-measure name.</p>
354
354
  * @public
355
355
  */
356
- TargetMultiMeasureName?: string;
356
+ TargetMultiMeasureName?: string | undefined;
357
357
  /**
358
358
  * <p>Required. Attribute mappings to be used for mapping query results to ingest data for
359
359
  * multi-measure attributes.</p>
@@ -395,17 +395,17 @@ export interface TimestreamConfiguration {
395
395
  * <p>Multi-measure mappings.</p>
396
396
  * @public
397
397
  */
398
- MultiMeasureMappings?: MultiMeasureMappings;
398
+ MultiMeasureMappings?: MultiMeasureMappings | undefined;
399
399
  /**
400
400
  * <p>Specifies how to map measures to multi-measure records.</p>
401
401
  * @public
402
402
  */
403
- MixedMeasureMappings?: MixedMeasureMapping[];
403
+ MixedMeasureMappings?: MixedMeasureMapping[] | undefined;
404
404
  /**
405
405
  * <p>Name of the measure column.</p>
406
406
  * @public
407
407
  */
408
- MeasureNameColumn?: string;
408
+ MeasureNameColumn?: string | undefined;
409
409
  }
410
410
  /**
411
411
  * <p>Configuration used for writing the output of a query.</p>
@@ -456,7 +456,7 @@ export interface CreateScheduledQueryRequest {
456
456
  * <p>Configuration used for writing the result of a query.</p>
457
457
  * @public
458
458
  */
459
- TargetConfiguration?: TargetConfiguration;
459
+ TargetConfiguration?: TargetConfiguration | undefined;
460
460
  /**
461
461
  * <p>Using a ClientToken makes the call to CreateScheduledQuery idempotent, in other words,
462
462
  * making the same request repeatedly will produce the same result. Making multiple
@@ -473,7 +473,7 @@ export interface CreateScheduledQueryRequest {
473
473
  * </ul>
474
474
  * @public
475
475
  */
476
- ClientToken?: string;
476
+ ClientToken?: string | undefined;
477
477
  /**
478
478
  * <p>The ARN for the IAM role that Timestream will assume when running the scheduled query.
479
479
  * </p>
@@ -484,7 +484,7 @@ export interface CreateScheduledQueryRequest {
484
484
  * <p>A list of key-value pairs to label the scheduled query.</p>
485
485
  * @public
486
486
  */
487
- Tags?: Tag[];
487
+ Tags?: Tag[] | undefined;
488
488
  /**
489
489
  * <p>The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the
490
490
  * Amazon KMS key is not specified, the scheduled query resource will be encrypted with a
@@ -496,7 +496,7 @@ export interface CreateScheduledQueryRequest {
496
496
  * KmsKeyId is used to encrypt the error report at rest.</p>
497
497
  * @public
498
498
  */
499
- KmsKeyId?: string;
499
+ KmsKeyId?: string | undefined;
500
500
  /**
501
501
  * <p>Configuration for error reporting. Error reports will be generated when a problem is
502
502
  * encountered when writing the query results. </p>
@@ -521,7 +521,7 @@ export interface CreateScheduledQueryResponse {
521
521
  export declare class ServiceQuotaExceededException extends __BaseException {
522
522
  readonly name: "ServiceQuotaExceededException";
523
523
  readonly $fault: "client";
524
- Message?: string;
524
+ Message?: string | undefined;
525
525
  /**
526
526
  * @internal
527
527
  */
@@ -544,12 +544,12 @@ export interface DeleteScheduledQueryRequest {
544
544
  export declare class ResourceNotFoundException extends __BaseException {
545
545
  readonly name: "ResourceNotFoundException";
546
546
  readonly $fault: "client";
547
- Message?: string;
547
+ Message?: string | undefined;
548
548
  /**
549
549
  * <p>The ARN of the scheduled query.</p>
550
550
  * @public
551
551
  */
552
- ScheduledQueryArn?: string;
552
+ ScheduledQueryArn?: string | undefined;
553
553
  /**
554
554
  * @internal
555
555
  */
@@ -580,12 +580,12 @@ export interface DescribeAccountSettingsResponse {
580
580
  * <p>The maximum number of <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/tcu.html">Timestream compute units</a> (TCUs) the service will use at any point in time to serve your queries.</p>
581
581
  * @public
582
582
  */
583
- MaxQueryTCU?: number;
583
+ MaxQueryTCU?: number | undefined;
584
584
  /**
585
585
  * <p>The pricing model for queries in your account.</p>
586
586
  * @public
587
587
  */
588
- QueryPricingModel?: QueryPricingModel;
588
+ QueryPricingModel?: QueryPricingModel | undefined;
589
589
  }
590
590
  /**
591
591
  * @public
@@ -639,12 +639,12 @@ export interface S3ReportLocation {
639
639
  * <p> S3 bucket name. </p>
640
640
  * @public
641
641
  */
642
- BucketName?: string;
642
+ BucketName?: string | undefined;
643
643
  /**
644
644
  * <p>S3 key. </p>
645
645
  * @public
646
646
  */
647
- ObjectKey?: string;
647
+ ObjectKey?: string | undefined;
648
648
  }
649
649
  /**
650
650
  * <p>This contains the location of the error report for a single scheduled query call.
@@ -656,7 +656,7 @@ export interface ErrorReportLocation {
656
656
  * <p>The S3 location where error reports are written.</p>
657
657
  * @public
658
658
  */
659
- S3ReportLocation?: S3ReportLocation;
659
+ S3ReportLocation?: S3ReportLocation | undefined;
660
660
  }
661
661
  /**
662
662
  * <p>Statistics for a single scheduled query run.</p>
@@ -668,33 +668,33 @@ export interface ExecutionStats {
668
668
  * complete.</p>
669
669
  * @public
670
670
  */
671
- ExecutionTimeInMillis?: number;
671
+ ExecutionTimeInMillis?: number | undefined;
672
672
  /**
673
673
  * <p>Data writes metered for records ingested in a single scheduled query run.</p>
674
674
  * @public
675
675
  */
676
- DataWrites?: number;
676
+ DataWrites?: number | undefined;
677
677
  /**
678
678
  * <p>Bytes metered for a single scheduled query run.</p>
679
679
  * @public
680
680
  */
681
- BytesMetered?: number;
681
+ BytesMetered?: number | undefined;
682
682
  /**
683
683
  * <p>Bytes scanned for a single scheduled query run.</p>
684
684
  * @public
685
685
  */
686
- CumulativeBytesScanned?: number;
686
+ CumulativeBytesScanned?: number | undefined;
687
687
  /**
688
688
  * <p>The number of records ingested for a single scheduled query run. </p>
689
689
  * @public
690
690
  */
691
- RecordsIngested?: number;
691
+ RecordsIngested?: number | undefined;
692
692
  /**
693
693
  * <p>Number of rows present in the output from running a query before ingestion to
694
694
  * destination data source.</p>
695
695
  * @public
696
696
  */
697
- QueryResultRows?: number;
697
+ QueryResultRows?: number | undefined;
698
698
  }
699
699
  /**
700
700
  * <p>Provides insights into the table with the most sub-optimal spatial range scanned by your query.</p>
@@ -705,17 +705,17 @@ export interface QuerySpatialCoverageMax {
705
705
  * <p>The maximum ratio of spatial coverage.</p>
706
706
  * @public
707
707
  */
708
- Value?: number;
708
+ Value?: number | undefined;
709
709
  /**
710
710
  * <p>The Amazon Resource Name (ARN) of the table with the most sub-optimal spatial pruning.</p>
711
711
  * @public
712
712
  */
713
- TableArn?: string;
713
+ TableArn?: string | undefined;
714
714
  /**
715
715
  * <p>The partition key used for partitioning, which can be a default <code>measure_name</code> or a <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/customer-defined-partition-keys.html">customer defined partition key</a>.</p>
716
716
  * @public
717
717
  */
718
- PartitionKey?: string[];
718
+ PartitionKey?: string[] | undefined;
719
719
  }
720
720
  /**
721
721
  * <p>Provides insights into the spatial coverage of the query, including the table with sub-optimal (max) spatial pruning. This information can help you identify areas for improvement in your partitioning strategy to enhance spatial pruning</p>
@@ -749,7 +749,7 @@ export interface QuerySpatialCoverage {
749
749
  * </ul>
750
750
  * @public
751
751
  */
752
- Max?: QuerySpatialCoverageMax;
752
+ Max?: QuerySpatialCoverageMax | undefined;
753
753
  }
754
754
  /**
755
755
  * <p>Provides insights into the table with the most sub-optimal temporal pruning scanned by your query.</p>
@@ -760,12 +760,12 @@ export interface QueryTemporalRangeMax {
760
760
  * <p>The maximum duration in nanoseconds between the start and end of the query.</p>
761
761
  * @public
762
762
  */
763
- Value?: number;
763
+ Value?: number | undefined;
764
764
  /**
765
765
  * <p>The Amazon Resource Name (ARN) of the table which is queried with the largest time range.</p>
766
766
  * @public
767
767
  */
768
- TableArn?: string;
768
+ TableArn?: string | undefined;
769
769
  }
770
770
  /**
771
771
  * <p>Provides insights into the temporal range of the query, including the table with the largest (max) time range.</p>
@@ -786,7 +786,7 @@ export interface QueryTemporalRange {
786
786
  * </ul>
787
787
  * @public
788
788
  */
789
- Max?: QueryTemporalRangeMax;
789
+ Max?: QueryTemporalRangeMax | undefined;
790
790
  }
791
791
  /**
792
792
  * <p>Provides various insights and metrics related to the <code>ExecuteScheduledQueryRequest</code> that was executed.</p>
@@ -797,7 +797,7 @@ export interface ScheduledQueryInsightsResponse {
797
797
  * <p>Provides insights into the spatial coverage of the query, including the table with sub-optimal (max) spatial pruning. This information can help you identify areas for improvement in your partitioning strategy to enhance spatial pruning.</p>
798
798
  * @public
799
799
  */
800
- QuerySpatialCoverage?: QuerySpatialCoverage;
800
+ QuerySpatialCoverage?: QuerySpatialCoverage | undefined;
801
801
  /**
802
802
  * <p>Provides insights into the temporal range of the query, including the table with the largest (max) time range. Following are some of the potential options for optimizing time-based pruning:</p>
803
803
  * <ul>
@@ -813,22 +813,22 @@ export interface ScheduledQueryInsightsResponse {
813
813
  * </ul>
814
814
  * @public
815
815
  */
816
- QueryTemporalRange?: QueryTemporalRange;
816
+ QueryTemporalRange?: QueryTemporalRange | undefined;
817
817
  /**
818
818
  * <p>Indicates the number of tables in the query.</p>
819
819
  * @public
820
820
  */
821
- QueryTableCount?: number;
821
+ QueryTableCount?: number | undefined;
822
822
  /**
823
823
  * <p>Indicates the total number of rows returned as part of the query result set. You can use this data to validate if the number of rows in the result set have changed as part of the query tuning exercise.</p>
824
824
  * @public
825
825
  */
826
- OutputRows?: number;
826
+ OutputRows?: number | undefined;
827
827
  /**
828
828
  * <p>Indicates the size of query result set in bytes. You can use this data to validate if the result set has changed as part of the query tuning exercise.</p>
829
829
  * @public
830
830
  */
831
- OutputBytes?: number;
831
+ OutputBytes?: number | undefined;
832
832
  }
833
833
  /**
834
834
  * @public
@@ -855,38 +855,38 @@ export interface ScheduledQueryRunSummary {
855
855
  * </p>
856
856
  * @public
857
857
  */
858
- InvocationTime?: Date;
858
+ InvocationTime?: Date | undefined;
859
859
  /**
860
860
  * <p>The actual time when the query was run.</p>
861
861
  * @public
862
862
  */
863
- TriggerTime?: Date;
863
+ TriggerTime?: Date | undefined;
864
864
  /**
865
865
  * <p>The status of a scheduled query run.</p>
866
866
  * @public
867
867
  */
868
- RunStatus?: ScheduledQueryRunStatus;
868
+ RunStatus?: ScheduledQueryRunStatus | undefined;
869
869
  /**
870
870
  * <p>Runtime statistics for a scheduled run.</p>
871
871
  * @public
872
872
  */
873
- ExecutionStats?: ExecutionStats;
873
+ ExecutionStats?: ExecutionStats | undefined;
874
874
  /**
875
875
  * <p>Provides various insights and metrics related to the run summary of the scheduled query.</p>
876
876
  * @public
877
877
  */
878
- QueryInsightsResponse?: ScheduledQueryInsightsResponse;
878
+ QueryInsightsResponse?: ScheduledQueryInsightsResponse | undefined;
879
879
  /**
880
880
  * <p>S3 location for error report.</p>
881
881
  * @public
882
882
  */
883
- ErrorReportLocation?: ErrorReportLocation;
883
+ ErrorReportLocation?: ErrorReportLocation | undefined;
884
884
  /**
885
885
  * <p>Error message for the scheduled query in case of failure. You might have to look at
886
886
  * the error report to get more detailed error reasons. </p>
887
887
  * @public
888
888
  */
889
- FailureReason?: string;
889
+ FailureReason?: string | undefined;
890
890
  }
891
891
  /**
892
892
  * @public
@@ -924,7 +924,7 @@ export interface ScheduledQueryDescription {
924
924
  * <p>Creation time of the scheduled query.</p>
925
925
  * @public
926
926
  */
927
- CreationTime?: Date;
927
+ CreationTime?: Date | undefined;
928
928
  /**
929
929
  * <p>State of the scheduled query. </p>
930
930
  * @public
@@ -934,12 +934,12 @@ export interface ScheduledQueryDescription {
934
934
  * <p>Last time the query was run.</p>
935
935
  * @public
936
936
  */
937
- PreviousInvocationTime?: Date;
937
+ PreviousInvocationTime?: Date | undefined;
938
938
  /**
939
939
  * <p>The next time the scheduled query is scheduled to run.</p>
940
940
  * @public
941
941
  */
942
- NextInvocationTime?: Date;
942
+ NextInvocationTime?: Date | undefined;
943
943
  /**
944
944
  * <p>Schedule configuration.</p>
945
945
  * @public
@@ -954,32 +954,32 @@ export interface ScheduledQueryDescription {
954
954
  * <p>Scheduled query target store configuration.</p>
955
955
  * @public
956
956
  */
957
- TargetConfiguration?: TargetConfiguration;
957
+ TargetConfiguration?: TargetConfiguration | undefined;
958
958
  /**
959
959
  * <p>IAM role that Timestream uses to run the schedule query.</p>
960
960
  * @public
961
961
  */
962
- ScheduledQueryExecutionRoleArn?: string;
962
+ ScheduledQueryExecutionRoleArn?: string | undefined;
963
963
  /**
964
964
  * <p>A customer provided KMS key used to encrypt the scheduled query resource.</p>
965
965
  * @public
966
966
  */
967
- KmsKeyId?: string;
967
+ KmsKeyId?: string | undefined;
968
968
  /**
969
969
  * <p>Error-reporting configuration for the scheduled query.</p>
970
970
  * @public
971
971
  */
972
- ErrorReportConfiguration?: ErrorReportConfiguration;
972
+ ErrorReportConfiguration?: ErrorReportConfiguration | undefined;
973
973
  /**
974
974
  * <p>Runtime summary for the last scheduled query run. </p>
975
975
  * @public
976
976
  */
977
- LastRunSummary?: ScheduledQueryRunSummary;
977
+ LastRunSummary?: ScheduledQueryRunSummary | undefined;
978
978
  /**
979
979
  * <p>Runtime summary for the last five failed scheduled query runs.</p>
980
980
  * @public
981
981
  */
982
- RecentlyFailedRuns?: ScheduledQueryRunSummary[];
982
+ RecentlyFailedRuns?: ScheduledQueryRunSummary[] | undefined;
983
983
  }
984
984
  /**
985
985
  * @public
@@ -1043,13 +1043,13 @@ export interface ExecuteScheduledQueryRequest {
1043
1043
  * <p>Not used. </p>
1044
1044
  * @public
1045
1045
  */
1046
- ClientToken?: string;
1046
+ ClientToken?: string | undefined;
1047
1047
  /**
1048
1048
  * <p>Encapsulates settings for enabling <code>QueryInsights</code>.</p>
1049
1049
  * <p>Enabling <code>QueryInsights</code> returns insights and metrics as a part of the Amazon SNS notification for the query that you executed. You can use <code>QueryInsights</code> to tune your query performance and cost.</p>
1050
1050
  * @public
1051
1051
  */
1052
- QueryInsights?: ScheduledQueryInsights;
1052
+ QueryInsights?: ScheduledQueryInsights | undefined;
1053
1053
  }
1054
1054
  /**
1055
1055
  * @public
@@ -1062,12 +1062,12 @@ export interface ListScheduledQueriesRequest {
1062
1062
  * to the subsequent call to <code>ListScheduledQueriesRequest</code>.</p>
1063
1063
  * @public
1064
1064
  */
1065
- MaxResults?: number;
1065
+ MaxResults?: number | undefined;
1066
1066
  /**
1067
1067
  * <p> A pagination token to resume pagination.</p>
1068
1068
  * @public
1069
1069
  */
1070
- NextToken?: string;
1070
+ NextToken?: string | undefined;
1071
1071
  }
1072
1072
  /**
1073
1073
  * <p>Destination for scheduled query.</p>
@@ -1078,12 +1078,12 @@ export interface TimestreamDestination {
1078
1078
  * <p>Timestream database name. </p>
1079
1079
  * @public
1080
1080
  */
1081
- DatabaseName?: string;
1081
+ DatabaseName?: string | undefined;
1082
1082
  /**
1083
1083
  * <p>Timestream table name. </p>
1084
1084
  * @public
1085
1085
  */
1086
- TableName?: string;
1086
+ TableName?: string | undefined;
1087
1087
  }
1088
1088
  /**
1089
1089
  * <p>Destination details to write data for a target data source. Current supported data
@@ -1095,7 +1095,7 @@ export interface TargetDestination {
1095
1095
  * <p>Query result destination details for Timestream data source.</p>
1096
1096
  * @public
1097
1097
  */
1098
- TimestreamDestination?: TimestreamDestination;
1098
+ TimestreamDestination?: TimestreamDestination | undefined;
1099
1099
  }
1100
1100
  /**
1101
1101
  * <p>Scheduled Query</p>
@@ -1116,7 +1116,7 @@ export interface ScheduledQuery {
1116
1116
  * <p>The creation time of the scheduled query.</p>
1117
1117
  * @public
1118
1118
  */
1119
- CreationTime?: Date;
1119
+ CreationTime?: Date | undefined;
1120
1120
  /**
1121
1121
  * <p>State of scheduled query. </p>
1122
1122
  * @public
@@ -1126,27 +1126,27 @@ export interface ScheduledQuery {
1126
1126
  * <p>The last time the scheduled query was run.</p>
1127
1127
  * @public
1128
1128
  */
1129
- PreviousInvocationTime?: Date;
1129
+ PreviousInvocationTime?: Date | undefined;
1130
1130
  /**
1131
1131
  * <p>The next time the scheduled query is to be run.</p>
1132
1132
  * @public
1133
1133
  */
1134
- NextInvocationTime?: Date;
1134
+ NextInvocationTime?: Date | undefined;
1135
1135
  /**
1136
1136
  * <p>Configuration for scheduled query error reporting.</p>
1137
1137
  * @public
1138
1138
  */
1139
- ErrorReportConfiguration?: ErrorReportConfiguration;
1139
+ ErrorReportConfiguration?: ErrorReportConfiguration | undefined;
1140
1140
  /**
1141
1141
  * <p>Target data source where final scheduled query result will be written.</p>
1142
1142
  * @public
1143
1143
  */
1144
- TargetDestination?: TargetDestination;
1144
+ TargetDestination?: TargetDestination | undefined;
1145
1145
  /**
1146
1146
  * <p>Status of the last scheduled query run.</p>
1147
1147
  * @public
1148
1148
  */
1149
- LastRunStatus?: ScheduledQueryRunStatus;
1149
+ LastRunStatus?: ScheduledQueryRunStatus | undefined;
1150
1150
  }
1151
1151
  /**
1152
1152
  * @public
@@ -1162,7 +1162,7 @@ export interface ListScheduledQueriesResponse {
1162
1162
  * truncated response.</p>
1163
1163
  * @public
1164
1164
  */
1165
- NextToken?: string;
1165
+ NextToken?: string | undefined;
1166
1166
  }
1167
1167
  /**
1168
1168
  * @public
@@ -1178,12 +1178,12 @@ export interface ListTagsForResourceRequest {
1178
1178
  * <p>The maximum number of tags to return.</p>
1179
1179
  * @public
1180
1180
  */
1181
- MaxResults?: number;
1181
+ MaxResults?: number | undefined;
1182
1182
  /**
1183
1183
  * <p>A pagination token to resume pagination.</p>
1184
1184
  * @public
1185
1185
  */
1186
- NextToken?: string;
1186
+ NextToken?: string | undefined;
1187
1187
  }
1188
1188
  /**
1189
1189
  * @public
@@ -1199,7 +1199,7 @@ export interface ListTagsForResourceResponse {
1199
1199
  * <code>ListTagsForResourceResponse</code>.</p>
1200
1200
  * @public
1201
1201
  */
1202
- NextToken?: string;
1202
+ NextToken?: string | undefined;
1203
1203
  }
1204
1204
  /**
1205
1205
  * @public
@@ -1218,7 +1218,7 @@ export interface PrepareQueryRequest {
1218
1218
  * use.</p>
1219
1219
  * @public
1220
1220
  */
1221
- ValidateOnly?: boolean;
1221
+ ValidateOnly?: boolean | undefined;
1222
1222
  }
1223
1223
  /**
1224
1224
  * <p>
@@ -1228,7 +1228,7 @@ export interface PrepareQueryRequest {
1228
1228
  export declare class QueryExecutionException extends __BaseException {
1229
1229
  readonly name: "QueryExecutionException";
1230
1230
  readonly $fault: "client";
1231
- Message?: string;
1231
+ Message?: string | undefined;
1232
1232
  /**
1233
1233
  * @internal
1234
1234
  */
@@ -1329,7 +1329,7 @@ export interface QueryRequest {
1329
1329
  * </ul>
1330
1330
  * @public
1331
1331
  */
1332
- ClientToken?: string;
1332
+ ClientToken?: string | undefined;
1333
1333
  /**
1334
1334
  * <p> A pagination token used to return a set of results. When the <code>Query</code> API
1335
1335
  * is invoked using <code>NextToken</code>, that particular invocation is assumed to be a
@@ -1372,7 +1372,7 @@ export interface QueryRequest {
1372
1372
  * </ul>
1373
1373
  * @public
1374
1374
  */
1375
- NextToken?: string;
1375
+ NextToken?: string | undefined;
1376
1376
  /**
1377
1377
  * <p> The total number of rows to be returned in the <code>Query</code> output. The initial
1378
1378
  * run of <code>Query</code> with a <code>MaxRows</code> value specified will return the
@@ -1396,13 +1396,13 @@ export interface QueryRequest {
1396
1396
  * number of rows to meet the 1 MB limit.</p>
1397
1397
  * @public
1398
1398
  */
1399
- MaxRows?: number;
1399
+ MaxRows?: number | undefined;
1400
1400
  /**
1401
1401
  * <p>Encapsulates settings for enabling <code>QueryInsights</code>.</p>
1402
1402
  * <p>Enabling <code>QueryInsights</code> returns insights and metrics in addition to query results for the query that you executed. You can use <code>QueryInsights</code> to tune your query performance.</p>
1403
1403
  * @public
1404
1404
  */
1405
- QueryInsights?: QueryInsights;
1405
+ QueryInsights?: QueryInsights | undefined;
1406
1406
  }
1407
1407
  /**
1408
1408
  * <p>Provides various insights and metrics related to the query that you executed.</p>
@@ -1413,7 +1413,7 @@ export interface QueryInsightsResponse {
1413
1413
  * <p>Provides insights into the spatial coverage of the query, including the table with sub-optimal (max) spatial pruning. This information can help you identify areas for improvement in your partitioning strategy to enhance spatial pruning. </p>
1414
1414
  * @public
1415
1415
  */
1416
- QuerySpatialCoverage?: QuerySpatialCoverage;
1416
+ QuerySpatialCoverage?: QuerySpatialCoverage | undefined;
1417
1417
  /**
1418
1418
  * <p>Provides insights into the temporal range of the query, including the table with the largest (max) time range. Following are some of the potential options for optimizing time-based pruning:</p>
1419
1419
  * <ul>
@@ -1429,37 +1429,37 @@ export interface QueryInsightsResponse {
1429
1429
  * </ul>
1430
1430
  * @public
1431
1431
  */
1432
- QueryTemporalRange?: QueryTemporalRange;
1432
+ QueryTemporalRange?: QueryTemporalRange | undefined;
1433
1433
  /**
1434
1434
  * <p>Indicates the number of tables in the query.</p>
1435
1435
  * @public
1436
1436
  */
1437
- QueryTableCount?: number;
1437
+ QueryTableCount?: number | undefined;
1438
1438
  /**
1439
1439
  * <p>Indicates the total number of rows returned as part of the query result set. You can use this data to validate if the number of rows in the result set have changed as part of the query tuning exercise.</p>
1440
1440
  * @public
1441
1441
  */
1442
- OutputRows?: number;
1442
+ OutputRows?: number | undefined;
1443
1443
  /**
1444
1444
  * <p>Indicates the size of query result set in bytes. You can use this data to validate if the result set has changed as part of the query tuning exercise.</p>
1445
1445
  * @public
1446
1446
  */
1447
- OutputBytes?: number;
1447
+ OutputBytes?: number | undefined;
1448
1448
  /**
1449
1449
  * <p>Indicates the partitions created by the <code>Unload</code> operation.</p>
1450
1450
  * @public
1451
1451
  */
1452
- UnloadPartitionCount?: number;
1452
+ UnloadPartitionCount?: number | undefined;
1453
1453
  /**
1454
1454
  * <p>Indicates the rows written by the <code>Unload</code> query.</p>
1455
1455
  * @public
1456
1456
  */
1457
- UnloadWrittenRows?: number;
1457
+ UnloadWrittenRows?: number | undefined;
1458
1458
  /**
1459
1459
  * <p>Indicates the size, in bytes, written by the <code>Unload</code> operation.</p>
1460
1460
  * @public
1461
1461
  */
1462
- UnloadWrittenBytes?: number;
1462
+ UnloadWrittenBytes?: number | undefined;
1463
1463
  }
1464
1464
  /**
1465
1465
  * <p>Information about the status of the query, including progress and bytes
@@ -1471,13 +1471,13 @@ export interface QueryStatus {
1471
1471
  * <p>The progress of the query, expressed as a percentage.</p>
1472
1472
  * @public
1473
1473
  */
1474
- ProgressPercentage?: number;
1474
+ ProgressPercentage?: number | undefined;
1475
1475
  /**
1476
1476
  * <p>The amount of data scanned by the query in bytes. This is a cumulative sum and
1477
1477
  * represents the total amount of bytes scanned since the query was started. </p>
1478
1478
  * @public
1479
1479
  */
1480
- CumulativeBytesScanned?: number;
1480
+ CumulativeBytesScanned?: number | undefined;
1481
1481
  /**
1482
1482
  * <p>The amount of data scanned by the query in bytes that you will be charged for. This is
1483
1483
  * a cumulative sum and represents the total amount of data that you will be charged for
@@ -1485,7 +1485,7 @@ export interface QueryStatus {
1485
1485
  * the query completes running or when the query is cancelled. </p>
1486
1486
  * @public
1487
1487
  */
1488
- CumulativeBytesMetered?: number;
1488
+ CumulativeBytesMetered?: number | undefined;
1489
1489
  }
1490
1490
  /**
1491
1491
  * @public
@@ -1539,7 +1539,7 @@ export interface UpdateAccountSettingsRequest {
1539
1539
  * <p>The maximum value supported for <code>MaxQueryTCU</code> is 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for maxQueryTCU, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.default">Default quotas</a>.</p>
1540
1540
  * @public
1541
1541
  */
1542
- MaxQueryTCU?: number;
1542
+ MaxQueryTCU?: number | undefined;
1543
1543
  /**
1544
1544
  * <p>The pricing model for queries in an account.</p>
1545
1545
  * <note>
@@ -1547,7 +1547,7 @@ export interface UpdateAccountSettingsRequest {
1547
1547
  * </note>
1548
1548
  * @public
1549
1549
  */
1550
- QueryPricingModel?: QueryPricingModel;
1550
+ QueryPricingModel?: QueryPricingModel | undefined;
1551
1551
  }
1552
1552
  /**
1553
1553
  * @public
@@ -1557,12 +1557,12 @@ export interface UpdateAccountSettingsResponse {
1557
1557
  * <p>The configured maximum number of compute units the service will use at any point in time to serve your queries.</p>
1558
1558
  * @public
1559
1559
  */
1560
- MaxQueryTCU?: number;
1560
+ MaxQueryTCU?: number | undefined;
1561
1561
  /**
1562
1562
  * <p>The pricing model for an account.</p>
1563
1563
  * @public
1564
1564
  */
1565
- QueryPricingModel?: QueryPricingModel;
1565
+ QueryPricingModel?: QueryPricingModel | undefined;
1566
1566
  }
1567
1567
  /**
1568
1568
  * @public
@@ -1590,7 +1590,7 @@ export interface ColumnInfo {
1590
1590
  * columns of all data types except for arrays. </p>
1591
1591
  * @public
1592
1592
  */
1593
- Name?: string;
1593
+ Name?: string | undefined;
1594
1594
  /**
1595
1595
  * <p>The data type of the result set column. The data type can be a scalar or complex.
1596
1596
  * Scalar data types are integers, strings, doubles, Booleans, and others. Complex data
@@ -1613,22 +1613,22 @@ export interface Type {
1613
1613
  * types</a>.</p>
1614
1614
  * @public
1615
1615
  */
1616
- ScalarType?: ScalarType;
1616
+ ScalarType?: ScalarType | undefined;
1617
1617
  /**
1618
1618
  * <p>Indicates if the column is an array.</p>
1619
1619
  * @public
1620
1620
  */
1621
- ArrayColumnInfo?: ColumnInfo;
1621
+ ArrayColumnInfo?: ColumnInfo | undefined;
1622
1622
  /**
1623
1623
  * <p>Indicates if the column is a timeseries data type.</p>
1624
1624
  * @public
1625
1625
  */
1626
- TimeSeriesMeasureValueColumnInfo?: ColumnInfo;
1626
+ TimeSeriesMeasureValueColumnInfo?: ColumnInfo | undefined;
1627
1627
  /**
1628
1628
  * <p>Indicates if the column is a row.</p>
1629
1629
  * @public
1630
1630
  */
1631
- RowColumnInfo?: ColumnInfo[];
1631
+ RowColumnInfo?: ColumnInfo[] | undefined;
1632
1632
  }
1633
1633
  /**
1634
1634
  * <p> Datum represents a single data point in a query result. </p>
@@ -1640,27 +1640,27 @@ export interface Datum {
1640
1640
  * Boolean. </p>
1641
1641
  * @public
1642
1642
  */
1643
- ScalarValue?: string;
1643
+ ScalarValue?: string | undefined;
1644
1644
  /**
1645
1645
  * <p> Indicates if the data point is a timeseries data type. </p>
1646
1646
  * @public
1647
1647
  */
1648
- TimeSeriesValue?: TimeSeriesDataPoint[];
1648
+ TimeSeriesValue?: TimeSeriesDataPoint[] | undefined;
1649
1649
  /**
1650
1650
  * <p> Indicates if the data point is an array. </p>
1651
1651
  * @public
1652
1652
  */
1653
- ArrayValue?: Datum[];
1653
+ ArrayValue?: Datum[] | undefined;
1654
1654
  /**
1655
1655
  * <p> Indicates if the data point is a row. </p>
1656
1656
  * @public
1657
1657
  */
1658
- RowValue?: Row;
1658
+ RowValue?: Row | undefined;
1659
1659
  /**
1660
1660
  * <p> Indicates if the data point is null. </p>
1661
1661
  * @public
1662
1662
  */
1663
- NullValue?: boolean;
1663
+ NullValue?: boolean | undefined;
1664
1664
  }
1665
1665
  /**
1666
1666
  * <p>Mapping for named parameters.</p>
@@ -1690,7 +1690,7 @@ export interface SelectColumn {
1690
1690
  * <p>Name of the column.</p>
1691
1691
  * @public
1692
1692
  */
1693
- Name?: string;
1693
+ Name?: string | undefined;
1694
1694
  /**
1695
1695
  * <p>Contains the data type of a column in a query result set. The data type can be scalar
1696
1696
  * or complex. The supported scalar data types are integers, Boolean, string, double,
@@ -1698,22 +1698,22 @@ export interface SelectColumn {
1698
1698
  * and timeseries.</p>
1699
1699
  * @public
1700
1700
  */
1701
- Type?: Type;
1701
+ Type?: Type | undefined;
1702
1702
  /**
1703
1703
  * <p> Database that has this column.</p>
1704
1704
  * @public
1705
1705
  */
1706
- DatabaseName?: string;
1706
+ DatabaseName?: string | undefined;
1707
1707
  /**
1708
1708
  * <p>Table within the database that has this column. </p>
1709
1709
  * @public
1710
1710
  */
1711
- TableName?: string;
1711
+ TableName?: string | undefined;
1712
1712
  /**
1713
1713
  * <p>True, if the column name was aliased by the query. False otherwise.</p>
1714
1714
  * @public
1715
1715
  */
1716
- Aliased?: boolean;
1716
+ Aliased?: boolean | undefined;
1717
1717
  }
1718
1718
  /**
1719
1719
  * <p>The timeseries data type represents the values of a measure over time. A time series
@@ -1759,7 +1759,7 @@ export interface QueryResponse {
1759
1759
  * next set of results. </p>
1760
1760
  * @public
1761
1761
  */
1762
- NextToken?: string;
1762
+ NextToken?: string | undefined;
1763
1763
  /**
1764
1764
  * <p> The result set rows returned by the query. </p>
1765
1765
  * @public
@@ -1775,12 +1775,12 @@ export interface QueryResponse {
1775
1775
  * scanned.</p>
1776
1776
  * @public
1777
1777
  */
1778
- QueryStatus?: QueryStatus;
1778
+ QueryStatus?: QueryStatus | undefined;
1779
1779
  /**
1780
1780
  * <p>Encapsulates <code>QueryInsights</code> containing insights and metrics related to the query that you executed.</p>
1781
1781
  * @public
1782
1782
  */
1783
- QueryInsightsResponse?: QueryInsightsResponse;
1783
+ QueryInsightsResponse?: QueryInsightsResponse | undefined;
1784
1784
  }
1785
1785
  /**
1786
1786
  * @public