@aws-sdk/client-timestream-query 3.1075.0 → 3.1077.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1,22 +1,59 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
- const { resolveEndpointDiscoveryConfig, getEndpointDiscoveryPlugin } = require("@aws-sdk/middleware-endpoint-discovery");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
+ const { NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS, resolveEndpointDiscoveryConfig, getEndpointDiscoveryPlugin } = require("@aws-sdk/middleware-endpoint-discovery");
4
3
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
5
- const { Command, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, createAggregatedClient } = require("@smithy/core/client");
4
+ const { normalizeProvider, getSmithyContext, ServiceException, Command, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, createAggregatedClient } = require("@smithy/core/client");
6
5
  exports.$Command = Command;
7
6
  exports.__Client = Client;
8
- const { resolveRegionConfig } = require("@smithy/core/config");
9
- const { getEndpointPlugin, resolveEndpointConfig } = require("@smithy/core/endpoints");
10
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
11
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
12
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
13
- const { resolveHttpAuthSchemeConfig, defaultTimestreamQueryHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
14
- const { DescribeEndpoints$, CancelQuery$, CreateScheduledQuery$, DeleteScheduledQuery$, DescribeAccountSettings$, DescribeScheduledQuery$, ExecuteScheduledQuery$, ListScheduledQueries$, ListTagsForResource$, PrepareQuery$, Query$, TagResource$, UntagResource$, UpdateAccountSettings$, UpdateScheduledQuery$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- const { getRuntimeConfig } = require("./runtimeConfig");
17
- __exportStar(require("./models/errors"), exports);
18
- const { TimestreamQueryServiceException } = require("./models/TimestreamQueryServiceException");
19
- exports.TimestreamQueryServiceException = TimestreamQueryServiceException;
7
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
8
+ const { getEndpointPlugin, BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig } = require("@smithy/core/endpoints");
9
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
12
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
13
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
15
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
16
+ const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
18
+
19
+ const defaultTimestreamQueryHttpAuthSchemeParametersProvider = async (config, context, input) => {
20
+ return {
21
+ operation: getSmithyContext(context).operation,
22
+ region: await normalizeProvider(config.region)() || (() => {
23
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
24
+ })(),
25
+ };
26
+ };
27
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
28
+ return {
29
+ schemeId: "aws.auth#sigv4",
30
+ signingProperties: {
31
+ name: "timestream",
32
+ region: authParameters.region,
33
+ },
34
+ propertiesExtractor: (config, context) => ({
35
+ signingProperties: {
36
+ config,
37
+ context,
38
+ },
39
+ }),
40
+ };
41
+ }
42
+ const defaultTimestreamQueryHttpAuthSchemeProvider = (authParameters) => {
43
+ const options = [];
44
+ switch (authParameters.operation) {
45
+ default: {
46
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
47
+ }
48
+ }
49
+ return options;
50
+ };
51
+ const resolveHttpAuthSchemeConfig = (config) => {
52
+ const config_0 = resolveAwsSdkSigV4Config(config);
53
+ return Object.assign(config_0, {
54
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
55
+ });
56
+ };
20
57
 
21
58
  const resolveClientEndpointParameters = (options) => {
22
59
  return Object.assign(options, {
@@ -32,6 +69,854 @@ const commonParams = {
32
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
33
70
  };
34
71
 
72
+ class TimestreamQueryServiceException extends ServiceException {
73
+ constructor(options) {
74
+ super(options);
75
+ Object.setPrototypeOf(this, TimestreamQueryServiceException.prototype);
76
+ }
77
+ }
78
+
79
+ class AccessDeniedException extends TimestreamQueryServiceException {
80
+ name = "AccessDeniedException";
81
+ $fault = "client";
82
+ Message;
83
+ constructor(opts) {
84
+ super({
85
+ name: "AccessDeniedException",
86
+ $fault: "client",
87
+ ...opts,
88
+ });
89
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
90
+ this.Message = opts.Message;
91
+ }
92
+ }
93
+ class InternalServerException extends TimestreamQueryServiceException {
94
+ name = "InternalServerException";
95
+ $fault = "server";
96
+ Message;
97
+ constructor(opts) {
98
+ super({
99
+ name: "InternalServerException",
100
+ $fault: "server",
101
+ ...opts,
102
+ });
103
+ Object.setPrototypeOf(this, InternalServerException.prototype);
104
+ this.Message = opts.Message;
105
+ }
106
+ }
107
+ class InvalidEndpointException extends TimestreamQueryServiceException {
108
+ name = "InvalidEndpointException";
109
+ $fault = "client";
110
+ Message;
111
+ constructor(opts) {
112
+ super({
113
+ name: "InvalidEndpointException",
114
+ $fault: "client",
115
+ ...opts,
116
+ });
117
+ Object.setPrototypeOf(this, InvalidEndpointException.prototype);
118
+ this.Message = opts.Message;
119
+ }
120
+ }
121
+ class ThrottlingException extends TimestreamQueryServiceException {
122
+ name = "ThrottlingException";
123
+ $fault = "client";
124
+ Message;
125
+ constructor(opts) {
126
+ super({
127
+ name: "ThrottlingException",
128
+ $fault: "client",
129
+ ...opts,
130
+ });
131
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
132
+ this.Message = opts.Message;
133
+ }
134
+ }
135
+ class ValidationException extends TimestreamQueryServiceException {
136
+ name = "ValidationException";
137
+ $fault = "client";
138
+ Message;
139
+ constructor(opts) {
140
+ super({
141
+ name: "ValidationException",
142
+ $fault: "client",
143
+ ...opts,
144
+ });
145
+ Object.setPrototypeOf(this, ValidationException.prototype);
146
+ this.Message = opts.Message;
147
+ }
148
+ }
149
+ class ConflictException extends TimestreamQueryServiceException {
150
+ name = "ConflictException";
151
+ $fault = "client";
152
+ Message;
153
+ constructor(opts) {
154
+ super({
155
+ name: "ConflictException",
156
+ $fault: "client",
157
+ ...opts,
158
+ });
159
+ Object.setPrototypeOf(this, ConflictException.prototype);
160
+ this.Message = opts.Message;
161
+ }
162
+ }
163
+ class ServiceQuotaExceededException extends TimestreamQueryServiceException {
164
+ name = "ServiceQuotaExceededException";
165
+ $fault = "client";
166
+ Message;
167
+ constructor(opts) {
168
+ super({
169
+ name: "ServiceQuotaExceededException",
170
+ $fault: "client",
171
+ ...opts,
172
+ });
173
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
174
+ this.Message = opts.Message;
175
+ }
176
+ }
177
+ class ResourceNotFoundException extends TimestreamQueryServiceException {
178
+ name = "ResourceNotFoundException";
179
+ $fault = "client";
180
+ Message;
181
+ ScheduledQueryArn;
182
+ constructor(opts) {
183
+ super({
184
+ name: "ResourceNotFoundException",
185
+ $fault: "client",
186
+ ...opts,
187
+ });
188
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
189
+ this.Message = opts.Message;
190
+ this.ScheduledQueryArn = opts.ScheduledQueryArn;
191
+ }
192
+ }
193
+ class QueryExecutionException extends TimestreamQueryServiceException {
194
+ name = "QueryExecutionException";
195
+ $fault = "client";
196
+ Message;
197
+ constructor(opts) {
198
+ super({
199
+ name: "QueryExecutionException",
200
+ $fault: "client",
201
+ ...opts,
202
+ });
203
+ Object.setPrototypeOf(this, QueryExecutionException.prototype);
204
+ this.Message = opts.Message;
205
+ }
206
+ }
207
+
208
+ const _A = "Arn";
209
+ const _ACI = "ArrayColumnInfo";
210
+ const _ADE = "AccessDeniedException";
211
+ const _AQTCU = "ActiveQueryTCU";
212
+ const _ASNC = "AccountSettingsNotificationConfiguration";
213
+ const _AV = "ArrayValue";
214
+ const _Ad = "Address";
215
+ const _Al = "Aliased";
216
+ const _BM = "BytesMetered";
217
+ const _BN = "BucketName";
218
+ const _C = "Columns";
219
+ const _CBM = "CumulativeBytesMetered";
220
+ const _CBS = "CumulativeBytesScanned";
221
+ const _CE = "ConflictException";
222
+ const _CI = "ColumnInfo";
223
+ const _CIL = "ColumnInfoList";
224
+ const _CM = "CancellationMessage";
225
+ const _CMo = "ComputeMode";
226
+ const _CPIM = "CachePeriodInMinutes";
227
+ const _CQ = "CancelQuery";
228
+ const _CQR = "CancelQueryRequest";
229
+ const _CQRa = "CancelQueryResponse";
230
+ const _CRT = "ClientRequestToken";
231
+ const _CSQ = "CreateScheduledQuery";
232
+ const _CSQR = "CreateScheduledQueryRequest";
233
+ const _CSQRr = "CreateScheduledQueryResponse";
234
+ const _CT = "ClientToken";
235
+ const _CTr = "CreationTime";
236
+ const _D = "Datum";
237
+ const _DAS = "DescribeAccountSettings";
238
+ const _DASR = "DescribeAccountSettingsRequest";
239
+ const _DASRe = "DescribeAccountSettingsResponse";
240
+ const _DE = "DescribeEndpoints";
241
+ const _DER = "DescribeEndpointsRequest";
242
+ const _DERe = "DescribeEndpointsResponse";
243
+ const _DL = "DatumList";
244
+ const _DM = "DimensionMapping";
245
+ const _DML = "DimensionMappingList";
246
+ const _DMi = "DimensionMappings";
247
+ const _DN = "DatabaseName";
248
+ const _DSQ = "DeleteScheduledQuery";
249
+ const _DSQR = "DeleteScheduledQueryRequest";
250
+ const _DSQRe = "DescribeScheduledQueryRequest";
251
+ const _DSQRes = "DescribeScheduledQueryResponse";
252
+ const _DSQe = "DescribeScheduledQuery";
253
+ const _DVT = "DimensionValueType";
254
+ const _DW = "DataWrites";
255
+ const _Da = "Data";
256
+ const _E = "Endpoints";
257
+ const _EO = "EncryptionOption";
258
+ const _ERC = "ErrorReportConfiguration";
259
+ const _ERL = "ErrorReportLocation";
260
+ const _ES = "ExecutionStats";
261
+ const _ESQ = "ExecuteScheduledQuery";
262
+ const _ESQR = "ExecuteScheduledQueryRequest";
263
+ const _ETIM = "ExecutionTimeInMillis";
264
+ const _En = "Endpoint";
265
+ const _FR = "FailureReason";
266
+ const _IEE = "InvalidEndpointException";
267
+ const _ISE = "InternalServerException";
268
+ const _IT = "InvocationTime";
269
+ const _K = "Key";
270
+ const _KKI = "KmsKeyId";
271
+ const _LRS = "LastRunStatus";
272
+ const _LRSa = "LastRunSummary";
273
+ const _LSQ = "ListScheduledQueries";
274
+ const _LSQR = "ListScheduledQueriesRequest";
275
+ const _LSQRi = "ListScheduledQueriesResponse";
276
+ const _LTFR = "ListTagsForResource";
277
+ const _LTFRR = "ListTagsForResourceRequest";
278
+ const _LTFRRi = "ListTagsForResourceResponse";
279
+ const _LU = "LastUpdate";
280
+ const _M = "Message";
281
+ const _MMAM = "MultiMeasureAttributeMappings";
282
+ const _MMAML = "MultiMeasureAttributeMappingList";
283
+ const _MMAMu = "MultiMeasureAttributeMapping";
284
+ const _MMM = "MixedMeasureMapping";
285
+ const _MMML = "MixedMeasureMappingList";
286
+ const _MMMi = "MixedMeasureMappings";
287
+ const _MMMu = "MultiMeasureMappings";
288
+ const _MN = "MeasureName";
289
+ const _MNC = "MeasureNameColumn";
290
+ const _MQTCU = "MaxQueryTCU";
291
+ const _MR = "MaxResults";
292
+ const _MRa = "MaxRows";
293
+ const _MVT = "MeasureValueType";
294
+ const _Ma = "Max";
295
+ const _Mo = "Mode";
296
+ const _N = "Name";
297
+ const _NC = "NotificationConfiguration";
298
+ const _NIT = "NextInvocationTime";
299
+ const _NT = "NextToken";
300
+ const _NV = "NullValue";
301
+ const _OB = "OutputBytes";
302
+ const _OK = "ObjectKey";
303
+ const _OKP = "ObjectKeyPrefix";
304
+ const _OR = "OutputRows";
305
+ const _P = "Parameters";
306
+ const _PC = "ProvisionedCapacity";
307
+ const _PCR = "ProvisionedCapacityRequest";
308
+ const _PCRr = "ProvisionedCapacityResponse";
309
+ const _PIT = "PreviousInvocationTime";
310
+ const _PK = "PartitionKey";
311
+ const _PM = "ParameterMapping";
312
+ const _PML = "ParameterMappingList";
313
+ const _PP = "ProgressPercentage";
314
+ const _PQ = "PrepareQuery";
315
+ const _PQR = "PrepareQueryRequest";
316
+ const _PQRr = "PrepareQueryResponse";
317
+ const _Q = "Query";
318
+ const _QC = "QueryCompute";
319
+ const _QCR = "QueryComputeRequest";
320
+ const _QCRu = "QueryComputeResponse";
321
+ const _QEE = "QueryExecutionException";
322
+ const _QI = "QueryId";
323
+ const _QIR = "QueryInsightsResponse";
324
+ const _QIu = "QueryInsights";
325
+ const _QPM = "QueryPricingModel";
326
+ const _QR = "QueryRequest";
327
+ const _QRR = "QueryResultRows";
328
+ const _QRu = "QueryResponse";
329
+ const _QS = "QueryString";
330
+ const _QSC = "QuerySpatialCoverage";
331
+ const _QSCM = "QuerySpatialCoverageMax";
332
+ const _QSu = "QueryStatus";
333
+ const _QTC = "QueryTableCount";
334
+ const _QTR = "QueryTemporalRange";
335
+ const _QTRM = "QueryTemporalRangeMax";
336
+ const _R = "Rows";
337
+ const _RA = "RoleArn";
338
+ const _RARN = "ResourceARN";
339
+ const _RCI = "RowColumnInfo";
340
+ const _RFR = "RecentlyFailedRuns";
341
+ const _RI = "RecordsIngested";
342
+ const _RL = "RowList";
343
+ const _RNFE = "ResourceNotFoundException";
344
+ const _RS = "RunStatus";
345
+ const _RV = "RowValue";
346
+ const _Ro = "Row";
347
+ const _S = "Status";
348
+ const _SC = "SnsConfiguration";
349
+ const _SCL = "SelectColumnList";
350
+ const _SCc = "ScheduleConfiguration";
351
+ const _SCe = "SelectColumn";
352
+ const _SCo = "S3Configuration";
353
+ const _SCou = "SourceColumn";
354
+ const _SE = "ScheduleExpression";
355
+ const _SM = "StatusMessage";
356
+ const _SQ = "ScheduledQuery";
357
+ const _SQA = "ScheduledQueryArn";
358
+ const _SQD = "ScheduledQueryDescription";
359
+ const _SQEE = "ServiceQuotaExceededException";
360
+ const _SQERA = "ScheduledQueryExecutionRoleArn";
361
+ const _SQI = "ScheduledQueryInsights";
362
+ const _SQIR = "ScheduledQueryInsightsResponse";
363
+ const _SQL = "ScheduledQueryList";
364
+ const _SQRS = "ScheduledQueryRunSummary";
365
+ const _SQRSL = "ScheduledQueryRunSummaryList";
366
+ const _SQc = "ScheduledQueries";
367
+ const _SRL = "S3ReportLocation";
368
+ const _ST = "ScalarType";
369
+ const _SV = "ScalarValue";
370
+ const _St = "State";
371
+ const _T = "Type";
372
+ const _TA = "TableArn";
373
+ const _TAo = "TopicArn";
374
+ const _TC = "TargetConfiguration";
375
+ const _TCi = "TimestreamConfiguration";
376
+ const _TCim = "TimeColumn";
377
+ const _TD = "TargetDestination";
378
+ const _TDi = "TimestreamDestination";
379
+ const _TE = "ThrottlingException";
380
+ const _TK = "TagKeys";
381
+ const _TL = "TagList";
382
+ const _TMMAN = "TargetMultiMeasureAttributeName";
383
+ const _TMMN = "TargetMultiMeasureName";
384
+ const _TMN = "TargetMeasureName";
385
+ const _TN = "TableName";
386
+ const _TQTCU = "TargetQueryTCU";
387
+ const _TR = "TagResource";
388
+ const _TRR = "TagResourceRequest";
389
+ const _TRRa = "TagResourceResponse";
390
+ const _TSDP = "TimeSeriesDataPoint";
391
+ const _TSDPL = "TimeSeriesDataPointList";
392
+ const _TSMVCI = "TimeSeriesMeasureValueColumnInfo";
393
+ const _TSV = "TimeSeriesValue";
394
+ const _TT = "TriggerTime";
395
+ const _Ta = "Tags";
396
+ const _Tag = "Tag";
397
+ const _Ti = "Time";
398
+ const _UAS = "UpdateAccountSettings";
399
+ const _UASR = "UpdateAccountSettingsRequest";
400
+ const _UASRp = "UpdateAccountSettingsResponse";
401
+ const _UPC = "UnloadPartitionCount";
402
+ const _UR = "UntagResource";
403
+ const _URR = "UntagResourceRequest";
404
+ const _URRn = "UntagResourceResponse";
405
+ const _USQ = "UpdateScheduledQuery";
406
+ const _USQR = "UpdateScheduledQueryRequest";
407
+ const _UWB = "UnloadWrittenBytes";
408
+ const _UWR = "UnloadWrittenRows";
409
+ const _V = "Value";
410
+ const _VE = "ValidationException";
411
+ const _VO = "ValidateOnly";
412
+ const _aQE = "awsQueryError";
413
+ const _c = "client";
414
+ const _e = "error";
415
+ const _hE = "httpError";
416
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.timestreamquery";
417
+ const _se = "server";
418
+ const n0 = "com.amazonaws.timestreamquery";
419
+ const _s_registry = TypeRegistry.for(_s);
420
+ var TimestreamQueryServiceException$ = [-3, _s, "TimestreamQueryServiceException", 0, [], []];
421
+ _s_registry.registerError(TimestreamQueryServiceException$, TimestreamQueryServiceException);
422
+ const n0_registry = TypeRegistry.for(n0);
423
+ var AccessDeniedException$ = [-3, n0, _ADE,
424
+ { [_aQE]: [`AccessDenied`, 403], [_e]: _c, [_hE]: 403 },
425
+ [_M],
426
+ [0]
427
+ ];
428
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
429
+ var ConflictException$ = [-3, n0, _CE,
430
+ { [_e]: _c, [_hE]: 409 },
431
+ [_M],
432
+ [0]
433
+ ];
434
+ n0_registry.registerError(ConflictException$, ConflictException);
435
+ var InternalServerException$ = [-3, n0, _ISE,
436
+ { [_e]: _se, [_hE]: 500 },
437
+ [_M],
438
+ [0]
439
+ ];
440
+ n0_registry.registerError(InternalServerException$, InternalServerException);
441
+ var InvalidEndpointException$ = [-3, n0, _IEE,
442
+ { [_e]: _c, [_hE]: 421 },
443
+ [_M],
444
+ [0]
445
+ ];
446
+ n0_registry.registerError(InvalidEndpointException$, InvalidEndpointException);
447
+ var QueryExecutionException$ = [-3, n0, _QEE,
448
+ { [_e]: _c, [_hE]: 400 },
449
+ [_M],
450
+ [0]
451
+ ];
452
+ n0_registry.registerError(QueryExecutionException$, QueryExecutionException);
453
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
454
+ { [_e]: _c, [_hE]: 404 },
455
+ [_M, _SQA],
456
+ [0, 0]
457
+ ];
458
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
459
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
460
+ { [_e]: _c, [_hE]: 402 },
461
+ [_M],
462
+ [0]
463
+ ];
464
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
465
+ var ThrottlingException$ = [-3, n0, _TE,
466
+ { [_e]: _c, [_hE]: 429 },
467
+ [_M],
468
+ [0]
469
+ ];
470
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
471
+ var ValidationException$ = [-3, n0, _VE,
472
+ { [_e]: _c, [_hE]: 400 },
473
+ [_M],
474
+ [0]
475
+ ];
476
+ n0_registry.registerError(ValidationException$, ValidationException);
477
+ const errorTypeRegistries = [
478
+ _s_registry,
479
+ n0_registry,
480
+ ];
481
+ var ClientRequestToken = [0, n0, _CRT, 8, 0];
482
+ var ClientToken = [0, n0, _CT, 8, 0];
483
+ var QueryString = [0, n0, _QS, 8, 0];
484
+ var AccountSettingsNotificationConfiguration$ = [3, n0, _ASNC,
485
+ 0,
486
+ [_RA, _SC],
487
+ [0, () => SnsConfiguration$], 1
488
+ ];
489
+ var CancelQueryRequest$ = [3, n0, _CQR,
490
+ 0,
491
+ [_QI],
492
+ [0], 1
493
+ ];
494
+ var CancelQueryResponse$ = [3, n0, _CQRa,
495
+ 0,
496
+ [_CM],
497
+ [0]
498
+ ];
499
+ var ColumnInfo$ = [3, n0, _CI,
500
+ 0,
501
+ [_T, _N],
502
+ [() => Type$, 0], 1
503
+ ];
504
+ var CreateScheduledQueryRequest$ = [3, n0, _CSQR,
505
+ 0,
506
+ [_N, _QS, _SCc, _NC, _SQERA, _ERC, _TC, _CT, _Ta, _KKI],
507
+ [0, [() => QueryString, 0], () => ScheduleConfiguration$, () => NotificationConfiguration$, 0, () => ErrorReportConfiguration$, () => TargetConfiguration$, [() => ClientToken, 4], () => TagList, 0], 6
508
+ ];
509
+ var CreateScheduledQueryResponse$ = [3, n0, _CSQRr,
510
+ 0,
511
+ [_A],
512
+ [0], 1
513
+ ];
514
+ var Datum$ = [3, n0, _D,
515
+ 0,
516
+ [_SV, _TSV, _AV, _RV, _NV],
517
+ [0, () => TimeSeriesDataPointList, () => DatumList, () => Row$, 2]
518
+ ];
519
+ var DeleteScheduledQueryRequest$ = [3, n0, _DSQR,
520
+ 0,
521
+ [_SQA],
522
+ [0], 1
523
+ ];
524
+ var DescribeAccountSettingsRequest$ = [3, n0, _DASR,
525
+ 0,
526
+ [],
527
+ []
528
+ ];
529
+ var DescribeAccountSettingsResponse$ = [3, n0, _DASRe,
530
+ 0,
531
+ [_MQTCU, _QPM, _QC],
532
+ [1, 0, () => QueryComputeResponse$]
533
+ ];
534
+ var DescribeEndpointsRequest$ = [3, n0, _DER,
535
+ 0,
536
+ [],
537
+ []
538
+ ];
539
+ var DescribeEndpointsResponse$ = [3, n0, _DERe,
540
+ 0,
541
+ [_E],
542
+ [() => Endpoints], 1
543
+ ];
544
+ var DescribeScheduledQueryRequest$ = [3, n0, _DSQRe,
545
+ 0,
546
+ [_SQA],
547
+ [0], 1
548
+ ];
549
+ var DescribeScheduledQueryResponse$ = [3, n0, _DSQRes,
550
+ 0,
551
+ [_SQ],
552
+ [[() => ScheduledQueryDescription$, 0]], 1
553
+ ];
554
+ var DimensionMapping$ = [3, n0, _DM,
555
+ 0,
556
+ [_N, _DVT],
557
+ [0, 0], 2
558
+ ];
559
+ var Endpoint$ = [3, n0, _En,
560
+ 0,
561
+ [_Ad, _CPIM],
562
+ [0, 1], 2
563
+ ];
564
+ var ErrorReportConfiguration$ = [3, n0, _ERC,
565
+ 0,
566
+ [_SCo],
567
+ [() => S3Configuration$], 1
568
+ ];
569
+ var ErrorReportLocation$ = [3, n0, _ERL,
570
+ 0,
571
+ [_SRL],
572
+ [() => S3ReportLocation$]
573
+ ];
574
+ var ExecuteScheduledQueryRequest$ = [3, n0, _ESQR,
575
+ 0,
576
+ [_SQA, _IT, _CT, _QIu],
577
+ [0, 4, [() => ClientToken, 4], () => ScheduledQueryInsights$], 2
578
+ ];
579
+ var ExecutionStats$ = [3, n0, _ES,
580
+ 0,
581
+ [_ETIM, _DW, _BM, _CBS, _RI, _QRR],
582
+ [1, 1, 1, 1, 1, 1]
583
+ ];
584
+ var LastUpdate$ = [3, n0, _LU,
585
+ 0,
586
+ [_TQTCU, _S, _SM],
587
+ [1, 0, 0]
588
+ ];
589
+ var ListScheduledQueriesRequest$ = [3, n0, _LSQR,
590
+ 0,
591
+ [_MR, _NT],
592
+ [1, 0]
593
+ ];
594
+ var ListScheduledQueriesResponse$ = [3, n0, _LSQRi,
595
+ 0,
596
+ [_SQc, _NT],
597
+ [() => ScheduledQueryList, 0], 1
598
+ ];
599
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
600
+ 0,
601
+ [_RARN, _MR, _NT],
602
+ [0, 1, 0], 1
603
+ ];
604
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
605
+ 0,
606
+ [_Ta, _NT],
607
+ [() => TagList, 0], 1
608
+ ];
609
+ var MixedMeasureMapping$ = [3, n0, _MMM,
610
+ 0,
611
+ [_MVT, _MN, _SCou, _TMN, _MMAM],
612
+ [0, 0, 0, 0, () => MultiMeasureAttributeMappingList], 1
613
+ ];
614
+ var MultiMeasureAttributeMapping$ = [3, n0, _MMAMu,
615
+ 0,
616
+ [_SCou, _MVT, _TMMAN],
617
+ [0, 0, 0], 2
618
+ ];
619
+ var MultiMeasureMappings$ = [3, n0, _MMMu,
620
+ 0,
621
+ [_MMAM, _TMMN],
622
+ [() => MultiMeasureAttributeMappingList, 0], 1
623
+ ];
624
+ var NotificationConfiguration$ = [3, n0, _NC,
625
+ 0,
626
+ [_SC],
627
+ [() => SnsConfiguration$], 1
628
+ ];
629
+ var ParameterMapping$ = [3, n0, _PM,
630
+ 0,
631
+ [_N, _T],
632
+ [0, () => Type$], 2
633
+ ];
634
+ var PrepareQueryRequest$ = [3, n0, _PQR,
635
+ 0,
636
+ [_QS, _VO],
637
+ [[() => QueryString, 0], 2], 1
638
+ ];
639
+ var PrepareQueryResponse$ = [3, n0, _PQRr,
640
+ 0,
641
+ [_QS, _C, _P],
642
+ [[() => QueryString, 0], () => SelectColumnList, () => ParameterMappingList], 3
643
+ ];
644
+ var ProvisionedCapacityRequest$ = [3, n0, _PCR,
645
+ 0,
646
+ [_TQTCU, _NC],
647
+ [1, () => AccountSettingsNotificationConfiguration$], 1
648
+ ];
649
+ var ProvisionedCapacityResponse$ = [3, n0, _PCRr,
650
+ 0,
651
+ [_AQTCU, _NC, _LU],
652
+ [1, () => AccountSettingsNotificationConfiguration$, () => LastUpdate$]
653
+ ];
654
+ var QueryComputeRequest$ = [3, n0, _QCR,
655
+ 0,
656
+ [_CMo, _PC],
657
+ [0, () => ProvisionedCapacityRequest$]
658
+ ];
659
+ var QueryComputeResponse$ = [3, n0, _QCRu,
660
+ 0,
661
+ [_CMo, _PC],
662
+ [0, () => ProvisionedCapacityResponse$]
663
+ ];
664
+ var QueryInsights$ = [3, n0, _QIu,
665
+ 0,
666
+ [_Mo],
667
+ [0], 1
668
+ ];
669
+ var QueryInsightsResponse$ = [3, n0, _QIR,
670
+ 0,
671
+ [_QSC, _QTR, _QTC, _OR, _OB, _UPC, _UWR, _UWB],
672
+ [() => QuerySpatialCoverage$, () => QueryTemporalRange$, 1, 1, 1, 1, 1, 1]
673
+ ];
674
+ var QueryRequest$ = [3, n0, _QR,
675
+ 0,
676
+ [_QS, _CT, _NT, _MRa, _QIu],
677
+ [[() => QueryString, 0], [() => ClientRequestToken, 4], 0, 1, () => QueryInsights$], 1
678
+ ];
679
+ var QueryResponse$ = [3, n0, _QRu,
680
+ 0,
681
+ [_QI, _R, _CI, _NT, _QSu, _QIR],
682
+ [0, () => RowList, () => ColumnInfoList, 0, () => QueryStatus$, () => QueryInsightsResponse$], 3
683
+ ];
684
+ var QuerySpatialCoverage$ = [3, n0, _QSC,
685
+ 0,
686
+ [_Ma],
687
+ [() => QuerySpatialCoverageMax$]
688
+ ];
689
+ var QuerySpatialCoverageMax$ = [3, n0, _QSCM,
690
+ 0,
691
+ [_V, _TA, _PK],
692
+ [1, 0, 64 | 0]
693
+ ];
694
+ var QueryStatus$ = [3, n0, _QSu,
695
+ 0,
696
+ [_PP, _CBS, _CBM],
697
+ [1, 1, 1]
698
+ ];
699
+ var QueryTemporalRange$ = [3, n0, _QTR,
700
+ 0,
701
+ [_Ma],
702
+ [() => QueryTemporalRangeMax$]
703
+ ];
704
+ var QueryTemporalRangeMax$ = [3, n0, _QTRM,
705
+ 0,
706
+ [_V, _TA],
707
+ [1, 0]
708
+ ];
709
+ var Row$ = [3, n0, _Ro,
710
+ 0,
711
+ [_Da],
712
+ [() => DatumList], 1
713
+ ];
714
+ var S3Configuration$ = [3, n0, _SCo,
715
+ 0,
716
+ [_BN, _OKP, _EO],
717
+ [0, 0, 0], 1
718
+ ];
719
+ var S3ReportLocation$ = [3, n0, _SRL,
720
+ 0,
721
+ [_BN, _OK],
722
+ [0, 0]
723
+ ];
724
+ var ScheduleConfiguration$ = [3, n0, _SCc,
725
+ 0,
726
+ [_SE],
727
+ [0], 1
728
+ ];
729
+ var ScheduledQuery$ = [3, n0, _SQ,
730
+ 0,
731
+ [_A, _N, _St, _CTr, _PIT, _NIT, _ERC, _TD, _LRS],
732
+ [0, 0, 0, 4, 4, 4, () => ErrorReportConfiguration$, () => TargetDestination$, 0], 3
733
+ ];
734
+ var ScheduledQueryDescription$ = [3, n0, _SQD,
735
+ 0,
736
+ [_A, _N, _QS, _St, _SCc, _NC, _CTr, _PIT, _NIT, _TC, _SQERA, _KKI, _ERC, _LRSa, _RFR],
737
+ [0, 0, [() => QueryString, 0], 0, () => ScheduleConfiguration$, () => NotificationConfiguration$, 4, 4, 4, () => TargetConfiguration$, 0, 0, () => ErrorReportConfiguration$, () => ScheduledQueryRunSummary$, () => ScheduledQueryRunSummaryList], 6
738
+ ];
739
+ var ScheduledQueryInsights$ = [3, n0, _SQI,
740
+ 0,
741
+ [_Mo],
742
+ [0], 1
743
+ ];
744
+ var ScheduledQueryInsightsResponse$ = [3, n0, _SQIR,
745
+ 0,
746
+ [_QSC, _QTR, _QTC, _OR, _OB],
747
+ [() => QuerySpatialCoverage$, () => QueryTemporalRange$, 1, 1, 1]
748
+ ];
749
+ var ScheduledQueryRunSummary$ = [3, n0, _SQRS,
750
+ 0,
751
+ [_IT, _TT, _RS, _ES, _QIR, _ERL, _FR],
752
+ [4, 4, 0, () => ExecutionStats$, () => ScheduledQueryInsightsResponse$, () => ErrorReportLocation$, 0]
753
+ ];
754
+ var SelectColumn$ = [3, n0, _SCe,
755
+ 0,
756
+ [_N, _T, _DN, _TN, _Al],
757
+ [0, () => Type$, 0, 0, 2]
758
+ ];
759
+ var SnsConfiguration$ = [3, n0, _SC,
760
+ 0,
761
+ [_TAo],
762
+ [0], 1
763
+ ];
764
+ var Tag$ = [3, n0, _Tag,
765
+ 0,
766
+ [_K, _V],
767
+ [0, 0], 2
768
+ ];
769
+ var TagResourceRequest$ = [3, n0, _TRR,
770
+ 0,
771
+ [_RARN, _Ta],
772
+ [0, () => TagList], 2
773
+ ];
774
+ var TagResourceResponse$ = [3, n0, _TRRa,
775
+ 0,
776
+ [],
777
+ []
778
+ ];
779
+ var TargetConfiguration$ = [3, n0, _TC,
780
+ 0,
781
+ [_TCi],
782
+ [() => TimestreamConfiguration$], 1
783
+ ];
784
+ var TargetDestination$ = [3, n0, _TD,
785
+ 0,
786
+ [_TDi],
787
+ [() => TimestreamDestination$]
788
+ ];
789
+ var TimeSeriesDataPoint$ = [3, n0, _TSDP,
790
+ 0,
791
+ [_Ti, _V],
792
+ [0, () => Datum$], 2
793
+ ];
794
+ var TimestreamConfiguration$ = [3, n0, _TCi,
795
+ 0,
796
+ [_DN, _TN, _TCim, _DMi, _MMMu, _MMMi, _MNC],
797
+ [0, 0, 0, () => DimensionMappingList, () => MultiMeasureMappings$, () => MixedMeasureMappingList, 0], 4
798
+ ];
799
+ var TimestreamDestination$ = [3, n0, _TDi,
800
+ 0,
801
+ [_DN, _TN],
802
+ [0, 0]
803
+ ];
804
+ var Type$ = [3, n0, _T,
805
+ 0,
806
+ [_ST, _ACI, _TSMVCI, _RCI],
807
+ [0, () => ColumnInfo$, () => ColumnInfo$, () => ColumnInfoList]
808
+ ];
809
+ var UntagResourceRequest$ = [3, n0, _URR,
810
+ 0,
811
+ [_RARN, _TK],
812
+ [0, 64 | 0], 2
813
+ ];
814
+ var UntagResourceResponse$ = [3, n0, _URRn,
815
+ 0,
816
+ [],
817
+ []
818
+ ];
819
+ var UpdateAccountSettingsRequest$ = [3, n0, _UASR,
820
+ 0,
821
+ [_MQTCU, _QPM, _QC],
822
+ [1, 0, () => QueryComputeRequest$]
823
+ ];
824
+ var UpdateAccountSettingsResponse$ = [3, n0, _UASRp,
825
+ 0,
826
+ [_MQTCU, _QPM, _QC],
827
+ [1, 0, () => QueryComputeResponse$]
828
+ ];
829
+ var UpdateScheduledQueryRequest$ = [3, n0, _USQR,
830
+ 0,
831
+ [_SQA, _St],
832
+ [0, 0], 2
833
+ ];
834
+ var __Unit = "unit";
835
+ var ColumnInfoList = [1, n0, _CIL,
836
+ 0, () => ColumnInfo$
837
+ ];
838
+ var DatumList = [1, n0, _DL,
839
+ 0, () => Datum$
840
+ ];
841
+ var DimensionMappingList = [1, n0, _DML,
842
+ 0, () => DimensionMapping$
843
+ ];
844
+ var Endpoints = [1, n0, _E,
845
+ 0, () => Endpoint$
846
+ ];
847
+ var MixedMeasureMappingList = [1, n0, _MMML,
848
+ 0, () => MixedMeasureMapping$
849
+ ];
850
+ var MultiMeasureAttributeMappingList = [1, n0, _MMAML,
851
+ 0, () => MultiMeasureAttributeMapping$
852
+ ];
853
+ var ParameterMappingList = [1, n0, _PML,
854
+ 0, () => ParameterMapping$
855
+ ];
856
+ var RowList = [1, n0, _RL,
857
+ 0, () => Row$
858
+ ];
859
+ var ScheduledQueryList = [1, n0, _SQL,
860
+ 0, () => ScheduledQuery$
861
+ ];
862
+ var ScheduledQueryRunSummaryList = [1, n0, _SQRSL,
863
+ 0, () => ScheduledQueryRunSummary$
864
+ ];
865
+ var SelectColumnList = [1, n0, _SCL,
866
+ 0, () => SelectColumn$
867
+ ];
868
+ var TagList = [1, n0, _TL,
869
+ 0, () => Tag$
870
+ ];
871
+ var TimeSeriesDataPointList = [1, n0, _TSDPL,
872
+ 0, () => TimeSeriesDataPoint$
873
+ ];
874
+ var CancelQuery$ = [9, n0, _CQ,
875
+ 2, () => CancelQueryRequest$, () => CancelQueryResponse$
876
+ ];
877
+ var CreateScheduledQuery$ = [9, n0, _CSQ,
878
+ 2, () => CreateScheduledQueryRequest$, () => CreateScheduledQueryResponse$
879
+ ];
880
+ var DeleteScheduledQuery$ = [9, n0, _DSQ,
881
+ 2, () => DeleteScheduledQueryRequest$, () => __Unit
882
+ ];
883
+ var DescribeAccountSettings$ = [9, n0, _DAS,
884
+ 0, () => DescribeAccountSettingsRequest$, () => DescribeAccountSettingsResponse$
885
+ ];
886
+ var DescribeEndpoints$ = [9, n0, _DE,
887
+ 0, () => DescribeEndpointsRequest$, () => DescribeEndpointsResponse$
888
+ ];
889
+ var DescribeScheduledQuery$ = [9, n0, _DSQe,
890
+ 0, () => DescribeScheduledQueryRequest$, () => DescribeScheduledQueryResponse$
891
+ ];
892
+ var ExecuteScheduledQuery$ = [9, n0, _ESQ,
893
+ 2, () => ExecuteScheduledQueryRequest$, () => __Unit
894
+ ];
895
+ var ListScheduledQueries$ = [9, n0, _LSQ,
896
+ 0, () => ListScheduledQueriesRequest$, () => ListScheduledQueriesResponse$
897
+ ];
898
+ var ListTagsForResource$ = [9, n0, _LTFR,
899
+ 0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
900
+ ];
901
+ var PrepareQuery$ = [9, n0, _PQ,
902
+ 2, () => PrepareQueryRequest$, () => PrepareQueryResponse$
903
+ ];
904
+ var Query$ = [9, n0, _Q,
905
+ 2, () => QueryRequest$, () => QueryResponse$
906
+ ];
907
+ var TagResource$ = [9, n0, _TR,
908
+ 0, () => TagResourceRequest$, () => TagResourceResponse$
909
+ ];
910
+ var UntagResource$ = [9, n0, _UR,
911
+ 0, () => UntagResourceRequest$, () => UntagResourceResponse$
912
+ ];
913
+ var UpdateAccountSettings$ = [9, n0, _UAS,
914
+ 2, () => UpdateAccountSettingsRequest$, () => UpdateAccountSettingsResponse$
915
+ ];
916
+ var UpdateScheduledQuery$ = [9, n0, _USQ,
917
+ 0, () => UpdateScheduledQueryRequest$, () => __Unit
918
+ ];
919
+
35
920
  class DescribeEndpointsCommand extends Command
