@aws-sdk/client-timestream-query 3.563.0 → 3.565.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.
Files changed (33) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +88 -0
  3. package/dist-es/TimestreamQuery.js +4 -0
  4. package/dist-es/commands/DescribeAccountSettingsCommand.js +26 -0
  5. package/dist-es/commands/UpdateAccountSettingsCommand.js +26 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +4 -0
  8. package/dist-es/protocols/Aws_json1_0.js +38 -0
  9. package/dist-types/TimestreamQuery.d.ts +16 -0
  10. package/dist-types/TimestreamQueryClient.d.ts +4 -2
  11. package/dist-types/commands/CancelQueryCommand.d.ts +1 -1
  12. package/dist-types/commands/CreateScheduledQueryCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteScheduledQueryCommand.d.ts +1 -1
  14. package/dist-types/commands/DescribeAccountSettingsCommand.d.ts +73 -0
  15. package/dist-types/commands/DescribeEndpointsCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeScheduledQueryCommand.d.ts +3 -1
  17. package/dist-types/commands/ExecuteScheduledQueryCommand.d.ts +1 -1
  18. package/dist-types/commands/ListScheduledQueriesCommand.d.ts +1 -1
  19. package/dist-types/commands/PrepareQueryCommand.d.ts +1 -1
  20. package/dist-types/commands/QueryCommand.d.ts +1 -1
  21. package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +81 -0
  22. package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +1 -1
  23. package/dist-types/commands/index.d.ts +2 -0
  24. package/dist-types/models/models_0.d.ts +69 -1
  25. package/dist-types/protocols/Aws_json1_0.d.ts +18 -0
  26. package/dist-types/ts3.4/TimestreamQuery.d.ts +36 -0
  27. package/dist-types/ts3.4/TimestreamQueryClient.d.ts +12 -0
  28. package/dist-types/ts3.4/commands/DescribeAccountSettingsCommand.d.ts +39 -0
  29. package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +39 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +20 -0
  32. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
  33. package/package.json +2 -3
package/README.md CHANGED
@@ -229,6 +229,14 @@ DeleteScheduledQuery
229
229
 
230
230
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-query/command/DeleteScheduledQueryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-query/Interface/DeleteScheduledQueryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-query/Interface/DeleteScheduledQueryCommandOutput/)
231
231
 
232
+ </details>
233
+ <details>
234
+ <summary>
235
+ DescribeAccountSettings
236
+ </summary>
237
+
238
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-query/command/DescribeAccountSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-query/Interface/DescribeAccountSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-query/Interface/DescribeAccountSettingsCommandOutput/)
239
+
232
240
  </details>
233
241
  <details>
234
242
  <summary>
@@ -301,6 +309,14 @@ UntagResource
301
309
 
302
310
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-query/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-query/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-query/Interface/UntagResourceCommandOutput/)
303
311
 
312
+ </details>
313
+ <details>
314
+ <summary>
315
+ UpdateAccountSettings
316
+ </summary>
317
+
318
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-query/command/UpdateAccountSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-query/Interface/UpdateAccountSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-query/Interface/UpdateAccountSettingsCommandOutput/)
319
+
304
320
  </details>
305
321
  <details>
306
322
  <summary>
