@aws-sdk/client-timestream-query 3.42.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 (76) hide show
  1. package/CHANGELOG.md +11 -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/models/models_0.js +291 -1
  16. package/dist-cjs/pagination/ListScheduledQueriesPaginator.js +35 -0
  17. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +35 -0
  18. package/dist-cjs/pagination/index.js +2 -0
  19. package/dist-cjs/protocols/Aws_json1_0.js +1580 -34
  20. package/dist-es/TimestreamQuery.js +150 -0
  21. package/dist-es/commands/CreateScheduledQueryCommand.js +41 -0
  22. package/dist-es/commands/DeleteScheduledQueryCommand.js +41 -0
  23. package/dist-es/commands/DescribeScheduledQueryCommand.js +41 -0
  24. package/dist-es/commands/ExecuteScheduledQueryCommand.js +41 -0
  25. package/dist-es/commands/ListScheduledQueriesCommand.js +41 -0
  26. package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
  27. package/dist-es/commands/PrepareQueryCommand.js +41 -0
  28. package/dist-es/commands/TagResourceCommand.js +41 -0
  29. package/dist-es/commands/UntagResourceCommand.js +41 -0
  30. package/dist-es/commands/UpdateScheduledQueryCommand.js +41 -0
  31. package/dist-es/commands/index.js +10 -0
  32. package/dist-es/models/models_0.js +200 -0
  33. package/dist-es/pagination/ListScheduledQueriesPaginator.js +74 -0
  34. package/dist-es/pagination/ListTagsForResourcePaginator.js +74 -0
  35. package/dist-es/pagination/index.js +2 -0
  36. package/dist-es/protocols/Aws_json1_0.js +1678 -106
  37. package/dist-types/TimestreamQuery.d.ts +132 -19
  38. package/dist-types/TimestreamQueryClient.d.ts +15 -5
  39. package/dist-types/commands/CancelQueryCommand.d.ts +6 -5
  40. package/dist-types/commands/CreateScheduledQueryCommand.d.ts +39 -0
  41. package/dist-types/commands/DeleteScheduledQueryCommand.d.ts +35 -0
  42. package/dist-types/commands/DescribeEndpointsCommand.d.ts +15 -9
  43. package/dist-types/commands/DescribeScheduledQueryCommand.d.ts +35 -0
  44. package/dist-types/commands/ExecuteScheduledQueryCommand.d.ts +35 -0
  45. package/dist-types/commands/ListScheduledQueriesCommand.d.ts +35 -0
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  47. package/dist-types/commands/PrepareQueryCommand.d.ts +37 -0
  48. package/dist-types/commands/QueryCommand.d.ts +30 -2
  49. package/dist-types/commands/TagResourceCommand.d.ts +37 -0
  50. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  51. package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +35 -0
  52. package/dist-types/commands/index.d.ts +10 -0
  53. package/dist-types/models/models_0.d.ts +1183 -183
  54. package/dist-types/pagination/ListScheduledQueriesPaginator.d.ts +4 -0
  55. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +4 -0
  56. package/dist-types/pagination/index.d.ts +2 -0
  57. package/dist-types/protocols/Aws_json1_0.d.ts +30 -0
  58. package/dist-types/ts3.4/TimestreamQuery.d.ts +50 -0
  59. package/dist-types/ts3.4/TimestreamQueryClient.d.ts +12 -2
  60. package/dist-types/ts3.4/commands/CreateScheduledQueryCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/DeleteScheduledQueryCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/DescribeScheduledQueryCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/ExecuteScheduledQueryCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/ListScheduledQueriesCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/PrepareQueryCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/UpdateScheduledQueryCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  71. package/dist-types/ts3.4/models/models_0.d.ts +536 -0
  72. package/dist-types/ts3.4/pagination/ListScheduledQueriesPaginator.d.ts +4 -0
  73. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +4 -0
  74. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  75. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +30 -0
  76. package/package.json +2 -2
@@ -0,0 +1,37 @@
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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface TagResourceCommandInput extends TagResourceRequest {
6
+ }
7
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Associate a set of tags with a Timestream resource. You can then activate these
11
+ * user-defined tags so that they appear on the Billing and Cost Management console for
12
+ * cost allocation tracking. </p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { TimestreamQueryClient, TagResourceCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
17
+ * // const { TimestreamQueryClient, TagResourceCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
18
+ * const client = new TimestreamQueryClient(config);
19
+ * const command = new TagResourceCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
24
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
25
+ * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, TimestreamQueryClientResolvedConfig> {
29
+ readonly input: TagResourceCommandInput;
30
+ constructor(input: TagResourceCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
6
+ }
7
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Removes the association of tags from 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, UntagResourceCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
15
+ * // const { TimestreamQueryClient, UntagResourceCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
16
+ * const client = new TimestreamQueryClient(config);
17
+ * const command = new UntagResourceCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
22
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
23
+ * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, TimestreamQueryClientResolvedConfig> {
27
+ readonly input: UntagResourceCommandInput;
28
+ constructor(input: UntagResourceCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
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 { UpdateScheduledQueryRequest } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
5
+ export interface UpdateScheduledQueryCommandInput extends UpdateScheduledQueryRequest {
6
+ }
7
+ export interface UpdateScheduledQueryCommandOutput extends __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Update 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, UpdateScheduledQueryCommand } from "@aws-sdk/client-timestream-query"; // ES Modules import
15
+ * // const { TimestreamQueryClient, UpdateScheduledQueryCommand } = require("@aws-sdk/client-timestream-query"); // CommonJS import
16
+ * const client = new TimestreamQueryClient(config);
17
+ * const command = new UpdateScheduledQueryCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateScheduledQueryCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateScheduledQueryCommandOutput} for command's `response` shape.
23
+ * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateScheduledQueryCommand extends $Command<UpdateScheduledQueryCommandInput, UpdateScheduledQueryCommandOutput, TimestreamQueryClientResolvedConfig> {
27
+ readonly input: UpdateScheduledQueryCommandInput;
28
+ constructor(input: UpdateScheduledQueryCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateScheduledQueryCommandInput, UpdateScheduledQueryCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,3 +1,13 @@
1
1
  export * from "./CancelQueryCommand";
2
+ export * from "./CreateScheduledQueryCommand";
3
+ export * from "./DeleteScheduledQueryCommand";
2
4
  export * from "./DescribeEndpointsCommand";
5
+ export * from "./DescribeScheduledQueryCommand";
6
+ export * from "./ExecuteScheduledQueryCommand";
7
+ export * from "./ListScheduledQueriesCommand";
8
+ export * from "./ListTagsForResourceCommand";
9
+ export * from "./PrepareQueryCommand";
3
10
  export * from "./QueryCommand";
11
+ export * from "./TagResourceCommand";
12
+ export * from "./UntagResourceCommand";
13
+ export * from "./UpdateScheduledQueryCommand";