36
921
  .classBuilder()
37
922
  .ep(commonParams)
@@ -44,6 +929,145 @@ class DescribeEndpointsCommand extends Command
44
929
  .build() {
45
930
  }
46
931
 
932
+ var version = "3.1076.0";
933
+ var packageInfo = {
934
+ version: version};
935
+
936
+ const m = "ref";
937
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = "stringEquals", h = { [m]: "Endpoint" }, i = { [m]: d }, j = { "fn": f, "argv": [i, "name"] }, k = {}, l = [{ [m]: "Region" }];
938
+ const _data = {
939
+ conditions: [
940
+ [c, [h]],
941
+ [c, l],
942
+ ["aws.partition", l, d],
943
+ [e, [{ [m]: "UseFIPS" }, b]],
944
+ [e, [{ [m]: "UseDualStack" }, b]],
945
+ [e, [{ fn: f, argv: [i, "supportsFIPS"] }, b]],
946
+ [e, [{ fn: f, argv: [i, "supportsDualStack"] }, b]],
947
+ [g, [j, "aws"]],
948
+ [g, [j, "aws-us-gov"]]
949
+ ],
950
+ results: [
951
+ [a],
952
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
953
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
954
+ [h, k],
955
+ ["https://timestream-query-fips.{Region}.api.aws", k],
956
+ ["https://timestream-query.{Region}.api.aws", k],
957
+ ["https://query.timestream-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
958
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
959
+ ["https://query.timestream.{Region}.amazonaws.com", k],
960
+ ["https://query.timestream-fips.{Region}.{PartitionResult#dnsSuffix}", k],
961
+ [a, "FIPS is enabled but this partition does not support FIPS"],
962
+ ["https://query.timestream.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
963
+ [a, "DualStack is enabled but this partition does not support DualStack"],
964
+ ["https://query.timestream.{Region}.{PartitionResult#dnsSuffix}", k],
965
+ [a, "Invalid Configuration: Missing Region"]
966
+ ]
967
+ };
968
+ const root = 2;
969
+ const r = 100_000_000;
970
+ const nodes = new Int32Array([
971
+ -1, 1, -1,
972
+ 0, 17, 3,
973
+ 1, 4, r + 14,
974
+ 2, 5, r + 14,
975
+ 3, 10, 6,
976
+ 4, 7, r + 13,
977
+ 6, 8, r + 12,
978
+ 7, r + 5, 9,
979
+ 8, r + 5, r + 11,
980
+ 4, 13, 11,
981
+ 5, 12, r + 10,
982
+ 8, r + 8, r + 9,
983
+ 5, 14, r + 7,
984
+ 6, 15, r + 7,
985
+ 7, r + 4, 16,
986
+ 8, r + 5, r + 6,
987
+ 3, r + 1, 18,
988
+ 4, r + 2, r + 3,
989
+ ]);
990
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
991
+
992
+ const cache = new EndpointCache({
993
+ size: 50,
994
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
995
+ });
996
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
997
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
998
+ endpointParams: endpointParams,
999
+ logger: context.logger,
1000
+ }));
1001
+ };
1002
+ customEndpointFunctions.aws = awsEndpointFunctions;
1003
+
1004
+ const getRuntimeConfig$1 = (config) => {
1005
+ return {
1006
+ apiVersion: "2018-11-01",
1007
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1008
+ base64Encoder: config?.base64Encoder ?? toBase64,
1009
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1010
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1011
+ extensions: config?.extensions ?? [],
1012
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultTimestreamQueryHttpAuthSchemeProvider,
1013
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1014
+ {
1015
+ schemeId: "aws.auth#sigv4",
1016
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1017
+ signer: new AwsSdkSigV4Signer(),
1018
+ },
1019
+ ],
1020
+ logger: config?.logger ?? new NoOpLogger(),
1021
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
1022
+ protocolSettings: config?.protocolSettings ?? {
1023
+ defaultNamespace: "com.amazonaws.timestreamquery",
1024
+ errorTypeRegistries,
1025
+ version: "2018-11-01",
1026
+ serviceTarget: "Timestream_20181101",
1027
+ },
1028
+ serviceId: config?.serviceId ?? "Timestream Query",
1029
+ sha256: config?.sha256 ?? Sha256,
1030
+ urlParser: config?.urlParser ?? parseUrl,
1031
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1032
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1033
+ };
1034
+ };
1035
+
1036
+ const getRuntimeConfig = (config) => {
1037
+ emitWarningIfUnsupportedVersion(process.version);
1038
+ const defaultsMode = resolveDefaultsModeConfig(config);
1039
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1040
+ const clientSharedValues = getRuntimeConfig$1(config);
1041
+ emitWarningIfUnsupportedVersion$1(process.version);
1042
+ const loaderConfig = {
1043
+ profile: config?.profile,
1044
+ logger: clientSharedValues.logger,
1045
+ };
1046
+ return {
1047
+ ...clientSharedValues,
1048
+ ...config,
1049
+ runtime: "node",
1050
+ defaultsMode,
1051
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1052
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1053
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1054
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1055
+ endpointDiscoveryEnabledProvider: config?.endpointDiscoveryEnabledProvider ?? loadConfig(NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS, loaderConfig),
1056
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1057
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1058
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1059
+ retryMode: config?.retryMode ??
1060
+ loadConfig({
1061
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1062
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1063
+ }, config),
1064
+ streamCollector: config?.streamCollector ?? streamCollector,
1065
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1066
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1067
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1068
+ };
1069
+ };
1070
+
47
1071
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
48
1072
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
49
1073
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -489,35 +1513,141 @@ const QueryInsightsMode = {
489
1513
  ENABLED_WITH_RATE_CONTROL: "ENABLED_WITH_RATE_CONTROL",
490
1514
  };
