@aws-sdk/client-timestream-query 3.39.0 → 3.43.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 (88) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +3 -2
  3. package/dist-cjs/TimestreamQuery.js +150 -0
  4. package/dist-cjs/commands/CreateScheduledQueryCommand.js +38 -0
  5. package/dist-cjs/commands/DeleteScheduledQueryCommand.js +38 -0
  6. package/dist-cjs/commands/DescribeScheduledQueryCommand.js +38 -0
  7. package/dist-cjs/commands/ExecuteScheduledQueryCommand.js +38 -0
  8. package/dist-cjs/commands/ListScheduledQueriesCommand.js +38 -0
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +38 -0
  10. package/dist-cjs/commands/PrepareQueryCommand.js +38 -0
  11. package/dist-cjs/commands/TagResourceCommand.js +38 -0
  12. package/dist-cjs/commands/UntagResourceCommand.js +38 -0
  13. package/dist-cjs/commands/UpdateScheduledQueryCommand.js +38 -0
  14. package/dist-cjs/commands/index.js +10 -0
  15. package/dist-cjs/endpoints.js +74 -5
  16. package/dist-cjs/models/models_0.js +291 -1
  17. package/dist-cjs/pagination/ListScheduledQueriesPaginator.js +35 -0
  18. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +35 -0
  19. package/dist-cjs/pagination/index.js +2 -0
  20. package/dist-cjs/protocols/Aws_json1_0.js +1580 -34
  21. package/dist-cjs/runtimeConfig.browser.js +6 -3
  22. package/dist-cjs/runtimeConfig.js +5 -3
  23. package/dist-es/TimestreamQuery.js +150 -0
  24. package/dist-es/commands/CreateScheduledQueryCommand.js +41 -0
  25. package/dist-es/commands/DeleteScheduledQueryCommand.js +41 -0
  26. package/dist-es/commands/DescribeScheduledQueryCommand.js +41 -0
  27. package/dist-es/commands/ExecuteScheduledQueryCommand.js +41 -0
  28. package/dist-es/commands/ListScheduledQueriesCommand.js +41 -0
  29. package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
  30. package/dist-es/commands/PrepareQueryCommand.js +41 -0
  31. package/dist-es/commands/TagResourceCommand.js +41 -0
  32. package/dist-es/commands/UntagResourceCommand.js +41 -0
  33. package/dist-es/commands/UpdateScheduledQueryCommand.js +41 -0
  34. package/dist-es/commands/index.js +10 -0
  35. package/dist-es/endpoints.js +74 -5
  36. package/dist-es/models/models_0.js +200 -0
  37. package/dist-es/pagination/ListScheduledQueriesPaginator.js +74 -0
  38. package/dist-es/pagination/ListTagsForResourcePaginator.js +74 -0
  39. package/dist-es/pagination/index.js +2 -0
  40. package/dist-es/protocols/Aws_json1_0.js +1678 -106
  41. package/dist-es/runtimeConfig.browser.js +3 -2
  42. package/dist-es/runtimeConfig.js +3 -3
  43. package/dist-types/TimestreamQuery.d.ts +132 -19
  44. package/dist-types/TimestreamQueryClient.d.ts +23 -5
  45. package/dist-types/commands/CancelQueryCommand.d.ts +7 -6
  46. package/dist-types/commands/CreateScheduledQueryCommand.d.ts +39 -0
  47. package/dist-types/commands/DeleteScheduledQueryCommand.d.ts +35 -0
  48. package/dist-types/commands/DescribeEndpointsCommand.d.ts +16 -10
  49. package/dist-types/commands/DescribeScheduledQueryCommand.d.ts +35 -0
  50. package/dist-types/commands/ExecuteScheduledQueryCommand.d.ts +35 -0
  51. package/dist-types/commands/ListScheduledQueriesCommand.d.ts +35 -0
  52. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  53. package/dist-types/commands/PrepareQueryCommand.d.ts +37 -0
  54. package/dist-types/commands/QueryCommand.d.ts +31 -3
  55. package/dist-types/commands/TagResourceCommand.d.ts +37 -0
  56. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  57. package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +35 -0
  58. package/dist-types/commands/index.d.ts +10 -0
  59. package/dist-types/models/models_0.d.ts +1183 -183
  60. package/dist-types/pagination/ListScheduledQueriesPaginator.d.ts +4 -0
  61. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +4 -0
  62. package/dist-types/pagination/index.d.ts +2 -0
  63. package/dist-types/protocols/Aws_json1_0.d.ts +30 -0
  64. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  65. package/dist-types/runtimeConfig.d.ts +2 -0
  66. package/dist-types/runtimeConfig.native.d.ts +2 -0
  67. package/dist-types/ts3.4/TimestreamQuery.d.ts +50 -0
  68. package/dist-types/ts3.4/TimestreamQueryClient.d.ts +16 -2
  69. package/dist-types/ts3.4/commands/CreateScheduledQueryCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/DeleteScheduledQueryCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/DescribeScheduledQueryCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/ExecuteScheduledQueryCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/ListScheduledQueriesCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/PrepareQueryCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/UpdateScheduledQueryCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  80. package/dist-types/ts3.4/models/models_0.d.ts +536 -0
  81. package/dist-types/ts3.4/pagination/ListScheduledQueriesPaginator.d.ts +4 -0
  82. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +4 -0
  83. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  84. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +30 -0
  85. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  86. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  87. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  88. package/package.json +24 -24
