@aws-sdk/client-timestream-query 3.312.0 → 3.316.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.
@@ -13,165 +13,91 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
13
13
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
14
14
  import { UpdateScheduledQueryCommandInput, UpdateScheduledQueryCommandOutput } from "./commands/UpdateScheduledQueryCommand";
15
15
  import { TimestreamQueryClient } from "./TimestreamQueryClient";
16
- /**
17
- * @public
18
- * <fullname>Amazon Timestream Query
19
- * </fullname>
20
- * <p></p>
21
- */
22
- export declare class TimestreamQuery extends TimestreamQueryClient {
16
+ export interface TimestreamQuery {
23
17
  /**
24
- * @public
25
- * <p> Cancels a query that has been issued. Cancellation is provided only if the query has
26
- * not completed running before the cancellation request was issued. Because cancellation
27
- * is an idempotent operation, subsequent cancellation requests will return a
28
- * <code>CancellationMessage</code>, indicating that the query has already been
29
- * canceled. See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.cancel-query.html">code
30
- * sample</a> for details. </p>
18
+ * @see {@link CancelQueryCommand}
31
19
  */
32
20
  cancelQuery(args: CancelQueryCommandInput, options?: __HttpHandlerOptions): Promise<CancelQueryCommandOutput>;
33
21
  cancelQuery(args: CancelQueryCommandInput, cb: (err: any, data?: CancelQueryCommandOutput) => void): void;
34
22
  cancelQuery(args: CancelQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelQueryCommandOutput) => void): void;
35
23
  /**
36
- * @public
37
- * <p> Create a scheduled query that will be run on your behalf at the configured schedule.
38
- * Timestream assumes the execution role provided as part of the
39
- * <code>ScheduledQueryExecutionRoleArn</code> parameter to run the query. You can use
40
- * the <code>NotificationConfiguration</code> parameter to configure notification for your
41
- * scheduled query operations.</p>
24
+ * @see {@link CreateScheduledQueryCommand}
42
25
  */
43
26
  createScheduledQuery(args: CreateScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<CreateScheduledQueryCommandOutput>;
44
27
  createScheduledQuery(args: CreateScheduledQueryCommandInput, cb: (err: any, data?: CreateScheduledQueryCommandOutput) => void): void;
45
28
  createScheduledQuery(args: CreateScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateScheduledQueryCommandOutput) => void): void;
46
29
  /**
47
- * @public
48
- * <p>Deletes a given scheduled query. This is an irreversible operation. </p>
30
+ * @see {@link DeleteScheduledQueryCommand}
49
31
  */
50
32
  deleteScheduledQuery(args: DeleteScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScheduledQueryCommandOutput>;
51
33
  deleteScheduledQuery(args: DeleteScheduledQueryCommandInput, cb: (err: any, data?: DeleteScheduledQueryCommandOutput) => void): void;
52
34
  deleteScheduledQuery(args: DeleteScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScheduledQueryCommandOutput) => void): void;
53
35
  /**
54
- * @public
55
- * <p>DescribeEndpoints returns a list of available endpoints to make Timestream
56
- * API calls against. This API is available through both Write and Query.</p>
57
- * <p>Because the Timestream SDKs are designed to transparently work with the
58
- * service’s architecture, including the management and mapping of the service endpoints,
59
- * <i>it is not recommended that you use this API unless</i>:</p>
60
- * <ul>
61
- * <li>
62
- * <p>You are using <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/VPCEndpoints">VPC endpoints (Amazon Web Services PrivateLink) with Timestream
63
- * </a>
64
- * </p>
65
- * </li>
66
- * <li>
67
- * <p>Your application uses a programming language that does not yet have SDK
68
- * support</p>
69
- * </li>
70
- * <li>
71
- * <p>You require better control over the client-side implementation</p>
72
- * </li>
73
- * </ul>
74
- * <p>For detailed information on how and when to use and implement DescribeEndpoints, see
75
- * <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/Using.API.html#Using-API.endpoint-discovery">The Endpoint Discovery Pattern</a>.</p>
36
+ * @see {@link DescribeEndpointsCommand}
76
37
  */
77
38
  describeEndpoints(args: DescribeEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEndpointsCommandOutput>;
78
39
  describeEndpoints(args: DescribeEndpointsCommandInput, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
79
40
  describeEndpoints(args: DescribeEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
80
41
  /**
81
- * @public
82
- * <p>Provides detailed information about a scheduled query.</p>
42
+ * @see {@link DescribeScheduledQueryCommand}
83
43
  */
84
44
  describeScheduledQuery(args: DescribeScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScheduledQueryCommandOutput>;
85
45
  describeScheduledQuery(args: DescribeScheduledQueryCommandInput, cb: (err: any, data?: DescribeScheduledQueryCommandOutput) => void): void;
86
46
  describeScheduledQuery(args: DescribeScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScheduledQueryCommandOutput) => void): void;
87
47
  /**
88
- * @public
89
- * <p> You can use this API to run a scheduled query manually. </p>
48
+ * @see {@link ExecuteScheduledQueryCommand}
90
49
  */
91
50
  executeScheduledQuery(args: ExecuteScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteScheduledQueryCommandOutput>;
92
51
  executeScheduledQuery(args: ExecuteScheduledQueryCommandInput, cb: (err: any, data?: ExecuteScheduledQueryCommandOutput) => void): void;
93
52
  executeScheduledQuery(args: ExecuteScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteScheduledQueryCommandOutput) => void): void;
94
53
  /**
95
- * @public
96
- * <p>Gets a list of all scheduled queries in the caller's Amazon account and Region. <code>ListScheduledQueries</code> is eventually consistent. </p>
54
+ * @see {@link ListScheduledQueriesCommand}
97
55
  */
98
56
  listScheduledQueries(args: ListScheduledQueriesCommandInput, options?: __HttpHandlerOptions): Promise<ListScheduledQueriesCommandOutput>;
99
57
  listScheduledQueries(args: ListScheduledQueriesCommandInput, cb: (err: any, data?: ListScheduledQueriesCommandOutput) => void): void;
100
58
  listScheduledQueries(args: ListScheduledQueriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListScheduledQueriesCommandOutput) => void): void;
101
59
  /**
102
- * @public
103
- * <p>List all tags on a Timestream query resource.</p>
60
+ * @see {@link ListTagsForResourceCommand}
104
61
  */
105
62
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
106
63
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
107
64
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
108
65
  /**
109
- * @public
110
- * <p>A synchronous operation that allows you to submit a query with parameters to be stored
111
- * by Timestream for later running. Timestream only supports using this operation with the
112
- * <code>PrepareQueryRequest$ValidateOnly</code> set to <code>true</code>. </p>
66
+ * @see {@link PrepareQueryCommand}
113
67
  */
114
68
  prepareQuery(args: PrepareQueryCommandInput, options?: __HttpHandlerOptions): Promise<PrepareQueryCommandOutput>;
115
69
  prepareQuery(args: PrepareQueryCommandInput, cb: (err: any, data?: PrepareQueryCommandOutput) => void): void;
116
70
  prepareQuery(args: PrepareQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PrepareQueryCommandOutput) => void): void;
117
71
  /**
118
- * @public
119
- * <p>
120
- * <code>Query</code> is a synchronous operation that enables you to run a query against
121
- * your Amazon Timestream data. <code>Query</code> will time out after 60 seconds.
122
- * You must update the default timeout in the SDK to support a timeout of 60 seconds. See
123
- * the <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.run-query.html">code
124
- * sample</a> for details. </p>
125
- * <p>Your query request will fail in the following cases:</p>
126
- * <ul>
127
- * <li>
128
- * <p> If you submit a <code>Query</code> request with the same client token outside
129
- * of the 5-minute idempotency window. </p>
130
- * </li>
131
- * <li>
132
- * <p> If you submit a <code>Query</code> request with the same client token, but
133
- * change other parameters, within the 5-minute idempotency window. </p>
134
- * </li>
135
- * <li>
136
- * <p> If the size of the row (including the query metadata) exceeds 1 MB, then the
137
- * query will fail with the following error message: </p>
138
- * <p>
139
- * <code>Query aborted as max page response size has been exceeded by the output
140
- * result row</code>
141
- * </p>
142
- * </li>
143
- * <li>
144
- * <p> If the IAM principal of the query initiator and the result reader are not the
145
- * same and/or the query initiator and the result reader do not have the same query
146
- * string in the query requests, the query will fail with an <code>Invalid
147
- * pagination token</code> error. </p>
148
- * </li>
149
- * </ul>
72
+ * @see {@link QueryCommand}
150
73
  */
151
74
  query(args: QueryCommandInput, options?: __HttpHandlerOptions): Promise<QueryCommandOutput>;
152
75
  query(args: QueryCommandInput, cb: (err: any, data?: QueryCommandOutput) => void): void;
153
76
  query(args: QueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryCommandOutput) => void): void;
154
77
  /**
155
- * @public
156
- * <p>Associate a set of tags with a Timestream resource. You can then activate these
157
- * user-defined tags so that they appear on the Billing and Cost Management console for
158
- * cost allocation tracking. </p>
78
+ * @see {@link TagResourceCommand}
159
79
  */
160
80
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
161
81
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
162
82
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
163
83
  /**
164
- * @public
165
- * <p>Removes the association of tags from a Timestream query resource.</p>
84
+ * @see {@link UntagResourceCommand}
166
85
  */
167
86
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
168
87
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
169
88
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
170
89
  /**
171
- * @public
172
- * <p>Update a scheduled query.</p>
90
+ * @see {@link UpdateScheduledQueryCommand}
173
91
  */
174
92
  updateScheduledQuery(args: UpdateScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateScheduledQueryCommandOutput>;
175
93
  updateScheduledQuery(args: UpdateScheduledQueryCommandInput, cb: (err: any, data?: UpdateScheduledQueryCommandOutput) => void): void;
176
94
  updateScheduledQuery(args: UpdateScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScheduledQueryCommandOutput) => void): void;
177
95
  }