491
1515
 
1516
+ exports.AccessDeniedException = AccessDeniedException;
1517
+ exports.AccessDeniedException$ = AccessDeniedException$;
1518
+ exports.AccountSettingsNotificationConfiguration$ = AccountSettingsNotificationConfiguration$;
1519
+ exports.CancelQuery$ = CancelQuery$;
492
1520
  exports.CancelQueryCommand = CancelQueryCommand;
1521
+ exports.CancelQueryRequest$ = CancelQueryRequest$;
1522
+ exports.CancelQueryResponse$ = CancelQueryResponse$;
1523
+ exports.ColumnInfo$ = ColumnInfo$;
493
1524
  exports.ComputeMode = ComputeMode;
1525
+ exports.ConflictException = ConflictException;
1526
+ exports.ConflictException$ = ConflictException$;
1527
+ exports.CreateScheduledQuery$ = CreateScheduledQuery$;
494
1528
  exports.CreateScheduledQueryCommand = CreateScheduledQueryCommand;
1529
+ exports.CreateScheduledQueryRequest$ = CreateScheduledQueryRequest$;
1530
+ exports.CreateScheduledQueryResponse$ = CreateScheduledQueryResponse$;
1531
+ exports.Datum$ = Datum$;
1532
+ exports.DeleteScheduledQuery$ = DeleteScheduledQuery$;
495
1533
  exports.DeleteScheduledQueryCommand = DeleteScheduledQueryCommand;
