@aws-sdk/client-timestream-query 3.696.0 → 3.699.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 +13 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-types/commands/CancelQueryCommand.d.ts +4 -6
- package/dist-types/commands/CreateScheduledQueryCommand.d.ts +4 -6
- package/dist-types/commands/DeleteScheduledQueryCommand.d.ts +4 -6
- package/dist-types/commands/DescribeAccountSettingsCommand.d.ts +21 -6
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +2 -4
- package/dist-types/commands/DescribeScheduledQueryCommand.d.ts +4 -6
- package/dist-types/commands/ExecuteScheduledQueryCommand.d.ts +5 -7
- package/dist-types/commands/ListScheduledQueriesCommand.d.ts +4 -6
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/PrepareQueryCommand.d.ts +4 -6
- package/dist-types/commands/QueryCommand.d.ts +5 -7
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +33 -6
- package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +4 -6
- package/dist-types/models/models_0.d.ts +174 -21
- package/dist-types/ts3.4/models/models_0.d.ts +48 -3
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -23,6 +23,7 @@ var src_exports = {};
|
|
|
23
23
|
__export(src_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
CancelQueryCommand: () => CancelQueryCommand,
|
|
26
|
+
ComputeMode: () => ComputeMode,
|
|
26
27
|
ConflictException: () => ConflictException,
|
|
27
28
|
CreateScheduledQueryCommand: () => CreateScheduledQueryCommand,
|
|
28
29
|
CreateScheduledQueryRequestFilterSensitiveLog: () => CreateScheduledQueryRequestFilterSensitiveLog,
|
|
@@ -36,6 +37,7 @@ __export(src_exports, {
|
|
|
36
37
|
ExecuteScheduledQueryRequestFilterSensitiveLog: () => ExecuteScheduledQueryRequestFilterSensitiveLog,
|
|
37
38
|
InternalServerException: () => InternalServerException,
|
|
38
39
|
InvalidEndpointException: () => InvalidEndpointException,
|
|
40
|
+
LastUpdateStatus: () => LastUpdateStatus,
|
|
39
41
|
ListScheduledQueriesCommand: () => ListScheduledQueriesCommand,
|
|
40
42
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
41
43
|
MeasureValueType: () => MeasureValueType,
|
|
@@ -234,6 +236,10 @@ var ScalarType = {
|
|
|
234
236
|
UNKNOWN: "UNKNOWN",
|
|
235
237
|
VARCHAR: "VARCHAR"
|
|
236
238
|
};
|
|
239
|
+
var ComputeMode = {
|
|
240
|
+
ON_DEMAND: "ON_DEMAND",
|
|
241
|
+
PROVISIONED: "PROVISIONED"
|
|
242
|
+
};
|
|
237
243
|
var _ConflictException = class _ConflictException extends TimestreamQueryServiceException {
|
|
238
244
|
/**
|
|
239
245
|
* @internal
|
|
@@ -310,6 +316,11 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Timest
|
|
|
310
316
|
};
|
|
311
317
|
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
312
318
|
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
319
|
+
var LastUpdateStatus = {
|
|
320
|
+
FAILED: "FAILED",
|
|
321
|
+
PENDING: "PENDING",
|
|
322
|
+
SUCCEEDED: "SUCCEEDED"
|
|
323
|
+
};
|
|
313
324
|
var QueryPricingModel = {
|
|
314
325
|
BYTES_SCANNED: "BYTES_SCANNED",
|
|
315
326
|
COMPUTE_UNITS: "COMPUTE_UNITS"
|
|
@@ -1526,6 +1537,7 @@ var paginateQuery = (0, import_core5.createPaginator)(TimestreamQueryClient, Que
|
|
|
1526
1537
|
ThrottlingException,
|
|
1527
1538
|
ValidationException,
|
|
1528
1539
|
ScalarType,
|
|
1540
|
+
ComputeMode,
|
|
1529
1541
|
ConflictException,
|
|
1530
1542
|
S3EncryptionOption,
|
|
1531
1543
|
DimensionValueType,
|
|
@@ -1533,6 +1545,7 @@ var paginateQuery = (0, import_core5.createPaginator)(TimestreamQueryClient, Que
|
|
|
1533
1545
|
ScalarMeasureValueType,
|
|
1534
1546
|
ServiceQuotaExceededException,
|
|
1535
1547
|
ResourceNotFoundException,
|
|
1548
|
+
LastUpdateStatus,
|
|
1536
1549
|
QueryPricingModel,
|
|
1537
1550
|
ScheduledQueryRunStatus,
|
|
1538
1551
|
ScheduledQueryState,
|
|
@@ -78,6 +78,10 @@ export const ScalarType = {
|
|
|
78
78
|
UNKNOWN: "UNKNOWN",
|
|
79
79
|
VARCHAR: "VARCHAR",
|
|
80
80
|
};
|
|
81
|
+
export const ComputeMode = {
|
|
82
|
+
ON_DEMAND: "ON_DEMAND",
|
|
83
|
+
PROVISIONED: "PROVISIONED",
|
|
84
|
+
};
|
|
81
85
|
export class ConflictException extends __BaseException {
|
|
82
86
|
constructor(opts) {
|
|
83
87
|
super({
|
|
@@ -139,6 +143,11 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
139
143
|
this.ScheduledQueryArn = opts.ScheduledQueryArn;
|
|
140
144
|
}
|
|
141
145
|
}
|
|
146
|
+
export const LastUpdateStatus = {
|
|
147
|
+
FAILED: "FAILED",
|
|
148
|
+
PENDING: "PENDING",
|
|
149
|
+
SUCCEEDED: "SUCCEEDED",
|
|
150
|
+
};
|
|
142
151
|
export const QueryPricingModel = {
|
|
143
152
|
BYTES_SCANNED: "BYTES_SCANNED",
|
|
144
153
|
COMPUTE_UNITS: "COMPUTE_UNITS",
|
|
@@ -57,18 +57,16 @@ declare const CancelQueryCommand_base: {
|
|
|
57
57
|
* @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
-
* <p>
|
|
60
|
+
* <p>You do not have the necessary permissions to access the account settings.</p>
|
|
61
61
|
*
|
|
62
62
|
* @throws {@link InternalServerException} (server fault)
|
|
63
|
-
* <p>
|
|
64
|
-
* The service was unable to fully process this request because of an internal
|
|
65
|
-
* server error. </p>
|
|
63
|
+
* <p>An internal server error occurred while processing the request.</p>
|
|
66
64
|
*
|
|
67
65
|
* @throws {@link InvalidEndpointException} (client fault)
|
|
68
|
-
* <p>The requested endpoint
|
|
66
|
+
* <p>The requested endpoint is invalid.</p>
|
|
69
67
|
*
|
|
70
68
|
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
-
* <p>The request was
|
|
69
|
+
* <p>The request was throttled due to excessive requests.</p>
|
|
72
70
|
*
|
|
73
71
|
* @throws {@link ValidationException} (client fault)
|
|
74
72
|
* <p> Invalid or malformed request. </p>
|
|
@@ -120,24 +120,22 @@ declare const CreateScheduledQueryCommand_base: {
|
|
|
120
120
|
* @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
|
|
121
121
|
*
|
|
122
122
|
* @throws {@link AccessDeniedException} (client fault)
|
|
123
|
-
* <p>
|
|
123
|
+
* <p>You do not have the necessary permissions to access the account settings.</p>
|
|
124
124
|
*
|
|
125
125
|
* @throws {@link ConflictException} (client fault)
|
|
126
126
|
* <p> Unable to poll results for a cancelled query. </p>
|
|
127
127
|
*
|
|
128
128
|
* @throws {@link InternalServerException} (server fault)
|
|
129
|
-
* <p>
|
|
130
|
-
* The service was unable to fully process this request because of an internal
|
|
131
|
-
* server error. </p>
|
|
129
|
+
* <p>An internal server error occurred while processing the request.</p>
|
|
132
130
|
*
|
|
133
131
|
* @throws {@link InvalidEndpointException} (client fault)
|
|
134
|
-
* <p>The requested endpoint
|
|
132
|
+
* <p>The requested endpoint is invalid.</p>
|
|
135
133
|
*
|
|
136
134
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
137
135
|
* <p>You have exceeded the service quota.</p>
|
|
138
136
|
*
|
|
139
137
|
* @throws {@link ThrottlingException} (client fault)
|
|
140
|
-
* <p>The request was
|
|
138
|
+
* <p>The request was throttled due to excessive requests.</p>
|
|
141
139
|
*
|
|
142
140
|
* @throws {@link ValidationException} (client fault)
|
|
143
141
|
* <p> Invalid or malformed request. </p>
|
|
@@ -50,21 +50,19 @@ declare const DeleteScheduledQueryCommand_base: {
|
|
|
50
50
|
* @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
|
|
51
51
|
*
|
|
52
52
|
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
-
* <p>
|
|
53
|
+
* <p>You do not have the necessary permissions to access the account settings.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link InternalServerException} (server fault)
|
|
56
|
-
* <p>
|
|
57
|
-
* The service was unable to fully process this request because of an internal
|
|
58
|
-
* server error. </p>
|
|
56
|
+
* <p>An internal server error occurred while processing the request.</p>
|
|
59
57
|
*
|
|
60
58
|
* @throws {@link InvalidEndpointException} (client fault)
|
|
61
|
-
* <p>The requested endpoint
|
|
59
|
+
* <p>The requested endpoint is invalid.</p>
|
|
62
60
|
*
|
|
63
61
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
62
|
* <p>The requested resource could not be found.</p>
|
|
65
63
|
*
|
|
66
64
|
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
-
* <p>The request was
|
|
65
|
+
* <p>The request was throttled due to excessive requests.</p>
|
|
68
66
|
*
|
|
69
67
|
* @throws {@link ValidationException} (client fault)
|
|
70
68
|
* <p> Invalid or malformed request. </p>
|
|
@@ -41,6 +41,23 @@ declare const DescribeAccountSettingsCommand_base: {
|
|
|
41
41
|
* // { // DescribeAccountSettingsResponse
|
|
42
42
|
* // MaxQueryTCU: Number("int"),
|
|
43
43
|
* // QueryPricingModel: "BYTES_SCANNED" || "COMPUTE_UNITS",
|
|
44
|
+
* // QueryCompute: { // QueryComputeResponse
|
|
45
|
+
* // ComputeMode: "ON_DEMAND" || "PROVISIONED",
|
|
46
|
+
* // ProvisionedCapacity: { // ProvisionedCapacityResponse
|
|
47
|
+
* // ActiveQueryTCU: Number("int"),
|
|
48
|
+
* // NotificationConfiguration: { // AccountSettingsNotificationConfiguration
|
|
49
|
+
* // SnsConfiguration: { // SnsConfiguration
|
|
50
|
+
* // TopicArn: "STRING_VALUE", // required
|
|
51
|
+
* // },
|
|
52
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // LastUpdate: { // LastUpdate
|
|
55
|
+
* // TargetQueryTCU: Number("int"),
|
|
56
|
+
* // Status: "PENDING" || "FAILED" || "SUCCEEDED",
|
|
57
|
+
* // StatusMessage: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
44
61
|
* // };
|
|
45
62
|
*
|
|
46
63
|
* ```
|
|
@@ -52,18 +69,16 @@ declare const DescribeAccountSettingsCommand_base: {
|
|
|
52
69
|
* @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
|
|
53
70
|
*
|
|
54
71
|
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
-
* <p>
|
|
72
|
+
* <p>You do not have the necessary permissions to access the account settings.</p>
|
|
56
73
|
*
|
|
57
74
|
* @throws {@link InternalServerException} (server fault)
|
|
58
|
-
* <p>
|
|
59
|
-
* The service was unable to fully process this request because of an internal
|
|
60
|
-
* server error. </p>
|
|
75
|
+
* <p>An internal server error occurred while processing the request.</p>
|
|
61
76
|
*
|
|
62
77
|
* @throws {@link InvalidEndpointException} (client fault)
|
|
63
|
-
* <p>The requested endpoint
|
|
78
|
+
* <p>The requested endpoint is invalid.</p>
|
|
64
79
|
*
|
|
65
80
|
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
-
* <p>The request was
|
|
81
|
+
* <p>The request was throttled due to excessive requests.</p>
|
|
67
82
|
*
|
|
68
83
|
* @throws {@link TimestreamQueryServiceException}
|
|
69
84
|
* <p>Base exception class for all service exceptions from TimestreamQuery service.</p>
|
|
@@ -75,12 +75,10 @@ declare const DescribeEndpointsCommand_base: {
|
|
|
75
75
|
* @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
|
|
76
76
|
*
|
|
77
77
|
* @throws {@link InternalServerException} (server fault)
|
|
78
|
-
* <p>
|
|
79
|
-
* The service was unable to fully process this request because of an internal
|
|
80
|
-
* server error. </p>
|
|
78
|
+
* <p>An internal server error occurred while processing the request.</p>
|
|
81
79
|
*
|
|
82
80
|
* @throws {@link ThrottlingException} (client fault)
|
|
83
|
-
* <p>The request was
|
|
81
|
+
* <p>The request was throttled due to excessive requests.</p>
|
|
84
82
|
*
|
|
85
83
|
* @throws {@link ValidationException} (client fault)
|
|
86
84
|
* <p> Invalid or malformed request. </p>
|
|
@@ -198,21 +198,19 @@ declare const DescribeScheduledQueryCommand_base: {
|
|
|
198
198
|
* @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
|
|
199
199
|
*
|
|
200
200
|
* @throws {@link AccessDeniedException} (client fault)
|
|
201
|
-
* <p>
|
|
201
|
+
* <p>You do not have the necessary permissions to access the account settings.</p>
|
|
202
202
|
*
|
|
203
203
|
* @throws {@link InternalServerException} (server fault)
|
|
204
|
-
* <p>
|
|
205
|
-
* The service was unable to fully process this request because of an internal
|
|
206
|
-
* server error. </p>
|
|
204
|
+
* <p>An internal server error occurred while processing the request.</p>
|
|
207
205
|
*
|
|
208
206
|
* @throws {@link InvalidEndpointException} (client fault)
|
|
209
|
-
* <p>The requested endpoint
|
|
207
|
+
* <p>The requested endpoint is invalid.</p>
|
|
210
208
|
*
|
|
211
209
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
212
210
|
* <p>The requested resource could not be found.</p>
|
|
213
211
|
*
|
|
214
212
|
* @throws {@link ThrottlingException} (client fault)
|
|
215
|
-
* <p>The request was
|
|
213
|
+
* <p>The request was throttled due to excessive requests.</p>
|
|
216
214
|
*
|
|
217
215
|
* @throws {@link ValidationException} (client fault)
|
|
218
216
|
* <p> Invalid or malformed request. </p>
|
|
@@ -28,7 +28,7 @@ declare const ExecuteScheduledQueryCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p> You can use this API to run a scheduled query manually. </p>
|
|
31
|
-
* <p>If you enabled <code>QueryInsights</code>, this API also returns insights and metrics related to the query that you executed as part of an Amazon SNS notification. <code>QueryInsights</code> helps with performance tuning of your query
|
|
31
|
+
* <p>If you enabled <code>QueryInsights</code>, this API also returns insights and metrics related to the query that you executed as part of an Amazon SNS notification. <code>QueryInsights</code> helps with performance tuning of your query. For more information about <code>QueryInsights</code>, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/using-query-insights.html">Using query insights to optimize queries in Amazon Timestream</a>.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -56,21 +56,19 @@ declare const ExecuteScheduledQueryCommand_base: {
|
|
|
56
56
|
* @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
-
* <p>
|
|
59
|
+
* <p>You do not have the necessary permissions to access the account settings.</p>
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link InternalServerException} (server fault)
|
|
62
|
-
* <p>
|
|
63
|
-
* The service was unable to fully process this request because of an internal
|
|
64
|
-
* server error. </p>
|
|
62
|
+
* <p>An internal server error occurred while processing the request.</p>
|
|
65
63
|
*
|
|
66
64
|
* @throws {@link InvalidEndpointException} (client fault)
|
|
67
|
-
* <p>The requested endpoint
|
|
65
|
+
* <p>The requested endpoint is invalid.</p>
|
|
68
66
|
*
|
|
69
67
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
68
|
* <p>The requested resource could not be found.</p>
|
|
71
69
|
*
|
|
72
70
|
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
-
* <p>The request was
|
|
71
|
+
* <p>The request was throttled due to excessive requests.</p>
|
|
74
72
|
*
|
|
75
73
|
* @throws {@link ValidationException} (client fault)
|
|
76
74
|
* <p> Invalid or malformed request. </p>
|
|
@@ -78,18 +78,16 @@ declare const ListScheduledQueriesCommand_base: {
|
|
|
78
78
|
* @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
|
|
79
79
|
*
|
|
80
80
|
* @throws {@link AccessDeniedException} (client fault)
|
|
81
|
-
* <p>
|
|
81
|
+
* <p>You do not have the necessary permissions to access the account settings.</p>
|
|
82
82
|
*
|
|
83
83
|
* @throws {@link InternalServerException} (server fault)
|
|
84
|
-
* <p>
|
|
85
|
-
* The service was unable to fully process this request because of an internal
|
|
86
|
-
* server error. </p>
|
|
84
|
+
* <p>An internal server error occurred while processing the request.</p>
|
|
87
85
|
*
|
|
88
86
|
* @throws {@link InvalidEndpointException} (client fault)
|
|
89
|
-
* <p>The requested endpoint
|
|
87
|
+
* <p>The requested endpoint is invalid.</p>
|
|
90
88
|
*
|
|
91
89
|
* @throws {@link ThrottlingException} (client fault)
|
|
92
|
-
* <p>The request was
|
|
90
|
+
* <p>The request was throttled due to excessive requests.</p>
|
|
93
91
|
*
|
|
94
92
|
* @throws {@link ValidationException} (client fault)
|
|
95
93
|
* <p> Invalid or malformed request. </p>
|
|
@@ -60,13 +60,13 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
60
60
|
* @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
|
|
61
61
|
*
|
|
62
62
|
* @throws {@link InvalidEndpointException} (client fault)
|
|
63
|
-
* <p>The requested endpoint
|
|
63
|
+
* <p>The requested endpoint is invalid.</p>
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
66
|
* <p>The requested resource could not be found.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
-
* <p>The request was
|
|
69
|
+
* <p>The request was throttled due to excessive requests.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link ValidationException} (client fault)
|
|
72
72
|
* <p> Invalid or malformed request. </p>
|
|
@@ -93,18 +93,16 @@ declare const PrepareQueryCommand_base: {
|
|
|
93
93
|
* @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
|
|
94
94
|
*
|
|
95
95
|
* @throws {@link AccessDeniedException} (client fault)
|
|
96
|
-
* <p>
|
|
96
|
+
* <p>You do not have the necessary permissions to access the account settings.</p>
|
|
97
97
|
*
|
|
98
98
|
* @throws {@link InternalServerException} (server fault)
|
|
99
|
-
* <p>
|
|
100
|
-
* The service was unable to fully process this request because of an internal
|
|
101
|
-
* server error. </p>
|
|
99
|
+
* <p>An internal server error occurred while processing the request.</p>
|
|
102
100
|
*
|
|
103
101
|
* @throws {@link InvalidEndpointException} (client fault)
|
|
104
|
-
* <p>The requested endpoint
|
|
102
|
+
* <p>The requested endpoint is invalid.</p>
|
|
105
103
|
*
|
|
106
104
|
* @throws {@link ThrottlingException} (client fault)
|
|
107
|
-
* <p>The request was
|
|
105
|
+
* <p>The request was throttled due to excessive requests.</p>
|
|
108
106
|
*
|
|
109
107
|
* @throws {@link ValidationException} (client fault)
|
|
110
108
|
* <p> Invalid or malformed request. </p>
|
|
@@ -30,7 +30,7 @@ declare const QueryCommand_base: {
|
|
|
30
30
|
* <p>
|
|
31
31
|
* <code>Query</code> is a synchronous operation that enables you to run a query against
|
|
32
32
|
* your Amazon Timestream data.</p>
|
|
33
|
-
* <p>If you enabled <code>QueryInsights</code>, this API also returns insights and metrics related to the query that you executed. <code>QueryInsights</code> helps with performance tuning of your query
|
|
33
|
+
* <p>If you enabled <code>QueryInsights</code>, this API also returns insights and metrics related to the query that you executed. <code>QueryInsights</code> helps with performance tuning of your query. For more information about <code>QueryInsights</code>, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/using-query-insights.html">Using query insights to optimize queries in Amazon Timestream</a>.</p>
|
|
34
34
|
* <note>
|
|
35
35
|
* <p>The maximum number of <code>Query</code> API requests you're allowed to make with <code>QueryInsights</code> enabled is 1 query per second (QPS). If you exceed this query rate, it might result in throttling.</p>
|
|
36
36
|
* </note>
|
|
@@ -177,25 +177,23 @@ declare const QueryCommand_base: {
|
|
|
177
177
|
* @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
|
|
178
178
|
*
|
|
179
179
|
* @throws {@link AccessDeniedException} (client fault)
|
|
180
|
-
* <p>
|
|
180
|
+
* <p>You do not have the necessary permissions to access the account settings.</p>
|
|
181
181
|
*
|
|
182
182
|
* @throws {@link ConflictException} (client fault)
|
|
183
183
|
* <p> Unable to poll results for a cancelled query. </p>
|
|
184
184
|
*
|
|
185
185
|
* @throws {@link InternalServerException} (server fault)
|
|
186
|
-
* <p>
|
|
187
|
-
* The service was unable to fully process this request because of an internal
|
|
188
|
-
* server error. </p>
|
|
186
|
+
* <p>An internal server error occurred while processing the request.</p>
|
|
189
187
|
*
|
|
190
188
|
* @throws {@link InvalidEndpointException} (client fault)
|
|
191
|
-
* <p>The requested endpoint
|
|
189
|
+
* <p>The requested endpoint is invalid.</p>
|
|
192
190
|
*
|
|
193
191
|
* @throws {@link QueryExecutionException} (client fault)
|
|
194
192
|
* <p>
|
|
195
193
|
* Timestream was unable to run the query successfully. </p>
|
|
196
194
|
*
|
|
197
195
|
* @throws {@link ThrottlingException} (client fault)
|
|
198
|
-
* <p>The request was
|
|
196
|
+
* <p>The request was throttled due to excessive requests.</p>
|
|
199
197
|
*
|
|
200
198
|
* @throws {@link ValidationException} (client fault)
|
|
201
199
|
* <p> Invalid or malformed request. </p>
|
|
@@ -58,7 +58,7 @@ declare const TagResourceCommand_base: {
|
|
|
58
58
|
* @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link InvalidEndpointException} (client fault)
|
|
61
|
-
* <p>The requested endpoint
|
|
61
|
+
* <p>The requested endpoint is invalid.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
64
|
* <p>The requested resource could not be found.</p>
|
|
@@ -67,7 +67,7 @@ declare const TagResourceCommand_base: {
|
|
|
67
67
|
* <p>You have exceeded the service quota.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
-
* <p>The request was
|
|
70
|
+
* <p>The request was throttled due to excessive requests.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link ValidationException} (client fault)
|
|
73
73
|
* <p> Invalid or malformed request. </p>
|
|
@@ -53,13 +53,13 @@ declare const UntagResourceCommand_base: {
|
|
|
53
53
|
* @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link InvalidEndpointException} (client fault)
|
|
56
|
-
* <p>The requested endpoint
|
|
56
|
+
* <p>The requested endpoint is invalid.</p>
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
59
|
* <p>The requested resource could not be found.</p>
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link ThrottlingException} (client fault)
|
|
62
|
-
* <p>The request was
|
|
62
|
+
* <p>The request was throttled due to excessive requests.</p>
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link ValidationException} (client fault)
|
|
65
65
|
* <p> Invalid or malformed request. </p>
|
|
@@ -40,12 +40,41 @@ declare const UpdateAccountSettingsCommand_base: {
|
|
|
40
40
|
* const input = { // UpdateAccountSettingsRequest
|
|
41
41
|
* MaxQueryTCU: Number("int"),
|
|
42
42
|
* QueryPricingModel: "BYTES_SCANNED" || "COMPUTE_UNITS",
|
|
43
|
+
* QueryCompute: { // QueryComputeRequest
|
|
44
|
+
* ComputeMode: "ON_DEMAND" || "PROVISIONED",
|
|
45
|
+
* ProvisionedCapacity: { // ProvisionedCapacityRequest
|
|
46
|
+
* TargetQueryTCU: Number("int"), // required
|
|
47
|
+
* NotificationConfiguration: { // AccountSettingsNotificationConfiguration
|
|
48
|
+
* SnsConfiguration: { // SnsConfiguration
|
|
49
|
+
* TopicArn: "STRING_VALUE", // required
|
|
50
|
+
* },
|
|
51
|
+
* RoleArn: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
43
55
|
* };
|
|
44
56
|
* const command = new UpdateAccountSettingsCommand(input);
|
|
45
57
|
* const response = await client.send(command);
|
|
46
58
|
* // { // UpdateAccountSettingsResponse
|
|
47
59
|
* // MaxQueryTCU: Number("int"),
|
|
48
60
|
* // QueryPricingModel: "BYTES_SCANNED" || "COMPUTE_UNITS",
|
|
61
|
+
* // QueryCompute: { // QueryComputeResponse
|
|
62
|
+
* // ComputeMode: "ON_DEMAND" || "PROVISIONED",
|
|
63
|
+
* // ProvisionedCapacity: { // ProvisionedCapacityResponse
|
|
64
|
+
* // ActiveQueryTCU: Number("int"),
|
|
65
|
+
* // NotificationConfiguration: { // AccountSettingsNotificationConfiguration
|
|
66
|
+
* // SnsConfiguration: { // SnsConfiguration
|
|
67
|
+
* // TopicArn: "STRING_VALUE", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // LastUpdate: { // LastUpdate
|
|
72
|
+
* // TargetQueryTCU: Number("int"),
|
|
73
|
+
* // Status: "PENDING" || "FAILED" || "SUCCEEDED",
|
|
74
|
+
* // StatusMessage: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
49
78
|
* // };
|
|
50
79
|
*
|
|
51
80
|
* ```
|
|
@@ -57,18 +86,16 @@ declare const UpdateAccountSettingsCommand_base: {
|
|
|
57
86
|
* @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
|
|
58
87
|
*
|
|
59
88
|
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
-
* <p>
|
|
89
|
+
* <p>You do not have the necessary permissions to access the account settings.</p>
|
|
61
90
|
*
|
|
62
91
|
* @throws {@link InternalServerException} (server fault)
|
|
63
|
-
* <p>
|
|
64
|
-
* The service was unable to fully process this request because of an internal
|
|
65
|
-
* server error. </p>
|
|
92
|
+
* <p>An internal server error occurred while processing the request.</p>
|
|
66
93
|
*
|
|
67
94
|
* @throws {@link InvalidEndpointException} (client fault)
|
|
68
|
-
* <p>The requested endpoint
|
|
95
|
+
* <p>The requested endpoint is invalid.</p>
|
|
69
96
|
*
|
|
70
97
|
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
-
* <p>The request was
|
|
98
|
+
* <p>The request was throttled due to excessive requests.</p>
|
|
72
99
|
*
|
|
73
100
|
* @throws {@link ValidationException} (client fault)
|
|
74
101
|
* <p> Invalid or malformed request. </p>
|
|
@@ -51,21 +51,19 @@ declare const UpdateScheduledQueryCommand_base: {
|
|
|
51
51
|
* @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
-
* <p>
|
|
54
|
+
* <p>You do not have the necessary permissions to access the account settings.</p>
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link InternalServerException} (server fault)
|
|
57
|
-
* <p>
|
|
58
|
-
* The service was unable to fully process this request because of an internal
|
|
59
|
-
* server error. </p>
|
|
57
|
+
* <p>An internal server error occurred while processing the request.</p>
|
|
60
58
|
*
|
|
61
59
|
* @throws {@link InvalidEndpointException} (client fault)
|
|
62
|
-
* <p>The requested endpoint
|
|
60
|
+
* <p>The requested endpoint is invalid.</p>
|
|
63
61
|
*
|
|
64
62
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
63
|
* <p>The requested resource could not be found.</p>
|
|
66
64
|
*
|
|
67
65
|
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
-
* <p>The request was
|
|
66
|
+
* <p>The request was throttled due to excessive requests.</p>
|
|
69
67
|
*
|
|
70
68
|
* @throws {@link ValidationException} (client fault)
|
|
71
69
|
* <p> Invalid or malformed request. </p>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { TimestreamQueryServiceException as __BaseException } from "./TimestreamQueryServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* <p>
|
|
4
|
+
* <p>You do not have the necessary permissions to access the account settings.</p>
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
@@ -13,6 +13,33 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
13
13
|
*/
|
|
14
14
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>Details on SNS that are required to send the notification.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export interface SnsConfiguration {
|
|
21
|
+
/**
|
|
22
|
+
* <p>SNS topic ARN that the scheduled query status notifications will be sent to.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
TopicArn: string | undefined;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>Configuration settings for notifications related to account settings.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export interface AccountSettingsNotificationConfiguration {
|
|
32
|
+
/**
|
|
33
|
+
* <p>Details on SNS that are required to send the notification.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
SnsConfiguration?: SnsConfiguration | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* <p>An Amazon Resource Name (ARN) that grants Timestream permission to publish notifications. This field is only visible if SNS Topic is provided when updating the account settings.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
RoleArn: string | undefined;
|
|
42
|
+
}
|
|
16
43
|
/**
|
|
17
44
|
* @public
|
|
18
45
|
*/
|
|
@@ -36,9 +63,7 @@ export interface CancelQueryResponse {
|
|
|
36
63
|
CancellationMessage?: string | undefined;
|
|
37
64
|
}
|
|
38
65
|
/**
|
|
39
|
-
* <p>
|
|
40
|
-
* The service was unable to fully process this request because of an internal
|
|
41
|
-
* server error. </p>
|
|
66
|
+
* <p>An internal server error occurred while processing the request.</p>
|
|
42
67
|
* @public
|
|
43
68
|
*/
|
|
44
69
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -51,7 +76,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
51
76
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
52
77
|
}
|
|
53
78
|
/**
|
|
54
|
-
* <p>The requested endpoint
|
|
79
|
+
* <p>The requested endpoint is invalid.</p>
|
|
55
80
|
* @public
|
|
56
81
|
*/
|
|
57
82
|
export declare class InvalidEndpointException extends __BaseException {
|
|
@@ -64,7 +89,7 @@ export declare class InvalidEndpointException extends __BaseException {
|
|
|
64
89
|
constructor(opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>);
|
|
65
90
|
}
|
|
66
91
|
/**
|
|
67
|
-
* <p>The request was
|
|
92
|
+
* <p>The request was throttled due to excessive requests.</p>
|
|
68
93
|
* @public
|
|
69
94
|
*/
|
|
70
95
|
export declare class ThrottlingException extends __BaseException {
|
|
@@ -110,6 +135,18 @@ export declare const ScalarType: {
|
|
|
110
135
|
* @public
|
|
111
136
|
*/
|
|
112
137
|
export type ScalarType = (typeof ScalarType)[keyof typeof ScalarType];
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
* @enum
|
|
141
|
+
*/
|
|
142
|
+
export declare const ComputeMode: {
|
|
143
|
+
readonly ON_DEMAND: "ON_DEMAND";
|
|
144
|
+
readonly PROVISIONED: "PROVISIONED";
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
export type ComputeMode = (typeof ComputeMode)[keyof typeof ComputeMode];
|
|
113
150
|
/**
|
|
114
151
|
* <p> Unable to poll results for a cancelled query. </p>
|
|
115
152
|
* @public
|
|
@@ -169,17 +206,6 @@ export interface ErrorReportConfiguration {
|
|
|
169
206
|
*/
|
|
170
207
|
S3Configuration: S3Configuration | undefined;
|
|
171
208
|
}
|
|
172
|
-
/**
|
|
173
|
-
* <p>Details on SNS that are required to send the notification.</p>
|
|
174
|
-
* @public
|
|
175
|
-
*/
|
|
176
|
-
export interface SnsConfiguration {
|
|
177
|
-
/**
|
|
178
|
-
* <p>SNS topic ARN that the scheduled query status notifications will be sent to.</p>
|
|
179
|
-
* @public
|
|
180
|
-
*/
|
|
181
|
-
TopicArn: string | undefined;
|
|
182
|
-
}
|
|
183
209
|
/**
|
|
184
210
|
* <p>Notification configuration for a scheduled query. A notification is sent by Timestream
|
|
185
211
|
* when a scheduled query is created, its state is updated or when it is deleted. </p>
|
|
@@ -187,7 +213,7 @@ export interface SnsConfiguration {
|
|
|
187
213
|
*/
|
|
188
214
|
export interface NotificationConfiguration {
|
|
189
215
|
/**
|
|
190
|
-
* <p>Details
|
|
216
|
+
* <p>Details about the Amazon Simple Notification Service (SNS) configuration. This field is visible only when SNS Topic is provided when updating the account settings. </p>
|
|
191
217
|
* @public
|
|
192
218
|
*/
|
|
193
219
|
SnsConfiguration: SnsConfiguration | undefined;
|
|
@@ -560,6 +586,77 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
560
586
|
*/
|
|
561
587
|
export interface DescribeAccountSettingsRequest {
|
|
562
588
|
}
|
|
589
|
+
/**
|
|
590
|
+
* @public
|
|
591
|
+
* @enum
|
|
592
|
+
*/
|
|
593
|
+
export declare const LastUpdateStatus: {
|
|
594
|
+
readonly FAILED: "FAILED";
|
|
595
|
+
readonly PENDING: "PENDING";
|
|
596
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
597
|
+
};
|
|
598
|
+
/**
|
|
599
|
+
* @public
|
|
600
|
+
*/
|
|
601
|
+
export type LastUpdateStatus = (typeof LastUpdateStatus)[keyof typeof LastUpdateStatus];
|
|
602
|
+
/**
|
|
603
|
+
* <p>Configuration object that contains the most recent account settings update, visible only if settings have been updated previously.</p>
|
|
604
|
+
* @public
|
|
605
|
+
*/
|
|
606
|
+
export interface LastUpdate {
|
|
607
|
+
/**
|
|
608
|
+
* <p>The number of TimeStream Compute Units (TCUs) requested in the last account settings update.</p>
|
|
609
|
+
* @public
|
|
610
|
+
*/
|
|
611
|
+
TargetQueryTCU?: number | undefined;
|
|
612
|
+
/**
|
|
613
|
+
* <p>The status of the last update. Can be either <code>PENDING</code>, <code>FAILED</code>, or <code>SUCCEEDED</code>.</p>
|
|
614
|
+
* @public
|
|
615
|
+
*/
|
|
616
|
+
Status?: LastUpdateStatus | undefined;
|
|
617
|
+
/**
|
|
618
|
+
* <p>Error message describing the last account settings update status, visible only if an error occurred.</p>
|
|
619
|
+
* @public
|
|
620
|
+
*/
|
|
621
|
+
StatusMessage?: string | undefined;
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* <p>The response to a request to update the provisioned capacity settings for querying data.</p>
|
|
625
|
+
* @public
|
|
626
|
+
*/
|
|
627
|
+
export interface ProvisionedCapacityResponse {
|
|
628
|
+
/**
|
|
629
|
+
* <p>The number of Timestream Compute Units (TCUs) provisioned in the account. This field is only visible when the compute mode is <code>PROVISIONED</code>.</p>
|
|
630
|
+
* @public
|
|
631
|
+
*/
|
|
632
|
+
ActiveQueryTCU?: number | undefined;
|
|
633
|
+
/**
|
|
634
|
+
* <p>An object that contains settings for notifications that are sent whenever the provisioned capacity settings are modified. This field is only visible when the compute mode is <code>PROVISIONED</code>.</p>
|
|
635
|
+
* @public
|
|
636
|
+
*/
|
|
637
|
+
NotificationConfiguration?: AccountSettingsNotificationConfiguration | undefined;
|
|
638
|
+
/**
|
|
639
|
+
* <p>Information about the last update to the provisioned capacity settings.</p>
|
|
640
|
+
* @public
|
|
641
|
+
*/
|
|
642
|
+
LastUpdate?: LastUpdate | undefined;
|
|
643
|
+
}
|
|
644
|
+
/**
|
|
645
|
+
* <p>The response to a request to retrieve or update the compute capacity settings for querying data.</p>
|
|
646
|
+
* @public
|
|
647
|
+
*/
|
|
648
|
+
export interface QueryComputeResponse {
|
|
649
|
+
/**
|
|
650
|
+
* <p>The mode in which Timestream Compute Units (TCUs) are allocated and utilized within an account. Note that in the Asia Pacific (Mumbai) region, the API operation only recognizes the value <code>PROVISIONED</code>.</p>
|
|
651
|
+
* @public
|
|
652
|
+
*/
|
|
653
|
+
ComputeMode?: ComputeMode | undefined;
|
|
654
|
+
/**
|
|
655
|
+
* <p>Configuration object that contains settings for provisioned Timestream Compute Units (TCUs) in your account.</p>
|
|
656
|
+
* @public
|
|
657
|
+
*/
|
|
658
|
+
ProvisionedCapacity?: ProvisionedCapacityResponse | undefined;
|
|
659
|
+
}
|
|
563
660
|
/**
|
|
564
661
|
* @public
|
|
565
662
|
* @enum
|
|
@@ -577,15 +674,26 @@ export type QueryPricingModel = (typeof QueryPricingModel)[keyof typeof QueryPri
|
|
|
577
674
|
*/
|
|
578
675
|
export interface DescribeAccountSettingsResponse {
|
|
579
676
|
/**
|
|
580
|
-
* <p>The maximum number of <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/tcu.html">Timestream compute units</a> (TCUs) the service will use at any point in time to serve your queries
|
|
677
|
+
* <p>The maximum number of <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/tcu.html">Timestream compute units</a> (TCUs) the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on. This configuration is applicable only for on-demand usage of (TCUs).
|
|
678
|
+
*
|
|
679
|
+
*
|
|
680
|
+
* </p>
|
|
581
681
|
* @public
|
|
582
682
|
*/
|
|
583
683
|
MaxQueryTCU?: number | undefined;
|
|
584
684
|
/**
|
|
585
685
|
* <p>The pricing model for queries in your account.</p>
|
|
686
|
+
* <note>
|
|
687
|
+
* <p>The <code>QueryPricingModel</code> parameter is used by several Timestream operations; however, the <code>UpdateAccountSettings</code> API operation doesn't recognize any values other than <code>COMPUTE_UNITS</code>.</p>
|
|
688
|
+
* </note>
|
|
586
689
|
* @public
|
|
587
690
|
*/
|
|
588
691
|
QueryPricingModel?: QueryPricingModel | undefined;
|
|
692
|
+
/**
|
|
693
|
+
* <p>An object that contains the usage settings for Timestream Compute Units (TCUs) in your account for the query workload. </p>
|
|
694
|
+
* @public
|
|
695
|
+
*/
|
|
696
|
+
QueryCompute?: QueryComputeResponse | undefined;
|
|
589
697
|
}
|
|
590
698
|
/**
|
|
591
699
|
* @public
|
|
@@ -1220,6 +1328,22 @@ export interface PrepareQueryRequest {
|
|
|
1220
1328
|
*/
|
|
1221
1329
|
ValidateOnly?: boolean | undefined;
|
|
1222
1330
|
}
|
|
1331
|
+
/**
|
|
1332
|
+
* <p>A request to update the provisioned capacity settings for querying data.</p>
|
|
1333
|
+
* @public
|
|
1334
|
+
*/
|
|
1335
|
+
export interface ProvisionedCapacityRequest {
|
|
1336
|
+
/**
|
|
1337
|
+
* <p>The target compute capacity for querying data, specified in Timestream Compute Units (TCUs).</p>
|
|
1338
|
+
* @public
|
|
1339
|
+
*/
|
|
1340
|
+
TargetQueryTCU: number | undefined;
|
|
1341
|
+
/**
|
|
1342
|
+
* <p>Configuration settings for notifications related to the provisioned capacity update.</p>
|
|
1343
|
+
* @public
|
|
1344
|
+
*/
|
|
1345
|
+
NotificationConfiguration?: AccountSettingsNotificationConfiguration | undefined;
|
|
1346
|
+
}
|
|
1223
1347
|
/**
|
|
1224
1348
|
* <p>
|
|
1225
1349
|
* Timestream was unable to run the query successfully. </p>
|
|
@@ -1487,6 +1611,22 @@ export interface QueryStatus {
|
|
|
1487
1611
|
*/
|
|
1488
1612
|
CumulativeBytesMetered?: number | undefined;
|
|
1489
1613
|
}
|
|
1614
|
+
/**
|
|
1615
|
+
* <p>A request to retrieve or update the compute capacity settings for querying data.</p>
|
|
1616
|
+
* @public
|
|
1617
|
+
*/
|
|
1618
|
+
export interface QueryComputeRequest {
|
|
1619
|
+
/**
|
|
1620
|
+
* <p>The mode in which Timestream Compute Units (TCUs) are allocated and utilized within an account. Note that in the Asia Pacific (Mumbai) region, the API operation only recognizes the value <code>PROVISIONED</code>.</p>
|
|
1621
|
+
* @public
|
|
1622
|
+
*/
|
|
1623
|
+
ComputeMode?: ComputeMode | undefined;
|
|
1624
|
+
/**
|
|
1625
|
+
* <p>Configuration object that contains settings for provisioned Timestream Compute Units (TCUs) in your account.</p>
|
|
1626
|
+
* @public
|
|
1627
|
+
*/
|
|
1628
|
+
ProvisionedCapacity?: ProvisionedCapacityRequest | undefined;
|
|
1629
|
+
}
|
|
1490
1630
|
/**
|
|
1491
1631
|
* @public
|
|
1492
1632
|
*/
|
|
@@ -1535,8 +1675,8 @@ export interface UntagResourceResponse {
|
|
|
1535
1675
|
*/
|
|
1536
1676
|
export interface UpdateAccountSettingsRequest {
|
|
1537
1677
|
/**
|
|
1538
|
-
* <p>The maximum number of compute units the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on.</p>
|
|
1539
|
-
* <p>The maximum value supported for <code>MaxQueryTCU</code> is 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for maxQueryTCU
|
|
1678
|
+
* <p>The maximum number of compute units the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on. The maximum value supported for <code>MaxQueryTCU</code> is 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for maxQueryTCU, see Default quotas. This configuration is applicable only for on-demand usage of Timestream Compute Units (TCUs).</p>
|
|
1679
|
+
* <p>The maximum value supported for <code>MaxQueryTCU</code> is 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for <code>maxQueryTCU</code>, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.default">Default quotas</a>.</p>
|
|
1540
1680
|
* @public
|
|
1541
1681
|
*/
|
|
1542
1682
|
MaxQueryTCU?: number | undefined;
|
|
@@ -1548,6 +1688,14 @@ export interface UpdateAccountSettingsRequest {
|
|
|
1548
1688
|
* @public
|
|
1549
1689
|
*/
|
|
1550
1690
|
QueryPricingModel?: QueryPricingModel | undefined;
|
|
1691
|
+
/**
|
|
1692
|
+
* <p>Modifies the query compute settings configured in your account, including the query pricing model and provisioned Timestream Compute Units (TCUs) in your account.</p>
|
|
1693
|
+
* <note>
|
|
1694
|
+
* <p>This API is idempotent, meaning that making the same request multiple times will have the same effect as making the request once.</p>
|
|
1695
|
+
* </note>
|
|
1696
|
+
* @public
|
|
1697
|
+
*/
|
|
1698
|
+
QueryCompute?: QueryComputeRequest | undefined;
|
|
1551
1699
|
}
|
|
1552
1700
|
/**
|
|
1553
1701
|
* @public
|
|
@@ -1563,6 +1711,11 @@ export interface UpdateAccountSettingsResponse {
|
|
|
1563
1711
|
* @public
|
|
1564
1712
|
*/
|
|
1565
1713
|
QueryPricingModel?: QueryPricingModel | undefined;
|
|
1714
|
+
/**
|
|
1715
|
+
* <p>Confirms the updated account settings for querying data in your account.</p>
|
|
1716
|
+
* @public
|
|
1717
|
+
*/
|
|
1718
|
+
QueryCompute?: QueryComputeResponse | undefined;
|
|
1566
1719
|
}
|
|
1567
1720
|
/**
|
|
1568
1721
|
* @public
|
|
@@ -8,6 +8,13 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
8
8
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
+
export interface SnsConfiguration {
|
|
12
|
+
TopicArn: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
export interface AccountSettingsNotificationConfiguration {
|
|
15
|
+
SnsConfiguration?: SnsConfiguration | undefined;
|
|
16
|
+
RoleArn: string | undefined;
|
|
17
|
+
}
|
|
11
18
|
export interface CancelQueryRequest {
|
|
12
19
|
QueryId: string | undefined;
|
|
13
20
|
}
|
|
@@ -60,6 +67,11 @@ export declare const ScalarType: {
|
|
|
60
67
|
readonly VARCHAR: "VARCHAR";
|
|
61
68
|
};
|
|
62
69
|
export type ScalarType = (typeof ScalarType)[keyof typeof ScalarType];
|
|
70
|
+
export declare const ComputeMode: {
|
|
71
|
+
readonly ON_DEMAND: "ON_DEMAND";
|
|
72
|
+
readonly PROVISIONED: "PROVISIONED";
|
|
73
|
+
};
|
|
74
|
+
export type ComputeMode = (typeof ComputeMode)[keyof typeof ComputeMode];
|
|
63
75
|
export declare class ConflictException extends __BaseException {
|
|
64
76
|
readonly name: "ConflictException";
|
|
65
77
|
readonly $fault: "client";
|
|
@@ -80,9 +92,6 @@ export interface S3Configuration {
|
|
|
80
92
|
export interface ErrorReportConfiguration {
|
|
81
93
|
S3Configuration: S3Configuration | undefined;
|
|
82
94
|
}
|
|
83
|
-
export interface SnsConfiguration {
|
|
84
|
-
TopicArn: string | undefined;
|
|
85
|
-
}
|
|
86
95
|
export interface NotificationConfiguration {
|
|
87
96
|
SnsConfiguration: SnsConfiguration | undefined;
|
|
88
97
|
}
|
|
@@ -184,6 +193,29 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
184
193
|
);
|
|
185
194
|
}
|
|
186
195
|
export interface DescribeAccountSettingsRequest {}
|
|
196
|
+
export declare const LastUpdateStatus: {
|
|
197
|
+
readonly FAILED: "FAILED";
|
|
198
|
+
readonly PENDING: "PENDING";
|
|
199
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
200
|
+
};
|
|
201
|
+
export type LastUpdateStatus =
|
|
202
|
+
(typeof LastUpdateStatus)[keyof typeof LastUpdateStatus];
|
|
203
|
+
export interface LastUpdate {
|
|
204
|
+
TargetQueryTCU?: number | undefined;
|
|
205
|
+
Status?: LastUpdateStatus | undefined;
|
|
206
|
+
StatusMessage?: string | undefined;
|
|
207
|
+
}
|
|
208
|
+
export interface ProvisionedCapacityResponse {
|
|
209
|
+
ActiveQueryTCU?: number | undefined;
|
|
210
|
+
NotificationConfiguration?:
|
|
211
|
+
| AccountSettingsNotificationConfiguration
|
|
212
|
+
| undefined;
|
|
213
|
+
LastUpdate?: LastUpdate | undefined;
|
|
214
|
+
}
|
|
215
|
+
export interface QueryComputeResponse {
|
|
216
|
+
ComputeMode?: ComputeMode | undefined;
|
|
217
|
+
ProvisionedCapacity?: ProvisionedCapacityResponse | undefined;
|
|
218
|
+
}
|
|
187
219
|
export declare const QueryPricingModel: {
|
|
188
220
|
readonly BYTES_SCANNED: "BYTES_SCANNED";
|
|
189
221
|
readonly COMPUTE_UNITS: "COMPUTE_UNITS";
|
|
@@ -193,6 +225,7 @@ export type QueryPricingModel =
|
|
|
193
225
|
export interface DescribeAccountSettingsResponse {
|
|
194
226
|
MaxQueryTCU?: number | undefined;
|
|
195
227
|
QueryPricingModel?: QueryPricingModel | undefined;
|
|
228
|
+
QueryCompute?: QueryComputeResponse | undefined;
|
|
196
229
|
}
|
|
197
230
|
export interface DescribeEndpointsRequest {}
|
|
198
231
|
export interface Endpoint {
|
|
@@ -339,6 +372,12 @@ export interface PrepareQueryRequest {
|
|
|
339
372
|
QueryString: string | undefined;
|
|
340
373
|
ValidateOnly?: boolean | undefined;
|
|
341
374
|
}
|
|
375
|
+
export interface ProvisionedCapacityRequest {
|
|
376
|
+
TargetQueryTCU: number | undefined;
|
|
377
|
+
NotificationConfiguration?:
|
|
378
|
+
| AccountSettingsNotificationConfiguration
|
|
379
|
+
| undefined;
|
|
380
|
+
}
|
|
342
381
|
export declare class QueryExecutionException extends __BaseException {
|
|
343
382
|
readonly name: "QueryExecutionException";
|
|
344
383
|
readonly $fault: "client";
|
|
@@ -378,6 +417,10 @@ export interface QueryStatus {
|
|
|
378
417
|
CumulativeBytesScanned?: number | undefined;
|
|
379
418
|
CumulativeBytesMetered?: number | undefined;
|
|
380
419
|
}
|
|
420
|
+
export interface QueryComputeRequest {
|
|
421
|
+
ComputeMode?: ComputeMode | undefined;
|
|
422
|
+
ProvisionedCapacity?: ProvisionedCapacityRequest | undefined;
|
|
423
|
+
}
|
|
381
424
|
export interface TagResourceRequest {
|
|
382
425
|
ResourceARN: string | undefined;
|
|
383
426
|
Tags: Tag[] | undefined;
|
|
@@ -391,10 +434,12 @@ export interface UntagResourceResponse {}
|
|
|
391
434
|
export interface UpdateAccountSettingsRequest {
|
|
392
435
|
MaxQueryTCU?: number | undefined;
|
|
393
436
|
QueryPricingModel?: QueryPricingModel | undefined;
|
|
437
|
+
QueryCompute?: QueryComputeRequest | undefined;
|
|
394
438
|
}
|
|
395
439
|
export interface UpdateAccountSettingsResponse {
|
|
396
440
|
MaxQueryTCU?: number | undefined;
|
|
397
441
|
QueryPricingModel?: QueryPricingModel | undefined;
|
|
442
|
+
QueryCompute?: QueryComputeResponse | undefined;
|
|
398
443
|
}
|
|
399
444
|
export interface UpdateScheduledQueryRequest {
|
|
400
445
|
ScheduledQueryArn: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-timestream-query",
|
|
3
3
|
"description": "AWS SDK for JavaScript Timestream Query Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.699.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,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.699.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.699.0",
|
|
25
25
|
"@aws-sdk/core": "3.696.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.699.0",
|
|
27
27
|
"@aws-sdk/middleware-endpoint-discovery": "3.696.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.696.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.696.0",
|