@aws-sdk/client-timestream-query 3.535.0 → 3.540.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/endpoint/endpointResolver.js +4 -2
- package/dist-cjs/index.js +0 -3
- package/dist-es/endpoint/endpointResolver.js +3 -1
- package/dist-es/index.js +0 -1
- package/dist-types/commands/ListScheduledQueriesCommand.d.ts +2 -1
- package/dist-types/commands/PrepareQueryCommand.d.ts +2 -2
- package/dist-types/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +37 -26
- package/dist-types/ts3.4/index.d.ts +0 -1
- package/package.json +5 -5
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const util_endpoints_1 = require("@
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
5
6
|
const ruleset_1 = require("./ruleset");
|
|
6
7
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
-
return (0,
|
|
8
|
+
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
9
|
endpointParams: endpointParams,
|
|
9
10
|
logger: context.logger,
|
|
10
11
|
});
|
|
11
12
|
};
|
|
12
13
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1357,9 +1357,6 @@ var paginateListTagsForResource = (0, import_core4.createPaginator)(TimestreamQu
|
|
|
1357
1357
|
// src/pagination/QueryPaginator.ts
|
|
1358
1358
|
var import_core5 = require("@smithy/core");
|
|
1359
1359
|
var paginateQuery = (0, import_core5.createPaginator)(TimestreamQueryClient, QueryCommand, "NextToken", "NextToken", "MaxRows");
|
|
1360
|
-
|
|
1361
|
-
// src/index.ts
|
|
1362
|
-
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
1363
1360
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1364
1361
|
|
|
1365
1362
|
0 && (module.exports = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
3
|
import { ruleSet } from "./ruleset";
|
|
3
4
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
5
|
return resolveEndpoint(ruleSet, {
|
|
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
6
7
|
logger: context.logger,
|
|
7
8
|
});
|
|
8
9
|
};
|
|
10
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/dist-es/index.js
CHANGED
|
@@ -26,7 +26,8 @@ declare const ListScheduledQueriesCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>Gets a list of all scheduled queries in the caller's Amazon account and Region.
|
|
29
|
+
* <p>Gets a list of all scheduled queries in the caller's Amazon account and Region.
|
|
30
|
+
* <code>ListScheduledQueries</code> is eventually consistent. </p>
|
|
30
31
|
* @example
|
|
31
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
33
|
* ```javascript
|
|
@@ -27,8 +27,8 @@ declare const PrepareQueryCommand_base: {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* <p>A synchronous operation that allows you to submit a query with parameters to be stored
|
|
30
|
-
* by Timestream for later running. Timestream only supports using this operation with
|
|
31
|
-
* <code>
|
|
30
|
+
* by Timestream for later running. Timestream only supports using this operation with
|
|
31
|
+
* <code>ValidateOnly</code> set to <code>true</code>. </p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
package/dist-types/index.d.ts
CHANGED
|
@@ -13,5 +13,4 @@ export { TimestreamQueryExtensionConfiguration } from "./extensionConfiguration"
|
|
|
13
13
|
export * from "./commands";
|
|
14
14
|
export * from "./pagination";
|
|
15
15
|
export * from "./models";
|
|
16
|
-
import "@aws-sdk/util-endpoints";
|
|
17
16
|
export { TimestreamQueryServiceException } from "./models/TimestreamQueryServiceException";
|
|
@@ -181,8 +181,8 @@ export interface SnsConfiguration {
|
|
|
181
181
|
TopicArn: string | undefined;
|
|
182
182
|
}
|
|
183
183
|
/**
|
|
184
|
-
* <p>Notification configuration for a scheduled query. A notification is sent by
|
|
185
|
-
*
|
|
184
|
+
* <p>Notification configuration for a scheduled query. A notification is sent by Timestream
|
|
185
|
+
* when a scheduled query is created, its state is updated or when it is deleted. </p>
|
|
186
186
|
* @public
|
|
187
187
|
*/
|
|
188
188
|
export interface NotificationConfiguration {
|
|
@@ -374,8 +374,8 @@ export interface TimestreamConfiguration {
|
|
|
374
374
|
*/
|
|
375
375
|
DatabaseName: string | undefined;
|
|
376
376
|
/**
|
|
377
|
-
* <p>Name of Timestream table that the query result will be written to. The table should
|
|
378
|
-
*
|
|
377
|
+
* <p>Name of Timestream table that the query result will be written to. The table should be
|
|
378
|
+
* within the same database that is provided in Timestream configuration.</p>
|
|
379
379
|
* @public
|
|
380
380
|
*/
|
|
381
381
|
TableName: string | undefined;
|
|
@@ -428,12 +428,15 @@ export interface CreateScheduledQueryRequest {
|
|
|
428
428
|
*/
|
|
429
429
|
Name: string | undefined;
|
|
430
430
|
/**
|
|
431
|
-
* <p>The query string to run. Parameter
|
|
432
|
-
*
|
|
433
|
-
*
|
|
434
|
-
*
|
|
435
|
-
*
|
|
436
|
-
*
|
|
431
|
+
* <p>The query string to run. Parameter names can be specified in the query string
|
|
432
|
+
* <code>@</code> character followed by an identifier. The named Parameter
|
|
433
|
+
* <code>@scheduled_runtime</code> is reserved and can be used in the query to get the
|
|
434
|
+
* time at which the query is scheduled to run.</p>
|
|
435
|
+
* <p>The timestamp calculated according to the ScheduleConfiguration parameter, will be the
|
|
436
|
+
* value of <code>@scheduled_runtime</code> paramater for each query run. For example,
|
|
437
|
+
* consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this
|
|
438
|
+
* instance, the <code>@scheduled_runtime</code> parameter is initialized to the timestamp
|
|
439
|
+
* 2021-12-01 00:00:00 when invoking the query.</p>
|
|
437
440
|
* @public
|
|
438
441
|
*/
|
|
439
442
|
QueryString: string | undefined;
|
|
@@ -444,7 +447,8 @@ export interface CreateScheduledQueryRequest {
|
|
|
444
447
|
ScheduleConfiguration: ScheduleConfiguration | undefined;
|
|
445
448
|
/**
|
|
446
449
|
* <p>Notification configuration for the scheduled query. A notification is sent by
|
|
447
|
-
* Timestream when a query run finishes, when the state is updated or when you delete it.
|
|
450
|
+
* Timestream when a query run finishes, when the state is updated or when you delete it.
|
|
451
|
+
* </p>
|
|
448
452
|
* @public
|
|
449
453
|
*/
|
|
450
454
|
NotificationConfiguration: NotificationConfiguration | undefined;
|
|
@@ -454,10 +458,9 @@ export interface CreateScheduledQueryRequest {
|
|
|
454
458
|
*/
|
|
455
459
|
TargetConfiguration?: TargetConfiguration;
|
|
456
460
|
/**
|
|
457
|
-
* <p>Using a ClientToken makes the call to CreateScheduledQuery idempotent, in other words,
|
|
458
|
-
*
|
|
459
|
-
*
|
|
460
|
-
* </p>
|
|
461
|
+
* <p>Using a ClientToken makes the call to CreateScheduledQuery idempotent, in other words,
|
|
462
|
+
* making the same request repeatedly will produce the same result. Making multiple
|
|
463
|
+
* identical CreateScheduledQuery requests has the same effect as making a single request. </p>
|
|
461
464
|
* <ul>
|
|
462
465
|
* <li>
|
|
463
466
|
* <p> If CreateScheduledQuery is called without a <code>ClientToken</code>, the
|
|
@@ -472,7 +475,8 @@ export interface CreateScheduledQueryRequest {
|
|
|
472
475
|
*/
|
|
473
476
|
ClientToken?: string;
|
|
474
477
|
/**
|
|
475
|
-
* <p>The ARN for the IAM role that Timestream will assume when running the scheduled query.
|
|
478
|
+
* <p>The ARN for the IAM role that Timestream will assume when running the scheduled query.
|
|
479
|
+
* </p>
|
|
476
480
|
* @public
|
|
477
481
|
*/
|
|
478
482
|
ScheduledQueryExecutionRoleArn: string | undefined;
|
|
@@ -482,17 +486,20 @@ export interface CreateScheduledQueryRequest {
|
|
|
482
486
|
*/
|
|
483
487
|
Tags?: Tag[];
|
|
484
488
|
/**
|
|
485
|
-
* <p>The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the
|
|
486
|
-
* key is not specified, the scheduled query resource will be encrypted with a
|
|
487
|
-
* owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias
|
|
488
|
-
* ARN. When using an alias name, prefix the name with
|
|
489
|
+
* <p>The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the
|
|
490
|
+
* Amazon KMS key is not specified, the scheduled query resource will be encrypted with a
|
|
491
|
+
* Timestream owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias
|
|
492
|
+
* name, or alias ARN. When using an alias name, prefix the name with
|
|
493
|
+
* <i>alias/</i>
|
|
489
494
|
* </p>
|
|
490
|
-
* <p>If ErrorReportConfiguration uses <code>SSE_KMS</code> as encryption type, the same
|
|
495
|
+
* <p>If ErrorReportConfiguration uses <code>SSE_KMS</code> as encryption type, the same
|
|
496
|
+
* KmsKeyId is used to encrypt the error report at rest.</p>
|
|
491
497
|
* @public
|
|
492
498
|
*/
|
|
493
499
|
KmsKeyId?: string;
|
|
494
500
|
/**
|
|
495
|
-
* <p>Configuration for error reporting. Error reports will be generated when a problem is
|
|
501
|
+
* <p>Configuration for error reporting. Error reports will be generated when a problem is
|
|
502
|
+
* encountered when writing the query results. </p>
|
|
496
503
|
* @public
|
|
497
504
|
*/
|
|
498
505
|
ErrorReportConfiguration: ErrorReportConfiguration | undefined;
|
|
@@ -625,7 +632,8 @@ export interface ErrorReportLocation {
|
|
|
625
632
|
*/
|
|
626
633
|
export interface ExecutionStats {
|
|
627
634
|
/**
|
|
628
|
-
* <p>Total time, measured in milliseconds, that was needed for the scheduled query run to
|
|
635
|
+
* <p>Total time, measured in milliseconds, that was needed for the scheduled query run to
|
|
636
|
+
* complete.</p>
|
|
629
637
|
* @public
|
|
630
638
|
*/
|
|
631
639
|
ExecutionTimeInMillis?: number;
|
|
@@ -672,7 +680,8 @@ export type ScheduledQueryRunStatus = (typeof ScheduledQueryRunStatus)[keyof typ
|
|
|
672
680
|
export interface ScheduledQueryRunSummary {
|
|
673
681
|
/**
|
|
674
682
|
* <p>InvocationTime for this run. This is the time at which the query is scheduled to run.
|
|
675
|
-
* Parameter <code>@scheduled_runtime</code> can be used in the query to get the value.
|
|
683
|
+
* Parameter <code>@scheduled_runtime</code> can be used in the query to get the value.
|
|
684
|
+
* </p>
|
|
676
685
|
* @public
|
|
677
686
|
*/
|
|
678
687
|
InvocationTime?: Date;
|
|
@@ -816,7 +825,8 @@ export interface ExecuteScheduledQueryRequest {
|
|
|
816
825
|
*/
|
|
817
826
|
ScheduledQueryArn: string | undefined;
|
|
818
827
|
/**
|
|
819
|
-
* <p>The timestamp in UTC. Query will be run as if it was invoked at this timestamp.
|
|
828
|
+
* <p>The timestamp in UTC. Query will be run as if it was invoked at this timestamp.
|
|
829
|
+
* </p>
|
|
820
830
|
* @public
|
|
821
831
|
*/
|
|
822
832
|
InvocationTime: Date | undefined;
|
|
@@ -1231,7 +1241,8 @@ export interface ColumnInfo {
|
|
|
1231
1241
|
export interface Type {
|
|
1232
1242
|
/**
|
|
1233
1243
|
* <p>Indicates if the column is of type string, integer, Boolean, double, timestamp, date,
|
|
1234
|
-
* time.
|
|
1244
|
+
* time. For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/supported-data-types.html">Supported data
|
|
1245
|
+
* types</a>.</p>
|
|
1235
1246
|
* @public
|
|
1236
1247
|
*/
|
|
1237
1248
|
ScalarType?: ScalarType;
|
|
@@ -6,5 +6,4 @@ export { TimestreamQueryExtensionConfiguration } from "./extensionConfiguration"
|
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
8
|
export * from "./models";
|
|
9
|
-
import "@aws-sdk/util-endpoints";
|
|
10
9
|
export { TimestreamQueryServiceException } from "./models/TimestreamQueryServiceException";
|
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.
|
|
4
|
+
"version": "3.540.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-timestream-query",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.540.0",
|
|
24
24
|
"@aws-sdk/core": "3.535.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.540.0",
|
|
26
26
|
"@aws-sdk/middleware-endpoint-discovery": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.540.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
32
32
|
"@aws-sdk/types": "3.535.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.540.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.2.0",
|