1534
+ exports.DeleteScheduledQueryRequest$ = DeleteScheduledQueryRequest$;
1535
+ exports.DescribeAccountSettings$ = DescribeAccountSettings$;
496
1536
  exports.DescribeAccountSettingsCommand = DescribeAccountSettingsCommand;
1537
+ exports.DescribeAccountSettingsRequest$ = DescribeAccountSettingsRequest$;
1538
+ exports.DescribeAccountSettingsResponse$ = DescribeAccountSettingsResponse$;
1539
+ exports.DescribeEndpoints$ = DescribeEndpoints$;
497
1540
  exports.DescribeEndpointsCommand = DescribeEndpointsCommand;
1541
+ exports.DescribeEndpointsRequest$ = DescribeEndpointsRequest$;
1542
+ exports.DescribeEndpointsResponse$ = DescribeEndpointsResponse$;
1543
+ exports.DescribeScheduledQuery$ = DescribeScheduledQuery$;
498
1544
  exports.DescribeScheduledQueryCommand = DescribeScheduledQueryCommand;
1545
+ exports.DescribeScheduledQueryRequest$ = DescribeScheduledQueryRequest$;
1546
+ exports.DescribeScheduledQueryResponse$ = DescribeScheduledQueryResponse$;
1547
+ exports.DimensionMapping$ = DimensionMapping$;
499
1548
  exports.DimensionValueType = DimensionValueType;