@@ -1,6 +1,7 @@
1
1
  import { __assign } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
4
5
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
6
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
@@ -10,7 +11,7 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
10
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
11
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
13
  export var getRuntimeConfig = function (config) {
13
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
14
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
14
15
  var clientSharedValues = getSharedRuntimeConfig(config);
15
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : (function () { return Promise.resolve(undefined); }), maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : DEFAULT_MAX_ATTEMPTS, region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalidProvider("Region is missing"), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new FetchHttpHandler(), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Sha256, streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, utf8Decoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _o !== void 0 ? _o : fromUtf8, utf8Encoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _p !== void 0 ? _p : toUtf8 });
16
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : (function () { return Promise.resolve(undefined); }), maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : DEFAULT_MAX_ATTEMPTS, region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalidProvider("Region is missing"), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new FetchHttpHandler(), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Sha256, streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : fromUtf8, utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : toUtf8 });
16
17
  };
@@ -1,7 +1,7 @@
1
1
  import { __assign } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
4
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
7
  import { NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS } from "@aws-sdk/middleware-endpoint-discovery";
@@ -15,8 +15,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
15
15
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
16
16
  import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
17
17
  export var getRuntimeConfig = function (config) {
18
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
18
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
19
19
  emitWarningIfUnsupportedVersion(process.version);
20
20
  var clientSharedValues = getSharedRuntimeConfig(config);
21
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS), maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new NodeHttpHandler(), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Hash.bind(null, "sha256"), streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, utf8Decoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _o !== void 0 ? _o : fromUtf8, utf8Encoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _p !== void 0 ? _p : toUtf8 });
21
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS), maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new NodeHttpHandler(), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Hash.bind(null, "sha256"), streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : fromUtf8, utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : toUtf8 });
22
22
  };
@@ -1,50 +1,163 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
3
+ import { CreateScheduledQueryCommandInput, CreateScheduledQueryCommandOutput } from "./commands/CreateScheduledQueryCommand";
4
+ import { DeleteScheduledQueryCommandInput, DeleteScheduledQueryCommandOutput } from "./commands/DeleteScheduledQueryCommand";
3
5
  import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "./commands/DescribeEndpointsCommand";
6
+ import { DescribeScheduledQueryCommandInput, DescribeScheduledQueryCommandOutput } from "./commands/DescribeScheduledQueryCommand";
7
+ import { ExecuteScheduledQueryCommandInput, ExecuteScheduledQueryCommandOutput } from "./commands/ExecuteScheduledQueryCommand";
8
+ import { ListScheduledQueriesCommandInput, ListScheduledQueriesCommandOutput } from "./commands/ListScheduledQueriesCommand";
9
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
10
+ import { PrepareQueryCommandInput, PrepareQueryCommandOutput } from "./commands/PrepareQueryCommand";
4
11
  import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
12
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
13
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
14
+ import { UpdateScheduledQueryCommandInput, UpdateScheduledQueryCommandOutput } from "./commands/UpdateScheduledQueryCommand";
5
15
  import { TimestreamQueryClient } from "./TimestreamQueryClient";
