@aws-sdk/client-timestream-query 3.975.0 → 3.978.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.
package/dist-cjs/index.js
CHANGED
|
@@ -1232,6 +1232,12 @@ class UpdateScheduledQueryCommand extends smithyClient.Command
|
|
|
1232
1232
|
.build() {
|
|
1233
1233
|
}
|
|
1234
1234
|
|
|
1235
|
+
const paginateListScheduledQueries = core.createPaginator(TimestreamQueryClient, ListScheduledQueriesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1236
|
+
|
|
1237
|
+
const paginateListTagsForResource = core.createPaginator(TimestreamQueryClient, ListTagsForResourceCommand, "NextToken", "NextToken", "MaxResults");
|
|
1238
|
+
|
|
1239
|
+
const paginateQuery = core.createPaginator(TimestreamQueryClient, QueryCommand, "NextToken", "NextToken", "MaxRows");
|
|
1240
|
+
|
|
1235
1241
|
const commands = {
|
|
1236
1242
|
CancelQueryCommand,
|
|
1237
1243
|
CreateScheduledQueryCommand,
|
|
@@ -1249,15 +1255,14 @@ const commands = {
|
|
|
1249
1255
|
UpdateAccountSettingsCommand,
|
|
1250
1256
|
UpdateScheduledQueryCommand,
|
|
1251
1257
|
};
|
|
1258
|
+
const paginators = {
|
|
1259
|
+
paginateListScheduledQueries,
|
|
1260
|
+
paginateListTagsForResource,
|
|
1261
|
+
paginateQuery,
|
|
1262
|
+
};
|
|
1252
1263
|
class TimestreamQuery extends TimestreamQueryClient {
|
|
1253
1264
|
}
|
|
1254
|
-
smithyClient.createAggregatedClient(commands, TimestreamQuery);
|
|
1255
|
-
|
|
1256
|
-
const paginateListScheduledQueries = core.createPaginator(TimestreamQueryClient, ListScheduledQueriesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1257
|
-
|
|
1258
|
-
const paginateListTagsForResource = core.createPaginator(TimestreamQueryClient, ListTagsForResourceCommand, "NextToken", "NextToken", "MaxResults");
|
|
1259
|
-
|
|
1260
|
-
const paginateQuery = core.createPaginator(TimestreamQueryClient, QueryCommand, "NextToken", "NextToken", "MaxRows");
|
|
1265
|
+
smithyClient.createAggregatedClient(commands, TimestreamQuery, { paginators });
|
|
1261
1266
|
|
|
1262
1267
|
const ScalarType = {
|
|
1263
1268
|
BIGINT: "BIGINT",
|
|
@@ -14,6 +14,9 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
14
14
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
15
15
|
import { UpdateAccountSettingsCommand, } from "./commands/UpdateAccountSettingsCommand";
|
|
16
16
|
import { UpdateScheduledQueryCommand, } from "./commands/UpdateScheduledQueryCommand";
|
|
17
|
+
import { paginateListScheduledQueries } from "./pagination/ListScheduledQueriesPaginator";
|
|
18
|
+
import { paginateListTagsForResource } from "./pagination/ListTagsForResourcePaginator";
|
|
19
|
+
import { paginateQuery } from "./pagination/QueryPaginator";
|
|
17
20
|
import { TimestreamQueryClient } from "./TimestreamQueryClient";
|
|
18
21
|
const commands = {
|
|
19
22
|
CancelQueryCommand,
|
|
@@ -32,6 +35,11 @@ const commands = {
|
|
|
32
35
|
UpdateAccountSettingsCommand,
|
|
33
36
|
UpdateScheduledQueryCommand,
|
|
34
37
|
};
|
|
38
|
+
const paginators = {
|
|
39
|
+
paginateListScheduledQueries,
|
|
40
|
+
paginateListTagsForResource,
|
|
41
|
+
paginateQuery,
|
|
42
|
+
};
|
|
35
43
|
export class TimestreamQuery extends TimestreamQueryClient {
|
|
36
44
|
}
|
|
37
|
-
createAggregatedClient(commands, TimestreamQuery);
|
|
45
|
+
createAggregatedClient(commands, TimestreamQuery, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
|
|
3
3
|
import { CreateScheduledQueryCommandInput, CreateScheduledQueryCommandOutput } from "./commands/CreateScheduledQueryCommand";
|
|
4
4
|
import { DeleteScheduledQueryCommandInput, DeleteScheduledQueryCommandOutput } from "./commands/DeleteScheduledQueryCommand";
|
|
@@ -110,6 +110,27 @@ export interface TimestreamQuery {
|
|
|
110
110
|
updateScheduledQuery(args: UpdateScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateScheduledQueryCommandOutput>;
|
|
111
111
|
updateScheduledQuery(args: UpdateScheduledQueryCommandInput, cb: (err: any, data?: UpdateScheduledQueryCommandOutput) => void): void;
|
|
112
112
|
updateScheduledQuery(args: UpdateScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScheduledQueryCommandOutput) => void): void;
|
|
113
|
+
/**
|
|
114
|
+
* @see {@link ListScheduledQueriesCommand}
|
|
115
|
+
* @param args - command input.
|
|
116
|
+
* @param paginationConfig - optional pagination config.
|
|
117
|
+
* @returns AsyncIterable of {@link ListScheduledQueriesCommandOutput}.
|
|
118
|
+
*/
|
|
119
|
+
paginateListScheduledQueries(args?: ListScheduledQueriesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListScheduledQueriesCommandOutput>;
|
|
120
|
+
/**
|
|
121
|
+
* @see {@link ListTagsForResourceCommand}
|
|
122
|
+
* @param args - command input.
|
|
123
|
+
* @param paginationConfig - optional pagination config.
|
|
124
|
+
* @returns AsyncIterable of {@link ListTagsForResourceCommandOutput}.
|
|
125
|
+
*/
|
|
126
|
+
paginateListTagsForResource(args: ListTagsForResourceCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTagsForResourceCommandOutput>;
|
|
127
|
+
/**
|
|
128
|
+
* @see {@link QueryCommand}
|
|
129
|
+
* @param args - command input.
|
|
130
|
+
* @param paginationConfig - optional pagination config.
|
|
131
|
+
* @returns AsyncIterable of {@link QueryCommandOutput}.
|
|
132
|
+
*/
|
|
133
|
+
paginateQuery(args: QueryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<QueryCommandOutput>;
|
|
113
134
|
}
|
|
114
135
|
/**
|
|
115
136
|
* <fullname>Amazon Timestream Query
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CancelQueryCommandInput,
|
|
4
8
|
CancelQueryCommandOutput,
|
|
@@ -257,6 +261,27 @@ export interface TimestreamQuery {
|
|
|
257
261
|
options: __HttpHandlerOptions,
|
|
258
262
|
cb: (err: any, data?: UpdateScheduledQueryCommandOutput) => void
|
|
259
263
|
): void;
|
|
264
|
+
paginateListScheduledQueries(
|
|
265
|
+
args?: ListScheduledQueriesCommandInput,
|
|
266
|
+
paginationConfig?: Pick<
|
|
267
|
+
PaginationConfiguration,
|
|
268
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
269
|
+
>
|
|
270
|
+
): Paginator<ListScheduledQueriesCommandOutput>;
|
|
271
|
+
paginateListTagsForResource(
|
|
272
|
+
args: ListTagsForResourceCommandInput,
|
|
273
|
+
paginationConfig?: Pick<
|
|
274
|
+
PaginationConfiguration,
|
|
275
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
276
|
+
>
|
|
277
|
+
): Paginator<ListTagsForResourceCommandOutput>;
|
|
278
|
+
paginateQuery(
|
|
279
|
+
args: QueryCommandInput,
|
|
280
|
+
paginationConfig?: Pick<
|
|
281
|
+
PaginationConfiguration,
|
|
282
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
283
|
+
>
|
|
284
|
+
): Paginator<QueryCommandOutput>;
|
|
260
285
|
}
|
|
261
286
|
export declare class TimestreamQuery
|
|
262
287
|
extends TimestreamQueryClient
|
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.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-timestream-query",
|
|
@@ -21,39 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-endpoint-discovery": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
32
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-endpoint-discovery": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
32
|
+
"@aws-sdk/types": "^3.973.1",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
36
36
|
"@smithy/config-resolver": "^4.4.6",
|
|
37
|
-
"@smithy/core": "^3.
|
|
37
|
+
"@smithy/core": "^3.22.0",
|
|
38
38
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
39
39
|
"@smithy/hash-node": "^4.2.8",
|
|
40
40
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
41
41
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
42
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
43
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
43
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
44
44
|
"@smithy/middleware-serde": "^4.2.9",
|
|
45
45
|
"@smithy/middleware-stack": "^4.2.8",
|
|
46
46
|
"@smithy/node-config-provider": "^4.3.8",
|
|
47
47
|
"@smithy/node-http-handler": "^4.4.8",
|
|
48
48
|
"@smithy/protocol-http": "^5.3.8",
|
|
49
|
-
"@smithy/smithy-client": "^4.
|
|
49
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
50
50
|
"@smithy/types": "^4.12.0",
|
|
51
51
|
"@smithy/url-parser": "^4.2.8",
|
|
52
52
|
"@smithy/util-base64": "^4.3.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
57
57
|
"@smithy/util-endpoints": "^3.2.8",
|
|
58
58
|
"@smithy/util-middleware": "^4.2.8",
|
|
59
59
|
"@smithy/util-retry": "^4.2.8",
|