@aws-sdk/client-timestream-query 3.408.0 → 3.409.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/ruleset.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/TimestreamQuery.d.ts +1 -1
- package/dist-types/TimestreamQueryClient.d.ts +1 -1
- package/dist-types/commands/CreateScheduledQueryCommand.d.ts +5 -5
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +6 -6
- package/dist-types/commands/DescribeScheduledQueryCommand.d.ts +8 -8
- package/dist-types/commands/ListScheduledQueriesCommand.d.ts +3 -3
- package/dist-types/commands/PrepareQueryCommand.d.ts +2 -2
- package/dist-types/commands/QueryCommand.d.ts +10 -10
- package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +22 -22
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://query.timestream-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://query.timestream-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://query.timestream.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://query.timestream.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://query.timestream-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://query.timestream-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://query.timestream.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://query.timestream.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -172,7 +172,7 @@ export interface TimestreamQueryClientResolvedConfig extends TimestreamQueryClie
|
|
|
172
172
|
* @public
|
|
173
173
|
* <fullname>Amazon Timestream Query
|
|
174
174
|
* </fullname>
|
|
175
|
-
*
|
|
175
|
+
* <p></p>
|
|
176
176
|
*/
|
|
177
177
|
export declare class TimestreamQueryClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig> {
|
|
178
178
|
/**
|
|
@@ -53,7 +53,7 @@ export interface CreateScheduledQueryCommandOutput extends CreateScheduledQueryR
|
|
|
53
53
|
* DimensionMappings: [ // DimensionMappingList // required
|
|
54
54
|
* { // DimensionMapping
|
|
55
55
|
* Name: "STRING_VALUE", // required
|
|
56
|
-
* DimensionValueType: "
|
|
56
|
+
* DimensionValueType: "VARCHAR", // required
|
|
57
57
|
* },
|
|
58
58
|
* ],
|
|
59
59
|
* MultiMeasureMappings: { // MultiMeasureMappings
|
|
@@ -62,7 +62,7 @@ export interface CreateScheduledQueryCommandOutput extends CreateScheduledQueryR
|
|
|
62
62
|
* { // MultiMeasureAttributeMapping
|
|
63
63
|
* SourceColumn: "STRING_VALUE", // required
|
|
64
64
|
* TargetMultiMeasureAttributeName: "STRING_VALUE",
|
|
65
|
-
* MeasureValueType: "
|
|
65
|
+
* MeasureValueType: "BIGINT" || "BOOLEAN" || "DOUBLE" || "VARCHAR" || "TIMESTAMP", // required
|
|
66
66
|
* },
|
|
67
67
|
* ],
|
|
68
68
|
* },
|
|
@@ -71,12 +71,12 @@ export interface CreateScheduledQueryCommandOutput extends CreateScheduledQueryR
|
|
|
71
71
|
* MeasureName: "STRING_VALUE",
|
|
72
72
|
* SourceColumn: "STRING_VALUE",
|
|
73
73
|
* TargetMeasureName: "STRING_VALUE",
|
|
74
|
-
* MeasureValueType: "
|
|
74
|
+
* MeasureValueType: "BIGINT" || "BOOLEAN" || "DOUBLE" || "VARCHAR" || "MULTI", // required
|
|
75
75
|
* MultiMeasureAttributeMappings: [
|
|
76
76
|
* {
|
|
77
77
|
* SourceColumn: "STRING_VALUE", // required
|
|
78
78
|
* TargetMultiMeasureAttributeName: "STRING_VALUE",
|
|
79
|
-
* MeasureValueType: "
|
|
79
|
+
* MeasureValueType: "BIGINT" || "BOOLEAN" || "DOUBLE" || "VARCHAR" || "TIMESTAMP", // required
|
|
80
80
|
* },
|
|
81
81
|
* ],
|
|
82
82
|
* },
|
|
@@ -97,7 +97,7 @@ export interface CreateScheduledQueryCommandOutput extends CreateScheduledQueryR
|
|
|
97
97
|
* S3Configuration: { // S3Configuration
|
|
98
98
|
* BucketName: "STRING_VALUE", // required
|
|
99
99
|
* ObjectKeyPrefix: "STRING_VALUE",
|
|
100
|
-
* EncryptionOption: "
|
|
100
|
+
* EncryptionOption: "SSE_S3" || "SSE_KMS",
|
|
101
101
|
* },
|
|
102
102
|
* },
|
|
103
103
|
* };
|
|
@@ -25,24 +25,24 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>DescribeEndpoints returns a list of available endpoints to make Timestream
|
|
27
27
|
* API calls against. This API is available through both Write and Query.</p>
|
|
28
|
-
*
|
|
28
|
+
* <p>Because the Timestream SDKs are designed to transparently work with the
|
|
29
29
|
* service’s architecture, including the management and mapping of the service endpoints,
|
|
30
30
|
* <i>it is not recommended that you use this API unless</i>:</p>
|
|
31
|
-
*
|
|
31
|
+
* <ul>
|
|
32
32
|
* <li>
|
|
33
|
-
*
|
|
33
|
+
* <p>You are using <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/VPCEndpoints">VPC endpoints (Amazon Web Services PrivateLink) with Timestream
|
|
34
34
|
* </a>
|
|
35
35
|
* </p>
|
|
36
36
|
* </li>
|
|
37
37
|
* <li>
|
|
38
|
-
*
|
|
38
|
+
* <p>Your application uses a programming language that does not yet have SDK
|
|
39
39
|
* support</p>
|
|
40
40
|
* </li>
|
|
41
41
|
* <li>
|
|
42
|
-
*
|
|
42
|
+
* <p>You require better control over the client-side implementation</p>
|
|
43
43
|
* </li>
|
|
44
44
|
* </ul>
|
|
45
|
-
*
|
|
45
|
+
* <p>For detailed information on how and when to use and implement DescribeEndpoints, see
|
|
46
46
|
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/Using.API.html#Using-API.endpoint-discovery">The Endpoint Discovery Pattern</a>.</p>
|
|
47
47
|
* @example
|
|
48
48
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -41,7 +41,7 @@ export interface DescribeScheduledQueryCommandOutput extends DescribeScheduledQu
|
|
|
41
41
|
* // Name: "STRING_VALUE", // required
|
|
42
42
|
* // QueryString: "STRING_VALUE", // required
|
|
43
43
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
44
|
-
* // State: "
|
|
44
|
+
* // State: "ENABLED" || "DISABLED", // required
|
|
45
45
|
* // PreviousInvocationTime: new Date("TIMESTAMP"),
|
|
46
46
|
* // NextInvocationTime: new Date("TIMESTAMP"),
|
|
47
47
|
* // ScheduleConfiguration: { // ScheduleConfiguration
|
|
@@ -60,7 +60,7 @@ export interface DescribeScheduledQueryCommandOutput extends DescribeScheduledQu
|
|
|
60
60
|
* // DimensionMappings: [ // DimensionMappingList // required
|
|
61
61
|
* // { // DimensionMapping
|
|
62
62
|
* // Name: "STRING_VALUE", // required
|
|
63
|
-
* // DimensionValueType: "
|
|
63
|
+
* // DimensionValueType: "VARCHAR", // required
|
|
64
64
|
* // },
|
|
65
65
|
* // ],
|
|
66
66
|
* // MultiMeasureMappings: { // MultiMeasureMappings
|
|
@@ -69,7 +69,7 @@ export interface DescribeScheduledQueryCommandOutput extends DescribeScheduledQu
|
|
|
69
69
|
* // { // MultiMeasureAttributeMapping
|
|
70
70
|
* // SourceColumn: "STRING_VALUE", // required
|
|
71
71
|
* // TargetMultiMeasureAttributeName: "STRING_VALUE",
|
|
72
|
-
* // MeasureValueType: "
|
|
72
|
+
* // MeasureValueType: "BIGINT" || "BOOLEAN" || "DOUBLE" || "VARCHAR" || "TIMESTAMP", // required
|
|
73
73
|
* // },
|
|
74
74
|
* // ],
|
|
75
75
|
* // },
|
|
@@ -78,12 +78,12 @@ export interface DescribeScheduledQueryCommandOutput extends DescribeScheduledQu
|
|
|
78
78
|
* // MeasureName: "STRING_VALUE",
|
|
79
79
|
* // SourceColumn: "STRING_VALUE",
|
|
80
80
|
* // TargetMeasureName: "STRING_VALUE",
|
|
81
|
-
* // MeasureValueType: "
|
|
81
|
+
* // MeasureValueType: "BIGINT" || "BOOLEAN" || "DOUBLE" || "VARCHAR" || "MULTI", // required
|
|
82
82
|
* // MultiMeasureAttributeMappings: [
|
|
83
83
|
* // {
|
|
84
84
|
* // SourceColumn: "STRING_VALUE", // required
|
|
85
85
|
* // TargetMultiMeasureAttributeName: "STRING_VALUE",
|
|
86
|
-
* // MeasureValueType: "
|
|
86
|
+
* // MeasureValueType: "BIGINT" || "BOOLEAN" || "DOUBLE" || "VARCHAR" || "TIMESTAMP", // required
|
|
87
87
|
* // },
|
|
88
88
|
* // ],
|
|
89
89
|
* // },
|
|
@@ -97,13 +97,13 @@ export interface DescribeScheduledQueryCommandOutput extends DescribeScheduledQu
|
|
|
97
97
|
* // S3Configuration: { // S3Configuration
|
|
98
98
|
* // BucketName: "STRING_VALUE", // required
|
|
99
99
|
* // ObjectKeyPrefix: "STRING_VALUE",
|
|
100
|
-
* // EncryptionOption: "
|
|
100
|
+
* // EncryptionOption: "SSE_S3" || "SSE_KMS",
|
|
101
101
|
* // },
|
|
102
102
|
* // },
|
|
103
103
|
* // LastRunSummary: { // ScheduledQueryRunSummary
|
|
104
104
|
* // InvocationTime: new Date("TIMESTAMP"),
|
|
105
105
|
* // TriggerTime: new Date("TIMESTAMP"),
|
|
106
|
-
* // RunStatus: "
|
|
106
|
+
* // RunStatus: "AUTO_TRIGGER_SUCCESS" || "AUTO_TRIGGER_FAILURE" || "MANUAL_TRIGGER_SUCCESS" || "MANUAL_TRIGGER_FAILURE",
|
|
107
107
|
* // ExecutionStats: { // ExecutionStats
|
|
108
108
|
* // ExecutionTimeInMillis: Number("long"),
|
|
109
109
|
* // DataWrites: Number("long"),
|
|
@@ -123,7 +123,7 @@ export interface DescribeScheduledQueryCommandOutput extends DescribeScheduledQu
|
|
|
123
123
|
* // {
|
|
124
124
|
* // InvocationTime: new Date("TIMESTAMP"),
|
|
125
125
|
* // TriggerTime: new Date("TIMESTAMP"),
|
|
126
|
-
* // RunStatus: "
|
|
126
|
+
* // RunStatus: "AUTO_TRIGGER_SUCCESS" || "AUTO_TRIGGER_FAILURE" || "MANUAL_TRIGGER_SUCCESS" || "MANUAL_TRIGGER_FAILURE",
|
|
127
127
|
* // ExecutionStats: {
|
|
128
128
|
* // ExecutionTimeInMillis: Number("long"),
|
|
129
129
|
* // DataWrites: Number("long"),
|
|
@@ -42,14 +42,14 @@ export interface ListScheduledQueriesCommandOutput extends ListScheduledQueriesR
|
|
|
42
42
|
* // Arn: "STRING_VALUE", // required
|
|
43
43
|
* // Name: "STRING_VALUE", // required
|
|
44
44
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
45
|
-
* // State: "
|
|
45
|
+
* // State: "ENABLED" || "DISABLED", // required
|
|
46
46
|
* // PreviousInvocationTime: new Date("TIMESTAMP"),
|
|
47
47
|
* // NextInvocationTime: new Date("TIMESTAMP"),
|
|
48
48
|
* // ErrorReportConfiguration: { // ErrorReportConfiguration
|
|
49
49
|
* // S3Configuration: { // S3Configuration
|
|
50
50
|
* // BucketName: "STRING_VALUE", // required
|
|
51
51
|
* // ObjectKeyPrefix: "STRING_VALUE",
|
|
52
|
-
* // EncryptionOption: "
|
|
52
|
+
* // EncryptionOption: "SSE_S3" || "SSE_KMS",
|
|
53
53
|
* // },
|
|
54
54
|
* // },
|
|
55
55
|
* // TargetDestination: { // TargetDestination
|
|
@@ -58,7 +58,7 @@ export interface ListScheduledQueriesCommandOutput extends ListScheduledQueriesR
|
|
|
58
58
|
* // TableName: "STRING_VALUE",
|
|
59
59
|
* // },
|
|
60
60
|
* // },
|
|
61
|
-
* // LastRunStatus: "
|
|
61
|
+
* // LastRunStatus: "AUTO_TRIGGER_SUCCESS" || "AUTO_TRIGGER_FAILURE" || "MANUAL_TRIGGER_SUCCESS" || "MANUAL_TRIGGER_FAILURE",
|
|
62
62
|
* // },
|
|
63
63
|
* // ],
|
|
64
64
|
* // NextToken: "STRING_VALUE",
|
|
@@ -44,11 +44,11 @@ export interface PrepareQueryCommandOutput extends PrepareQueryResponse, __Metad
|
|
|
44
44
|
* // { // SelectColumn
|
|
45
45
|
* // Name: "STRING_VALUE",
|
|
46
46
|
* // Type: { // Type
|
|
47
|
-
* // ScalarType: "
|
|
47
|
+
* // ScalarType: "VARCHAR" || "BOOLEAN" || "BIGINT" || "DOUBLE" || "TIMESTAMP" || "DATE" || "TIME" || "INTERVAL_DAY_TO_SECOND" || "INTERVAL_YEAR_TO_MONTH" || "UNKNOWN" || "INTEGER",
|
|
48
48
|
* // ArrayColumnInfo: { // ColumnInfo
|
|
49
49
|
* // Name: "STRING_VALUE",
|
|
50
50
|
* // Type: {
|
|
51
|
-
* // ScalarType: "
|
|
51
|
+
* // ScalarType: "VARCHAR" || "BOOLEAN" || "BIGINT" || "DOUBLE" || "TIMESTAMP" || "DATE" || "TIME" || "INTERVAL_DAY_TO_SECOND" || "INTERVAL_YEAR_TO_MONTH" || "UNKNOWN" || "INTEGER",
|
|
52
52
|
* // ArrayColumnInfo: {
|
|
53
53
|
* // Name: "STRING_VALUE",
|
|
54
54
|
* // Type: "<Type>", // required
|
|
@@ -29,26 +29,26 @@ export interface QueryCommandOutput extends QueryResponse, __MetadataBearer {
|
|
|
29
29
|
* You must update the default timeout in the SDK to support a timeout of 60 seconds. See
|
|
30
30
|
* the <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.run-query.html">code
|
|
31
31
|
* sample</a> for details. </p>
|
|
32
|
-
*
|
|
33
|
-
*
|
|
32
|
+
* <p>Your query request will fail in the following cases:</p>
|
|
33
|
+
* <ul>
|
|
34
34
|
* <li>
|
|
35
|
-
*
|
|
35
|
+
* <p> If you submit a <code>Query</code> request with the same client token outside
|
|
36
36
|
* of the 5-minute idempotency window. </p>
|
|
37
37
|
* </li>
|
|
38
38
|
* <li>
|
|
39
|
-
*
|
|
39
|
+
* <p> If you submit a <code>Query</code> request with the same client token, but
|
|
40
40
|
* change other parameters, within the 5-minute idempotency window. </p>
|
|
41
41
|
* </li>
|
|
42
42
|
* <li>
|
|
43
|
-
*
|
|
43
|
+
* <p> If the size of the row (including the query metadata) exceeds 1 MB, then the
|
|
44
44
|
* query will fail with the following error message: </p>
|
|
45
|
-
*
|
|
45
|
+
* <p>
|
|
46
46
|
* <code>Query aborted as max page response size has been exceeded by the output
|
|
47
47
|
* result row</code>
|
|
48
|
-
*
|
|
48
|
+
* </p>
|
|
49
49
|
* </li>
|
|
50
50
|
* <li>
|
|
51
|
-
*
|
|
51
|
+
* <p> If the IAM principal of the query initiator and the result reader are not the
|
|
52
52
|
* same and/or the query initiator and the result reader do not have the same query
|
|
53
53
|
* string in the query requests, the query will fail with an <code>Invalid
|
|
54
54
|
* pagination token</code> error. </p>
|
|
@@ -108,11 +108,11 @@ export interface QueryCommandOutput extends QueryResponse, __MetadataBearer {
|
|
|
108
108
|
* // { // ColumnInfo
|
|
109
109
|
* // Name: "STRING_VALUE",
|
|
110
110
|
* // Type: { // Type
|
|
111
|
-
* // ScalarType: "
|
|
111
|
+
* // ScalarType: "VARCHAR" || "BOOLEAN" || "BIGINT" || "DOUBLE" || "TIMESTAMP" || "DATE" || "TIME" || "INTERVAL_DAY_TO_SECOND" || "INTERVAL_YEAR_TO_MONTH" || "UNKNOWN" || "INTEGER",
|
|
112
112
|
* // ArrayColumnInfo: {
|
|
113
113
|
* // Name: "STRING_VALUE",
|
|
114
114
|
* // Type: {
|
|
115
|
-
* // ScalarType: "
|
|
115
|
+
* // ScalarType: "VARCHAR" || "BOOLEAN" || "BIGINT" || "DOUBLE" || "TIMESTAMP" || "DATE" || "TIME" || "INTERVAL_DAY_TO_SECOND" || "INTERVAL_YEAR_TO_MONTH" || "UNKNOWN" || "INTEGER",
|
|
116
116
|
* // ArrayColumnInfo: "<ColumnInfo>",
|
|
117
117
|
* // TimeSeriesMeasureValueColumnInfo: "<ColumnInfo>",
|
|
118
118
|
* // RowColumnInfo: [
|
|
@@ -32,7 +32,7 @@ export interface UpdateScheduledQueryCommandOutput extends __MetadataBearer {
|
|
|
32
32
|
* const client = new TimestreamQueryClient(config);
|
|
33
33
|
* const input = { // UpdateScheduledQueryRequest
|
|
34
34
|
* ScheduledQueryArn: "STRING_VALUE", // required
|
|
35
|
-
* State: "
|
|
35
|
+
* State: "ENABLED" || "DISABLED", // required
|
|
36
36
|
* };
|
|
37
37
|
* const command = new UpdateScheduledQueryCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
package/dist-types/index.d.ts
CHANGED
|
@@ -432,7 +432,7 @@ export interface CreateScheduledQueryRequest {
|
|
|
432
432
|
* <p>The query string to run. Parameter
|
|
433
433
|
* names can be specified in the query string <code>@</code> character followed by an
|
|
434
434
|
* identifier. The named Parameter <code>@scheduled_runtime</code> is reserved and can be used in the query to get the time at which the query is scheduled to run.</p>
|
|
435
|
-
*
|
|
435
|
+
* <p>The timestamp calculated according to the ScheduleConfiguration parameter, will be the value of <code>@scheduled_runtime</code> paramater for each query run.
|
|
436
436
|
* For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the <code>@scheduled_runtime</code> parameter is
|
|
437
437
|
* initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.</p>
|
|
438
438
|
*/
|
|
@@ -461,11 +461,11 @@ export interface CreateScheduledQueryRequest {
|
|
|
461
461
|
* </p>
|
|
462
462
|
* <ul>
|
|
463
463
|
* <li>
|
|
464
|
-
*
|
|
464
|
+
* <p> If CreateScheduledQuery is called without a <code>ClientToken</code>, the
|
|
465
465
|
* Query SDK generates a <code>ClientToken</code> on your behalf.</p>
|
|
466
466
|
* </li>
|
|
467
467
|
* <li>
|
|
468
|
-
*
|
|
468
|
+
* <p> After 8 hours, any request with the same <code>ClientToken</code> is treated
|
|
469
469
|
* as a new request. </p>
|
|
470
470
|
* </li>
|
|
471
471
|
* </ul>
|
|
@@ -488,7 +488,7 @@ export interface CreateScheduledQueryRequest {
|
|
|
488
488
|
* owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias
|
|
489
489
|
* ARN. When using an alias name, prefix the name with <i>alias/</i>
|
|
490
490
|
* </p>
|
|
491
|
-
*
|
|
491
|
+
* <p>If ErrorReportConfiguration uses <code>SSE_KMS</code> as encryption type, the same KmsKeyId is used to encrypt the error report at rest.</p>
|
|
492
492
|
*/
|
|
493
493
|
KmsKeyId?: string;
|
|
494
494
|
/**
|
|
@@ -1027,23 +1027,23 @@ export interface QueryRequest {
|
|
|
1027
1027
|
* produce the same result. In other words, making multiple identical <code>Query</code>
|
|
1028
1028
|
* requests has the same effect as making a single request. When using
|
|
1029
1029
|
* <code>ClientToken</code> in a query, note the following: </p>
|
|
1030
|
-
*
|
|
1030
|
+
* <ul>
|
|
1031
1031
|
* <li>
|
|
1032
|
-
*
|
|
1032
|
+
* <p> If the Query API is instantiated without a <code>ClientToken</code>, the
|
|
1033
1033
|
* Query SDK generates a <code>ClientToken</code> on your behalf.</p>
|
|
1034
1034
|
* </li>
|
|
1035
1035
|
* <li>
|
|
1036
|
-
*
|
|
1036
|
+
* <p>If the <code>Query</code> invocation only contains the
|
|
1037
1037
|
* <code>ClientToken</code> but does not include a <code>NextToken</code>, that
|
|
1038
1038
|
* invocation of <code>Query</code> is assumed to be a new query run.</p>
|
|
1039
1039
|
* </li>
|
|
1040
1040
|
* <li>
|
|
1041
|
-
*
|
|
1041
|
+
* <p>If the invocation contains <code>NextToken</code>, that particular invocation
|
|
1042
1042
|
* is assumed to be a subsequent invocation of a prior call to the Query API, and a
|
|
1043
1043
|
* result set is returned.</p>
|
|
1044
1044
|
* </li>
|
|
1045
1045
|
* <li>
|
|
1046
|
-
*
|
|
1046
|
+
* <p> After 4 hours, any request with the same <code>ClientToken</code> is treated
|
|
1047
1047
|
* as a new request. </p>
|
|
1048
1048
|
* </li>
|
|
1049
1049
|
* </ul>
|
|
@@ -1057,34 +1057,34 @@ export interface QueryRequest {
|
|
|
1057
1057
|
* returned. However, if the <code>Query</code> invocation only contains the
|
|
1058
1058
|
* <code>ClientToken</code>, that invocation of <code>Query</code> is assumed to be a
|
|
1059
1059
|
* new query run. </p>
|
|
1060
|
-
*
|
|
1061
|
-
*
|
|
1060
|
+
* <p>Note the following when using NextToken in a query:</p>
|
|
1061
|
+
* <ul>
|
|
1062
1062
|
* <li>
|
|
1063
|
-
*
|
|
1063
|
+
* <p>A pagination token can be used for up to five <code>Query</code> invocations,
|
|
1064
1064
|
* OR for a duration of up to 1 hour – whichever comes first.</p>
|
|
1065
1065
|
* </li>
|
|
1066
1066
|
* <li>
|
|
1067
|
-
*
|
|
1067
|
+
* <p>Using the same <code>NextToken</code> will return the same set of records. To
|
|
1068
1068
|
* keep paginating through the result set, you must to use the most recent
|
|
1069
1069
|
* <code>nextToken</code>.</p>
|
|
1070
1070
|
* </li>
|
|
1071
1071
|
* <li>
|
|
1072
|
-
*
|
|
1072
|
+
* <p>Suppose a <code>Query</code> invocation returns two <code>NextToken</code>
|
|
1073
1073
|
* values, <code>TokenA</code> and <code>TokenB</code>. If <code>TokenB</code> is
|
|
1074
1074
|
* used in a subsequent <code>Query</code> invocation, then <code>TokenA</code> is
|
|
1075
1075
|
* invalidated and cannot be reused.</p>
|
|
1076
1076
|
* </li>
|
|
1077
1077
|
* <li>
|
|
1078
|
-
*
|
|
1078
|
+
* <p>To request a previous result set from a query after pagination has begun, you
|
|
1079
1079
|
* must re-invoke the Query API.</p>
|
|
1080
1080
|
* </li>
|
|
1081
1081
|
* <li>
|
|
1082
|
-
*
|
|
1082
|
+
* <p>The latest <code>NextToken</code> should be used to paginate until
|
|
1083
1083
|
* <code>null</code> is returned, at which point a new <code>NextToken</code>
|
|
1084
1084
|
* should be used.</p>
|
|
1085
1085
|
* </li>
|
|
1086
1086
|
* <li>
|
|
1087
|
-
*
|
|
1087
|
+
* <p> If the IAM principal of the query initiator and the result reader are not the
|
|
1088
1088
|
* same and/or the query initiator and the result reader do not have the same query
|
|
1089
1089
|
* string in the query requests, the query will fail with an <code>Invalid
|
|
1090
1090
|
* pagination token</code> error. </p>
|
|
@@ -1097,20 +1097,20 @@ export interface QueryRequest {
|
|
|
1097
1097
|
* <p> The total number of rows to be returned in the <code>Query</code> output. The initial
|
|
1098
1098
|
* run of <code>Query</code> with a <code>MaxRows</code> value specified will return the
|
|
1099
1099
|
* result set of the query in two cases: </p>
|
|
1100
|
-
*
|
|
1100
|
+
* <ul>
|
|
1101
1101
|
* <li>
|
|
1102
|
-
*
|
|
1102
|
+
* <p>The size of the result is less than <code>1MB</code>.</p>
|
|
1103
1103
|
* </li>
|
|
1104
1104
|
* <li>
|
|
1105
|
-
*
|
|
1105
|
+
* <p>The number of rows in the result set is less than the value of
|
|
1106
1106
|
* <code>maxRows</code>.</p>
|
|
1107
1107
|
* </li>
|
|
1108
1108
|
* </ul>
|
|
1109
|
-
*
|
|
1109
|
+
* <p>Otherwise, the initial invocation of <code>Query</code> only returns a
|
|
1110
1110
|
* <code>NextToken</code>, which can then be used in subsequent calls to fetch the
|
|
1111
1111
|
* result set. To resume pagination, provide the <code>NextToken</code> value in the
|
|
1112
1112
|
* subsequent command.</p>
|
|
1113
|
-
*
|
|
1113
|
+
* <p>If the row size is large (e.g. a row has many columns), Timestream may return
|
|
1114
1114
|
* fewer rows to keep the response size from exceeding the 1 MB limit. If
|
|
1115
1115
|
* <code>MaxRows</code> is not provided, Timestream will send the necessary
|
|
1116
1116
|
* number of rows to meet the 1 MB limit.</p>
|
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.409.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,8 +21,8 @@
|
|
|
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/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.409.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.409.0",
|
|
26
26
|
"@aws-sdk/middleware-endpoint-discovery": "3.408.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.408.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.408.0",
|