@aws-sdk/client-bedrock-data-automation 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
@@ -1183,6 +1183,10 @@ class UpdateDataAutomationProjectCommand extends smithyClient.Command
1183
1183
  .build() {
1184
1184
  }
1185
1185
 
1186
+ const paginateListBlueprints = core.createPaginator(BedrockDataAutomationClient, ListBlueprintsCommand, "nextToken", "nextToken", "maxResults");
1187
+
1188
+ const paginateListDataAutomationProjects = core.createPaginator(BedrockDataAutomationClient, ListDataAutomationProjectsCommand, "nextToken", "nextToken", "maxResults");
1189
+
1186
1190
  const commands = {
1187
1191
  CopyBlueprintStageCommand,
1188
1192
  CreateBlueprintCommand,
@@ -1202,13 +1206,13 @@ const commands = {
1202
1206
  UpdateBlueprintCommand,
1203
1207
  UpdateDataAutomationProjectCommand,
1204
1208
  };
1209
+ const paginators = {
1210
+ paginateListBlueprints,
1211
+ paginateListDataAutomationProjects,
1212
+ };
1205
1213
  class BedrockDataAutomation extends BedrockDataAutomationClient {
1206
1214
  }
1207
- smithyClient.createAggregatedClient(commands, BedrockDataAutomation);
1208
-
1209
- const paginateListBlueprints = core.createPaginator(BedrockDataAutomationClient, ListBlueprintsCommand, "nextToken", "nextToken", "maxResults");
1210
-
1211
- const paginateListDataAutomationProjects = core.createPaginator(BedrockDataAutomationClient, ListDataAutomationProjectsCommand, "nextToken", "nextToken", "maxResults");
1215
+ smithyClient.createAggregatedClient(commands, BedrockDataAutomation, { paginators });
1212
1216
 
1213
1217
  const BlueprintOptimizationJobStatus = {
1214
1218
  CLIENT_ERROR: "ClientError",
@@ -17,6 +17,8 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
17
17
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
18
18
  import { UpdateBlueprintCommand, } from "./commands/UpdateBlueprintCommand";
19
19
  import { UpdateDataAutomationProjectCommand, } from "./commands/UpdateDataAutomationProjectCommand";
20
+ import { paginateListBlueprints } from "./pagination/ListBlueprintsPaginator";
21
+ import { paginateListDataAutomationProjects } from "./pagination/ListDataAutomationProjectsPaginator";
20
22
  const commands = {
21
23
  CopyBlueprintStageCommand,
22
24
  CreateBlueprintCommand,
@@ -36,6 +38,10 @@ const commands = {
36
38
  UpdateBlueprintCommand,
37
39
  UpdateDataAutomationProjectCommand,
38
40
  };
41
+ const paginators = {
42
+ paginateListBlueprints,
43
+ paginateListDataAutomationProjects,
44
+ };
39
45
  export class BedrockDataAutomation extends BedrockDataAutomationClient {
40
46
  }
41
- createAggregatedClient(commands, BedrockDataAutomation);
47
+ createAggregatedClient(commands, BedrockDataAutomation, { 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 { BedrockDataAutomationClient } from "./BedrockDataAutomationClient";
3
3
  import { CopyBlueprintStageCommandInput, CopyBlueprintStageCommandOutput } from "./commands/CopyBlueprintStageCommand";
4
4
  import { CreateBlueprintCommandInput, CreateBlueprintCommandOutput } from "./commands/CreateBlueprintCommand";
@@ -122,6 +122,20 @@ export interface BedrockDataAutomation {
122
122
  updateDataAutomationProject(args: UpdateDataAutomationProjectCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataAutomationProjectCommandOutput>;
123
123
  updateDataAutomationProject(args: UpdateDataAutomationProjectCommandInput, cb: (err: any, data?: UpdateDataAutomationProjectCommandOutput) => void): void;
124
124
  updateDataAutomationProject(args: UpdateDataAutomationProjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataAutomationProjectCommandOutput) => void): void;
125
+ /**
126
+ * @see {@link ListBlueprintsCommand}
127
+ * @param args - command input.
128
+ * @param paginationConfig - optional pagination config.
129
+ * @returns AsyncIterable of {@link ListBlueprintsCommandOutput}.
130
+ */
131
+ paginateListBlueprints(args?: ListBlueprintsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBlueprintsCommandOutput>;
132
+ /**
133
+ * @see {@link ListDataAutomationProjectsCommand}
134
+ * @param args - command input.
135
+ * @param paginationConfig - optional pagination config.
136
+ * @returns AsyncIterable of {@link ListDataAutomationProjectsCommandOutput}.
137
+ */
138
+ paginateListDataAutomationProjects(args?: ListDataAutomationProjectsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDataAutomationProjectsCommandOutput>;
125
139
  }
126
140
  /**
127
141
  * Amazon Bedrock Data Automation BuildTime
@@ -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 { BedrockDataAutomationClient } from "./BedrockDataAutomationClient";
3
7
  import {
4
8
  CopyBlueprintStageCommandInput,
@@ -292,6 +296,20 @@ export interface BedrockDataAutomation {
292
296
  options: __HttpHandlerOptions,
293
297
  cb: (err: any, data?: UpdateDataAutomationProjectCommandOutput) => void
294
298
  ): void;
299
+ paginateListBlueprints(
300
+ args?: ListBlueprintsCommandInput,
301
+ paginationConfig?: Pick<
302
+ PaginationConfiguration,
303
+ Exclude<keyof PaginationConfiguration, "client">
304
+ >
305
+ ): Paginator<ListBlueprintsCommandOutput>;
306
+ paginateListDataAutomationProjects(
307
+ args?: ListDataAutomationProjectsCommandInput,
308
+ paginationConfig?: Pick<
309
+ PaginationConfiguration,
310
+ Exclude<keyof PaginationConfiguration, "client">
311
+ >
312
+ ): Paginator<ListDataAutomationProjectsCommandOutput>;
295
313
  }
296
314
  export declare class BedrockDataAutomation
297
315
  extends BedrockDataAutomationClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-data-automation",
3
3
  "description": "AWS SDK for JavaScript Bedrock Data Automation Client for Node.js, Browser and React Native",
4
- "version": "3.975.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-bedrock-data-automation",
@@ -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.1",
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.2",
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.1",
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.11",
42
- "@smithy/middleware-retry": "^4.4.27",
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.12",
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.26",
55
- "@smithy/util-defaults-mode-node": "^4.2.29",
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",