6
16
  /**
7
- * <p>
8
- *
9
- * </p>
17
+ * <fullname>Amazon Timestream Query
18
+ * </fullname>
19
+ * <p></p>
10
20
  */
11
21
  export declare class TimestreamQuery extends TimestreamQueryClient {
12
22
  /**
13
- * <p>
14
- * Cancels a query that has been issued. Cancellation is guaranteed only if the query has not
15
- * completed execution before the cancellation request was issued. Because cancellation is an idempotent operation,
16
- * subsequent cancellation requests will return a <code>CancellationMessage</code>, indicating that the query has already been canceled.
17
- * </p>
23
+ * <p> Cancels a query that has been issued. Cancellation is provided only if the query has
24
+ * not completed running before the cancellation request was issued. Because cancellation
25
+ * is an idempotent operation, subsequent cancellation requests will return a
26
+ * <code>CancellationMessage</code>, indicating that the query has already been
27
+ * canceled. See <a href="https://docs.aws.amazon.com/Timestream/latest/developerguide/code-samples.cancel-query.html">code
28
+ * sample</a> for details. </p>
18
29
  */
19
30
  cancelQuery(args: CancelQueryCommandInput, options?: __HttpHandlerOptions): Promise<CancelQueryCommandOutput>;
20
31
  cancelQuery(args: CancelQueryCommandInput, cb: (err: any, data?: CancelQueryCommandOutput) => void): void;
21
32
  cancelQuery(args: CancelQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelQueryCommandOutput) => void): void;
22
33
  /**
23
- * <p>DescribeEndpoints returns a list of available endpoints to make Timestream API calls against.
24
- * This API is available through both Write and Query.</p>
25
- * <p>Because Timestream’s SDKs are designed to transparently work with the service’s architecture,
26
- * including the management and mapping of the service endpoints,
27
- * <i>it is not recommended that you use this API unless</i>:</p>
34
+ * <p> Create a scheduled query that will be run on your behalf at the configured schedule.
35
+ * Timestream assumes the execution role provided as part of the
36
+ * <code>ScheduledQueryExecutionRoleArn</code> parameter to run the query. You can use
37
+ * the <code>NotificationConfiguration</code> parameter to configure notification for your
38
+ * scheduled query operations.</p>
39
+ */
40
+ createScheduledQuery(args: CreateScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<CreateScheduledQueryCommandOutput>;
41
+ createScheduledQuery(args: CreateScheduledQueryCommandInput, cb: (err: any, data?: CreateScheduledQueryCommandOutput) => void): void;
42
+ createScheduledQuery(args: CreateScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateScheduledQueryCommandOutput) => void): void;
43
+ /**
44
+ * <p>Deletes a given scheduled query. This is an irreversible operation. </p>
45
+ */
46
+ deleteScheduledQuery(args: DeleteScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScheduledQueryCommandOutput>;
47
+ deleteScheduledQuery(args: DeleteScheduledQueryCommandInput, cb: (err: any, data?: DeleteScheduledQueryCommandOutput) => void): void;
48
+ deleteScheduledQuery(args: DeleteScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScheduledQueryCommandOutput) => void): void;
49
+ /**
50
+ * <p>DescribeEndpoints returns a list of available endpoints to make Timestream
51
+ * API calls against. This API is available through both Write and Query.</p>
52
+ * <p>Because the Timestream SDKs are designed to transparently work with the
53
+ * service’s architecture, including the management and mapping of the service endpoints,
54
+ * <i>it is not recommended that you use this API unless</i>:</p>
28
55
  * <ul>
29
56
  * <li>
30
- * <p>Your application uses a programming language that does not yet have SDK support</p>
57
+ * <p>You are using <a href="https://docs.aws.amazon.com/Timestream/latest/developerguide/VPCEndpoints">VPC endpoints (Amazon Web Services PrivateLink) with Timestream
58
+ * </a>
59
+ * </p>
31
60
  * </li>
32
61
  * <li>
33
- * <p>You require better control over the client-side implementation</p>
62
+ * <p>Your application uses a programming language that does not yet have SDK
63
+ * support</p>
64
+ * </li>
65
+ * <li>
66
+ * <p>You require better control over the client-side implementation</p>
34
67
  * </li>
35
68
  * </ul>
36
- * <p>For detailed information on how to use DescribeEndpoints,
37
- * see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/Using-API.endpoint-discovery.html">The Endpoint Discovery Pattern and REST APIs</a>.</p>
69
+ * <p>For detailed information on how and when to use and implement DescribeEndpoints, see
70
+ * <a href="https://docs.aws.amazon.com/Timestream/latest/developerguide/Using.API.html#Using-API.endpoint-discovery">The Endpoint Discovery Pattern</a>.</p>
38
71
  */
