@aws-sdk/client-timestream-query 3.300.0 → 3.303.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.
@@ -73,20 +73,19 @@ class ValidationException extends TimestreamQueryServiceException_1.TimestreamQu
73
73
  }
74
74
  }
75
75
  exports.ValidationException = ValidationException;
76
- var ScalarType;
77
- (function (ScalarType) {
78
- ScalarType["BIGINT"] = "BIGINT";
79
- ScalarType["BOOLEAN"] = "BOOLEAN";
80
- ScalarType["DATE"] = "DATE";
81
- ScalarType["DOUBLE"] = "DOUBLE";
82
- ScalarType["INTEGER"] = "INTEGER";
83
- ScalarType["INTERVAL_DAY_TO_SECOND"] = "INTERVAL_DAY_TO_SECOND";
84
- ScalarType["INTERVAL_YEAR_TO_MONTH"] = "INTERVAL_YEAR_TO_MONTH";
85
- ScalarType["TIME"] = "TIME";
86
- ScalarType["TIMESTAMP"] = "TIMESTAMP";
87
- ScalarType["UNKNOWN"] = "UNKNOWN";
88
- ScalarType["VARCHAR"] = "VARCHAR";
89
- })(ScalarType = exports.ScalarType || (exports.ScalarType = {}));
76
+ exports.ScalarType = {
77
+ BIGINT: "BIGINT",
78
+ BOOLEAN: "BOOLEAN",
79
+ DATE: "DATE",
80
+ DOUBLE: "DOUBLE",
81
+ INTEGER: "INTEGER",
82
+ INTERVAL_DAY_TO_SECOND: "INTERVAL_DAY_TO_SECOND",
83
+ INTERVAL_YEAR_TO_MONTH: "INTERVAL_YEAR_TO_MONTH",
84
+ TIME: "TIME",
85
+ TIMESTAMP: "TIMESTAMP",
86
+ UNKNOWN: "UNKNOWN",
87
+ VARCHAR: "VARCHAR",
88
+ };
90
89
  class ConflictException extends TimestreamQueryServiceException_1.TimestreamQueryServiceException {
91
90
  constructor(opts) {
92
91
  super({
@@ -101,31 +100,27 @@ class ConflictException extends TimestreamQueryServiceException_1.TimestreamQuer
101
100
  }
102
101
  }
103
102
  exports.ConflictException = ConflictException;
104
- var S3EncryptionOption;
105
- (function (S3EncryptionOption) {
106
- S3EncryptionOption["SSE_KMS"] = "SSE_KMS";
107
- S3EncryptionOption["SSE_S3"] = "SSE_S3";
108
- })(S3EncryptionOption = exports.S3EncryptionOption || (exports.S3EncryptionOption = {}));
109
- var DimensionValueType;
110
- (function (DimensionValueType) {
111
- DimensionValueType["VARCHAR"] = "VARCHAR";
112
- })(DimensionValueType = exports.DimensionValueType || (exports.DimensionValueType = {}));
113
- var MeasureValueType;
114
- (function (MeasureValueType) {
115
- MeasureValueType["BIGINT"] = "BIGINT";
116
- MeasureValueType["BOOLEAN"] = "BOOLEAN";
117
- MeasureValueType["DOUBLE"] = "DOUBLE";
118
- MeasureValueType["MULTI"] = "MULTI";
119
- MeasureValueType["VARCHAR"] = "VARCHAR";
120
- })(MeasureValueType = exports.MeasureValueType || (exports.MeasureValueType = {}));
121
- var ScalarMeasureValueType;
122
- (function (ScalarMeasureValueType) {
123
- ScalarMeasureValueType["BIGINT"] = "BIGINT";
124
- ScalarMeasureValueType["BOOLEAN"] = "BOOLEAN";
125
- ScalarMeasureValueType["DOUBLE"] = "DOUBLE";
126
- ScalarMeasureValueType["TIMESTAMP"] = "TIMESTAMP";
127
- ScalarMeasureValueType["VARCHAR"] = "VARCHAR";
128
- })(ScalarMeasureValueType = exports.ScalarMeasureValueType || (exports.ScalarMeasureValueType = {}));
103
+ exports.S3EncryptionOption = {
104
+ SSE_KMS: "SSE_KMS",
105
+ SSE_S3: "SSE_S3",
106
+ };
107
+ exports.DimensionValueType = {
108
+ VARCHAR: "VARCHAR",
109
+ };
110
+ exports.MeasureValueType = {
111
+ BIGINT: "BIGINT",
112
+ BOOLEAN: "BOOLEAN",
113
+ DOUBLE: "DOUBLE",
114
+ MULTI: "MULTI",
115
+ VARCHAR: "VARCHAR",
116
+ };
117
+ exports.ScalarMeasureValueType = {
118
+ BIGINT: "BIGINT",
119
+ BOOLEAN: "BOOLEAN",
120
+ DOUBLE: "DOUBLE",
121
+ TIMESTAMP: "TIMESTAMP",
122
+ VARCHAR: "VARCHAR",
123
+ };
129
124
  class ServiceQuotaExceededException extends TimestreamQueryServiceException_1.TimestreamQueryServiceException {
130
125
  constructor(opts) {
131
126
  super({
@@ -155,18 +150,16 @@ class ResourceNotFoundException extends TimestreamQueryServiceException_1.Timest
155
150
  }
156
151
  }
157
152
  exports.ResourceNotFoundException = ResourceNotFoundException;
158
- var ScheduledQueryRunStatus;
159
- (function (ScheduledQueryRunStatus) {
160
- ScheduledQueryRunStatus["AUTO_TRIGGER_FAILURE"] = "AUTO_TRIGGER_FAILURE";
161
- ScheduledQueryRunStatus["AUTO_TRIGGER_SUCCESS"] = "AUTO_TRIGGER_SUCCESS";
162
- ScheduledQueryRunStatus["MANUAL_TRIGGER_FAILURE"] = "MANUAL_TRIGGER_FAILURE";
163
- ScheduledQueryRunStatus["MANUAL_TRIGGER_SUCCESS"] = "MANUAL_TRIGGER_SUCCESS";
164
- })(ScheduledQueryRunStatus = exports.ScheduledQueryRunStatus || (exports.ScheduledQueryRunStatus = {}));
165
- var ScheduledQueryState;
166
- (function (ScheduledQueryState) {
167
- ScheduledQueryState["DISABLED"] = "DISABLED";
168
- ScheduledQueryState["ENABLED"] = "ENABLED";
169
- })(ScheduledQueryState = exports.ScheduledQueryState || (exports.ScheduledQueryState = {}));
153
+ exports.ScheduledQueryRunStatus = {
154
+ AUTO_TRIGGER_FAILURE: "AUTO_TRIGGER_FAILURE",
155
+ AUTO_TRIGGER_SUCCESS: "AUTO_TRIGGER_SUCCESS",
156
+ MANUAL_TRIGGER_FAILURE: "MANUAL_TRIGGER_FAILURE",
157
+ MANUAL_TRIGGER_SUCCESS: "MANUAL_TRIGGER_SUCCESS",
158
+ };
159
+ exports.ScheduledQueryState = {
160
+ DISABLED: "DISABLED",
161
+ ENABLED: "ENABLED",
162
+ };
170
163
  class QueryExecutionException extends TimestreamQueryServiceException_1.TimestreamQueryServiceException {
171
164
  constructor(opts) {
172
165
  super({
@@ -65,20 +65,19 @@ export class ValidationException extends __BaseException {
65
65
  this.Message = opts.Message;
66
66
  }
67
67
  }
68
- export var ScalarType;
69
- (function (ScalarType) {
70
- ScalarType["BIGINT"] = "BIGINT";
71
- ScalarType["BOOLEAN"] = "BOOLEAN";
72
- ScalarType["DATE"] = "DATE";
73
- ScalarType["DOUBLE"] = "DOUBLE";
74
- ScalarType["INTEGER"] = "INTEGER";
75
- ScalarType["INTERVAL_DAY_TO_SECOND"] = "INTERVAL_DAY_TO_SECOND";
76
- ScalarType["INTERVAL_YEAR_TO_MONTH"] = "INTERVAL_YEAR_TO_MONTH";
77
- ScalarType["TIME"] = "TIME";
78
- ScalarType["TIMESTAMP"] = "TIMESTAMP";
79
- ScalarType["UNKNOWN"] = "UNKNOWN";
80
- ScalarType["VARCHAR"] = "VARCHAR";
81
- })(ScalarType || (ScalarType = {}));
68
+ export const ScalarType = {
69
+ BIGINT: "BIGINT",
70
+ BOOLEAN: "BOOLEAN",
71
+ DATE: "DATE",
72
+ DOUBLE: "DOUBLE",
73
+ INTEGER: "INTEGER",
74
+ INTERVAL_DAY_TO_SECOND: "INTERVAL_DAY_TO_SECOND",
75
+ INTERVAL_YEAR_TO_MONTH: "INTERVAL_YEAR_TO_MONTH",
76
+ TIME: "TIME",
77
+ TIMESTAMP: "TIMESTAMP",
78
+ UNKNOWN: "UNKNOWN",
79
+ VARCHAR: "VARCHAR",
80
+ };
82
81
  export class ConflictException extends __BaseException {
83
82
  constructor(opts) {
84
83
  super({
@@ -92,31 +91,27 @@ export class ConflictException extends __BaseException {
92
91
  this.Message = opts.Message;
93
92
  }
94
93
  }
95
- export var S3EncryptionOption;
96
- (function (S3EncryptionOption) {
97
- S3EncryptionOption["SSE_KMS"] = "SSE_KMS";
98
- S3EncryptionOption["SSE_S3"] = "SSE_S3";
99
- })(S3EncryptionOption || (S3EncryptionOption = {}));
100
- export var DimensionValueType;
101
- (function (DimensionValueType) {
102
- DimensionValueType["VARCHAR"] = "VARCHAR";
103
- })(DimensionValueType || (DimensionValueType = {}));
104
- export var MeasureValueType;
105
- (function (MeasureValueType) {
106
- MeasureValueType["BIGINT"] = "BIGINT";
107
- MeasureValueType["BOOLEAN"] = "BOOLEAN";
108
- MeasureValueType["DOUBLE"] = "DOUBLE";
109
- MeasureValueType["MULTI"] = "MULTI";
110
- MeasureValueType["VARCHAR"] = "VARCHAR";
111
- })(MeasureValueType || (MeasureValueType = {}));
112
- export var ScalarMeasureValueType;
113
- (function (ScalarMeasureValueType) {
114
- ScalarMeasureValueType["BIGINT"] = "BIGINT";
115
- ScalarMeasureValueType["BOOLEAN"] = "BOOLEAN";
116
- ScalarMeasureValueType["DOUBLE"] = "DOUBLE";
117
- ScalarMeasureValueType["TIMESTAMP"] = "TIMESTAMP";
118
- ScalarMeasureValueType["VARCHAR"] = "VARCHAR";
119
- })(ScalarMeasureValueType || (ScalarMeasureValueType = {}));
94
+ export const S3EncryptionOption = {
95
+ SSE_KMS: "SSE_KMS",
96
+ SSE_S3: "SSE_S3",
97
+ };
98
+ export const DimensionValueType = {
99
+ VARCHAR: "VARCHAR",
100
+ };
101
+ export const MeasureValueType = {
102
+ BIGINT: "BIGINT",
103
+ BOOLEAN: "BOOLEAN",
104
+ DOUBLE: "DOUBLE",
105
+ MULTI: "MULTI",
106
+ VARCHAR: "VARCHAR",
107
+ };
108
+ export const ScalarMeasureValueType = {
109
+ BIGINT: "BIGINT",
110
+ BOOLEAN: "BOOLEAN",
111
+ DOUBLE: "DOUBLE",
112
+ TIMESTAMP: "TIMESTAMP",
113
+ VARCHAR: "VARCHAR",
114
+ };
120
115
  export class ServiceQuotaExceededException extends __BaseException {
121
116
  constructor(opts) {
122
117
  super({
@@ -144,18 +139,16 @@ export class ResourceNotFoundException extends __BaseException {
144
139
  this.ScheduledQueryArn = opts.ScheduledQueryArn;
145
140
  }
146
141
  }
147
- export var ScheduledQueryRunStatus;
148
- (function (ScheduledQueryRunStatus) {
149
- ScheduledQueryRunStatus["AUTO_TRIGGER_FAILURE"] = "AUTO_TRIGGER_FAILURE";
150
- ScheduledQueryRunStatus["AUTO_TRIGGER_SUCCESS"] = "AUTO_TRIGGER_SUCCESS";
151
- ScheduledQueryRunStatus["MANUAL_TRIGGER_FAILURE"] = "MANUAL_TRIGGER_FAILURE";
152
- ScheduledQueryRunStatus["MANUAL_TRIGGER_SUCCESS"] = "MANUAL_TRIGGER_SUCCESS";
153
- })(ScheduledQueryRunStatus || (ScheduledQueryRunStatus = {}));
154
- export var ScheduledQueryState;
155
- (function (ScheduledQueryState) {
156
- ScheduledQueryState["DISABLED"] = "DISABLED";
157
- ScheduledQueryState["ENABLED"] = "ENABLED";
158
- })(ScheduledQueryState || (ScheduledQueryState = {}));
142
+ export const ScheduledQueryRunStatus = {
143
+ AUTO_TRIGGER_FAILURE: "AUTO_TRIGGER_FAILURE",
144
+ AUTO_TRIGGER_SUCCESS: "AUTO_TRIGGER_SUCCESS",
145
+ MANUAL_TRIGGER_FAILURE: "MANUAL_TRIGGER_FAILURE",
146
+ MANUAL_TRIGGER_SUCCESS: "MANUAL_TRIGGER_SUCCESS",
147
+ };
148
+ export const ScheduledQueryState = {
149
+ DISABLED: "DISABLED",
150
+ ENABLED: "ENABLED",
151
+ };
159
152
  export class QueryExecutionException extends __BaseException {
160
153
  constructor(opts) {
161
154
  super({
@@ -31,7 +31,7 @@ export interface CancelQueryCommandOutput extends CancelQueryResponse, __Metadat
31
31
  * import { TimestreamQueryClient, CancelQueryCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
32
32
  * // const { TimestreamQueryClient, CancelQueryCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
33
33
  * const client = new TimestreamQueryClient(config);
34
- * const input = {
34
+ * const input = { // CancelQueryRequest
35
35
  * QueryId: "STRING_VALUE", // required
36
36
  * };
37
37
  * const command = new CancelQueryCommand(input);
@@ -30,40 +30,40 @@ export interface CreateScheduledQueryCommandOutput extends CreateScheduledQueryR
30
30
  * import { TimestreamQueryClient, CreateScheduledQueryCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
31
31
  * // const { TimestreamQueryClient, CreateScheduledQueryCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
32
32
  * const client = new TimestreamQueryClient(config);
33
- * const input = {
33
+ * const input = { // CreateScheduledQueryRequest
34
34
  * Name: "STRING_VALUE", // required
35
35
  * QueryString: "STRING_VALUE", // required
36
- * ScheduleConfiguration: {
36
+ * ScheduleConfiguration: { // ScheduleConfiguration
37
37
  * ScheduleExpression: "STRING_VALUE", // required
38
38
  * },
39
- * NotificationConfiguration: {
40
- * SnsConfiguration: {
39
+ * NotificationConfiguration: { // NotificationConfiguration
40
+ * SnsConfiguration: { // SnsConfiguration
41
41
  * TopicArn: "STRING_VALUE", // required
42
42
  * },
43
43
  * },
44
- * TargetConfiguration: {
45
- * TimestreamConfiguration: {
44
+ * TargetConfiguration: { // TargetConfiguration
45
+ * TimestreamConfiguration: { // TimestreamConfiguration
46
46
  * DatabaseName: "STRING_VALUE", // required
47
47
  * TableName: "STRING_VALUE", // required
48
48
  * TimeColumn: "STRING_VALUE", // required
49
- * DimensionMappings: [ // required
50
- * {
49
+ * DimensionMappings: [ // DimensionMappingList // required
50
+ * { // DimensionMapping
51
51
  * Name: "STRING_VALUE", // required
52
52
  * DimensionValueType: "STRING_VALUE", // required
53
53
  * },
54
54
  * ],
55
- * MultiMeasureMappings: {
55
+ * MultiMeasureMappings: { // MultiMeasureMappings
56
56
  * TargetMultiMeasureName: "STRING_VALUE",
57
- * MultiMeasureAttributeMappings: [ // required
58
- * {
57
+ * MultiMeasureAttributeMappings: [ // MultiMeasureAttributeMappingList // required
58
+ * { // MultiMeasureAttributeMapping
59
59
  * SourceColumn: "STRING_VALUE", // required
60
60
  * TargetMultiMeasureAttributeName: "STRING_VALUE",
61
61
  * MeasureValueType: "STRING_VALUE", // required
62
62
  * },
63
63
  * ],
64
64
  * },
65
- * MixedMeasureMappings: [
66
- * {
65
+ * MixedMeasureMappings: [ // MixedMeasureMappingList
66
+ * { // MixedMeasureMapping
67
67
  * MeasureName: "STRING_VALUE",
68
68
  * SourceColumn: "STRING_VALUE",
69
69
  * TargetMeasureName: "STRING_VALUE",
@@ -82,15 +82,15 @@ export interface CreateScheduledQueryCommandOutput extends CreateScheduledQueryR
82
82
  * },
83
83
  * ClientToken: "STRING_VALUE",
84
84
  * ScheduledQueryExecutionRoleArn: "STRING_VALUE", // required
85
- * Tags: [
86
- * {
85
+ * Tags: [ // TagList
86
+ * { // Tag
87
87
  * Key: "STRING_VALUE", // required
88
88
  * Value: "STRING_VALUE", // required
89
89
  * },
90
90
  * ],
91
91
  * KmsKeyId: "STRING_VALUE",
92
- * ErrorReportConfiguration: {
93
- * S3Configuration: {
92
+ * ErrorReportConfiguration: { // ErrorReportConfiguration
93
+ * S3Configuration: { // S3Configuration
94
94
  * BucketName: "STRING_VALUE", // required
95
95
  * ObjectKeyPrefix: "STRING_VALUE",
96
96
  * EncryptionOption: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface DeleteScheduledQueryCommandOutput extends __MetadataBearer {
26
26
  * import { TimestreamQueryClient, DeleteScheduledQueryCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
27
27
  * // const { TimestreamQueryClient, DeleteScheduledQueryCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
28
28
  * const client = new TimestreamQueryClient(config);
29
- * const input = {
29
+ * const input = { // DeleteScheduledQueryRequest
30
30
  * ScheduledQueryArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteScheduledQueryCommand(input);
@@ -26,7 +26,7 @@ export interface DescribeScheduledQueryCommandOutput extends DescribeScheduledQu
26
26
  * import { TimestreamQueryClient, DescribeScheduledQueryCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
27
27
  * // const { TimestreamQueryClient, DescribeScheduledQueryCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
28
28
  * const client = new TimestreamQueryClient(config);
29
- * const input = {
29
+ * const input = { // DescribeScheduledQueryRequest
30
30
  * ScheduledQueryArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DescribeScheduledQueryCommand(input);
@@ -26,7 +26,7 @@ export interface ExecuteScheduledQueryCommandOutput extends __MetadataBearer {
26
26
  * import { TimestreamQueryClient, ExecuteScheduledQueryCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
27
27
  * // const { TimestreamQueryClient, ExecuteScheduledQueryCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
28
28
  * const client = new TimestreamQueryClient(config);
29
- * const input = {
29
+ * const input = { // ExecuteScheduledQueryRequest
30
30
  * ScheduledQueryArn: "STRING_VALUE", // required
31
31
  * InvocationTime: new Date("TIMESTAMP"), // required
32
32
  * ClientToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListScheduledQueriesCommandOutput extends ListScheduledQueriesR
26
26
  * import { TimestreamQueryClient, ListScheduledQueriesCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
27
27
  * // const { TimestreamQueryClient, ListScheduledQueriesCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
28
28
  * const client = new TimestreamQueryClient(config);
29
- * const input = {
29
+ * const input = { // ListScheduledQueriesRequest
30
30
  * MaxResults: Number("int"),
31
31
  * NextToken: "STRING_VALUE",
32
32
  * };
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { TimestreamQueryClient, ListTagsForResourceCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
27
27
  * // const { TimestreamQueryClient, ListTagsForResourceCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
28
28
  * const client = new TimestreamQueryClient(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * ResourceARN: "STRING_VALUE", // required
31
31
  * MaxResults: Number("int"),
32
32
  * NextToken: "STRING_VALUE",
@@ -28,7 +28,7 @@ export interface PrepareQueryCommandOutput extends PrepareQueryResponse, __Metad
28
28
  * import { TimestreamQueryClient, PrepareQueryCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
29
29
  * // const { TimestreamQueryClient, PrepareQueryCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
30
30
  * const client = new TimestreamQueryClient(config);
31
- * const input = {
31
+ * const input = { // PrepareQueryRequest
32
32
  * QueryString: "STRING_VALUE", // required
33
33
  * ValidateOnly: true || false,
34
34
  * };
@@ -56,7 +56,7 @@ export interface QueryCommandOutput extends QueryResponse, __MetadataBearer {
56
56
  * import { TimestreamQueryClient, QueryCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
57
57
  * // const { TimestreamQueryClient, QueryCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
58
58
  * const client = new TimestreamQueryClient(config);
59
- * const input = {
59
+ * const input = { // QueryRequest
60
60
  * QueryString: "STRING_VALUE", // required
61
61
  * ClientToken: "STRING_VALUE",
62
62
  * NextToken: "STRING_VALUE",
@@ -28,10 +28,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
28
28
  * import { TimestreamQueryClient, TagResourceCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
29
29
  * // const { TimestreamQueryClient, TagResourceCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
30
30
  * const client = new TimestreamQueryClient(config);
31
- * const input = {
31
+ * const input = { // TagResourceRequest
32
32
  * ResourceARN: "STRING_VALUE", // required
33
- * Tags: [ // required
34
- * {
33
+ * Tags: [ // TagList // required
34
+ * { // Tag
35
35
  * Key: "STRING_VALUE", // required
36
36
  * Value: "STRING_VALUE", // required
37
37
  * },
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { TimestreamQueryClient, UntagResourceCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
27
27
  * // const { TimestreamQueryClient, UntagResourceCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
28
28
  * const client = new TimestreamQueryClient(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * ResourceARN: "STRING_VALUE", // required
31
- * TagKeys: [ // required
31
+ * TagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -26,7 +26,7 @@ export interface UpdateScheduledQueryCommandOutput extends __MetadataBearer {
26
26
  * import { TimestreamQueryClient, UpdateScheduledQueryCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
27
27
  * // const { TimestreamQueryClient, UpdateScheduledQueryCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
28
28
  * const client = new TimestreamQueryClient(config);
29
- * const input = {
29
+ * const input = { // UpdateScheduledQueryRequest
30
30
  * ScheduledQueryArn: "STRING_VALUE", // required
31
31
  * State: "STRING_VALUE", // required
32
32
  * };
@@ -89,20 +89,25 @@ export declare class ValidationException extends __BaseException {
89
89
  }
90
90
  /**
91
91
  * @public
92
+ * @enum
92
93
  */
93
- export declare enum ScalarType {
94
- BIGINT = "BIGINT",
95
- BOOLEAN = "BOOLEAN",
96
- DATE = "DATE",
97
- DOUBLE = "DOUBLE",
98
- INTEGER = "INTEGER",
99
- INTERVAL_DAY_TO_SECOND = "INTERVAL_DAY_TO_SECOND",
100
- INTERVAL_YEAR_TO_MONTH = "INTERVAL_YEAR_TO_MONTH",
101
- TIME = "TIME",
102
- TIMESTAMP = "TIMESTAMP",
103
- UNKNOWN = "UNKNOWN",
104
- VARCHAR = "VARCHAR"
105
- }
94
+ export declare const ScalarType: {
95
+ readonly BIGINT: "BIGINT";
96
+ readonly BOOLEAN: "BOOLEAN";
97
+ readonly DATE: "DATE";
98
+ readonly DOUBLE: "DOUBLE";
99
+ readonly INTEGER: "INTEGER";
100
+ readonly INTERVAL_DAY_TO_SECOND: "INTERVAL_DAY_TO_SECOND";
101
+ readonly INTERVAL_YEAR_TO_MONTH: "INTERVAL_YEAR_TO_MONTH";
102
+ readonly TIME: "TIME";
103
+ readonly TIMESTAMP: "TIMESTAMP";
104
+ readonly UNKNOWN: "UNKNOWN";
105
+ readonly VARCHAR: "VARCHAR";
106
+ };
107
+ /**
108
+ * @public
109
+ */
110
+ export type ScalarType = (typeof ScalarType)[keyof typeof ScalarType];
106
111
  /**
107
112
  * @public
108
113
  * <p> Unable to poll results for a cancelled query. </p>
@@ -118,11 +123,16 @@ export declare class ConflictException extends __BaseException {
118
123
  }
119
124
  /**
120
125
  * @public
126
+ * @enum
121
127
  */
122
- export declare enum S3EncryptionOption {
123
- SSE_KMS = "SSE_KMS",
124
- SSE_S3 = "SSE_S3"
125
- }
128
+ export declare const S3EncryptionOption: {
129
+ readonly SSE_KMS: "SSE_KMS";
130
+ readonly SSE_S3: "SSE_S3";
131
+ };
132
+ /**
133
+ * @public
134
+ */
135
+ export type S3EncryptionOption = (typeof S3EncryptionOption)[keyof typeof S3EncryptionOption];
126
136
  /**
127
137
  * @public
128
138
  * <p>Details on S3 location for error reports that result from running a query. </p>
@@ -204,10 +214,15 @@ export interface Tag {
204
214
  }
205
215
  /**
206
216
  * @public
217
+ * @enum
207
218
  */
208
- export declare enum DimensionValueType {
209
- VARCHAR = "VARCHAR"
210
- }
219
+ export declare const DimensionValueType: {
220
+ readonly VARCHAR: "VARCHAR";
221
+ };
222
+ /**
223
+ * @public
224
+ */
225
+ export type DimensionValueType = (typeof DimensionValueType)[keyof typeof DimensionValueType];
211
226
  /**
212
227
  * @public
213
228
  * <p>This type is used to map column(s) from the query result to a dimension in the
@@ -225,24 +240,34 @@ export interface DimensionMapping {
225
240
  }
226
241
  /**
227
242
  * @public
243
+ * @enum
228
244
  */
229
- export declare enum MeasureValueType {
230
- BIGINT = "BIGINT",
231
- BOOLEAN = "BOOLEAN",
232
- DOUBLE = "DOUBLE",
233
- MULTI = "MULTI",
234
- VARCHAR = "VARCHAR"
235
- }
245
+ export declare const MeasureValueType: {
246
+ readonly BIGINT: "BIGINT";
247
+ readonly BOOLEAN: "BOOLEAN";
248
+ readonly DOUBLE: "DOUBLE";
249
+ readonly MULTI: "MULTI";
250
+ readonly VARCHAR: "VARCHAR";
251
+ };
236
252
  /**
237
253
  * @public
238
254
  */
239
- export declare enum ScalarMeasureValueType {
240
- BIGINT = "BIGINT",
241
- BOOLEAN = "BOOLEAN",
242
- DOUBLE = "DOUBLE",
243
- TIMESTAMP = "TIMESTAMP",
244
- VARCHAR = "VARCHAR"
245
- }
255
+ export type MeasureValueType = (typeof MeasureValueType)[keyof typeof MeasureValueType];
256
+ /**
257
+ * @public
258
+ * @enum
259
+ */
260
+ export declare const ScalarMeasureValueType: {
261
+ readonly BIGINT: "BIGINT";
262
+ readonly BOOLEAN: "BOOLEAN";
263
+ readonly DOUBLE: "DOUBLE";
264
+ readonly TIMESTAMP: "TIMESTAMP";
265
+ readonly VARCHAR: "VARCHAR";
266
+ };
267
+ /**
268
+ * @public
269
+ */
270
+ export type ScalarMeasureValueType = (typeof ScalarMeasureValueType)[keyof typeof ScalarMeasureValueType];
246
271
  /**
247
272
  * @public
248
273
  * <p>Attribute mapping for MULTI value measures.</p>
@@ -572,13 +597,18 @@ export interface ExecutionStats {
572
597
  }
573
598
  /**
574
599
  * @public
600
+ * @enum
575
601
  */
576
- export declare enum ScheduledQueryRunStatus {
577
- AUTO_TRIGGER_FAILURE = "AUTO_TRIGGER_FAILURE",
578
- AUTO_TRIGGER_SUCCESS = "AUTO_TRIGGER_SUCCESS",
579
- MANUAL_TRIGGER_FAILURE = "MANUAL_TRIGGER_FAILURE",
580
- MANUAL_TRIGGER_SUCCESS = "MANUAL_TRIGGER_SUCCESS"
581
- }
602
+ export declare const ScheduledQueryRunStatus: {
603
+ readonly AUTO_TRIGGER_FAILURE: "AUTO_TRIGGER_FAILURE";
604
+ readonly AUTO_TRIGGER_SUCCESS: "AUTO_TRIGGER_SUCCESS";
605
+ readonly MANUAL_TRIGGER_FAILURE: "MANUAL_TRIGGER_FAILURE";
606
+ readonly MANUAL_TRIGGER_SUCCESS: "MANUAL_TRIGGER_SUCCESS";
607
+ };
608
+ /**
609
+ * @public
610
+ */
611
+ export type ScheduledQueryRunStatus = (typeof ScheduledQueryRunStatus)[keyof typeof ScheduledQueryRunStatus];
582
612
  /**
583
613
  * @public
584
614
  * <p>Run summary for the scheduled query</p>
@@ -613,11 +643,16 @@ export interface ScheduledQueryRunSummary {
613
643
  }
614
644
  /**
615
645
  * @public
646
+ * @enum
616
647
  */
617
- export declare enum ScheduledQueryState {
618
- DISABLED = "DISABLED",
619
- ENABLED = "ENABLED"
620
- }
648
+ export declare const ScheduledQueryState: {
649
+ readonly DISABLED: "DISABLED";
650
+ readonly ENABLED: "ENABLED";
651
+ };
652
+ /**
653
+ * @public
654
+ */
655
+ export type ScheduledQueryState = (typeof ScheduledQueryState)[keyof typeof ScheduledQueryState];
621
656
  /**
622
657
  * @public
623
658
  * <p>Structure that describes scheduled query.</p>
@@ -46,29 +46,32 @@ export declare class ValidationException extends __BaseException {
46
46
  opts: __ExceptionOptionType<ValidationException, __BaseException>
47
47
  );
48
48
  }
49
- export declare enum ScalarType {
50
- BIGINT = "BIGINT",
51
- BOOLEAN = "BOOLEAN",
52
- DATE = "DATE",
53
- DOUBLE = "DOUBLE",
54
- INTEGER = "INTEGER",
55
- INTERVAL_DAY_TO_SECOND = "INTERVAL_DAY_TO_SECOND",
56
- INTERVAL_YEAR_TO_MONTH = "INTERVAL_YEAR_TO_MONTH",
57
- TIME = "TIME",
58
- TIMESTAMP = "TIMESTAMP",
59
- UNKNOWN = "UNKNOWN",
60
- VARCHAR = "VARCHAR",
61
- }
49
+ export declare const ScalarType: {
50
+ readonly BIGINT: "BIGINT";
51
+ readonly BOOLEAN: "BOOLEAN";
52
+ readonly DATE: "DATE";
53
+ readonly DOUBLE: "DOUBLE";
54
+ readonly INTEGER: "INTEGER";
55
+ readonly INTERVAL_DAY_TO_SECOND: "INTERVAL_DAY_TO_SECOND";
56
+ readonly INTERVAL_YEAR_TO_MONTH: "INTERVAL_YEAR_TO_MONTH";
57
+ readonly TIME: "TIME";
58
+ readonly TIMESTAMP: "TIMESTAMP";
59
+ readonly UNKNOWN: "UNKNOWN";
60
+ readonly VARCHAR: "VARCHAR";
61
+ };
62
+ export type ScalarType = (typeof ScalarType)[keyof typeof ScalarType];
62
63
  export declare class ConflictException extends __BaseException {
63
64
  readonly name: "ConflictException";
64
65
  readonly $fault: "client";
65
66
  Message?: string;
66
67
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
67
68
  }
68
- export declare enum S3EncryptionOption {
69
- SSE_KMS = "SSE_KMS",
70
- SSE_S3 = "SSE_S3",
71
- }
69
+ export declare const S3EncryptionOption: {
70
+ readonly SSE_KMS: "SSE_KMS";
71
+ readonly SSE_S3: "SSE_S3";
72
+ };
73
+ export type S3EncryptionOption =
74
+ (typeof S3EncryptionOption)[keyof typeof S3EncryptionOption];
72
75
  export interface S3Configuration {
73
76
  BucketName: string | undefined;
74
77
  ObjectKeyPrefix?: string;
@@ -90,27 +93,33 @@ export interface Tag {
90
93
  Key: string | undefined;
91
94
  Value: string | undefined;
92
95
  }
93
- export declare enum DimensionValueType {
94
- VARCHAR = "VARCHAR",
95
- }
96
+ export declare const DimensionValueType: {
97
+ readonly VARCHAR: "VARCHAR";
98
+ };
99
+ export type DimensionValueType =
100
+ (typeof DimensionValueType)[keyof typeof DimensionValueType];
96
101
  export interface DimensionMapping {
97
102
  Name: string | undefined;
98
103
  DimensionValueType: DimensionValueType | string | undefined;
99
104
  }
100
- export declare enum MeasureValueType {
101
- BIGINT = "BIGINT",
102
- BOOLEAN = "BOOLEAN",
103
- DOUBLE = "DOUBLE",
104
- MULTI = "MULTI",
105
- VARCHAR = "VARCHAR",
106
- }
107
- export declare enum ScalarMeasureValueType {
108
- BIGINT = "BIGINT",
109
- BOOLEAN = "BOOLEAN",
110
- DOUBLE = "DOUBLE",
111
- TIMESTAMP = "TIMESTAMP",
112
- VARCHAR = "VARCHAR",
113
- }
105
+ export declare const MeasureValueType: {
106
+ readonly BIGINT: "BIGINT";
107
+ readonly BOOLEAN: "BOOLEAN";
108
+ readonly DOUBLE: "DOUBLE";
109
+ readonly MULTI: "MULTI";
110
+ readonly VARCHAR: "VARCHAR";
111
+ };
112
+ export type MeasureValueType =
113
+ (typeof MeasureValueType)[keyof typeof MeasureValueType];
114
+ export declare const ScalarMeasureValueType: {
115
+ readonly BIGINT: "BIGINT";
116
+ readonly BOOLEAN: "BOOLEAN";
117
+ readonly DOUBLE: "DOUBLE";
118
+ readonly TIMESTAMP: "TIMESTAMP";
119
+ readonly VARCHAR: "VARCHAR";
120
+ };
121
+ export type ScalarMeasureValueType =
122
+ (typeof ScalarMeasureValueType)[keyof typeof ScalarMeasureValueType];
114
123
  export interface MultiMeasureAttributeMapping {
115
124
  SourceColumn: string | undefined;
116
125
  TargetMultiMeasureAttributeName?: string;
@@ -199,12 +208,14 @@ export interface ExecutionStats {
199
208
  RecordsIngested?: number;
200
209
  QueryResultRows?: number;
201
210
  }
202
- export declare enum ScheduledQueryRunStatus {
203
- AUTO_TRIGGER_FAILURE = "AUTO_TRIGGER_FAILURE",
204
- AUTO_TRIGGER_SUCCESS = "AUTO_TRIGGER_SUCCESS",
205
- MANUAL_TRIGGER_FAILURE = "MANUAL_TRIGGER_FAILURE",
206
- MANUAL_TRIGGER_SUCCESS = "MANUAL_TRIGGER_SUCCESS",
207
- }
211
+ export declare const ScheduledQueryRunStatus: {
212
+ readonly AUTO_TRIGGER_FAILURE: "AUTO_TRIGGER_FAILURE";
213
+ readonly AUTO_TRIGGER_SUCCESS: "AUTO_TRIGGER_SUCCESS";
214
+ readonly MANUAL_TRIGGER_FAILURE: "MANUAL_TRIGGER_FAILURE";
215
+ readonly MANUAL_TRIGGER_SUCCESS: "MANUAL_TRIGGER_SUCCESS";
216
+ };
217
+ export type ScheduledQueryRunStatus =
218
+ (typeof ScheduledQueryRunStatus)[keyof typeof ScheduledQueryRunStatus];
208
219
  export interface ScheduledQueryRunSummary {
209
220
  InvocationTime?: Date;
210
221
  TriggerTime?: Date;
@@ -213,10 +224,12 @@ export interface ScheduledQueryRunSummary {
213
224
  ErrorReportLocation?: ErrorReportLocation;
214
225
  FailureReason?: string;
215
226
  }
216
- export declare enum ScheduledQueryState {
217
- DISABLED = "DISABLED",
218
- ENABLED = "ENABLED",
219
- }
227
+ export declare const ScheduledQueryState: {
228
+ readonly DISABLED: "DISABLED";
229
+ readonly ENABLED: "ENABLED";
230
+ };
231
+ export type ScheduledQueryState =
232
+ (typeof ScheduledQueryState)[keyof typeof ScheduledQueryState];
220
233
  export interface ScheduledQueryDescription {
221
234
  Arn: string | undefined;
222
235
  Name: 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.300.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,44 +21,44 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-endpoint-discovery": "3.300.0",
33
- "@aws-sdk/middleware-host-header": "3.296.0",
34
- "@aws-sdk/middleware-logger": "3.296.0",
35
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
36
- "@aws-sdk/middleware-retry": "3.300.0",
37
- "@aws-sdk/middleware-serde": "3.296.0",
38
- "@aws-sdk/middleware-signing": "3.299.0",
39
- "@aws-sdk/middleware-stack": "3.296.0",
40
- "@aws-sdk/middleware-user-agent": "3.299.0",
41
- "@aws-sdk/node-config-provider": "3.300.0",
42
- "@aws-sdk/node-http-handler": "3.296.0",
43
- "@aws-sdk/protocol-http": "3.296.0",
44
- "@aws-sdk/smithy-client": "3.296.0",
45
- "@aws-sdk/types": "3.296.0",
46
- "@aws-sdk/url-parser": "3.296.0",
47
- "@aws-sdk/util-base64": "3.295.0",
48
- "@aws-sdk/util-body-length-browser": "3.295.0",
49
- "@aws-sdk/util-body-length-node": "3.295.0",
50
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
51
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
52
- "@aws-sdk/util-endpoints": "3.296.0",
53
- "@aws-sdk/util-retry": "3.296.0",
54
- "@aws-sdk/util-user-agent-browser": "3.299.0",
55
- "@aws-sdk/util-user-agent-node": "3.300.0",
56
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-endpoint-discovery": "3.303.0",
33
+ "@aws-sdk/middleware-host-header": "3.303.0",
34
+ "@aws-sdk/middleware-logger": "3.303.0",
35
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
36
+ "@aws-sdk/middleware-retry": "3.303.0",
37
+ "@aws-sdk/middleware-serde": "3.303.0",
38
+ "@aws-sdk/middleware-signing": "3.303.0",
39
+ "@aws-sdk/middleware-stack": "3.303.0",
40
+ "@aws-sdk/middleware-user-agent": "3.303.0",
41
+ "@aws-sdk/node-config-provider": "3.303.0",
42
+ "@aws-sdk/node-http-handler": "3.303.0",
43
+ "@aws-sdk/protocol-http": "3.303.0",
44
+ "@aws-sdk/smithy-client": "3.303.0",
45
+ "@aws-sdk/types": "3.303.0",
46
+ "@aws-sdk/url-parser": "3.303.0",
47
+ "@aws-sdk/util-base64": "3.303.0",
48
+ "@aws-sdk/util-body-length-browser": "3.303.0",
49
+ "@aws-sdk/util-body-length-node": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
51
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
52
+ "@aws-sdk/util-endpoints": "3.303.0",
53
+ "@aws-sdk/util-retry": "3.303.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
55
+ "@aws-sdk/util-user-agent-node": "3.303.0",
56
+ "@aws-sdk/util-utf8": "3.303.0",
57
57
  "tslib": "^2.5.0",
58
58
  "uuid": "^8.3.2"
59
59
  },
60
60
  "devDependencies": {
61
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
61
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
62
62
  "@tsconfig/node14": "1.0.3",
63
63
  "@types/node": "^14.14.31",
64
64
  "@types/uuid": "^8.3.0",