96
+ /**
97
+ * @public
98
+ * <fullname>Amazon Timestream Query
99
+ * </fullname>
100
+ * <p></p>
101
+ */
102
+ export declare class TimestreamQuery extends TimestreamQueryClient implements TimestreamQuery {
103
+ }
@@ -49,7 +49,7 @@ import {
49
49
  UpdateScheduledQueryCommandOutput,
50
50
  } from "./commands/UpdateScheduledQueryCommand";
51
51
  import { TimestreamQueryClient } from "./TimestreamQueryClient";
52
- export declare class TimestreamQuery extends TimestreamQueryClient {
52
+ export interface TimestreamQuery {
53
53
  cancelQuery(
54
54
  args: CancelQueryCommandInput,
55
55
  options?: __HttpHandlerOptions
@@ -220,3 +220,6 @@ export declare class TimestreamQuery extends TimestreamQueryClient {
220
220
  cb: (err: any, data?: UpdateScheduledQueryCommandOutput) => void
221
221
  ): void;
222
222
  }
223
+ export declare class TimestreamQuery
224
+ extends TimestreamQueryClient
225
+ implements TimestreamQuery {}
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.312.0",
4
+ "version": "3.316.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.312.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.310.0",
26
+ "@aws-sdk/credential-provider-node": "3.316.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -41,14 +41,14 @@
41
41
  "@aws-sdk/node-config-provider": "3.310.0",
42
42
  "@aws-sdk/node-http-handler": "3.310.0",
43
43
  "@aws-sdk/protocol-http": "3.310.0",
44
- "@aws-sdk/smithy-client": "3.310.0",
44
+ "@aws-sdk/smithy-client": "3.316.0",
45
45
  "@aws-sdk/types": "3.310.0",
46
46
  "@aws-sdk/url-parser": "3.310.0",
47
47
  "@aws-sdk/util-base64": "3.310.0",
48
48
  "@aws-sdk/util-body-length-browser": "3.310.0",
49
49
  "@aws-sdk/util-body-length-node": "3.310.0",
50
- "@aws-sdk/util-defaults-mode-browser": "3.310.0",
51
- "@aws-sdk/util-defaults-mode-node": "3.310.0",
50
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
51
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
52
52
  "@aws-sdk/util-endpoints": "3.310.0",
53
53
  "@aws-sdk/util-retry": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-browser": "3.310.0",