39
72
  describeEndpoints(args: DescribeEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEndpointsCommandOutput>;
40
73
  describeEndpoints(args: DescribeEndpointsCommandInput, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
41
74
  describeEndpoints(args: DescribeEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
75
+ /**
76
+ * <p>Provides detailed information about a scheduled query.</p>
77
+ */
78
+ describeScheduledQuery(args: DescribeScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScheduledQueryCommandOutput>;
79
+ describeScheduledQuery(args: DescribeScheduledQueryCommandInput, cb: (err: any, data?: DescribeScheduledQueryCommandOutput) => void): void;
80
+ describeScheduledQuery(args: DescribeScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScheduledQueryCommandOutput) => void): void;
81
+ /**
82
+ * <p> You can use this API to run a scheduled query manually. </p>
83
+ */
84
+ executeScheduledQuery(args: ExecuteScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteScheduledQueryCommandOutput>;
85
+ executeScheduledQuery(args: ExecuteScheduledQueryCommandInput, cb: (err: any, data?: ExecuteScheduledQueryCommandOutput) => void): void;
86
+ executeScheduledQuery(args: ExecuteScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteScheduledQueryCommandOutput) => void): void;
87
+ /**
88
+ * <p>Gets a list of all scheduled queries in the caller's Amazon account and Region. <code>ListScheduledQueries</code> is eventually consistent. </p>
89
+ */
90
+ listScheduledQueries(args: ListScheduledQueriesCommandInput, options?: __HttpHandlerOptions): Promise<ListScheduledQueriesCommandOutput>;
91
+ listScheduledQueries(args: ListScheduledQueriesCommandInput, cb: (err: any, data?: ListScheduledQueriesCommandOutput) => void): void;
92
+ listScheduledQueries(args: ListScheduledQueriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListScheduledQueriesCommandOutput) => void): void;
93
+ /**
94
+ * <p>List all tags on a Timestream query resource.</p>
95
+ */
96
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
97
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
98
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
99
+ /**
100
+ * <p>A synchronous operation that allows you to submit a query with parameters to be stored
101
+ * by Timestream for later running. Timestream only supports using this operation with the
102
+ * <code>PrepareQueryRequest$ValidateOnly</code> set to <code>true</code>. </p>
103
+ */
104
+ prepareQuery(args: PrepareQueryCommandInput, options?: __HttpHandlerOptions): Promise<PrepareQueryCommandOutput>;
105
+ prepareQuery(args: PrepareQueryCommandInput, cb: (err: any, data?: PrepareQueryCommandOutput) => void): void;
106
+ prepareQuery(args: PrepareQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PrepareQueryCommandOutput) => void): void;
42
107
  /**
43
108
  * <p>
44
- * Query is a synchronous operation that enables you to execute a query. Query will timeout after 60 seconds. You must update the default timeout in the SDK to support a timeout of 60 seconds. The result set will be truncated to 1MB. Service quotas apply. For more information, see Quotas in the Timestream Developer Guide.
45
- * </p>
109
+ * <code>Query</code> is a synchronous operation that enables you to run a query against
110
+ * your Amazon Timestream data. <code>Query</code> will time out after 60 seconds.
111
+ * You must update the default timeout in the SDK to support a timeout of 60 seconds. See
112
+ * the <a href="https://docs.aws.amazon.com/Timestream/latest/developerguide/code-samples.run-query.html">code
113
+ * sample</a> for details. </p>
114
+ * <p>Your query request will fail in the following cases:</p>
115
+ * <ul>
116
+ * <li>
117
+ * <p> If you submit a <code>Query</code> request with the same client token outside
118
+ * of the 5-minute idempotency window. </p>
119
+ * </li>
120
+ * <li>
121
+ * <p> If you submit a <code>Query</code> request with the same client token, but
122
+ * change other parameters, within the 5-minute idempotency window. </p>
123
+ * </li>
124
+ * <li>
125
+ * <p> If the size of the row (including the query metadata) exceeds 1 MB, then the
126
+ * query will fail with the following error message: </p>
127
+ * <p>
128
+ * <code>Query aborted as max page response size has been exceeded by the output
129
+ * result row</code>
130
+ * </p>
131
+ * </li>
132
+ * <li>
133
+ * <p> If the IAM principal of the query initiator and the result reader are not the
134
+ * same and/or the query initiator and the result reader do not have the same query
135
+ * string in the query requests, the query will fail with an <code>Invalid
136
+ * pagination token</code> error. </p>
137
+ * </li>
138
+ * </ul>
46
139
  */
47
140
  query(args: QueryCommandInput, options?: __HttpHandlerOptions): Promise<QueryCommandOutput>;
48
141
  query(args: QueryCommandInput, cb: (err: any, data?: QueryCommandOutput) => void): void;
49
142
  query(args: QueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryCommandOutput) => void): void;
