@aws-sdk/client-data-pipeline 3.975.0 → 3.980.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
@@ -941,6 +941,12 @@ class ValidatePipelineDefinitionCommand extends smithyClient.Command
941
941
  .build() {
942
942
  }
943
943
 
944
+ const paginateDescribeObjects = core.createPaginator(DataPipelineClient, DescribeObjectsCommand, "marker", "marker", "");
945
+
946
+ const paginateListPipelines = core.createPaginator(DataPipelineClient, ListPipelinesCommand, "marker", "marker", "");
947
+
948
+ const paginateQueryObjects = core.createPaginator(DataPipelineClient, QueryObjectsCommand, "marker", "marker", "limit");
949
+
944
950
  const commands = {
945
951
  ActivatePipelineCommand,
946
952
  AddTagsCommand,
@@ -962,15 +968,14 @@ const commands = {
962
968
  SetTaskStatusCommand,
963
969
  ValidatePipelineDefinitionCommand,
964
970
  };
971
+ const paginators = {
972
+ paginateDescribeObjects,
973
+ paginateListPipelines,
974
+ paginateQueryObjects,
975
+ };
965
976
  class DataPipeline extends DataPipelineClient {
966
977
  }
967
- smithyClient.createAggregatedClient(commands, DataPipeline);
968
-
969
- const paginateDescribeObjects = core.createPaginator(DataPipelineClient, DescribeObjectsCommand, "marker", "marker", "");
970
-
971
- const paginateListPipelines = core.createPaginator(DataPipelineClient, ListPipelinesCommand, "marker", "marker", "");
972
-
973
- const paginateQueryObjects = core.createPaginator(DataPipelineClient, QueryObjectsCommand, "marker", "marker", "limit");
978
+ smithyClient.createAggregatedClient(commands, DataPipeline, { paginators });
974
979
 
975
980
  const OperatorType = {
976
981
  Between: "BETWEEN",
@@ -19,6 +19,9 @@ import { SetStatusCommand } from "./commands/SetStatusCommand";
19
19
  import { SetTaskStatusCommand, } from "./commands/SetTaskStatusCommand";
20
20
  import { ValidatePipelineDefinitionCommand, } from "./commands/ValidatePipelineDefinitionCommand";
21
21
  import { DataPipelineClient } from "./DataPipelineClient";
22
+ import { paginateDescribeObjects } from "./pagination/DescribeObjectsPaginator";
23
+ import { paginateListPipelines } from "./pagination/ListPipelinesPaginator";
24
+ import { paginateQueryObjects } from "./pagination/QueryObjectsPaginator";
22
25
  const commands = {
23
26
  ActivatePipelineCommand,
24
27
  AddTagsCommand,
@@ -40,6 +43,11 @@ const commands = {
40
43
  SetTaskStatusCommand,
41
44
  ValidatePipelineDefinitionCommand,
42
45
  };
46
+ const paginators = {
47
+ paginateDescribeObjects,
48
+ paginateListPipelines,
49
+ paginateQueryObjects,
50
+ };
43
51
  export class DataPipeline extends DataPipelineClient {
44
52
  }
45
- createAggregatedClient(commands, DataPipeline);
53
+ createAggregatedClient(commands, DataPipeline, { 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 { ActivatePipelineCommandInput, ActivatePipelineCommandOutput } from "./commands/ActivatePipelineCommand";
3
3
  import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
4
4
  import { CreatePipelineCommandInput, CreatePipelineCommandOutput } from "./commands/CreatePipelineCommand";
@@ -135,6 +135,27 @@ export interface DataPipeline {
135
135
  validatePipelineDefinition(args: ValidatePipelineDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<ValidatePipelineDefinitionCommandOutput>;
136
136
  validatePipelineDefinition(args: ValidatePipelineDefinitionCommandInput, cb: (err: any, data?: ValidatePipelineDefinitionCommandOutput) => void): void;
137
137
  validatePipelineDefinition(args: ValidatePipelineDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ValidatePipelineDefinitionCommandOutput) => void): void;
138
+ /**
139
+ * @see {@link DescribeObjectsCommand}
140
+ * @param args - command input.
141
+ * @param paginationConfig - optional pagination config.
142
+ * @returns AsyncIterable of {@link DescribeObjectsCommandOutput}.
143
+ */
144
+ paginateDescribeObjects(args: DescribeObjectsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeObjectsCommandOutput>;
145
+ /**
146
+ * @see {@link ListPipelinesCommand}
147
+ * @param args - command input.
148
+ * @param paginationConfig - optional pagination config.
149
+ * @returns AsyncIterable of {@link ListPipelinesCommandOutput}.
150
+ */
151
+ paginateListPipelines(args?: ListPipelinesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPipelinesCommandOutput>;
152
+ /**
153
+ * @see {@link QueryObjectsCommand}
154
+ * @param args - command input.
155
+ * @param paginationConfig - optional pagination config.
156
+ * @returns AsyncIterable of {@link QueryObjectsCommandOutput}.
157
+ */
158
+ paginateQueryObjects(args: QueryObjectsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<QueryObjectsCommandOutput>;
138
159
  }
139
160
  /**
140
161
  * <p>AWS Data Pipeline configures and manages a data-driven workflow called a pipeline. AWS Data Pipeline
@@ -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
  ActivatePipelineCommandInput,
4
8
  ActivatePipelineCommandOutput,
@@ -325,6 +329,27 @@ export interface DataPipeline {
325
329
  options: __HttpHandlerOptions,
326
330
  cb: (err: any, data?: ValidatePipelineDefinitionCommandOutput) => void
327
331
  ): void;
332
+ paginateDescribeObjects(
333
+ args: DescribeObjectsCommandInput,
334
+ paginationConfig?: Pick<
335
+ PaginationConfiguration,
336
+ Exclude<keyof PaginationConfiguration, "client">
337
+ >
338
+ ): Paginator<DescribeObjectsCommandOutput>;
339
+ paginateListPipelines(
340
+ args?: ListPipelinesCommandInput,
341
+ paginationConfig?: Pick<
342
+ PaginationConfiguration,
343
+ Exclude<keyof PaginationConfiguration, "client">
344
+ >
345
+ ): Paginator<ListPipelinesCommandOutput>;
346
+ paginateQueryObjects(
347
+ args: QueryObjectsCommandInput,
348
+ paginationConfig?: Pick<
349
+ PaginationConfiguration,
350
+ Exclude<keyof PaginationConfiguration, "client">
351
+ >
352
+ ): Paginator<QueryObjectsCommandOutput>;
328
353
  }
329
354
  export declare class DataPipeline
330
355
  extends DataPipelineClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-data-pipeline",
3
3
  "description": "AWS SDK for JavaScript Data Pipeline Client for Node.js, Browser and React Native",
4
- "version": "3.975.0",
4
+ "version": "3.980.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-data-pipeline",
@@ -23,38 +23,38 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.973.1",
27
- "@aws-sdk/credential-provider-node": "^3.972.1",
28
- "@aws-sdk/middleware-host-header": "^3.972.1",
29
- "@aws-sdk/middleware-logger": "^3.972.1",
30
- "@aws-sdk/middleware-recursion-detection": "^3.972.1",
31
- "@aws-sdk/middleware-user-agent": "^3.972.2",
32
- "@aws-sdk/region-config-resolver": "^3.972.1",
33
- "@aws-sdk/types": "^3.973.0",
34
- "@aws-sdk/util-endpoints": "3.972.0",
35
- "@aws-sdk/util-user-agent-browser": "^3.972.1",
36
- "@aws-sdk/util-user-agent-node": "^3.972.1",
26
+ "@aws-sdk/core": "^3.973.5",
27
+ "@aws-sdk/credential-provider-node": "^3.972.4",
28
+ "@aws-sdk/middleware-host-header": "^3.972.3",
29
+ "@aws-sdk/middleware-logger": "^3.972.3",
30
+ "@aws-sdk/middleware-recursion-detection": "^3.972.3",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.5",
32
+ "@aws-sdk/region-config-resolver": "^3.972.3",
33
+ "@aws-sdk/types": "^3.973.1",
34
+ "@aws-sdk/util-endpoints": "3.980.0",
35
+ "@aws-sdk/util-user-agent-browser": "^3.972.3",
36
+ "@aws-sdk/util-user-agent-node": "^3.972.3",
37
37
  "@smithy/config-resolver": "^4.4.6",
38
- "@smithy/core": "^3.21.1",
38
+ "@smithy/core": "^3.22.0",
39
39
  "@smithy/fetch-http-handler": "^5.3.9",
40
40
  "@smithy/hash-node": "^4.2.8",
41
41
  "@smithy/invalid-dependency": "^4.2.8",
42
42
  "@smithy/middleware-content-length": "^4.2.8",
43
- "@smithy/middleware-endpoint": "^4.4.11",
44
- "@smithy/middleware-retry": "^4.4.27",
43
+ "@smithy/middleware-endpoint": "^4.4.12",
44
+ "@smithy/middleware-retry": "^4.4.29",
45
45
  "@smithy/middleware-serde": "^4.2.9",
46
46
  "@smithy/middleware-stack": "^4.2.8",
47
47
  "@smithy/node-config-provider": "^4.3.8",
48
48
  "@smithy/node-http-handler": "^4.4.8",
49
49
  "@smithy/protocol-http": "^5.3.8",
50
- "@smithy/smithy-client": "^4.10.12",
50
+ "@smithy/smithy-client": "^4.11.1",
51
51
  "@smithy/types": "^4.12.0",
52
52
  "@smithy/url-parser": "^4.2.8",
53
53
  "@smithy/util-base64": "^4.3.0",
54
54
  "@smithy/util-body-length-browser": "^4.2.0",
55
55
  "@smithy/util-body-length-node": "^4.2.1",
56
- "@smithy/util-defaults-mode-browser": "^4.3.26",
57
- "@smithy/util-defaults-mode-node": "^4.2.29",
56
+ "@smithy/util-defaults-mode-browser": "^4.3.28",
57
+ "@smithy/util-defaults-mode-node": "^4.2.31",
58
58
  "@smithy/util-endpoints": "^3.2.8",
59
59
  "@smithy/util-middleware": "^4.2.8",
60
60
  "@smithy/util-retry": "^4.2.8",