@aws-sdk/client-timestream-query 3.564.0 → 3.567.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/README.md +16 -0
- package/dist-cjs/index.js +88 -0
- package/dist-es/TimestreamQuery.js +4 -0
- package/dist-es/commands/DescribeAccountSettingsCommand.js +26 -0
- package/dist-es/commands/UpdateAccountSettingsCommand.js +26 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_json1_0.js +38 -0
- package/dist-types/TimestreamQuery.d.ts +16 -0
- package/dist-types/TimestreamQueryClient.d.ts +4 -2
- package/dist-types/commands/CancelQueryCommand.d.ts +1 -1
- package/dist-types/commands/CreateScheduledQueryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteScheduledQueryCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAccountSettingsCommand.d.ts +73 -0
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeScheduledQueryCommand.d.ts +3 -1
- package/dist-types/commands/ExecuteScheduledQueryCommand.d.ts +1 -1
- package/dist-types/commands/ListScheduledQueriesCommand.d.ts +1 -1
- package/dist-types/commands/PrepareQueryCommand.d.ts +1 -1
- package/dist-types/commands/QueryCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +81 -0
- package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +69 -1
- package/dist-types/protocols/Aws_json1_0.d.ts +18 -0
- package/dist-types/ts3.4/TimestreamQuery.d.ts +36 -0
- package/dist-types/ts3.4/TimestreamQueryClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DescribeAccountSettingsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +20 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
- package/package.json +15 -16
|
@@ -151,7 +151,7 @@ declare const QueryCommand_base: {
|
|
|
151
151
|
*
|
|
152
152
|
* @throws {@link InternalServerException} (server fault)
|
|
153
153
|
* <p>
|
|
154
|
-
*
|
|
154
|
+
* The service was unable to fully process this request because of an internal
|
|
155
155
|
* server error. </p>
|
|
156
156
|
*
|
|
157
157
|
* @throws {@link InvalidEndpointException} (client fault)
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateAccountSettingsRequest, UpdateAccountSettingsResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link UpdateAccountSettingsCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface UpdateAccountSettingsCommandInput extends UpdateAccountSettingsRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link UpdateAccountSettingsCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateAccountSettingsCommandOutput extends UpdateAccountSettingsResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const UpdateAccountSettingsCommand_base: {
|
|
24
|
+
new (input: UpdateAccountSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput, TimestreamQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [UpdateAccountSettingsCommandInput]): import("@smithy/smithy-client").CommandImpl<UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput, TimestreamQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Transitions your account to use TCUs for query pricing and modifies the maximum query compute units that you've configured. If you reduce the value of <code>MaxQueryTCU</code> to a desired configuration, the new value can take up to 24 hours to be effective.</p>
|
|
30
|
+
* <note>
|
|
31
|
+
* <p>After you've transitioned your account to use TCUs for query pricing, you can't transition to using bytes scanned for query pricing.</p>
|
|
32
|
+
* </note>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { TimestreamQueryClient, UpdateAccountSettingsCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
|
|
37
|
+
* // const { TimestreamQueryClient, UpdateAccountSettingsCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
|
|
38
|
+
* const client = new TimestreamQueryClient(config);
|
|
39
|
+
* const input = { // UpdateAccountSettingsRequest
|
|
40
|
+
* MaxQueryTCU: Number("int"),
|
|
41
|
+
* QueryPricingModel: "BYTES_SCANNED" || "COMPUTE_UNITS",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UpdateAccountSettingsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // UpdateAccountSettingsResponse
|
|
46
|
+
* // MaxQueryTCU: Number("int"),
|
|
47
|
+
* // QueryPricingModel: "BYTES_SCANNED" || "COMPUTE_UNITS",
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param UpdateAccountSettingsCommandInput - {@link UpdateAccountSettingsCommandInput}
|
|
53
|
+
* @returns {@link UpdateAccountSettingsCommandOutput}
|
|
54
|
+
* @see {@link UpdateAccountSettingsCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link UpdateAccountSettingsCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p> You are not authorized to perform this action. </p>
|
|
60
|
+
*
|
|
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>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InvalidEndpointException} (client fault)
|
|
67
|
+
* <p>The requested endpoint was not valid.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The request was denied due to request throttling.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p> Invalid or malformed request. </p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link TimestreamQueryServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from TimestreamQuery service.</p>
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class UpdateAccountSettingsCommand extends UpdateAccountSettingsCommand_base {
|
|
81
|
+
}
|
|
@@ -54,7 +54,7 @@ declare const UpdateScheduledQueryCommand_base: {
|
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link InternalServerException} (server fault)
|
|
56
56
|
* <p>
|
|
57
|
-
*
|
|
57
|
+
* The service was unable to fully process this request because of an internal
|
|
58
58
|
* server error. </p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link InvalidEndpointException} (client fault)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./CancelQueryCommand";
|
|
2
2
|
export * from "./CreateScheduledQueryCommand";
|
|
3
3
|
export * from "./DeleteScheduledQueryCommand";
|
|
4
|
+
export * from "./DescribeAccountSettingsCommand";
|
|
4
5
|
export * from "./DescribeEndpointsCommand";
|
|
5
6
|
export * from "./DescribeScheduledQueryCommand";
|
|
6
7
|
export * from "./ExecuteScheduledQueryCommand";
|
|
@@ -10,4 +11,5 @@ export * from "./PrepareQueryCommand";
|
|
|
10
11
|
export * from "./QueryCommand";
|
|
11
12
|
export * from "./TagResourceCommand";
|
|
12
13
|
export * from "./UntagResourceCommand";
|
|
14
|
+
export * from "./UpdateAccountSettingsCommand";
|
|
13
15
|
export * from "./UpdateScheduledQueryCommand";
|
|
@@ -37,7 +37,7 @@ export interface CancelQueryResponse {
|
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* <p>
|
|
40
|
-
*
|
|
40
|
+
* The service was unable to fully process this request because of an internal
|
|
41
41
|
* server error. </p>
|
|
42
42
|
* @public
|
|
43
43
|
*/
|
|
@@ -555,6 +555,38 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
555
555
|
*/
|
|
556
556
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
557
557
|
}
|
|
558
|
+
/**
|
|
559
|
+
* @public
|
|
560
|
+
*/
|
|
561
|
+
export interface DescribeAccountSettingsRequest {
|
|
562
|
+
}
|
|
563
|
+
/**
|
|
564
|
+
* @public
|
|
565
|
+
* @enum
|
|
566
|
+
*/
|
|
567
|
+
export declare const QueryPricingModel: {
|
|
568
|
+
readonly BYTES_SCANNED: "BYTES_SCANNED";
|
|
569
|
+
readonly COMPUTE_UNITS: "COMPUTE_UNITS";
|
|
570
|
+
};
|
|
571
|
+
/**
|
|
572
|
+
* @public
|
|
573
|
+
*/
|
|
574
|
+
export type QueryPricingModel = (typeof QueryPricingModel)[keyof typeof QueryPricingModel];
|
|
575
|
+
/**
|
|
576
|
+
* @public
|
|
577
|
+
*/
|
|
578
|
+
export interface DescribeAccountSettingsResponse {
|
|
579
|
+
/**
|
|
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.</p>
|
|
581
|
+
* @public
|
|
582
|
+
*/
|
|
583
|
+
MaxQueryTCU?: number;
|
|
584
|
+
/**
|
|
585
|
+
* <p>The pricing model for queries in your account.</p>
|
|
586
|
+
* @public
|
|
587
|
+
*/
|
|
588
|
+
QueryPricingModel?: QueryPricingModel;
|
|
589
|
+
}
|
|
558
590
|
/**
|
|
559
591
|
* @public
|
|
560
592
|
*/
|
|
@@ -647,6 +679,11 @@ export interface ExecutionStats {
|
|
|
647
679
|
* @public
|
|
648
680
|
*/
|
|
649
681
|
BytesMetered?: number;
|
|
682
|
+
/**
|
|
683
|
+
* <p>Bytes scanned for a single scheduled query run.</p>
|
|
684
|
+
* @public
|
|
685
|
+
*/
|
|
686
|
+
CumulativeBytesScanned?: number;
|
|
650
687
|
/**
|
|
651
688
|
* <p>The number of records ingested for a single scheduled query run. </p>
|
|
652
689
|
* @public
|
|
@@ -1196,6 +1233,37 @@ export interface UntagResourceRequest {
|
|
|
1196
1233
|
*/
|
|
1197
1234
|
export interface UntagResourceResponse {
|
|
1198
1235
|
}
|
|
1236
|
+
/**
|
|
1237
|
+
* @public
|
|
1238
|
+
*/
|
|
1239
|
+
export interface UpdateAccountSettingsRequest {
|
|
1240
|
+
/**
|
|
1241
|
+
* <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>
|
|
1242
|
+
* <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, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.default">Default quotas</a>.</p>
|
|
1243
|
+
* @public
|
|
1244
|
+
*/
|
|
1245
|
+
MaxQueryTCU?: number;
|
|
1246
|
+
/**
|
|
1247
|
+
* <p>The pricing model for queries in an account.</p>
|
|
1248
|
+
* @public
|
|
1249
|
+
*/
|
|
1250
|
+
QueryPricingModel?: QueryPricingModel;
|
|
1251
|
+
}
|
|
1252
|
+
/**
|
|
1253
|
+
* @public
|
|
1254
|
+
*/
|
|
1255
|
+
export interface UpdateAccountSettingsResponse {
|
|
1256
|
+
/**
|
|
1257
|
+
* <p>The configured maximum number of compute units the service will use at any point in time to serve your queries.</p>
|
|
1258
|
+
* @public
|
|
1259
|
+
*/
|
|
1260
|
+
MaxQueryTCU?: number;
|
|
1261
|
+
/**
|
|
1262
|
+
* <p>The pricing model for an account.</p>
|
|
1263
|
+
* @public
|
|
1264
|
+
*/
|
|
1265
|
+
QueryPricingModel?: QueryPricingModel;
|
|
1266
|
+
}
|
|
1199
1267
|
/**
|
|
1200
1268
|
* @public
|
|
1201
1269
|
*/
|
|
@@ -3,6 +3,7 @@ import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
|
3
3
|
import { CancelQueryCommandInput, CancelQueryCommandOutput } from "../commands/CancelQueryCommand";
|
|
4
4
|
import { CreateScheduledQueryCommandInput, CreateScheduledQueryCommandOutput } from "../commands/CreateScheduledQueryCommand";
|
|
5
5
|
import { DeleteScheduledQueryCommandInput, DeleteScheduledQueryCommandOutput } from "../commands/DeleteScheduledQueryCommand";
|
|
6
|
+
import { DescribeAccountSettingsCommandInput, DescribeAccountSettingsCommandOutput } from "../commands/DescribeAccountSettingsCommand";
|
|
6
7
|
import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "../commands/DescribeEndpointsCommand";
|
|
7
8
|
import { DescribeScheduledQueryCommandInput, DescribeScheduledQueryCommandOutput } from "../commands/DescribeScheduledQueryCommand";
|
|
8
9
|
import { ExecuteScheduledQueryCommandInput, ExecuteScheduledQueryCommandOutput } from "../commands/ExecuteScheduledQueryCommand";
|
|
@@ -12,6 +13,7 @@ import { PrepareQueryCommandInput, PrepareQueryCommandOutput } from "../commands
|
|
|
12
13
|
import { QueryCommandInput, QueryCommandOutput } from "../commands/QueryCommand";
|
|
13
14
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
14
15
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
16
|
+
import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "../commands/UpdateAccountSettingsCommand";
|
|
15
17
|
import { UpdateScheduledQueryCommandInput, UpdateScheduledQueryCommandOutput } from "../commands/UpdateScheduledQueryCommand";
|
|
16
18
|
/**
|
|
17
19
|
* serializeAws_json1_0CancelQueryCommand
|
|
@@ -25,6 +27,10 @@ export declare const se_CreateScheduledQueryCommand: (input: CreateScheduledQuer
|
|
|
25
27
|
* serializeAws_json1_0DeleteScheduledQueryCommand
|
|
26
28
|
*/
|
|
27
29
|
export declare const se_DeleteScheduledQueryCommand: (input: DeleteScheduledQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
30
|
+
/**
|
|
31
|
+
* serializeAws_json1_0DescribeAccountSettingsCommand
|
|
32
|
+
*/
|
|
33
|
+
export declare const se_DescribeAccountSettingsCommand: (input: DescribeAccountSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
28
34
|
/**
|
|
29
35
|
* serializeAws_json1_0DescribeEndpointsCommand
|
|
30
36
|
*/
|
|
@@ -61,6 +67,10 @@ export declare const se_TagResourceCommand: (input: TagResourceCommandInput, con
|
|
|
61
67
|
* serializeAws_json1_0UntagResourceCommand
|
|
62
68
|
*/
|
|
63
69
|
export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
70
|
+
/**
|
|
71
|
+
* serializeAws_json1_0UpdateAccountSettingsCommand
|
|
72
|
+
*/
|
|
73
|
+
export declare const se_UpdateAccountSettingsCommand: (input: UpdateAccountSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
64
74
|
/**
|
|
65
75
|
* serializeAws_json1_0UpdateScheduledQueryCommand
|
|
66
76
|
*/
|
|
@@ -77,6 +87,10 @@ export declare const de_CreateScheduledQueryCommand: (output: __HttpResponse, co
|
|
|
77
87
|
* deserializeAws_json1_0DeleteScheduledQueryCommand
|
|
78
88
|
*/
|
|
79
89
|
export declare const de_DeleteScheduledQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteScheduledQueryCommandOutput>;
|
|
90
|
+
/**
|
|
91
|
+
* deserializeAws_json1_0DescribeAccountSettingsCommand
|
|
92
|
+
*/
|
|
93
|
+
export declare const de_DescribeAccountSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAccountSettingsCommandOutput>;
|
|
80
94
|
/**
|
|
81
95
|
* deserializeAws_json1_0DescribeEndpointsCommand
|
|
82
96
|
*/
|
|
@@ -113,6 +127,10 @@ export declare const de_TagResourceCommand: (output: __HttpResponse, context: __
|
|
|
113
127
|
* deserializeAws_json1_0UntagResourceCommand
|
|
114
128
|
*/
|
|
115
129
|
export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
130
|
+
/**
|
|
131
|
+
* deserializeAws_json1_0UpdateAccountSettingsCommand
|
|
132
|
+
*/
|
|
133
|
+
export declare const de_UpdateAccountSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAccountSettingsCommandOutput>;
|
|
116
134
|
/**
|
|
117
135
|
* deserializeAws_json1_0UpdateScheduledQueryCommand
|
|
118
136
|
*/
|
|
@@ -11,6 +11,10 @@ import {
|
|
|
11
11
|
DeleteScheduledQueryCommandInput,
|
|
12
12
|
DeleteScheduledQueryCommandOutput,
|
|
13
13
|
} from "./commands/DeleteScheduledQueryCommand";
|
|
14
|
+
import {
|
|
15
|
+
DescribeAccountSettingsCommandInput,
|
|
16
|
+
DescribeAccountSettingsCommandOutput,
|
|
17
|
+
} from "./commands/DescribeAccountSettingsCommand";
|
|
14
18
|
import {
|
|
15
19
|
DescribeEndpointsCommandInput,
|
|
16
20
|
DescribeEndpointsCommandOutput,
|
|
@@ -44,6 +48,10 @@ import {
|
|
|
44
48
|
UntagResourceCommandInput,
|
|
45
49
|
UntagResourceCommandOutput,
|
|
46
50
|
} from "./commands/UntagResourceCommand";
|
|
51
|
+
import {
|
|
52
|
+
UpdateAccountSettingsCommandInput,
|
|
53
|
+
UpdateAccountSettingsCommandOutput,
|
|
54
|
+
} from "./commands/UpdateAccountSettingsCommand";
|
|
47
55
|
import {
|
|
48
56
|
UpdateScheduledQueryCommandInput,
|
|
49
57
|
UpdateScheduledQueryCommandOutput,
|
|
@@ -89,6 +97,20 @@ export interface TimestreamQuery {
|
|
|
89
97
|
options: __HttpHandlerOptions,
|
|
90
98
|
cb: (err: any, data?: DeleteScheduledQueryCommandOutput) => void
|
|
91
99
|
): void;
|
|
100
|
+
describeAccountSettings(): Promise<DescribeAccountSettingsCommandOutput>;
|
|
101
|
+
describeAccountSettings(
|
|
102
|
+
args: DescribeAccountSettingsCommandInput,
|
|
103
|
+
options?: __HttpHandlerOptions
|
|
104
|
+
): Promise<DescribeAccountSettingsCommandOutput>;
|
|
105
|
+
describeAccountSettings(
|
|
106
|
+
args: DescribeAccountSettingsCommandInput,
|
|
107
|
+
cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void
|
|
108
|
+
): void;
|
|
109
|
+
describeAccountSettings(
|
|
110
|
+
args: DescribeAccountSettingsCommandInput,
|
|
111
|
+
options: __HttpHandlerOptions,
|
|
112
|
+
cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void
|
|
113
|
+
): void;
|
|
92
114
|
describeEndpoints(): Promise<DescribeEndpointsCommandOutput>;
|
|
93
115
|
describeEndpoints(
|
|
94
116
|
args: DescribeEndpointsCommandInput,
|
|
@@ -208,6 +230,20 @@ export interface TimestreamQuery {
|
|
|
208
230
|
options: __HttpHandlerOptions,
|
|
209
231
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
210
232
|
): void;
|
|
233
|
+
updateAccountSettings(): Promise<UpdateAccountSettingsCommandOutput>;
|
|
234
|
+
updateAccountSettings(
|
|
235
|
+
args: UpdateAccountSettingsCommandInput,
|
|
236
|
+
options?: __HttpHandlerOptions
|
|
237
|
+
): Promise<UpdateAccountSettingsCommandOutput>;
|
|
238
|
+
updateAccountSettings(
|
|
239
|
+
args: UpdateAccountSettingsCommandInput,
|
|
240
|
+
cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void
|
|
241
|
+
): void;
|
|
242
|
+
updateAccountSettings(
|
|
243
|
+
args: UpdateAccountSettingsCommandInput,
|
|
244
|
+
options: __HttpHandlerOptions,
|
|
245
|
+
cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void
|
|
246
|
+
): void;
|
|
211
247
|
updateScheduledQuery(
|
|
212
248
|
args: UpdateScheduledQueryCommandInput,
|
|
213
249
|
options?: __HttpHandlerOptions
|
|
@@ -61,6 +61,10 @@ import {
|
|
|
61
61
|
DeleteScheduledQueryCommandInput,
|
|
62
62
|
DeleteScheduledQueryCommandOutput,
|
|
63
63
|
} from "./commands/DeleteScheduledQueryCommand";
|
|
64
|
+
import {
|
|
65
|
+
DescribeAccountSettingsCommandInput,
|
|
66
|
+
DescribeAccountSettingsCommandOutput,
|
|
67
|
+
} from "./commands/DescribeAccountSettingsCommand";
|
|
64
68
|
import {
|
|
65
69
|
DescribeEndpointsCommandInput,
|
|
66
70
|
DescribeEndpointsCommandOutput,
|
|
@@ -94,6 +98,10 @@ import {
|
|
|
94
98
|
UntagResourceCommandInput,
|
|
95
99
|
UntagResourceCommandOutput,
|
|
96
100
|
} from "./commands/UntagResourceCommand";
|
|
101
|
+
import {
|
|
102
|
+
UpdateAccountSettingsCommandInput,
|
|
103
|
+
UpdateAccountSettingsCommandOutput,
|
|
104
|
+
} from "./commands/UpdateAccountSettingsCommand";
|
|
97
105
|
import {
|
|
98
106
|
UpdateScheduledQueryCommandInput,
|
|
99
107
|
UpdateScheduledQueryCommandOutput,
|
|
@@ -109,6 +117,7 @@ export type ServiceInputTypes =
|
|
|
109
117
|
| CancelQueryCommandInput
|
|
110
118
|
| CreateScheduledQueryCommandInput
|
|
111
119
|
| DeleteScheduledQueryCommandInput
|
|
120
|
+
| DescribeAccountSettingsCommandInput
|
|
112
121
|
| DescribeEndpointsCommandInput
|
|
113
122
|
| DescribeScheduledQueryCommandInput
|
|
114
123
|
| ExecuteScheduledQueryCommandInput
|
|
@@ -118,11 +127,13 @@ export type ServiceInputTypes =
|
|
|
118
127
|
| QueryCommandInput
|
|
119
128
|
| TagResourceCommandInput
|
|
120
129
|
| UntagResourceCommandInput
|
|
130
|
+
| UpdateAccountSettingsCommandInput
|
|
121
131
|
| UpdateScheduledQueryCommandInput;
|
|
122
132
|
export type ServiceOutputTypes =
|
|
123
133
|
| CancelQueryCommandOutput
|
|
124
134
|
| CreateScheduledQueryCommandOutput
|
|
125
135
|
| DeleteScheduledQueryCommandOutput
|
|
136
|
+
| DescribeAccountSettingsCommandOutput
|
|
126
137
|
| DescribeEndpointsCommandOutput
|
|
127
138
|
| DescribeScheduledQueryCommandOutput
|
|
128
139
|
| ExecuteScheduledQueryCommandOutput
|
|
@@ -132,6 +143,7 @@ export type ServiceOutputTypes =
|
|
|
132
143
|
| QueryCommandOutput
|
|
133
144
|
| TagResourceCommandOutput
|
|
134
145
|
| UntagResourceCommandOutput
|
|
146
|
+
| UpdateAccountSettingsCommandOutput
|
|
135
147
|
| UpdateScheduledQueryCommandOutput;
|
|
136
148
|
export interface ClientDefaults
|
|
137
149
|
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DescribeAccountSettingsRequest,
|
|
5
|
+
DescribeAccountSettingsResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
TimestreamQueryClientResolvedConfig,
|
|
11
|
+
} from "../TimestreamQueryClient";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface DescribeAccountSettingsCommandInput
|
|
14
|
+
extends DescribeAccountSettingsRequest {}
|
|
15
|
+
export interface DescribeAccountSettingsCommandOutput
|
|
16
|
+
extends DescribeAccountSettingsResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const DescribeAccountSettingsCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: DescribeAccountSettingsCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
DescribeAccountSettingsCommandInput,
|
|
23
|
+
DescribeAccountSettingsCommandOutput,
|
|
24
|
+
TimestreamQueryClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [DescribeAccountSettingsCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
DescribeAccountSettingsCommandInput,
|
|
32
|
+
DescribeAccountSettingsCommandOutput,
|
|
33
|
+
TimestreamQueryClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class DescribeAccountSettingsCommand extends DescribeAccountSettingsCommand_base {}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
UpdateAccountSettingsRequest,
|
|
5
|
+
UpdateAccountSettingsResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
TimestreamQueryClientResolvedConfig,
|
|
11
|
+
} from "../TimestreamQueryClient";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface UpdateAccountSettingsCommandInput
|
|
14
|
+
extends UpdateAccountSettingsRequest {}
|
|
15
|
+
export interface UpdateAccountSettingsCommandOutput
|
|
16
|
+
extends UpdateAccountSettingsResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const UpdateAccountSettingsCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: UpdateAccountSettingsCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
UpdateAccountSettingsCommandInput,
|
|
23
|
+
UpdateAccountSettingsCommandOutput,
|
|
24
|
+
TimestreamQueryClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [UpdateAccountSettingsCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
UpdateAccountSettingsCommandInput,
|
|
32
|
+
UpdateAccountSettingsCommandOutput,
|
|
33
|
+
TimestreamQueryClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class UpdateAccountSettingsCommand extends UpdateAccountSettingsCommand_base {}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./CancelQueryCommand";
|
|
2
2
|
export * from "./CreateScheduledQueryCommand";
|
|
3
3
|
export * from "./DeleteScheduledQueryCommand";
|
|
4
|
+
export * from "./DescribeAccountSettingsCommand";
|
|
4
5
|
export * from "./DescribeEndpointsCommand";
|
|
5
6
|
export * from "./DescribeScheduledQueryCommand";
|
|
6
7
|
export * from "./ExecuteScheduledQueryCommand";
|
|
@@ -10,4 +11,5 @@ export * from "./PrepareQueryCommand";
|
|
|
10
11
|
export * from "./QueryCommand";
|
|
11
12
|
export * from "./TagResourceCommand";
|
|
12
13
|
export * from "./UntagResourceCommand";
|
|
14
|
+
export * from "./UpdateAccountSettingsCommand";
|
|
13
15
|
export * from "./UpdateScheduledQueryCommand";
|
|
@@ -183,6 +183,17 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
183
183
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
184
184
|
);
|
|
185
185
|
}
|
|
186
|
+
export interface DescribeAccountSettingsRequest {}
|
|
187
|
+
export declare const QueryPricingModel: {
|
|
188
|
+
readonly BYTES_SCANNED: "BYTES_SCANNED";
|
|
189
|
+
readonly COMPUTE_UNITS: "COMPUTE_UNITS";
|
|
190
|
+
};
|
|
191
|
+
export type QueryPricingModel =
|
|
192
|
+
(typeof QueryPricingModel)[keyof typeof QueryPricingModel];
|
|
193
|
+
export interface DescribeAccountSettingsResponse {
|
|
194
|
+
MaxQueryTCU?: number;
|
|
195
|
+
QueryPricingModel?: QueryPricingModel;
|
|
196
|
+
}
|
|
186
197
|
export interface DescribeEndpointsRequest {}
|
|
187
198
|
export interface Endpoint {
|
|
188
199
|
Address: string | undefined;
|
|
@@ -205,6 +216,7 @@ export interface ExecutionStats {
|
|
|
205
216
|
ExecutionTimeInMillis?: number;
|
|
206
217
|
DataWrites?: number;
|
|
207
218
|
BytesMetered?: number;
|
|
219
|
+
CumulativeBytesScanned?: number;
|
|
208
220
|
RecordsIngested?: number;
|
|
209
221
|
QueryResultRows?: number;
|
|
210
222
|
}
|
|
@@ -323,6 +335,14 @@ export interface UntagResourceRequest {
|
|
|
323
335
|
TagKeys: string[] | undefined;
|
|
324
336
|
}
|
|
325
337
|
export interface UntagResourceResponse {}
|
|
338
|
+
export interface UpdateAccountSettingsRequest {
|
|
339
|
+
MaxQueryTCU?: number;
|
|
340
|
+
QueryPricingModel?: QueryPricingModel;
|
|
341
|
+
}
|
|
342
|
+
export interface UpdateAccountSettingsResponse {
|
|
343
|
+
MaxQueryTCU?: number;
|
|
344
|
+
QueryPricingModel?: QueryPricingModel;
|
|
345
|
+
}
|
|
326
346
|
export interface UpdateScheduledQueryRequest {
|
|
327
347
|
ScheduledQueryArn: string | undefined;
|
|
328
348
|
State: ScheduledQueryState | undefined;
|
|
@@ -15,6 +15,10 @@ import {
|
|
|
15
15
|
DeleteScheduledQueryCommandInput,
|
|
16
16
|
DeleteScheduledQueryCommandOutput,
|
|
17
17
|
} from "../commands/DeleteScheduledQueryCommand";
|
|
18
|
+
import {
|
|
19
|
+
DescribeAccountSettingsCommandInput,
|
|
20
|
+
DescribeAccountSettingsCommandOutput,
|
|
21
|
+
} from "../commands/DescribeAccountSettingsCommand";
|
|
18
22
|
import {
|
|
19
23
|
DescribeEndpointsCommandInput,
|
|
20
24
|
DescribeEndpointsCommandOutput,
|
|
@@ -51,6 +55,10 @@ import {
|
|
|
51
55
|
UntagResourceCommandInput,
|
|
52
56
|
UntagResourceCommandOutput,
|
|
53
57
|
} from "../commands/UntagResourceCommand";
|
|
58
|
+
import {
|
|
59
|
+
UpdateAccountSettingsCommandInput,
|
|
60
|
+
UpdateAccountSettingsCommandOutput,
|
|
61
|
+
} from "../commands/UpdateAccountSettingsCommand";
|
|
54
62
|
import {
|
|
55
63
|
UpdateScheduledQueryCommandInput,
|
|
56
64
|
UpdateScheduledQueryCommandOutput,
|
|
@@ -67,6 +75,10 @@ export declare const se_DeleteScheduledQueryCommand: (
|
|
|
67
75
|
input: DeleteScheduledQueryCommandInput,
|
|
68
76
|
context: __SerdeContext
|
|
69
77
|
) => Promise<__HttpRequest>;
|
|
78
|
+
export declare const se_DescribeAccountSettingsCommand: (
|
|
79
|
+
input: DescribeAccountSettingsCommandInput,
|
|
80
|
+
context: __SerdeContext
|
|
81
|
+
) => Promise<__HttpRequest>;
|
|
70
82
|
export declare const se_DescribeEndpointsCommand: (
|
|
71
83
|
input: DescribeEndpointsCommandInput,
|
|
72
84
|
context: __SerdeContext
|
|
@@ -103,6 +115,10 @@ export declare const se_UntagResourceCommand: (
|
|
|
103
115
|
input: UntagResourceCommandInput,
|
|
104
116
|
context: __SerdeContext
|
|
105
117
|
) => Promise<__HttpRequest>;
|
|
118
|
+
export declare const se_UpdateAccountSettingsCommand: (
|
|
119
|
+
input: UpdateAccountSettingsCommandInput,
|
|
120
|
+
context: __SerdeContext
|
|
121
|
+
) => Promise<__HttpRequest>;
|
|
106
122
|
export declare const se_UpdateScheduledQueryCommand: (
|
|
107
123
|
input: UpdateScheduledQueryCommandInput,
|
|
108
124
|
context: __SerdeContext
|
|
@@ -119,6 +135,10 @@ export declare const de_DeleteScheduledQueryCommand: (
|
|
|
119
135
|
output: __HttpResponse,
|
|
120
136
|
context: __SerdeContext
|
|
121
137
|
) => Promise<DeleteScheduledQueryCommandOutput>;
|
|
138
|
+
export declare const de_DescribeAccountSettingsCommand: (
|
|
139
|
+
output: __HttpResponse,
|
|
140
|
+
context: __SerdeContext
|
|
141
|
+
) => Promise<DescribeAccountSettingsCommandOutput>;
|
|
122
142
|
export declare const de_DescribeEndpointsCommand: (
|
|
123
143
|
output: __HttpResponse,
|
|
124
144
|
context: __SerdeContext
|
|
@@ -155,6 +175,10 @@ export declare const de_UntagResourceCommand: (
|
|
|
155
175
|
output: __HttpResponse,
|
|
156
176
|
context: __SerdeContext
|
|
157
177
|
) => Promise<UntagResourceCommandOutput>;
|
|
178
|
+
export declare const de_UpdateAccountSettingsCommand: (
|
|
179
|
+
output: __HttpResponse,
|
|
180
|
+
context: __SerdeContext
|
|
181
|
+
) => Promise<UpdateAccountSettingsCommandOutput>;
|
|
158
182
|
export declare const de_UpdateScheduledQueryCommand: (
|
|
159
183
|
output: __HttpResponse,
|
|
160
184
|
context: __SerdeContext
|
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.567.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,18 +20,18 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-endpoint-discovery": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.567.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.567.0",
|
|
25
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.567.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.567.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.567.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.567.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.567.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.567.0",
|
|
31
|
+
"@aws-sdk/types": "3.567.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.567.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.567.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.567.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.2.0",
|
|
36
36
|
"@smithy/core": "^1.4.2",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.5.0",
|
|
@@ -61,8 +61,7 @@
|
|
|
61
61
|
"uuid": "^9.0.1"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@
|
|
65
|
-
"@tsconfig/node14": "1.0.3",
|
|
64
|
+
"@tsconfig/node16": "16.1.3",
|
|
66
65
|
"@types/node": "^14.14.31",
|
|
67
66
|
"@types/uuid": "^9.0.4",
|
|
68
67
|
"concurrently": "7.0.0",
|
|
@@ -71,7 +70,7 @@
|
|
|
71
70
|
"typescript": "~4.9.5"
|
|
72
71
|
},
|
|
73
72
|
"engines": {
|
|
74
|
-
"node": ">=
|
|
73
|
+
"node": ">=16.0.0"
|
|
75
74
|
},
|
|
76
75
|
"typesVersions": {
|
|
77
76
|
"<4.0": {
|