@aws-sdk/client-timestream-influxdb 3.974.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
@@ -1030,6 +1030,14 @@ class UpdateDbInstanceCommand extends smithyClient.Command
1030
1030
  .build() {
1031
1031
  }
1032
1032
 
1033
+ const paginateListDbClusters = core.createPaginator(TimestreamInfluxDBClient, ListDbClustersCommand, "nextToken", "nextToken", "maxResults");
1034
+
1035
+ const paginateListDbInstancesForCluster = core.createPaginator(TimestreamInfluxDBClient, ListDbInstancesForClusterCommand, "nextToken", "nextToken", "maxResults");
1036
+
1037
+ const paginateListDbInstances = core.createPaginator(TimestreamInfluxDBClient, ListDbInstancesCommand, "nextToken", "nextToken", "maxResults");
1038
+
1039
+ const paginateListDbParameterGroups = core.createPaginator(TimestreamInfluxDBClient, ListDbParameterGroupsCommand, "nextToken", "nextToken", "maxResults");
1040
+
1033
1041
  const commands = {
1034
1042
  CreateDbClusterCommand,
1035
1043
  CreateDbInstanceCommand,
@@ -1051,17 +1059,15 @@ const commands = {
1051
1059
  UpdateDbClusterCommand,
1052
1060
  UpdateDbInstanceCommand,
1053
1061
  };
1062
+ const paginators = {
1063
+ paginateListDbClusters,
1064
+ paginateListDbInstances,
1065
+ paginateListDbInstancesForCluster,
1066
+ paginateListDbParameterGroups,
1067
+ };
1054
1068
  class TimestreamInfluxDB extends TimestreamInfluxDBClient {
1055
1069
  }
1056
- smithyClient.createAggregatedClient(commands, TimestreamInfluxDB);
1057
-
1058
- const paginateListDbClusters = core.createPaginator(TimestreamInfluxDBClient, ListDbClustersCommand, "nextToken", "nextToken", "maxResults");
1059
-
1060
- const paginateListDbInstances = core.createPaginator(TimestreamInfluxDBClient, ListDbInstancesCommand, "nextToken", "nextToken", "maxResults");
1061
-
1062
- const paginateListDbInstancesForCluster = core.createPaginator(TimestreamInfluxDBClient, ListDbInstancesForClusterCommand, "nextToken", "nextToken", "maxResults");
1063
-
1064
- const paginateListDbParameterGroups = core.createPaginator(TimestreamInfluxDBClient, ListDbParameterGroupsCommand, "nextToken", "nextToken", "maxResults");
1070
+ smithyClient.createAggregatedClient(commands, TimestreamInfluxDB, { paginators });
1065
1071
 
1066
1072
  const DbInstanceType = {
1067
1073
  DB_INFLUX_12XLARGE: "db.influx.12xlarge",
@@ -18,6 +18,10 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
18
18
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
19
19
  import { UpdateDbClusterCommand, } from "./commands/UpdateDbClusterCommand";
20
20
  import { UpdateDbInstanceCommand, } from "./commands/UpdateDbInstanceCommand";
21
+ import { paginateListDbClusters } from "./pagination/ListDbClustersPaginator";
22
+ import { paginateListDbInstancesForCluster } from "./pagination/ListDbInstancesForClusterPaginator";
23
+ import { paginateListDbInstances } from "./pagination/ListDbInstancesPaginator";
24
+ import { paginateListDbParameterGroups } from "./pagination/ListDbParameterGroupsPaginator";
21
25
  import { TimestreamInfluxDBClient } from "./TimestreamInfluxDBClient";
22
26
  const commands = {
23
27
  CreateDbClusterCommand,
@@ -40,6 +44,12 @@ const commands = {
40
44
  UpdateDbClusterCommand,
41
45
  UpdateDbInstanceCommand,
42
46
  };
47
+ const paginators = {
48
+ paginateListDbClusters,
49
+ paginateListDbInstances,
50
+ paginateListDbInstancesForCluster,
51
+ paginateListDbParameterGroups,
52
+ };
43
53
  export class TimestreamInfluxDB extends TimestreamInfluxDBClient {
44
54
  }
45
- createAggregatedClient(commands, TimestreamInfluxDB);
55
+ createAggregatedClient(commands, TimestreamInfluxDB, { 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 { CreateDbClusterCommandInput, CreateDbClusterCommandOutput } from "./commands/CreateDbClusterCommand";
3
3
  import { CreateDbInstanceCommandInput, CreateDbInstanceCommandOutput } from "./commands/CreateDbInstanceCommand";
4
4
  import { CreateDbParameterGroupCommandInput, CreateDbParameterGroupCommandOutput } from "./commands/CreateDbParameterGroupCommand";
@@ -137,6 +137,34 @@ export interface TimestreamInfluxDB {
137
137
  updateDbInstance(args: UpdateDbInstanceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDbInstanceCommandOutput>;
138
138
  updateDbInstance(args: UpdateDbInstanceCommandInput, cb: (err: any, data?: UpdateDbInstanceCommandOutput) => void): void;
139
139
  updateDbInstance(args: UpdateDbInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDbInstanceCommandOutput) => void): void;
140
+ /**
141
+ * @see {@link ListDbClustersCommand}
142
+ * @param args - command input.
143
+ * @param paginationConfig - optional pagination config.
144
+ * @returns AsyncIterable of {@link ListDbClustersCommandOutput}.
145
+ */
146
+ paginateListDbClusters(args?: ListDbClustersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDbClustersCommandOutput>;
147
+ /**
148
+ * @see {@link ListDbInstancesCommand}
149
+ * @param args - command input.
150
+ * @param paginationConfig - optional pagination config.
151
+ * @returns AsyncIterable of {@link ListDbInstancesCommandOutput}.
152
+ */
153
+ paginateListDbInstances(args?: ListDbInstancesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDbInstancesCommandOutput>;
154
+ /**
155
+ * @see {@link ListDbInstancesForClusterCommand}
156
+ * @param args - command input.
157
+ * @param paginationConfig - optional pagination config.
158
+ * @returns AsyncIterable of {@link ListDbInstancesForClusterCommandOutput}.
159
+ */
160
+ paginateListDbInstancesForCluster(args: ListDbInstancesForClusterCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDbInstancesForClusterCommandOutput>;
161
+ /**
162
+ * @see {@link ListDbParameterGroupsCommand}
163
+ * @param args - command input.
164
+ * @param paginationConfig - optional pagination config.
165
+ * @returns AsyncIterable of {@link ListDbParameterGroupsCommandOutput}.
166
+ */
167
+ paginateListDbParameterGroups(args?: ListDbParameterGroupsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDbParameterGroupsCommandOutput>;
140
168
  }
141
169
  /**
142
170
  * <p>Amazon Timestream for InfluxDB is a managed time-series database engine that makes it
@@ -1,4 +1,8 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ } from "@smithy/types";
2
6
  import {
3
7
  CreateDbClusterCommandInput,
4
8
  CreateDbClusterCommandOutput,
@@ -327,6 +331,34 @@ export interface TimestreamInfluxDB {
327
331
  options: __HttpHandlerOptions,
328
332
  cb: (err: any, data?: UpdateDbInstanceCommandOutput) => void
329
333
  ): void;
334
+ paginateListDbClusters(
335
+ args?: ListDbClustersCommandInput,
336
+ paginationConfig?: Pick<
337
+ PaginationConfiguration,
338
+ Exclude<keyof PaginationConfiguration, "client">
339
+ >
340
+ ): Paginator<ListDbClustersCommandOutput>;
341
+ paginateListDbInstances(
342
+ args?: ListDbInstancesCommandInput,
343
+ paginationConfig?: Pick<
344
+ PaginationConfiguration,
345
+ Exclude<keyof PaginationConfiguration, "client">
346
+ >
347
+ ): Paginator<ListDbInstancesCommandOutput>;
348
+ paginateListDbInstancesForCluster(
349
+ args: ListDbInstancesForClusterCommandInput,
350
+ paginationConfig?: Pick<
351
+ PaginationConfiguration,
352
+ Exclude<keyof PaginationConfiguration, "client">
353
+ >
354
+ ): Paginator<ListDbInstancesForClusterCommandOutput>;
355
+ paginateListDbParameterGroups(
356
+ args?: ListDbParameterGroupsCommandInput,
357
+ paginationConfig?: Pick<
358
+ PaginationConfiguration,
359
+ Exclude<keyof PaginationConfiguration, "client">
360
+ >
361
+ ): Paginator<ListDbParameterGroupsCommandOutput>;
330
362
  }
331
363
  export declare class TimestreamInfluxDB
332
364
  extends TimestreamInfluxDBClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-timestream-influxdb",
3
3
  "description": "AWS SDK for JavaScript Timestream Influxdb Client for Node.js, Browser and React Native",
4
- "version": "3.974.0",
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-influxdb",
@@ -21,38 +21,38 @@
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.0",
25
- "@aws-sdk/credential-provider-node": "^3.972.1",
26
- "@aws-sdk/middleware-host-header": "^3.972.1",
27
- "@aws-sdk/middleware-logger": "^3.972.1",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.1",
29
- "@aws-sdk/middleware-user-agent": "^3.972.1",
30
- "@aws-sdk/region-config-resolver": "^3.972.1",
31
- "@aws-sdk/types": "^3.973.0",
24
+ "@aws-sdk/core": "^3.973.4",
25
+ "@aws-sdk/credential-provider-node": "^3.972.2",
26
+ "@aws-sdk/middleware-host-header": "^3.972.2",
27
+ "@aws-sdk/middleware-logger": "^3.972.2",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.2",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.4",
30
+ "@aws-sdk/region-config-resolver": "^3.972.2",
31
+ "@aws-sdk/types": "^3.973.1",
32
32
  "@aws-sdk/util-endpoints": "3.972.0",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.1",
34
- "@aws-sdk/util-user-agent-node": "^3.972.1",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.2",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.2",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.21.0",
36
+ "@smithy/core": "^3.22.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.10",
42
- "@smithy/middleware-retry": "^4.4.26",
41
+ "@smithy/middleware-endpoint": "^4.4.12",
42
+ "@smithy/middleware-retry": "^4.4.29",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
46
  "@smithy/node-http-handler": "^4.4.8",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.10.11",
48
+ "@smithy/smithy-client": "^4.11.1",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.25",
55
- "@smithy/util-defaults-mode-node": "^4.2.28",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.28",
55
+ "@smithy/util-defaults-mode-node": "^4.2.31",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",