@aws-sdk/client-timestream-query 3.299.0 → 3.300.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-types/commands/CancelQueryCommand.d.ts +3 -0
- package/dist-types/commands/CreateScheduledQueryCommand.d.ts +67 -0
- package/dist-types/commands/DeleteScheduledQueryCommand.d.ts +3 -0
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeScheduledQueryCommand.d.ts +3 -0
- package/dist-types/commands/ExecuteScheduledQueryCommand.d.ts +5 -0
- package/dist-types/commands/ListScheduledQueriesCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -0
- package/dist-types/commands/PrepareQueryCommand.d.ts +4 -0
- package/dist-types/commands/QueryCommand.d.ts +6 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +4 -0
- package/package.json +9 -9
|
@@ -31,6 +31,9 @@ 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 = {
|
|
35
|
+
* QueryId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new CancelQueryCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -30,6 +30,73 @@ 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 = {
|
|
34
|
+
* Name: "STRING_VALUE", // required
|
|
35
|
+
* QueryString: "STRING_VALUE", // required
|
|
36
|
+
* ScheduleConfiguration: {
|
|
37
|
+
* ScheduleExpression: "STRING_VALUE", // required
|
|
38
|
+
* },
|
|
39
|
+
* NotificationConfiguration: {
|
|
40
|
+
* SnsConfiguration: {
|
|
41
|
+
* TopicArn: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* TargetConfiguration: {
|
|
45
|
+
* TimestreamConfiguration: {
|
|
46
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
47
|
+
* TableName: "STRING_VALUE", // required
|
|
48
|
+
* TimeColumn: "STRING_VALUE", // required
|
|
49
|
+
* DimensionMappings: [ // required
|
|
50
|
+
* {
|
|
51
|
+
* Name: "STRING_VALUE", // required
|
|
52
|
+
* DimensionValueType: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* MultiMeasureMappings: {
|
|
56
|
+
* TargetMultiMeasureName: "STRING_VALUE",
|
|
57
|
+
* MultiMeasureAttributeMappings: [ // required
|
|
58
|
+
* {
|
|
59
|
+
* SourceColumn: "STRING_VALUE", // required
|
|
60
|
+
* TargetMultiMeasureAttributeName: "STRING_VALUE",
|
|
61
|
+
* MeasureValueType: "STRING_VALUE", // required
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
64
|
+
* },
|
|
65
|
+
* MixedMeasureMappings: [
|
|
66
|
+
* {
|
|
67
|
+
* MeasureName: "STRING_VALUE",
|
|
68
|
+
* SourceColumn: "STRING_VALUE",
|
|
69
|
+
* TargetMeasureName: "STRING_VALUE",
|
|
70
|
+
* MeasureValueType: "STRING_VALUE", // required
|
|
71
|
+
* MultiMeasureAttributeMappings: [
|
|
72
|
+
* {
|
|
73
|
+
* SourceColumn: "STRING_VALUE", // required
|
|
74
|
+
* TargetMultiMeasureAttributeName: "STRING_VALUE",
|
|
75
|
+
* MeasureValueType: "STRING_VALUE", // required
|
|
76
|
+
* },
|
|
77
|
+
* ],
|
|
78
|
+
* },
|
|
79
|
+
* ],
|
|
80
|
+
* MeasureNameColumn: "STRING_VALUE",
|
|
81
|
+
* },
|
|
82
|
+
* },
|
|
83
|
+
* ClientToken: "STRING_VALUE",
|
|
84
|
+
* ScheduledQueryExecutionRoleArn: "STRING_VALUE", // required
|
|
85
|
+
* Tags: [
|
|
86
|
+
* {
|
|
87
|
+
* Key: "STRING_VALUE", // required
|
|
88
|
+
* Value: "STRING_VALUE", // required
|
|
89
|
+
* },
|
|
90
|
+
* ],
|
|
91
|
+
* KmsKeyId: "STRING_VALUE",
|
|
92
|
+
* ErrorReportConfiguration: {
|
|
93
|
+
* S3Configuration: {
|
|
94
|
+
* BucketName: "STRING_VALUE", // required
|
|
95
|
+
* ObjectKeyPrefix: "STRING_VALUE",
|
|
96
|
+
* EncryptionOption: "STRING_VALUE",
|
|
97
|
+
* },
|
|
98
|
+
* },
|
|
99
|
+
* };
|
|
33
100
|
* const command = new CreateScheduledQueryCommand(input);
|
|
34
101
|
* const response = await client.send(command);
|
|
35
102
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* ScheduledQueryArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteScheduledQueryCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -46,6 +46,7 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
|
|
|
46
46
|
* import { TimestreamQueryClient, DescribeEndpointsCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
|
|
47
47
|
* // const { TimestreamQueryClient, DescribeEndpointsCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
|
|
48
48
|
* const client = new TimestreamQueryClient(config);
|
|
49
|
+
* const input = {};
|
|
49
50
|
* const command = new DescribeEndpointsCommand(input);
|
|
50
51
|
* const response = await client.send(command);
|
|
51
52
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* ScheduledQueryArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeScheduledQueryCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ 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 = {
|
|
30
|
+
* ScheduledQueryArn: "STRING_VALUE", // required
|
|
31
|
+
* InvocationTime: new Date("TIMESTAMP"), // required
|
|
32
|
+
* ClientToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ExecuteScheduledQueryCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ 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 = {
|
|
30
|
+
* MaxResults: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListScheduledQueriesCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,11 @@ 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 = {
|
|
30
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -28,6 +28,10 @@ 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 = {
|
|
32
|
+
* QueryString: "STRING_VALUE", // required
|
|
33
|
+
* ValidateOnly: true || false,
|
|
34
|
+
* };
|
|
31
35
|
* const command = new PrepareQueryCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -56,6 +56,12 @@ 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 = {
|
|
60
|
+
* QueryString: "STRING_VALUE", // required
|
|
61
|
+
* ClientToken: "STRING_VALUE",
|
|
62
|
+
* NextToken: "STRING_VALUE",
|
|
63
|
+
* MaxRows: Number("int"),
|
|
64
|
+
* };
|
|
59
65
|
* const command = new QueryCommand(input);
|
|
60
66
|
* const response = await client.send(command);
|
|
61
67
|
* ```
|
|
@@ -28,6 +28,15 @@ 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 = {
|
|
32
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
33
|
+
* Tags: [ // required
|
|
34
|
+
* {
|
|
35
|
+
* Key: "STRING_VALUE", // required
|
|
36
|
+
* Value: "STRING_VALUE", // required
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
31
40
|
* const command = new TagResourceCommand(input);
|
|
32
41
|
* const response = await client.send(command);
|
|
33
42
|
* ```
|
|
@@ -26,6 +26,12 @@ 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 = {
|
|
30
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
31
|
+
* TagKeys: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,10 @@ 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 = {
|
|
30
|
+
* ScheduledQueryArn: "STRING_VALUE", // required
|
|
31
|
+
* State: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new UpdateScheduledQueryCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
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.300.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,24 +21,24 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
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
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
31
31
|
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
32
|
-
"@aws-sdk/middleware-endpoint-discovery": "3.
|
|
32
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.300.0",
|
|
33
33
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
35
35
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
36
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
37
37
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
38
38
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
39
39
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
40
40
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
41
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
42
42
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
43
43
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
44
44
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
51
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
52
52
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-retry": "3.296.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
56
56
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
57
57
|
"tslib": "^2.5.0",
|
|
58
58
|
"uuid": "^8.3.2"
|