143
+ /**
144
+ * <p>Associate a set of tags with a Timestream resource. You can then activate these
145
+ * user-defined tags so that they appear on the Billing and Cost Management console for
146
+ * cost allocation tracking. </p>
147
+ */
148
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
149
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
150
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
151
+ /**
152
+ * <p>Removes the association of tags from a Timestream query resource.</p>
153
+ */
154
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
155
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
156
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
157
+ /**
158
+ * <p>Update a scheduled query.</p>
159
+ */
160
+ updateScheduledQuery(args: UpdateScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateScheduledQueryCommandOutput>;
161
+ updateScheduledQuery(args: UpdateScheduledQueryCommandInput, cb: (err: any, data?: UpdateScheduledQueryCommandOutput) => void): void;
162
+ updateScheduledQuery(args: UpdateScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScheduledQueryCommandOutput) => void): void;
50
163
  }
@@ -8,10 +8,20 @@ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
8
  import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
9
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
10
10
  import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
11
+ import { CreateScheduledQueryCommandInput, CreateScheduledQueryCommandOutput } from "./commands/CreateScheduledQueryCommand";
12
+ import { DeleteScheduledQueryCommandInput, DeleteScheduledQueryCommandOutput } from "./commands/DeleteScheduledQueryCommand";
11
13
  import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "./commands/DescribeEndpointsCommand";
14
+ import { DescribeScheduledQueryCommandInput, DescribeScheduledQueryCommandOutput } from "./commands/DescribeScheduledQueryCommand";
15
+ import { ExecuteScheduledQueryCommandInput, ExecuteScheduledQueryCommandOutput } from "./commands/ExecuteScheduledQueryCommand";
16
+ import { ListScheduledQueriesCommandInput, ListScheduledQueriesCommandOutput } from "./commands/ListScheduledQueriesCommand";
17
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
18
+ import { PrepareQueryCommandInput, PrepareQueryCommandOutput } from "./commands/PrepareQueryCommand";
12
19
  import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
13
- export declare type ServiceInputTypes = CancelQueryCommandInput | DescribeEndpointsCommandInput | QueryCommandInput;
14
- export declare type ServiceOutputTypes = CancelQueryCommandOutput | DescribeEndpointsCommandOutput | QueryCommandOutput;
20
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
21
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
22
+ import { UpdateScheduledQueryCommandInput, UpdateScheduledQueryCommandOutput } from "./commands/UpdateScheduledQueryCommand";
23
+ export declare type ServiceInputTypes = CancelQueryCommandInput | CreateScheduledQueryCommandInput | DeleteScheduledQueryCommandInput | DescribeEndpointsCommandInput | DescribeScheduledQueryCommandInput | ExecuteScheduledQueryCommandInput | ListScheduledQueriesCommandInput | ListTagsForResourceCommandInput | PrepareQueryCommandInput | QueryCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateScheduledQueryCommandInput;
24
+ export declare type ServiceOutputTypes = CancelQueryCommandOutput | CreateScheduledQueryCommandOutput | DeleteScheduledQueryCommandOutput | DescribeEndpointsCommandOutput | DescribeScheduledQueryCommandOutput | ExecuteScheduledQueryCommandOutput | ListScheduledQueriesCommandOutput | ListTagsForResourceCommandOutput | PrepareQueryCommandOutput | QueryCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateScheduledQueryCommandOutput;
15
25
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
16
26
  /**
17
27
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -80,6 +90,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
80
90
  * Optional logger for logging debug/info/warn/error.
81
91
  */