1549
+ exports.Endpoint$ = Endpoint$;
1550
+ exports.ErrorReportConfiguration$ = ErrorReportConfiguration$;
1551
+ exports.ErrorReportLocation$ = ErrorReportLocation$;
1552
+ exports.ExecuteScheduledQuery$ = ExecuteScheduledQuery$;
500
1553
  exports.ExecuteScheduledQueryCommand = ExecuteScheduledQueryCommand;
1554
+ exports.ExecuteScheduledQueryRequest$ = ExecuteScheduledQueryRequest$;
1555
+ exports.ExecutionStats$ = ExecutionStats$;
1556
+ exports.InternalServerException = InternalServerException;
1557
+ exports.InternalServerException$ = InternalServerException$;
1558
+ exports.InvalidEndpointException = InvalidEndpointException;
1559
+ exports.InvalidEndpointException$ = InvalidEndpointException$;
1560
+ exports.LastUpdate$ = LastUpdate$;
501
1561
  exports.LastUpdateStatus = LastUpdateStatus;
1562
+ exports.ListScheduledQueries$ = ListScheduledQueries$;
502
1563
  exports.ListScheduledQueriesCommand = ListScheduledQueriesCommand;
1564
+ exports.ListScheduledQueriesRequest$ = ListScheduledQueriesRequest$;
1565
+ exports.ListScheduledQueriesResponse$ = ListScheduledQueriesResponse$;
1566
+ exports.ListTagsForResource$ = ListTagsForResource$;
503
1567
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1568
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1569
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
504
1570
  exports.MeasureValueType = MeasureValueType;
