@aws-sdk/client-databrew 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 +27 -17
- package/dist-es/DataBrew.js +19 -1
- package/dist-types/DataBrew.d.ts +57 -1
- package/dist-types/ts3.4/DataBrew.d.ts +61 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -1994,6 +1994,22 @@ class UpdateScheduleCommand extends smithyClient.Command
|
|
|
1994
1994
|
.build() {
|
|
1995
1995
|
}
|
|
1996
1996
|
|
|
1997
|
+
const paginateListDatasets = core.createPaginator(DataBrewClient, ListDatasetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1998
|
+
|
|
1999
|
+
const paginateListJobRuns = core.createPaginator(DataBrewClient, ListJobRunsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2000
|
+
|
|
2001
|
+
const paginateListJobs = core.createPaginator(DataBrewClient, ListJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2002
|
+
|
|
2003
|
+
const paginateListProjects = core.createPaginator(DataBrewClient, ListProjectsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2004
|
+
|
|
2005
|
+
const paginateListRecipes = core.createPaginator(DataBrewClient, ListRecipesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2006
|
+
|
|
2007
|
+
const paginateListRecipeVersions = core.createPaginator(DataBrewClient, ListRecipeVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2008
|
+
|
|
2009
|
+
const paginateListRulesets = core.createPaginator(DataBrewClient, ListRulesetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2010
|
+
|
|
2011
|
+
const paginateListSchedules = core.createPaginator(DataBrewClient, ListSchedulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2012
|
+
|
|
1997
2013
|
const commands = {
|
|
1998
2014
|
BatchDeleteRecipeVersionCommand,
|
|
1999
2015
|
CreateDatasetCommand,
|
|
@@ -2040,25 +2056,19 @@ const commands = {
|
|
|
2040
2056
|
UpdateRulesetCommand,
|
|
2041
2057
|
UpdateScheduleCommand,
|
|
2042
2058
|
};
|
|
2059
|
+
const paginators = {
|
|
2060
|
+
paginateListDatasets,
|
|
2061
|
+
paginateListJobRuns,
|
|
2062
|
+
paginateListJobs,
|
|
2063
|
+
paginateListProjects,
|
|
2064
|
+
paginateListRecipes,
|
|
2065
|
+
paginateListRecipeVersions,
|
|
2066
|
+
paginateListRulesets,
|
|
2067
|
+
paginateListSchedules,
|
|
2068
|
+
};
|
|
2043
2069
|
class DataBrew extends DataBrewClient {
|
|
2044
2070
|
}
|
|
2045
|
-
smithyClient.createAggregatedClient(commands, DataBrew);
|
|
2046
|
-
|
|
2047
|
-
const paginateListDatasets = core.createPaginator(DataBrewClient, ListDatasetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2048
|
-
|
|
2049
|
-
const paginateListJobRuns = core.createPaginator(DataBrewClient, ListJobRunsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2050
|
-
|
|
2051
|
-
const paginateListJobs = core.createPaginator(DataBrewClient, ListJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2052
|
-
|
|
2053
|
-
const paginateListProjects = core.createPaginator(DataBrewClient, ListProjectsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2054
|
-
|
|
2055
|
-
const paginateListRecipes = core.createPaginator(DataBrewClient, ListRecipesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2056
|
-
|
|
2057
|
-
const paginateListRecipeVersions = core.createPaginator(DataBrewClient, ListRecipeVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2058
|
-
|
|
2059
|
-
const paginateListRulesets = core.createPaginator(DataBrewClient, ListRulesetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2060
|
-
|
|
2061
|
-
const paginateListSchedules = core.createPaginator(DataBrewClient, ListSchedulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2071
|
+
smithyClient.createAggregatedClient(commands, DataBrew, { paginators });
|
|
2062
2072
|
|
|
2063
2073
|
const AnalyticsMode = {
|
|
2064
2074
|
DISABLE: "DISABLE",
|
package/dist-es/DataBrew.js
CHANGED
|
@@ -44,6 +44,14 @@ import { UpdateRecipeJobCommand, } from "./commands/UpdateRecipeJobCommand";
|
|
|
44
44
|
import { UpdateRulesetCommand, } from "./commands/UpdateRulesetCommand";
|
|
45
45
|
import { UpdateScheduleCommand, } from "./commands/UpdateScheduleCommand";
|
|
46
46
|
import { DataBrewClient } from "./DataBrewClient";
|
|
47
|
+
import { paginateListDatasets } from "./pagination/ListDatasetsPaginator";
|
|
48
|
+
import { paginateListJobRuns } from "./pagination/ListJobRunsPaginator";
|
|
49
|
+
import { paginateListJobs } from "./pagination/ListJobsPaginator";
|
|
50
|
+
import { paginateListProjects } from "./pagination/ListProjectsPaginator";
|
|
51
|
+
import { paginateListRecipes } from "./pagination/ListRecipesPaginator";
|
|
52
|
+
import { paginateListRecipeVersions } from "./pagination/ListRecipeVersionsPaginator";
|
|
53
|
+
import { paginateListRulesets } from "./pagination/ListRulesetsPaginator";
|
|
54
|
+
import { paginateListSchedules } from "./pagination/ListSchedulesPaginator";
|
|
47
55
|
const commands = {
|
|
48
56
|
BatchDeleteRecipeVersionCommand,
|
|
49
57
|
CreateDatasetCommand,
|
|
@@ -90,6 +98,16 @@ const commands = {
|
|
|
90
98
|
UpdateRulesetCommand,
|
|
91
99
|
UpdateScheduleCommand,
|
|
92
100
|
};
|
|
101
|
+
const paginators = {
|
|
102
|
+
paginateListDatasets,
|
|
103
|
+
paginateListJobRuns,
|
|
104
|
+
paginateListJobs,
|
|
105
|
+
paginateListProjects,
|
|
106
|
+
paginateListRecipes,
|
|
107
|
+
paginateListRecipeVersions,
|
|
108
|
+
paginateListRulesets,
|
|
109
|
+
paginateListSchedules,
|
|
110
|
+
};
|
|
93
111
|
export class DataBrew extends DataBrewClient {
|
|
94
112
|
}
|
|
95
|
-
createAggregatedClient(commands, DataBrew);
|
|
113
|
+
createAggregatedClient(commands, DataBrew, { paginators });
|
package/dist-types/DataBrew.d.ts
CHANGED
|
@@ -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 { BatchDeleteRecipeVersionCommandInput, BatchDeleteRecipeVersionCommandOutput } from "./commands/BatchDeleteRecipeVersionCommand";
|
|
3
3
|
import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand";
|
|
4
4
|
import { CreateProfileJobCommandInput, CreateProfileJobCommandOutput } from "./commands/CreateProfileJobCommand";
|
|
@@ -315,6 +315,62 @@ export interface DataBrew {
|
|
|
315
315
|
updateSchedule(args: UpdateScheduleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateScheduleCommandOutput>;
|
|
316
316
|
updateSchedule(args: UpdateScheduleCommandInput, cb: (err: any, data?: UpdateScheduleCommandOutput) => void): void;
|
|
317
317
|
updateSchedule(args: UpdateScheduleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScheduleCommandOutput) => void): void;
|
|
318
|
+
/**
|
|
319
|
+
* @see {@link ListDatasetsCommand}
|
|
320
|
+
* @param args - command input.
|
|
321
|
+
* @param paginationConfig - optional pagination config.
|
|
322
|
+
* @returns AsyncIterable of {@link ListDatasetsCommandOutput}.
|
|
323
|
+
*/
|
|
324
|
+
paginateListDatasets(args?: ListDatasetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDatasetsCommandOutput>;
|
|
325
|
+
/**
|
|
326
|
+
* @see {@link ListJobRunsCommand}
|
|
327
|
+
* @param args - command input.
|
|
328
|
+
* @param paginationConfig - optional pagination config.
|
|
329
|
+
* @returns AsyncIterable of {@link ListJobRunsCommandOutput}.
|
|
330
|
+
*/
|
|
331
|
+
paginateListJobRuns(args: ListJobRunsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListJobRunsCommandOutput>;
|
|
332
|
+
/**
|
|
333
|
+
* @see {@link ListJobsCommand}
|
|
334
|
+
* @param args - command input.
|
|
335
|
+
* @param paginationConfig - optional pagination config.
|
|
336
|
+
* @returns AsyncIterable of {@link ListJobsCommandOutput}.
|
|
337
|
+
*/
|
|
338
|
+
paginateListJobs(args?: ListJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListJobsCommandOutput>;
|
|
339
|
+
/**
|
|
340
|
+
* @see {@link ListProjectsCommand}
|
|
341
|
+
* @param args - command input.
|
|
342
|
+
* @param paginationConfig - optional pagination config.
|
|
343
|
+
* @returns AsyncIterable of {@link ListProjectsCommandOutput}.
|
|
344
|
+
*/
|
|
345
|
+
paginateListProjects(args?: ListProjectsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProjectsCommandOutput>;
|
|
346
|
+
/**
|
|
347
|
+
* @see {@link ListRecipesCommand}
|
|
348
|
+
* @param args - command input.
|
|
349
|
+
* @param paginationConfig - optional pagination config.
|
|
350
|
+
* @returns AsyncIterable of {@link ListRecipesCommandOutput}.
|
|
351
|
+
*/
|
|
352
|
+
paginateListRecipes(args?: ListRecipesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRecipesCommandOutput>;
|
|
353
|
+
/**
|
|
354
|
+
* @see {@link ListRecipeVersionsCommand}
|
|
355
|
+
* @param args - command input.
|
|
356
|
+
* @param paginationConfig - optional pagination config.
|
|
357
|
+
* @returns AsyncIterable of {@link ListRecipeVersionsCommandOutput}.
|
|
358
|
+
*/
|
|
359
|
+
paginateListRecipeVersions(args: ListRecipeVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRecipeVersionsCommandOutput>;
|
|
360
|
+
/**
|
|
361
|
+
* @see {@link ListRulesetsCommand}
|
|
362
|
+
* @param args - command input.
|
|
363
|
+
* @param paginationConfig - optional pagination config.
|
|
364
|
+
* @returns AsyncIterable of {@link ListRulesetsCommandOutput}.
|
|
365
|
+
*/
|
|
366
|
+
paginateListRulesets(args?: ListRulesetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRulesetsCommandOutput>;
|
|
367
|
+
/**
|
|
368
|
+
* @see {@link ListSchedulesCommand}
|
|
369
|
+
* @param args - command input.
|
|
370
|
+
* @param paginationConfig - optional pagination config.
|
|
371
|
+
* @returns AsyncIterable of {@link ListSchedulesCommandOutput}.
|
|
372
|
+
*/
|
|
373
|
+
paginateListSchedules(args?: ListSchedulesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSchedulesCommandOutput>;
|
|
318
374
|
}
|
|
319
375
|
/**
|
|
320
376
|
* <p>Glue DataBrew is a visual, cloud-scale data-preparation service. DataBrew
|
|
@@ -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
|
BatchDeleteRecipeVersionCommandInput,
|
|
4
8
|
BatchDeleteRecipeVersionCommandOutput,
|
|
@@ -755,5 +759,61 @@ export interface DataBrew {
|
|
|
755
759
|
options: __HttpHandlerOptions,
|
|
756
760
|
cb: (err: any, data?: UpdateScheduleCommandOutput) => void
|
|
757
761
|
): void;
|
|
762
|
+
paginateListDatasets(
|
|
763
|
+
args?: ListDatasetsCommandInput,
|
|
764
|
+
paginationConfig?: Pick<
|
|
765
|
+
PaginationConfiguration,
|
|
766
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
767
|
+
>
|
|
768
|
+
): Paginator<ListDatasetsCommandOutput>;
|
|
769
|
+
paginateListJobRuns(
|
|
770
|
+
args: ListJobRunsCommandInput,
|
|
771
|
+
paginationConfig?: Pick<
|
|
772
|
+
PaginationConfiguration,
|
|
773
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
774
|
+
>
|
|
775
|
+
): Paginator<ListJobRunsCommandOutput>;
|
|
776
|
+
paginateListJobs(
|
|
777
|
+
args?: ListJobsCommandInput,
|
|
778
|
+
paginationConfig?: Pick<
|
|
779
|
+
PaginationConfiguration,
|
|
780
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
781
|
+
>
|
|
782
|
+
): Paginator<ListJobsCommandOutput>;
|
|
783
|
+
paginateListProjects(
|
|
784
|
+
args?: ListProjectsCommandInput,
|
|
785
|
+
paginationConfig?: Pick<
|
|
786
|
+
PaginationConfiguration,
|
|
787
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
788
|
+
>
|
|
789
|
+
): Paginator<ListProjectsCommandOutput>;
|
|
790
|
+
paginateListRecipes(
|
|
791
|
+
args?: ListRecipesCommandInput,
|
|
792
|
+
paginationConfig?: Pick<
|
|
793
|
+
PaginationConfiguration,
|
|
794
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
795
|
+
>
|
|
796
|
+
): Paginator<ListRecipesCommandOutput>;
|
|
797
|
+
paginateListRecipeVersions(
|
|
798
|
+
args: ListRecipeVersionsCommandInput,
|
|
799
|
+
paginationConfig?: Pick<
|
|
800
|
+
PaginationConfiguration,
|
|
801
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
802
|
+
>
|
|
803
|
+
): Paginator<ListRecipeVersionsCommandOutput>;
|
|
804
|
+
paginateListRulesets(
|
|
805
|
+
args?: ListRulesetsCommandInput,
|
|
806
|
+
paginationConfig?: Pick<
|
|
807
|
+
PaginationConfiguration,
|
|
808
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
809
|
+
>
|
|
810
|
+
): Paginator<ListRulesetsCommandOutput>;
|
|
811
|
+
paginateListSchedules(
|
|
812
|
+
args?: ListSchedulesCommandInput,
|
|
813
|
+
paginationConfig?: Pick<
|
|
814
|
+
PaginationConfiguration,
|
|
815
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
816
|
+
>
|
|
817
|
+
): Paginator<ListSchedulesCommandOutput>;
|
|
758
818
|
}
|
|
759
819
|
export declare class DataBrew extends DataBrewClient implements DataBrew {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-databrew",
|
|
3
3
|
"description": "AWS SDK for JavaScript Databrew Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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-databrew",
|
|
@@ -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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
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.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
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.
|
|
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.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
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",
|