package/dist-cjs/index.js CHANGED
@@ -27,6 +27,7 @@ __export(src_exports, {
27
27
  CreateScheduledQueryCommand: () => CreateScheduledQueryCommand,
28
28
  CreateScheduledQueryRequestFilterSensitiveLog: () => CreateScheduledQueryRequestFilterSensitiveLog,
29
29
  DeleteScheduledQueryCommand: () => DeleteScheduledQueryCommand,
30
+ DescribeAccountSettingsCommand: () => DescribeAccountSettingsCommand,
30
31
  DescribeEndpointsCommand: () => DescribeEndpointsCommand,
31
32
  DescribeScheduledQueryCommand: () => DescribeScheduledQueryCommand,
32
33
  DescribeScheduledQueryResponseFilterSensitiveLog: () => DescribeScheduledQueryResponseFilterSensitiveLog,
@@ -43,6 +44,7 @@ __export(src_exports, {
43
44
  PrepareQueryResponseFilterSensitiveLog: () => PrepareQueryResponseFilterSensitiveLog,
44
45
  QueryCommand: () => QueryCommand,
45
46
  QueryExecutionException: () => QueryExecutionException,
47
+ QueryPricingModel: () => QueryPricingModel,
46
48
  QueryRequestFilterSensitiveLog: () => QueryRequestFilterSensitiveLog,
47
49
  ResourceNotFoundException: () => ResourceNotFoundException,
48
50
  S3EncryptionOption: () => S3EncryptionOption,
@@ -58,6 +60,7 @@ __export(src_exports, {
58
60
  TimestreamQueryClient: () => TimestreamQueryClient,
59
61
  TimestreamQueryServiceException: () => TimestreamQueryServiceException,
60
62
  UntagResourceCommand: () => UntagResourceCommand,
63
+ UpdateAccountSettingsCommand: () => UpdateAccountSettingsCommand,
61
64
  UpdateScheduledQueryCommand: () => UpdateScheduledQueryCommand,
62
65
  ValidationException: () => ValidationException,
63
66
  __Client: () => import_smithy_client.Client,
@@ -306,6 +309,10 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Timest
306
309
  };
307
310
  __name(_ResourceNotFoundException, "ResourceNotFoundException");
308
311
  var ResourceNotFoundException = _ResourceNotFoundException;
312
+ var QueryPricingModel = {
313
+ BYTES_SCANNED: "BYTES_SCANNED",
314
+ COMPUTE_UNITS: "COMPUTE_UNITS"
315
+ };
309
316
  var ScheduledQueryRunStatus = {
310
317
  AUTO_TRIGGER_FAILURE: "AUTO_TRIGGER_FAILURE",
311
318
  AUTO_TRIGGER_SUCCESS: "AUTO_TRIGGER_SUCCESS",
@@ -384,6 +391,12 @@ var se_DeleteScheduledQueryCommand = /* @__PURE__ */ __name(async (input, contex
384
391
  body = JSON.stringify((0, import_smithy_client._json)(input));
385
392
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
386
393
  }, "se_DeleteScheduledQueryCommand");
394
+ var se_DescribeAccountSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
395
+ const headers = sharedHeaders("DescribeAccountSettings");
396
+ let body;
397
+ body = JSON.stringify((0, import_smithy_client._json)(input));
398
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
399
+ }, "se_DescribeAccountSettingsCommand");
387
400
  var se_DescribeEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {
388
401
  const headers = sharedHeaders("DescribeEndpoints");
389
402
  let body;
@@ -438,6 +451,12 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
438
451
  body = JSON.stringify((0, import_smithy_client._json)(input));
439
452
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
440
453
  }, "se_UntagResourceCommand");
454
+ var se_UpdateAccountSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
455
+ const headers = sharedHeaders("UpdateAccountSettings");
456
+ let body;
457
+ body = JSON.stringify((0, import_smithy_client._json)(input));
458
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
459
+ }, "se_UpdateAccountSettingsCommand");
441
460
  var se_UpdateScheduledQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
442
461
  const headers = sharedHeaders("UpdateScheduledQuery");
443
462
  let body;
@@ -480,6 +499,19 @@ var de_DeleteScheduledQueryCommand = /* @__PURE__ */ __name(async (output, conte
480
499
  };
481
500
  return response;
482
501
  }, "de_DeleteScheduledQueryCommand");
502
+ var de_DescribeAccountSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
503
+ if (output.statusCode >= 300) {
504
+ return de_CommandError(output, context);
505
+ }
506
+ const data = await (0, import_core.parseJsonBody)(output.body, context);
507
+ let contents = {};
508
+ contents = (0, import_smithy_client._json)(data);
509
+ const response = {
510
+ $metadata: deserializeMetadata(output),
511
+ ...contents
512
+ };
513
+ return response;
514
+ }, "de_DescribeAccountSettingsCommand");
483
515
  var de_DescribeEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {
484
516
  if (output.statusCode >= 300) {
485
517
  return de_CommandError(output, context);
@@ -594,6 +626,19 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
594
626
  };
595
627
  return response;
596
628
  }, "de_UntagResourceCommand");
629
+ var de_UpdateAccountSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
630
+ if (output.statusCode >= 300) {
631
+ return de_CommandError(output, context);
632
+ }
633
+ const data = await (0, import_core.parseJsonBody)(output.body, context);
634
+ let contents = {};
635
+ contents = (0, import_smithy_client._json)(data);
636
+ const response = {
637
+ $metadata: deserializeMetadata(output),
638
+ ...contents
639
+ };
640
+ return response;
641
+ }, "de_UpdateAccountSettingsCommand");
597
642
  var de_UpdateScheduledQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
598
643
  if (output.statusCode >= 300) {
599
644
  return de_CommandError(output, context);
@@ -1153,6 +1198,25 @@ var _DeleteScheduledQueryCommand = class _DeleteScheduledQueryCommand extends im
1153
1198
  __name(_DeleteScheduledQueryCommand, "DeleteScheduledQueryCommand");
1154
1199
  var DeleteScheduledQueryCommand = _DeleteScheduledQueryCommand;
1155
1200
 
1201
+ // src/commands/DescribeAccountSettingsCommand.ts
1202
+
1203
+
1204
+
1205
+
1206
+
1207
+ var _DescribeAccountSettingsCommand = class _DescribeAccountSettingsCommand extends import_smithy_client.Command.classBuilder().ep({
1208
+ ...commonParams
1209
+ }).m(function(Command, cs, config, o) {
1210
+ return [
1211
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1212
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
1213
+ (0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
1214
+ ];
1215
+ }).s("Timestream_20181101", "DescribeAccountSettings", {}).n("TimestreamQueryClient", "DescribeAccountSettingsCommand").f(void 0, void 0).ser(se_DescribeAccountSettingsCommand).de(de_DescribeAccountSettingsCommand).build() {
1216
+ };
1217
+ __name(_DescribeAccountSettingsCommand, "DescribeAccountSettingsCommand");
1218
+ var DescribeAccountSettingsCommand = _DescribeAccountSettingsCommand;
1219
+
1156
1220
  // src/commands/DescribeScheduledQueryCommand.ts
1157
1221
 
1158
1222
 
@@ -1305,6 +1369,25 @@ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_cl
1305
1369
  __name(_UntagResourceCommand, "UntagResourceCommand");
1306
1370
  var UntagResourceCommand = _UntagResourceCommand;
1307
1371
 
1372
+ // src/commands/UpdateAccountSettingsCommand.ts
1373
+
1374
+
1375
+
1376
+
1377
+
1378
+ var _UpdateAccountSettingsCommand = class _UpdateAccountSettingsCommand extends import_smithy_client.Command.classBuilder().ep({
1379
+ ...commonParams
1380
+ }).m(function(Command, cs, config, o) {
1381
+ return [
1382
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1383
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
1384
+ (0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
1385
+ ];
1386
+ }).s("Timestream_20181101", "UpdateAccountSettings", {}).n("TimestreamQueryClient", "UpdateAccountSettingsCommand").f(void 0, void 0).ser(se_UpdateAccountSettingsCommand).de(de_UpdateAccountSettingsCommand).build() {
1387
+ };
1388
+ __name(_UpdateAccountSettingsCommand, "UpdateAccountSettingsCommand");
1389
+ var UpdateAccountSettingsCommand = _UpdateAccountSettingsCommand;
1390
+
1308
1391
  // src/commands/UpdateScheduledQueryCommand.ts
1309
1392
 
1310
1393
 
@@ -1329,6 +1412,7 @@ var commands = {
1329
1412
  CancelQueryCommand,
1330
1413
  CreateScheduledQueryCommand,
1331
1414
  DeleteScheduledQueryCommand,
1415
+ DescribeAccountSettingsCommand,
1332
1416
  DescribeEndpointsCommand,
1333
1417
  DescribeScheduledQueryCommand,
1334
1418
  ExecuteScheduledQueryCommand,
@@ -1338,6 +1422,7 @@ var commands = {
1338
1422
  QueryCommand,
1339
1423
  TagResourceCommand,
1340
1424
  UntagResourceCommand,
1425
+ UpdateAccountSettingsCommand,
1341
1426
  UpdateScheduledQueryCommand
1342
1427
  };
1343
1428
  var _TimestreamQuery = class _TimestreamQuery extends TimestreamQueryClient {
@@ -1368,6 +1453,7 @@ var paginateQuery = (0, import_core5.createPaginator)(TimestreamQueryClient, Que
1368
1453
  CancelQueryCommand,
1369
1454
  CreateScheduledQueryCommand,
1370
1455
  DeleteScheduledQueryCommand,
1456
+ DescribeAccountSettingsCommand,
1371
1457
  DescribeEndpointsCommand,
1372
1458
  DescribeScheduledQueryCommand,
1373
1459
  ExecuteScheduledQueryCommand,
@@ -1377,6 +1463,7 @@ var paginateQuery = (0, import_core5.createPaginator)(TimestreamQueryClient, Que
1377
1463
  QueryCommand,
1378
1464
  TagResourceCommand,
1379
1465
  UntagResourceCommand,
1466
+ UpdateAccountSettingsCommand,
1380
1467
  UpdateScheduledQueryCommand,
1381
1468
  paginateListScheduledQueries,
1382
1469
  paginateListTagsForResource,
@@ -1394,6 +1481,7 @@ var paginateQuery = (0, import_core5.createPaginator)(TimestreamQueryClient, Que
1394
1481
  ScalarMeasureValueType,
1395
1482
  ServiceQuotaExceededException,
1396
1483
  ResourceNotFoundException,
1484
+ QueryPricingModel,
1397
1485
  ScheduledQueryRunStatus,
1398
1486
  ScheduledQueryState,
1399
1487
  QueryExecutionException,
@@ -2,6 +2,7 @@ import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { CancelQueryCommand } from "./commands/CancelQueryCommand";
3
3
  import { CreateScheduledQueryCommand, } from "./commands/CreateScheduledQueryCommand";
4
4
  import { DeleteScheduledQueryCommand, } from "./commands/DeleteScheduledQueryCommand";
5
+ import { DescribeAccountSettingsCommand, } from "./commands/DescribeAccountSettingsCommand";
5
6
  import { DescribeEndpointsCommand, } from "./commands/DescribeEndpointsCommand";
6
7
  import { DescribeScheduledQueryCommand, } from "./commands/DescribeScheduledQueryCommand";
7
8
  import { ExecuteScheduledQueryCommand, } from "./commands/ExecuteScheduledQueryCommand";
@@ -11,12 +12,14 @@ import { PrepareQueryCommand, } from "./commands/PrepareQueryCommand";
11
12
  import { QueryCommand } from "./commands/QueryCommand";
12
13
  import { TagResourceCommand } from "./commands/TagResourceCommand";
13
14
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
15
+ import { UpdateAccountSettingsCommand, } from "./commands/UpdateAccountSettingsCommand";
14
16
  import { UpdateScheduledQueryCommand, } from "./commands/UpdateScheduledQueryCommand";
15
17
  import { TimestreamQueryClient } from "./TimestreamQueryClient";
16
18
  const commands = {
17
19
  CancelQueryCommand,
18
20
  CreateScheduledQueryCommand,
19
21
  DeleteScheduledQueryCommand,
22
+ DescribeAccountSettingsCommand,
20
23
  DescribeEndpointsCommand,
21
24
  DescribeScheduledQueryCommand,
22
25
  ExecuteScheduledQueryCommand,
@@ -26,6 +29,7 @@ const commands = {
26
29
  QueryCommand,
27
30
  TagResourceCommand,
28
31
  UntagResourceCommand,
32
+ UpdateAccountSettingsCommand,
29
33
  UpdateScheduledQueryCommand,
30
34
  };
31
35
  export class TimestreamQuery extends TimestreamQueryClient {
@@ -0,0 +1,26 @@
1
+ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { getSerdePlugin } from "@smithy/middleware-serde";
4
+ import { Command as $Command } from "@smithy/smithy-client";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
+ import { de_DescribeAccountSettingsCommand, se_DescribeAccountSettingsCommand } from "../protocols/Aws_json1_0";
7
+ export { $Command };
8
+ export class DescribeAccountSettingsCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getEndpointDiscoveryPlugin(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o }),
18
+ ];
19
+ })
20
+ .s("Timestream_20181101", "DescribeAccountSettings", {})
21
+ .n("TimestreamQueryClient", "DescribeAccountSettingsCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_DescribeAccountSettingsCommand)
24
+ .de(de_DescribeAccountSettingsCommand)
25
+ .build() {
26
+ }
@@ -0,0 +1,26 @@
1
+ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { getSerdePlugin } from "@smithy/middleware-serde";
4
+ import { Command as $Command } from "@smithy/smithy-client";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
+ import { de_UpdateAccountSettingsCommand, se_UpdateAccountSettingsCommand } from "../protocols/Aws_json1_0";
7
+ export { $Command };
8
+ export class UpdateAccountSettingsCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getEndpointDiscoveryPlugin(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o }),
18
+ ];
19
+ })
20
+ .s("Timestream_20181101", "UpdateAccountSettings", {})
21
+ .n("TimestreamQueryClient", "UpdateAccountSettingsCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_UpdateAccountSettingsCommand)
24
+ .de(de_UpdateAccountSettingsCommand)
25
+ .build() {
26
+ }
@@ -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";
@@ -139,6 +139,10 @@ export class ResourceNotFoundException extends __BaseException {
139
139
  this.ScheduledQueryArn = opts.ScheduledQueryArn;
140
140
  }
141
141
  }
142
+ export const QueryPricingModel = {
143
+ BYTES_SCANNED: "BYTES_SCANNED",
144
+ COMPUTE_UNITS: "COMPUTE_UNITS",
145
+ };
142
146
  export const ScheduledQueryRunStatus = {
143
147
  AUTO_TRIGGER_FAILURE: "AUTO_TRIGGER_FAILURE",
144
148
  AUTO_TRIGGER_SUCCESS: "AUTO_TRIGGER_SUCCESS",
@@ -22,6 +22,12 @@ export const se_DeleteScheduledQueryCommand = async (input, context) => {
22
22
  body = JSON.stringify(_json(input));
23
23
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
24
24
  };
25
+ export const se_DescribeAccountSettingsCommand = async (input, context) => {
26
+ const headers = sharedHeaders("DescribeAccountSettings");
27
+ let body;
28
+ body = JSON.stringify(_json(input));
29
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
30
+ };
25
31
  export const se_DescribeEndpointsCommand = async (input, context) => {
26
32
  const headers = sharedHeaders("DescribeEndpoints");
27
33
  let body;
@@ -76,6 +82,12 @@ export const se_UntagResourceCommand = async (input, context) => {
76
82
  body = JSON.stringify(_json(input));
77
83
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
78
84
  };
85
+ export const se_UpdateAccountSettingsCommand = async (input, context) => {
86
+ const headers = sharedHeaders("UpdateAccountSettings");
87
+ let body;
88
+ body = JSON.stringify(_json(input));
89
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
90
+ };
79
91
  export const se_UpdateScheduledQueryCommand = async (input, context) => {
80
92
  const headers = sharedHeaders("UpdateScheduledQuery");
81
93
  let body;
@@ -118,6 +130,19 @@ export const de_DeleteScheduledQueryCommand = async (output, context) => {
118
130
  };
119
131
  return response;
120
132
  };
133
+ export const de_DescribeAccountSettingsCommand = async (output, context) => {
134
+ if (output.statusCode >= 300) {
135
+ return de_CommandError(output, context);
136
+ }
137
+ const data = await parseBody(output.body, context);
138
+ let contents = {};
139
+ contents = _json(data);
140
+ const response = {
141
+ $metadata: deserializeMetadata(output),
142
+ ...contents,
143
+ };
144
+ return response;
145
+ };
121
146
  export const de_DescribeEndpointsCommand = async (output, context) => {
122
147
  if (output.statusCode >= 300) {
123
148
  return de_CommandError(output, context);
@@ -232,6 +257,19 @@ export const de_UntagResourceCommand = async (output, context) => {
232
257
  };
233
258
  return response;
234
259
  };
260
+ export const de_UpdateAccountSettingsCommand = async (output, context) => {
261
+ if (output.statusCode >= 300) {
262
+ return de_CommandError(output, context);
263
+ }
264
+ const data = await parseBody(output.body, context);
265
+ let contents = {};
266
+ contents = _json(data);
267
+ const response = {
268
+ $metadata: deserializeMetadata(output),
269
+ ...contents,
270
+ };
271
+ return response;
272
+ };
235
273
  export const de_UpdateScheduledQueryCommand = async (output, context) => {
236
274
  if (output.statusCode >= 300) {
237
275
  return de_CommandError(output, context);
@@ -2,6 +2,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
3
3
  import { CreateScheduledQueryCommandInput, CreateScheduledQueryCommandOutput } from "./commands/CreateScheduledQueryCommand";
4
4
  import { DeleteScheduledQueryCommandInput, DeleteScheduledQueryCommandOutput } from "./commands/DeleteScheduledQueryCommand";
5
+ import { DescribeAccountSettingsCommandInput, DescribeAccountSettingsCommandOutput } from "./commands/DescribeAccountSettingsCommand";
5
6
  import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "./commands/DescribeEndpointsCommand";
6
7
  import { DescribeScheduledQueryCommandInput, DescribeScheduledQueryCommandOutput } from "./commands/DescribeScheduledQueryCommand";
7
8
  import { ExecuteScheduledQueryCommandInput, ExecuteScheduledQueryCommandOutput } from "./commands/ExecuteScheduledQueryCommand";
@@ -11,6 +12,7 @@ import { PrepareQueryCommandInput, PrepareQueryCommandOutput } from "./commands/
11
12
  import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
12
13
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
13
14
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
15
+ import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "./commands/UpdateAccountSettingsCommand";
14
16
  import { UpdateScheduledQueryCommandInput, UpdateScheduledQueryCommandOutput } from "./commands/UpdateScheduledQueryCommand";
15
17
  import { TimestreamQueryClient } from "./TimestreamQueryClient";
16
18
  export interface TimestreamQuery {
@@ -32,6 +34,13 @@ export interface TimestreamQuery {
32
34
  deleteScheduledQuery(args: DeleteScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScheduledQueryCommandOutput>;
33
35
  deleteScheduledQuery(args: DeleteScheduledQueryCommandInput, cb: (err: any, data?: DeleteScheduledQueryCommandOutput) => void): void;
34
36
  deleteScheduledQuery(args: DeleteScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScheduledQueryCommandOutput) => void): void;
37
+ /**
38
+ * @see {@link DescribeAccountSettingsCommand}
39
+ */
40
+ describeAccountSettings(): Promise<DescribeAccountSettingsCommandOutput>;
41
+ describeAccountSettings(args: DescribeAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAccountSettingsCommandOutput>;
42
+ describeAccountSettings(args: DescribeAccountSettingsCommandInput, cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void): void;
43
+ describeAccountSettings(args: DescribeAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void): void;
35
44
  /**
36
45
  * @see {@link DescribeEndpointsCommand}
37
46
  */
@@ -88,6 +97,13 @@ export interface TimestreamQuery {
88
97
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
89
98
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
90
99
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
100
+ /**
101
+ * @see {@link UpdateAccountSettingsCommand}
102
+ */
103
+ updateAccountSettings(): Promise<UpdateAccountSettingsCommandOutput>;
104
+ updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAccountSettingsCommandOutput>;
105
+ updateAccountSettings(args: UpdateAccountSettingsCommandInput, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
106
+ updateAccountSettings(args: UpdateAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
91
107
  /**
92
108
  * @see {@link UpdateScheduledQueryCommand}
93
109
  */
@@ -11,6 +11,7 @@ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/
11
11
  import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
12
12
  import { CreateScheduledQueryCommandInput, CreateScheduledQueryCommandOutput } from "./commands/CreateScheduledQueryCommand";
13
13
  import { DeleteScheduledQueryCommandInput, DeleteScheduledQueryCommandOutput } from "./commands/DeleteScheduledQueryCommand";
14
+ import { DescribeAccountSettingsCommandInput, DescribeAccountSettingsCommandOutput } from "./commands/DescribeAccountSettingsCommand";
14
15
  import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "./commands/DescribeEndpointsCommand";
15
16
  import { DescribeScheduledQueryCommandInput, DescribeScheduledQueryCommandOutput } from "./commands/DescribeScheduledQueryCommand";
16
17
  import { ExecuteScheduledQueryCommandInput, ExecuteScheduledQueryCommandOutput } from "./commands/ExecuteScheduledQueryCommand";
@@ -20,6 +21,7 @@ import { PrepareQueryCommandInput, PrepareQueryCommandOutput } from "./commands/
20
21
  import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
21
22
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
22
23
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
24
+ import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "./commands/UpdateAccountSettingsCommand";
23
25
  import { UpdateScheduledQueryCommandInput, UpdateScheduledQueryCommandOutput } from "./commands/UpdateScheduledQueryCommand";
24
26
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
25
27
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
@@ -27,11 +29,11 @@ export { __Client };
27
29
  /**
28
30
  * @public
29
31
  */
30
- export type ServiceInputTypes = CancelQueryCommandInput | CreateScheduledQueryCommandInput | DeleteScheduledQueryCommandInput | DescribeEndpointsCommandInput | DescribeScheduledQueryCommandInput | ExecuteScheduledQueryCommandInput | ListScheduledQueriesCommandInput | ListTagsForResourceCommandInput | PrepareQueryCommandInput | QueryCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateScheduledQueryCommandInput;
32
+ export type ServiceInputTypes = CancelQueryCommandInput | CreateScheduledQueryCommandInput | DeleteScheduledQueryCommandInput | DescribeAccountSettingsCommandInput | DescribeEndpointsCommandInput | DescribeScheduledQueryCommandInput | ExecuteScheduledQueryCommandInput | ListScheduledQueriesCommandInput | ListTagsForResourceCommandInput | PrepareQueryCommandInput | QueryCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountSettingsCommandInput | UpdateScheduledQueryCommandInput;
31
33
  /**
32
34
  * @public
33
35
  */
34
- export type ServiceOutputTypes = CancelQueryCommandOutput | CreateScheduledQueryCommandOutput | DeleteScheduledQueryCommandOutput | DescribeEndpointsCommandOutput | DescribeScheduledQueryCommandOutput | ExecuteScheduledQueryCommandOutput | ListScheduledQueriesCommandOutput | ListTagsForResourceCommandOutput | PrepareQueryCommandOutput | QueryCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateScheduledQueryCommandOutput;
36
+ export type ServiceOutputTypes = CancelQueryCommandOutput | CreateScheduledQueryCommandOutput | DeleteScheduledQueryCommandOutput | DescribeAccountSettingsCommandOutput | DescribeEndpointsCommandOutput | DescribeScheduledQueryCommandOutput | ExecuteScheduledQueryCommandOutput | ListScheduledQueriesCommandOutput | ListTagsForResourceCommandOutput | PrepareQueryCommandOutput | QueryCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountSettingsCommandOutput | UpdateScheduledQueryCommandOutput;
35
37
  /**
36
38
  * @public
37
39
  */
@@ -60,7 +60,7 @@ declare const CancelQueryCommand_base: {
60
60
  *
61
61
  * @throws {@link InternalServerException} (server fault)
62
62
  * <p>
63
- * Timestream was unable to fully process this request because of an internal
63
+ * The service was unable to fully process this request because of an internal
64
64
  * server error. </p>
65
65
  *
66
66
  * @throws {@link InvalidEndpointException} (client fault)
@@ -126,7 +126,7 @@ declare const CreateScheduledQueryCommand_base: {
126
126
  *
127
127
  * @throws {@link InternalServerException} (server fault)
128
128
  * <p>
129
- * Timestream was unable to fully process this request because of an internal
129
+ * The service was unable to fully process this request because of an internal
130
130
  * server error. </p>
131
131
  *
132
132
  * @throws {@link InvalidEndpointException} (client fault)
@@ -53,7 +53,7 @@ declare const DeleteScheduledQueryCommand_base: {
53
53
  *
54
54
  * @throws {@link InternalServerException} (server fault)
55
55
  * <p>
56
- * Timestream was unable to fully process this request because of an internal
56
+ * The service was unable to fully process this request because of an internal
57
57
  * server error. </p>
58
58
  *
59
59
  * @throws {@link InvalidEndpointException} (client fault)
@@ -0,0 +1,73 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DescribeAccountSettingsRequest, DescribeAccountSettingsResponse } 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 DescribeAccountSettingsCommand}.
13
+ */
14
+ export interface DescribeAccountSettingsCommandInput extends DescribeAccountSettingsRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link DescribeAccountSettingsCommand}.
20
+ */
21
+ export interface DescribeAccountSettingsCommandOutput extends DescribeAccountSettingsResponse, __MetadataBearer {
22
+ }
23
+ declare const DescribeAccountSettingsCommand_base: {
24
+ new (input: DescribeAccountSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAccountSettingsCommandInput, DescribeAccountSettingsCommandOutput, TimestreamQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [DescribeAccountSettingsCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeAccountSettingsCommandInput, DescribeAccountSettingsCommandOutput, TimestreamQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Describes the settings for your account that include the query pricing model and the configured maximum TCUs the service can use for your query workload.</p>
30
+ * <p>You're charged only for the duration of compute units used for your workloads.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { TimestreamQueryClient, DescribeAccountSettingsCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
35
+ * // const { TimestreamQueryClient, DescribeAccountSettingsCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
36
+ * const client = new TimestreamQueryClient(config);
37
+ * const input = {};
38
+ * const command = new DescribeAccountSettingsCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // DescribeAccountSettingsResponse
41
+ * // MaxQueryTCU: Number("int"),
42
+ * // QueryPricingModel: "BYTES_SCANNED" || "COMPUTE_UNITS",
43
+ * // };
44
+ *
45
+ * ```
46
+ *
47
+ * @param DescribeAccountSettingsCommandInput - {@link DescribeAccountSettingsCommandInput}
48
+ * @returns {@link DescribeAccountSettingsCommandOutput}
49
+ * @see {@link DescribeAccountSettingsCommandInput} for command's `input` shape.
50
+ * @see {@link DescribeAccountSettingsCommandOutput} for command's `response` shape.
51
+ * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p> You are not authorized to perform this action. </p>
55
+ *
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>
60
+ *
61
+ * @throws {@link InvalidEndpointException} (client fault)
62
+ * <p>The requested endpoint was not valid.</p>
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * <p>The request was denied due to request throttling.</p>
66
+ *
67
+ * @throws {@link TimestreamQueryServiceException}
68
+ * <p>Base exception class for all service exceptions from TimestreamQuery service.</p>
69
+ *
70
+ * @public
71
+ */
72
+ export declare class DescribeAccountSettingsCommand extends DescribeAccountSettingsCommand_base {
73
+ }
@@ -75,7 +75,7 @@ declare const DescribeEndpointsCommand_base: {
75
75
  *
76
76
  * @throws {@link InternalServerException} (server fault)
77
77
  * <p>
78
- * Timestream was unable to fully process this request because of an internal
78
+ * The service was unable to fully process this request because of an internal
79
79
  * server error. </p>
80
80
  *
81
81
  * @throws {@link ThrottlingException} (client fault)
@@ -111,6 +111,7 @@ declare const DescribeScheduledQueryCommand_base: {
111
111
  * // ExecutionTimeInMillis: Number("long"),
112
112
  * // DataWrites: Number("long"),
113
113
  * // BytesMetered: Number("long"),
114
+ * // CumulativeBytesScanned: Number("long"),
114
115
  * // RecordsIngested: Number("long"),
115
116
  * // QueryResultRows: Number("long"),
116
117
  * // },
@@ -131,6 +132,7 @@ declare const DescribeScheduledQueryCommand_base: {
131
132
  * // ExecutionTimeInMillis: Number("long"),
132
133
  * // DataWrites: Number("long"),
133
134
  * // BytesMetered: Number("long"),
135
+ * // CumulativeBytesScanned: Number("long"),
134
136
  * // RecordsIngested: Number("long"),
135
137
  * // QueryResultRows: Number("long"),
136
138
  * // },
@@ -159,7 +161,7 @@ declare const DescribeScheduledQueryCommand_base: {
159
161
  *
160
162
  * @throws {@link InternalServerException} (server fault)
161
163
  * <p>
162
- * Timestream was unable to fully process this request because of an internal
164
+ * The service was unable to fully process this request because of an internal
163
165
  * server error. </p>
164
166
  *
165
167
  * @throws {@link InvalidEndpointException} (client fault)
@@ -55,7 +55,7 @@ declare const ExecuteScheduledQueryCommand_base: {
55
55
  *
56
56
  * @throws {@link InternalServerException} (server fault)
57
57
  * <p>
58
- * Timestream was unable to fully process this request because of an internal
58
+ * The service was unable to fully process this request because of an internal
59
59
  * server error. </p>
60
60
  *
61
61
  * @throws {@link InvalidEndpointException} (client fault)
@@ -81,7 +81,7 @@ declare const ListScheduledQueriesCommand_base: {
81
81
  *
82
82
  * @throws {@link InternalServerException} (server fault)
83
83
  * <p>
84
- * Timestream was unable to fully process this request because of an internal
84
+ * The service was unable to fully process this request because of an internal
85
85
  * server error. </p>
86
86
  *
87
87
  * @throws {@link InvalidEndpointException} (client fault)
@@ -96,7 +96,7 @@ declare const PrepareQueryCommand_base: {
96
96
  *
97
97
  * @throws {@link InternalServerException} (server fault)
98
98
  * <p>
99
- * Timestream was unable to fully process this request because of an internal
99
+ * The service was unable to fully process this request because of an internal
100
100
  * server error. </p>
101
101
  *
102
102
  * @throws {@link InvalidEndpointException} (client fault)
@@ -151,7 +151,7 @@ declare const QueryCommand_base: {
151
151
  *
152
152
  * @throws {@link InternalServerException} (server fault)
153
153
  * <p>
154
- * Timestream was unable to fully process this request because of an internal
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
- * Timestream was unable to fully process this request because of an internal
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
- * Timestream was unable to fully process this request because of an internal
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.563.0",
4
+ "version": "3.565.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,9 +20,8 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.556.0",
24
23
  "@aws-sdk/core": "3.556.0",
25
- "@aws-sdk/credential-provider-node": "3.563.0",
24
+ "@aws-sdk/credential-provider-node": "3.565.0",
26
25
  "@aws-sdk/middleware-endpoint-discovery": "3.535.0",
27
26
  "@aws-sdk/middleware-host-header": "3.535.0",
28
27
  "@aws-sdk/middleware-logger": "3.535.0",