1571
+ exports.MixedMeasureMapping$ = MixedMeasureMapping$;
1572
+ exports.MultiMeasureAttributeMapping$ = MultiMeasureAttributeMapping$;
1573
+ exports.MultiMeasureMappings$ = MultiMeasureMappings$;
1574
+ exports.NotificationConfiguration$ = NotificationConfiguration$;
1575
+ exports.ParameterMapping$ = ParameterMapping$;
1576
+ exports.PrepareQuery$ = PrepareQuery$;
505
1577
  exports.PrepareQueryCommand = PrepareQueryCommand;
1578
+ exports.PrepareQueryRequest$ = PrepareQueryRequest$;
1579
+ exports.PrepareQueryResponse$ = PrepareQueryResponse$;
1580
+ exports.ProvisionedCapacityRequest$ = ProvisionedCapacityRequest$;
1581
+ exports.ProvisionedCapacityResponse$ = ProvisionedCapacityResponse$;
1582
+ exports.Query$ = Query$;
506
1583
  exports.QueryCommand = QueryCommand;
1584
+ exports.QueryComputeRequest$ = QueryComputeRequest$;
1585
+ exports.QueryComputeResponse$ = QueryComputeResponse$;
1586
+ exports.QueryExecutionException = QueryExecutionException;
1587
+ exports.QueryExecutionException$ = QueryExecutionException$;
1588
+ exports.QueryInsights$ = QueryInsights$;
507
1589
  exports.QueryInsightsMode = QueryInsightsMode;