82
92
  logger?: __Logger;
93
+ /**
94
+ * Enables IPv6/IPv4 dualstack endpoint.
95
+ */
96
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
97
+ /**
98
+ * Enables FIPS compatible endpoints.
99
+ */
100
+ useFipsEndpoint?: boolean | __Provider<boolean>;
83
101
  /**
84
102
  * Unique service identifier.
85
103
  * @internal
@@ -124,9 +142,9 @@ declare type TimestreamQueryClientResolvedConfigType = __SmithyResolvedConfigura
124
142
  export interface TimestreamQueryClientResolvedConfig extends TimestreamQueryClientResolvedConfigType {
125
143
  }
126
144
  /**
127
- * <p>
128
- *
129
- * </p>
145
+ * <fullname>Amazon Timestream Query
146
+ * </fullname>
147
+ * <p></p>
130
148
  */
131
149
  export declare class TimestreamQueryClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig> {
132
150
  /**
@@ -7,11 +7,12 @@ export interface CancelQueryCommandInput extends CancelQueryRequest {
7
7
  export interface CancelQueryCommandOutput extends CancelQueryResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>
11
- * Cancels a query that has been issued. Cancellation is guaranteed only if the query has not
12
- * completed execution before the cancellation request was issued. Because cancellation is an idempotent operation,
13
- * subsequent cancellation requests will return a <code>CancellationMessage</code>, indicating that the query has already been canceled.
14
- * </p>
10
+ * <p> Cancels a query that has been issued. Cancellation is provided only if the query has
11
+ * not completed running before the cancellation request was issued. Because cancellation
12
+ * is an idempotent operation, subsequent cancellation requests will return a
13
+ * <code>CancellationMessage</code>, indicating that the query has already been
14
+ * canceled. See <a href="https://docs.aws.amazon.com/Timestream/latest/developerguide/code-samples.cancel-query.html">code
15
+ * sample</a> for details. </p>
15
16
  * @example
16
17
  * Use a bare-bones client and the command you need to make an API call.
17
18
  * ```javascript
@@ -24,7 +25,7 @@ export interface CancelQueryCommandOutput extends CancelQueryResponse, __Metadat
24
25
  *
25
26
  * @see {@link CancelQueryCommandInput} for command's `input` shape.
26
27
  * @see {@link CancelQueryCommandOutput} for command's `response` shape.
27
- * @see {@link TimestreamQueryClientResolvedConfig | config} for command's `input` shape.
28
+ * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
28
29
  *
29
30
  */
30
31
  export declare class CancelQueryCommand extends $Command<CancelQueryCommandInput, CancelQueryCommandOutput, TimestreamQueryClientResolvedConfig> {
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CreateScheduledQueryRequest, CreateScheduledQueryResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface CreateScheduledQueryCommandInput extends CreateScheduledQueryRequest {
6
+ }
7
+ export interface CreateScheduledQueryCommandOutput extends CreateScheduledQueryResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p> Create a scheduled query that will be run on your behalf at the configured schedule.
11
+ * Timestream assumes the execution role provided as part of the
12
+ * <code>ScheduledQueryExecutionRoleArn</code> parameter to run the query. You can use
13
+ * the <code>NotificationConfiguration</code> parameter to configure notification for your
14
+ * scheduled query operations.</p>
15
+ * @example
16
+ * Use a bare-bones client and the command you need to make an API call.
17
+ * ```javascript
18
+ * import { TimestreamQueryClient, CreateScheduledQueryCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
19
+ * // const { TimestreamQueryClient, CreateScheduledQueryCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
20
+ * const client = new TimestreamQueryClient(config);
21
+ * const command = new CreateScheduledQueryCommand(input);
22
+ * const response = await client.send(command);
23
+ * ```
24
+ *
25
+ * @see {@link CreateScheduledQueryCommandInput} for command's `input` shape.
26
+ * @see {@link CreateScheduledQueryCommandOutput} for command's `response` shape.
27
+ * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
28
+ *
29
+ */
30
+ export declare class CreateScheduledQueryCommand extends $Command<CreateScheduledQueryCommandInput, CreateScheduledQueryCommandOutput, TimestreamQueryClientResolvedConfig> {
31
+ readonly input: CreateScheduledQueryCommandInput;
32
+ constructor(input: CreateScheduledQueryCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateScheduledQueryCommandInput, CreateScheduledQueryCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DeleteScheduledQueryRequest } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface DeleteScheduledQueryCommandInput extends DeleteScheduledQueryRequest {
6
+ }
7
+ export interface DeleteScheduledQueryCommandOutput extends __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes a given scheduled query. This is an irreversible operation. </p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { TimestreamQueryClient, DeleteScheduledQueryCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
15
+ * // const { TimestreamQueryClient, DeleteScheduledQueryCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
16
+ * const client = new TimestreamQueryClient(config);
17
+ * const command = new DeleteScheduledQueryCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DeleteScheduledQueryCommandInput} for command's `input` shape.
22
+ * @see {@link DeleteScheduledQueryCommandOutput} for command's `response` shape.
23
+ * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DeleteScheduledQueryCommand extends $Command<DeleteScheduledQueryCommandInput, DeleteScheduledQueryCommandOutput, TimestreamQueryClientResolvedConfig> {
27
+ readonly input: DeleteScheduledQueryCommandInput;
28
+ constructor(input: DeleteScheduledQueryCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteScheduledQueryCommandInput, DeleteScheduledQueryCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -7,21 +7,27 @@ export interface DescribeEndpointsCommandInput extends DescribeEndpointsRequest
7
7
  export interface DescribeEndpointsCommandOutput extends DescribeEndpointsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>DescribeEndpoints returns a list of available endpoints to make Timestream API calls against.
11
- * This API is available through both Write and Query.</p>
12
- * <p>Because Timestream’s SDKs are designed to transparently work with the service’s architecture,
13
- * including the management and mapping of the service endpoints,
14
- * <i>it is not recommended that you use this API unless</i>:</p>
10
+ * <p>DescribeEndpoints returns a list of available endpoints to make Timestream
11
+ * API calls against. This API is available through both Write and Query.</p>
12
+ * <p>Because the Timestream SDKs are designed to transparently work with the
13
+ * service’s architecture, including the management and mapping of the service endpoints,
14
+ * <i>it is not recommended that you use this API unless</i>:</p>
15
15
  * <ul>
16
16
  * <li>
17
- * <p>Your application uses a programming language that does not yet have SDK support</p>
17
+ * <p>You are using <a href="https://docs.aws.amazon.com/Timestream/latest/developerguide/VPCEndpoints">VPC endpoints (Amazon Web Services PrivateLink) with Timestream
18
+ * </a>
19
+ * </p>
18
20
  * </li>
19
21
  * <li>
20
- * <p>You require better control over the client-side implementation</p>
22
+ * <p>Your application uses a programming language that does not yet have SDK
23
+ * support</p>
24
+ * </li>
25
+ * <li>
26
+ * <p>You require better control over the client-side implementation</p>
21
27
  * </li>
22
28
  * </ul>
23
- * <p>For detailed information on how to use DescribeEndpoints,
24
- * see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/Using-API.endpoint-discovery.html">The Endpoint Discovery Pattern and REST APIs</a>.</p>
29
+ * <p>For detailed information on how and when to use and implement DescribeEndpoints, see
30
+ * <a href="https://docs.aws.amazon.com/Timestream/latest/developerguide/Using.API.html#Using-API.endpoint-discovery">The Endpoint Discovery Pattern</a>.</p>
25
31
  * @example
26
32
  * Use a bare-bones client and the command you need to make an API call.
27
33
  * ```javascript
@@ -34,7 +40,7 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
34
40
  *
35
41
  * @see {@link DescribeEndpointsCommandInput} for command's `input` shape.
36
42
  * @see {@link DescribeEndpointsCommandOutput} for command's `response` shape.
37
- * @see {@link TimestreamQueryClientResolvedConfig | config} for command's `input` shape.
43
+ * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
38
44
  *
39
45
  */
40
46
  export declare class DescribeEndpointsCommand extends $Command<DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput, TimestreamQueryClientResolvedConfig> {
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DescribeScheduledQueryRequest, DescribeScheduledQueryResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface DescribeScheduledQueryCommandInput extends DescribeScheduledQueryRequest {
6
+ }
7
+ export interface DescribeScheduledQueryCommandOutput extends DescribeScheduledQueryResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Provides detailed information about a scheduled query.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { TimestreamQueryClient, DescribeScheduledQueryCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
15
+ * // const { TimestreamQueryClient, DescribeScheduledQueryCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
16
+ * const client = new TimestreamQueryClient(config);
17
+ * const command = new DescribeScheduledQueryCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DescribeScheduledQueryCommandInput} for command's `input` shape.
22
+ * @see {@link DescribeScheduledQueryCommandOutput} for command's `response` shape.
23
+ * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DescribeScheduledQueryCommand extends $Command<DescribeScheduledQueryCommandInput, DescribeScheduledQueryCommandOutput, TimestreamQueryClientResolvedConfig> {
27
+ readonly input: DescribeScheduledQueryCommandInput;
28
+ constructor(input: DescribeScheduledQueryCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeScheduledQueryCommandInput, DescribeScheduledQueryCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ExecuteScheduledQueryRequest } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface ExecuteScheduledQueryCommandInput extends ExecuteScheduledQueryRequest {
6
+ }
7
+ export interface ExecuteScheduledQueryCommandOutput extends __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p> You can use this API to run a scheduled query manually. </p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { TimestreamQueryClient, ExecuteScheduledQueryCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
15
+ * // const { TimestreamQueryClient, ExecuteScheduledQueryCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
16
+ * const client = new TimestreamQueryClient(config);
17
+ * const command = new ExecuteScheduledQueryCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ExecuteScheduledQueryCommandInput} for command's `input` shape.
22
+ * @see {@link ExecuteScheduledQueryCommandOutput} for command's `response` shape.
23
+ * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ExecuteScheduledQueryCommand extends $Command<ExecuteScheduledQueryCommandInput, ExecuteScheduledQueryCommandOutput, TimestreamQueryClientResolvedConfig> {
27
+ readonly input: ExecuteScheduledQueryCommandInput;
28
+ constructor(input: ExecuteScheduledQueryCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExecuteScheduledQueryCommandInput, ExecuteScheduledQueryCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListScheduledQueriesRequest, ListScheduledQueriesResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface ListScheduledQueriesCommandInput extends ListScheduledQueriesRequest {
6
+ }
7
+ export interface ListScheduledQueriesCommandOutput extends ListScheduledQueriesResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets a list of all scheduled queries in the caller's Amazon account and Region. <code>ListScheduledQueries</code> is eventually consistent. </p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { TimestreamQueryClient, ListScheduledQueriesCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
15
+ * // const { TimestreamQueryClient, ListScheduledQueriesCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
16
+ * const client = new TimestreamQueryClient(config);
17
+ * const command = new ListScheduledQueriesCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListScheduledQueriesCommandInput} for command's `input` shape.
22
+ * @see {@link ListScheduledQueriesCommandOutput} for command's `response` shape.
23
+ * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListScheduledQueriesCommand extends $Command<ListScheduledQueriesCommandInput, ListScheduledQueriesCommandOutput, TimestreamQueryClientResolvedConfig> {
27
+ readonly input: ListScheduledQueriesCommandInput;
28
+ constructor(input: ListScheduledQueriesCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListScheduledQueriesCommandInput, ListScheduledQueriesCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
6
+ }
7
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>List all tags on a Timestream query resource.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { TimestreamQueryClient, ListTagsForResourceCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
15
+ * // const { TimestreamQueryClient, ListTagsForResourceCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
16
+ * const client = new TimestreamQueryClient(config);
17
+ * const command = new ListTagsForResourceCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
22
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
23
+ * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TimestreamQueryClientResolvedConfig> {
27
+ readonly input: ListTagsForResourceCommandInput;
28
+ constructor(input: ListTagsForResourceCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }