@aws-sdk/client-timestream-query 3.296.0 → 3.298.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 (49) hide show
  1. package/dist-cjs/commands/CancelQueryCommand.js +2 -3
  2. package/dist-cjs/commands/CreateScheduledQueryCommand.js +1 -1
  3. package/dist-cjs/commands/DeleteScheduledQueryCommand.js +2 -3
  4. package/dist-cjs/commands/DescribeEndpointsCommand.js +2 -3
  5. package/dist-cjs/commands/DescribeScheduledQueryCommand.js +1 -1
  6. package/dist-cjs/commands/ExecuteScheduledQueryCommand.js +1 -1
  7. package/dist-cjs/commands/ListScheduledQueriesCommand.js +2 -3
  8. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
  9. package/dist-cjs/commands/QueryCommand.js +1 -1
  10. package/dist-cjs/commands/TagResourceCommand.js +2 -3
  11. package/dist-cjs/commands/UntagResourceCommand.js +2 -3
  12. package/dist-cjs/commands/UpdateScheduledQueryCommand.js +2 -3
  13. package/dist-cjs/models/models_0.js +1 -182
  14. package/dist-es/commands/CancelQueryCommand.js +2 -3
  15. package/dist-es/commands/CreateScheduledQueryCommand.js +2 -2
  16. package/dist-es/commands/DeleteScheduledQueryCommand.js +2 -3
  17. package/dist-es/commands/DescribeEndpointsCommand.js +2 -3
  18. package/dist-es/commands/DescribeScheduledQueryCommand.js +2 -2
  19. package/dist-es/commands/ExecuteScheduledQueryCommand.js +1 -1
  20. package/dist-es/commands/ListScheduledQueriesCommand.js +2 -3
  21. package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
  22. package/dist-es/commands/QueryCommand.js +2 -2
  23. package/dist-es/commands/TagResourceCommand.js +2 -3
  24. package/dist-es/commands/UntagResourceCommand.js +2 -3
  25. package/dist-es/commands/UpdateScheduledQueryCommand.js +2 -3
  26. package/dist-es/models/models_0.js +0 -135
  27. package/dist-types/TimestreamQuery.d.ts +14 -0
  28. package/dist-types/TimestreamQueryClient.d.ts +24 -4
  29. package/dist-types/commands/CancelQueryCommand.d.ts +16 -0
  30. package/dist-types/commands/CreateScheduledQueryCommand.d.ts +16 -0
  31. package/dist-types/commands/DeleteScheduledQueryCommand.d.ts +16 -0
  32. package/dist-types/commands/DescribeEndpointsCommand.d.ts +16 -0
  33. package/dist-types/commands/DescribeScheduledQueryCommand.d.ts +16 -0
  34. package/dist-types/commands/ExecuteScheduledQueryCommand.d.ts +16 -0
  35. package/dist-types/commands/ListScheduledQueriesCommand.d.ts +16 -0
  36. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  37. package/dist-types/commands/PrepareQueryCommand.d.ts +16 -0
  38. package/dist-types/commands/QueryCommand.d.ts +16 -0
  39. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  40. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  41. package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +16 -0
  42. package/dist-types/models/TimestreamQueryServiceException.d.ts +2 -0
  43. package/dist-types/models/models_0.d.ts +128 -180
  44. package/dist-types/pagination/Interfaces.d.ts +3 -0
  45. package/dist-types/pagination/ListScheduledQueriesPaginator.d.ts +3 -0
  46. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +3 -0
  47. package/dist-types/pagination/QueryPaginator.d.ts +3 -0
  48. package/dist-types/ts3.4/models/models_0.d.ts +0 -119
  49. package/package.json +4 -3
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ListScheduledQueriesRequest, ListScheduledQueriesResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ListScheduledQueriesCommand}.
8
10
  */
9
11
  export interface ListScheduledQueriesCommandInput extends ListScheduledQueriesRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ListScheduledQueriesCommand}.
13
17
  */
14
18
  export interface ListScheduledQueriesCommandOutput extends ListScheduledQueriesResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Gets a list of all scheduled queries in the caller's Amazon account and Region. <code>ListScheduledQueries</code> is eventually consistent. </p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface ListScheduledQueriesCommandOutput extends ListScheduledQueriesR
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param ListScheduledQueriesCommandInput - {@link ListScheduledQueriesCommandInput}
34
+ * @returns {@link ListScheduledQueriesCommandOutput}
28
35
  * @see {@link ListScheduledQueriesCommandInput} for command's `input` shape.
29
36
  * @see {@link ListScheduledQueriesCommandOutput} for command's `response` shape.
30
37
  * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
@@ -51,11 +58,20 @@ export interface ListScheduledQueriesCommandOutput extends ListScheduledQueriesR
51
58
  export declare class ListScheduledQueriesCommand extends $Command<ListScheduledQueriesCommandInput, ListScheduledQueriesCommandOutput, TimestreamQueryClientResolvedConfig> {
52
59
  readonly input: ListScheduledQueriesCommandInput;
53
60
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
61
+ /**
62
+ * @public
63
+ */
54
64
  constructor(input: ListScheduledQueriesCommandInput);
55
65
  /**
56
66
  * @internal
57
67
  */
58
68
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListScheduledQueriesCommandInput, ListScheduledQueriesCommandOutput>;
69
+ /**
70
+ * @internal
71
+ */
59
72
  private serialize;
73
+ /**
74
+ * @internal
75
+ */
60
76
  private deserialize;
61
77
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ListTagsForResourceCommand}.
8
10
  */
9
11
  export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ListTagsForResourceCommand}.
13
17
  */
14
18
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>List all tags on a Timestream query resource.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
34
+ * @returns {@link ListTagsForResourceCommandOutput}
28
35
  * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
29
36
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
30
37
  * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
@@ -46,11 +53,20 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
46
53
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TimestreamQueryClientResolvedConfig> {
47
54
  readonly input: ListTagsForResourceCommandInput;
48
55
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
56
+ /**
57
+ * @public
58
+ */
49
59
  constructor(input: ListTagsForResourceCommandInput);
50
60
  /**
51
61
  * @internal
52
62
  */
53
63
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
64
+ /**
65
+ * @internal
66
+ */
54
67
  private serialize;
68
+ /**
69
+ * @internal
70
+ */
55
71
  private deserialize;
56
72
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { PrepareQueryRequest, PrepareQueryResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link PrepareQueryCommand}.
8
10
  */
9
11
  export interface PrepareQueryCommandInput extends PrepareQueryRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link PrepareQueryCommand}.
13
17
  */
14
18
  export interface PrepareQueryCommandOutput extends PrepareQueryResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>A synchronous operation that allows you to submit a query with parameters to be stored
18
23
  * by Timestream for later running. Timestream only supports using this operation with the
19
24
  * <code>PrepareQueryRequest$ValidateOnly</code> set to <code>true</code>. </p>
@@ -27,6 +32,8 @@ export interface PrepareQueryCommandOutput extends PrepareQueryResponse, __Metad
27
32
  * const response = await client.send(command);
28
33
  * ```
29
34
  *
35
+ * @param PrepareQueryCommandInput - {@link PrepareQueryCommandInput}
36
+ * @returns {@link PrepareQueryCommandOutput}
30
37
  * @see {@link PrepareQueryCommandInput} for command's `input` shape.
31
38
  * @see {@link PrepareQueryCommandOutput} for command's `response` shape.
32
39
  * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
@@ -53,11 +60,20 @@ export interface PrepareQueryCommandOutput extends PrepareQueryResponse, __Metad
53
60
  export declare class PrepareQueryCommand extends $Command<PrepareQueryCommandInput, PrepareQueryCommandOutput, TimestreamQueryClientResolvedConfig> {
54
61
  readonly input: PrepareQueryCommandInput;
55
62
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
63
+ /**
64
+ * @public
65
+ */
56
66
  constructor(input: PrepareQueryCommandInput);
57
67
  /**
58
68
  * @internal
59
69
  */
60
70
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PrepareQueryCommandInput, PrepareQueryCommandOutput>;
71
+ /**
72
+ * @internal
73
+ */
61
74
  private serialize;
75
+ /**
76
+ * @internal
77
+ */
62
78
  private deserialize;
63
79
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { QueryRequest, QueryResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link QueryCommand}.
8
10
  */
9
11
  export interface QueryCommandInput extends QueryRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link QueryCommand}.
13
17
  */
14
18
  export interface QueryCommandOutput extends QueryResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>
18
23
  * <code>Query</code> is a synchronous operation that enables you to run a query against
19
24
  * your Amazon Timestream data. <code>Query</code> will time out after 60 seconds.
@@ -55,6 +60,8 @@ export interface QueryCommandOutput extends QueryResponse, __MetadataBearer {
55
60
  * const response = await client.send(command);
56
61
  * ```
57
62
  *
63
+ * @param QueryCommandInput - {@link QueryCommandInput}
64
+ * @returns {@link QueryCommandOutput}
58
65
  * @see {@link QueryCommandInput} for command's `input` shape.
59
66
  * @see {@link QueryCommandOutput} for command's `response` shape.
60
67
  * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