1590
+ exports.QueryInsightsResponse$ = QueryInsightsResponse$;
508
1591
  exports.QueryPricingModel = QueryPricingModel;
1592
+ exports.QueryRequest$ = QueryRequest$;
1593
+ exports.QueryResponse$ = QueryResponse$;
1594
+ exports.QuerySpatialCoverage$ = QuerySpatialCoverage$;
1595
+ exports.QuerySpatialCoverageMax$ = QuerySpatialCoverageMax$;
1596
+ exports.QueryStatus$ = QueryStatus$;
1597
+ exports.QueryTemporalRange$ = QueryTemporalRange$;
1598
+ exports.QueryTemporalRangeMax$ = QueryTemporalRangeMax$;
1599
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1600
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1601
+ exports.Row$ = Row$;
1602
+ exports.S3Configuration$ = S3Configuration$;
509
1603
  exports.S3EncryptionOption = S3EncryptionOption;
1604
+ exports.S3ReportLocation$ = S3ReportLocation$;
510
1605
  exports.ScalarMeasureValueType = ScalarMeasureValueType;
511
1606
  exports.ScalarType = ScalarType;
1607
+ exports.ScheduleConfiguration$ = ScheduleConfiguration$;
1608
+ exports.ScheduledQuery$ = ScheduledQuery$;
1609
+ exports.ScheduledQueryDescription$ = ScheduledQueryDescription$;
1610
+ exports.ScheduledQueryInsights$ = ScheduledQueryInsights$;
512
1611
  exports.ScheduledQueryInsightsMode = ScheduledQueryInsightsMode;
1612
+ exports.ScheduledQueryInsightsResponse$ = ScheduledQueryInsightsResponse$;
513
1613
  exports.ScheduledQueryRunStatus = ScheduledQueryRunStatus;
1614
+ exports.ScheduledQueryRunSummary$ = ScheduledQueryRunSummary$;
514
1615
  exports.ScheduledQueryState = ScheduledQueryState;
1616
+ exports.SelectColumn$ = SelectColumn$;
1617
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1618
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1619
+ exports.SnsConfiguration$ = SnsConfiguration$;
1620
+ exports.Tag$ = Tag$;
1621
+ exports.TagResource$ = TagResource$;
515
1622
  exports.TagResourceCommand = TagResourceCommand;
1623
+ exports.TagResourceRequest$ = TagResourceRequest$;
1624
+ exports.TagResourceResponse$ = TagResourceResponse$;
1625
+ exports.TargetConfiguration$ = TargetConfiguration$;
1626
+ exports.TargetDestination$ = TargetDestination$;
1627
+ exports.ThrottlingException = ThrottlingException;
1628
+ exports.ThrottlingException$ = ThrottlingException$;
1629
+ exports.TimeSeriesDataPoint$ = TimeSeriesDataPoint$;
1630
+ exports.TimestreamConfiguration$ = TimestreamConfiguration$;
1631
+ exports.TimestreamDestination$ = TimestreamDestination$;
516
1632
  exports.TimestreamQuery = TimestreamQuery;
517
1633
  exports.TimestreamQueryClient = TimestreamQueryClient;
1634
+ exports.TimestreamQueryServiceException = TimestreamQueryServiceException;
1635
+ exports.TimestreamQueryServiceException$ = TimestreamQueryServiceException$;
1636
+ exports.Type$ = Type$;
1637
+ exports.UntagResource$ = UntagResource$;
518
1638
  exports.UntagResourceCommand = UntagResourceCommand;
1639
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
1640
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
1641
+ exports.UpdateAccountSettings$ = UpdateAccountSettings$;
519
1642
  exports.UpdateAccountSettingsCommand = UpdateAccountSettingsCommand;
1643
+ exports.UpdateAccountSettingsRequest$ = UpdateAccountSettingsRequest$;
1644
+ exports.UpdateAccountSettingsResponse$ = UpdateAccountSettingsResponse$;
1645
+ exports.UpdateScheduledQuery$ = UpdateScheduledQuery$;
520
1646
  exports.UpdateScheduledQueryCommand = UpdateScheduledQueryCommand;
1647
+ exports.UpdateScheduledQueryRequest$ = UpdateScheduledQueryRequest$;
1648
+ exports.ValidationException = ValidationException;
1649
+ exports.ValidationException$ = ValidationException$;
1650
+ exports.errorTypeRegistries = errorTypeRegistries;
521
1651
  exports.paginateListScheduledQueries = paginateListScheduledQueries;
522
1652
  exports.paginateListTagsForResource = paginateListTagsForResource;
523
1653
  exports.paginateQuery = paginateQuery;