@@ -88,11 +95,20 @@ export interface QueryCommandOutput extends QueryResponse, __MetadataBearer {
88
95
  export declare class QueryCommand extends $Command<QueryCommandInput, QueryCommandOutput, TimestreamQueryClientResolvedConfig> {
89
96
  readonly input: QueryCommandInput;
90
97
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
+ /**
99
+ * @public
100
+ */
91
101
  constructor(input: QueryCommandInput);
92
102
  /**
93
103
  * @internal
94
104
  */
95
105
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<QueryCommandInput, QueryCommandOutput>;
106
+ /**
107
+ * @internal
108
+ */
96
109
  private serialize;
110
+ /**
111
+ * @internal
112
+ */
97
113
  private deserialize;
98
114
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link TagResourceCommand}.
8
10
  */
9
11
  export interface TagResourceCommandInput extends TagResourceRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link TagResourceCommand}.
13
17
  */
14
18
  export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Associate a set of tags with a Timestream resource. You can then activate these
18
23
  * user-defined tags so that they appear on the Billing and Cost Management console for
19
24
  * cost allocation tracking. </p>
@@ -27,6 +32,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
27
32
  * const response = await client.send(command);
28
33
  * ```
29
34
  *
35
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
36
+ * @returns {@link TagResourceCommandOutput}
30
37
  * @see {@link TagResourceCommandInput} for command's `input` shape.
31
38
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
32
39
  * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
@@ -51,11 +58,20 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
51
58
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, TimestreamQueryClientResolvedConfig> {
52
59
  readonly input: TagResourceCommandInput;
53
60
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
61
+ /**
62
+ * @public
63
+ */
54
64
  constructor(input: TagResourceCommandInput);
55
65
  /**
56
66
  * @internal
57
67
  */
58
68
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
69
+ /**
70
+ * @internal
71
+ */
59
72
  private serialize;
73
+ /**
74
+ * @internal
75
+ */
60
76
  private deserialize;
61
77
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UntagResourceCommand}.
8
10
  */
9
11
  export interface UntagResourceCommandInput extends UntagResourceRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UntagResourceCommand}.
13
17
  */
14
18
  export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Removes the association of tags from a Timestream query resource.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
34
+ * @returns {@link UntagResourceCommandOutput}
28
35
  * @see {@link UntagResourceCommandInput} for command's `input` shape.
29
36
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
30
37
  * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
@@ -46,11 +53,20 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
46
53
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, TimestreamQueryClientResolvedConfig> {
47
54
  readonly input: UntagResourceCommandInput;
48
55
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
56
+ /**
57
+ * @public
58
+ */
49
59
  constructor(input: UntagResourceCommandInput);
50
60
  /**
51
61
  * @internal
52
62
  */
53
63
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
64
+ /**
65
+ * @internal
66
+ */
54
67
  private serialize;
68
+ /**
69
+ * @internal
70
+ */
55
71
  private deserialize;
56
72
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { UpdateScheduledQueryRequest } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, TimestreamQueryClientResolvedConfig } from "../TimestreamQueryClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateScheduledQueryCommand}.
8
10
  */
9
11
  export interface UpdateScheduledQueryCommandInput extends UpdateScheduledQueryRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateScheduledQueryCommand}.
13
17
  */
14
18
  export interface UpdateScheduledQueryCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Update a scheduled query.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface UpdateScheduledQueryCommandOutput extends __MetadataBearer {
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param UpdateScheduledQueryCommandInput - {@link UpdateScheduledQueryCommandInput}
34
+ * @returns {@link UpdateScheduledQueryCommandOutput}
28
35
  * @see {@link UpdateScheduledQueryCommandInput} for command's `input` shape.
29
36
  * @see {@link UpdateScheduledQueryCommandOutput} for command's `response` shape.
30
37
  * @see {@link TimestreamQueryClientResolvedConfig | config} for TimestreamQueryClient's `config` shape.
@@ -54,11 +61,20 @@ export interface UpdateScheduledQueryCommandOutput extends __MetadataBearer {
54
61
  export declare class UpdateScheduledQueryCommand extends $Command<UpdateScheduledQueryCommandInput, UpdateScheduledQueryCommandOutput, TimestreamQueryClientResolvedConfig> {
55
62
  readonly input: UpdateScheduledQueryCommandInput;
56
63
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
64
+ /**
65
+ * @public
66
+ */
57
67
  constructor(input: UpdateScheduledQueryCommandInput);
58
68
  /**
59
69
  * @internal
60
70
  */
61
71
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateScheduledQueryCommandInput, UpdateScheduledQueryCommandOutput>;
72
+ /**
73
+ * @internal
74
+ */
62
75
  private serialize;
76
+ /**
77
+ * @internal
78
+ */
63
79
  private deserialize;
64
80
  }
@@ -1,5 +1,7 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * Base exception class for all service exceptions from TimestreamQuery service.
4
6
  */
5
7
  export declare class TimestreamQueryServiceException extends __ServiceException {