@aws-sdk/client-databrew 3.477.0 → 3.481.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/commands/BatchDeleteRecipeVersionCommand.js +18 -41
- package/dist-cjs/commands/CreateDatasetCommand.js +18 -41
- package/dist-cjs/commands/CreateProfileJobCommand.js +18 -41
- package/dist-cjs/commands/CreateProjectCommand.js +18 -41
- package/dist-cjs/commands/CreateRecipeCommand.js +18 -41
- package/dist-cjs/commands/CreateRecipeJobCommand.js +18 -41
- package/dist-cjs/commands/CreateRulesetCommand.js +18 -41
- package/dist-cjs/commands/CreateScheduleCommand.js +18 -41
- package/dist-cjs/commands/DeleteDatasetCommand.js +18 -41
- package/dist-cjs/commands/DeleteJobCommand.js +18 -41
- package/dist-cjs/commands/DeleteProjectCommand.js +18 -41
- package/dist-cjs/commands/DeleteRecipeVersionCommand.js +18 -41
- package/dist-cjs/commands/DeleteRulesetCommand.js +18 -41
- package/dist-cjs/commands/DeleteScheduleCommand.js +18 -41
- package/dist-cjs/commands/DescribeDatasetCommand.js +18 -41
- package/dist-cjs/commands/DescribeJobCommand.js +18 -41
- package/dist-cjs/commands/DescribeJobRunCommand.js +18 -41
- package/dist-cjs/commands/DescribeProjectCommand.js +18 -41
- package/dist-cjs/commands/DescribeRecipeCommand.js +18 -41
- package/dist-cjs/commands/DescribeRulesetCommand.js +18 -41
- package/dist-cjs/commands/DescribeScheduleCommand.js +18 -41
- package/dist-cjs/commands/ListDatasetsCommand.js +18 -41
- package/dist-cjs/commands/ListJobRunsCommand.js +18 -41
- package/dist-cjs/commands/ListJobsCommand.js +18 -41
- package/dist-cjs/commands/ListProjectsCommand.js +18 -41
- package/dist-cjs/commands/ListRecipeVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListRecipesCommand.js +18 -41
- package/dist-cjs/commands/ListRulesetsCommand.js +18 -41
- package/dist-cjs/commands/ListSchedulesCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/PublishRecipeCommand.js +18 -41
- package/dist-cjs/commands/SendProjectSessionActionCommand.js +18 -41
- package/dist-cjs/commands/StartJobRunCommand.js +18 -41
- package/dist-cjs/commands/StartProjectSessionCommand.js +18 -41
- package/dist-cjs/commands/StopJobRunCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateDatasetCommand.js +18 -41
- package/dist-cjs/commands/UpdateProfileJobCommand.js +18 -41
- package/dist-cjs/commands/UpdateProjectCommand.js +18 -41
- package/dist-cjs/commands/UpdateRecipeCommand.js +18 -41
- package/dist-cjs/commands/UpdateRecipeJobCommand.js +18 -41
- package/dist-cjs/commands/UpdateRulesetCommand.js +18 -41
- package/dist-cjs/commands/UpdateScheduleCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListDatasetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListJobRunsPaginator.js +2 -24
- package/dist-cjs/pagination/ListJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListProjectsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRecipeVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRecipesPaginator.js +2 -24
- package/dist-cjs/pagination/ListRulesetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSchedulesPaginator.js +2 -24
- package/dist-es/commands/BatchDeleteRecipeVersionCommand.js +18 -41
- package/dist-es/commands/CreateDatasetCommand.js +18 -41
- package/dist-es/commands/CreateProfileJobCommand.js +18 -41
- package/dist-es/commands/CreateProjectCommand.js +18 -41
- package/dist-es/commands/CreateRecipeCommand.js +18 -41
- package/dist-es/commands/CreateRecipeJobCommand.js +18 -41
- package/dist-es/commands/CreateRulesetCommand.js +18 -41
- package/dist-es/commands/CreateScheduleCommand.js +18 -41
- package/dist-es/commands/DeleteDatasetCommand.js +18 -41
- package/dist-es/commands/DeleteJobCommand.js +18 -41
- package/dist-es/commands/DeleteProjectCommand.js +18 -41
- package/dist-es/commands/DeleteRecipeVersionCommand.js +18 -41
- package/dist-es/commands/DeleteRulesetCommand.js +18 -41
- package/dist-es/commands/DeleteScheduleCommand.js +18 -41
- package/dist-es/commands/DescribeDatasetCommand.js +18 -41
- package/dist-es/commands/DescribeJobCommand.js +18 -41
- package/dist-es/commands/DescribeJobRunCommand.js +18 -41
- package/dist-es/commands/DescribeProjectCommand.js +18 -41
- package/dist-es/commands/DescribeRecipeCommand.js +18 -41
- package/dist-es/commands/DescribeRulesetCommand.js +18 -41
- package/dist-es/commands/DescribeScheduleCommand.js +18 -41
- package/dist-es/commands/ListDatasetsCommand.js +18 -41
- package/dist-es/commands/ListJobRunsCommand.js +18 -41
- package/dist-es/commands/ListJobsCommand.js +18 -41
- package/dist-es/commands/ListProjectsCommand.js +18 -41
- package/dist-es/commands/ListRecipeVersionsCommand.js +18 -41
- package/dist-es/commands/ListRecipesCommand.js +18 -41
- package/dist-es/commands/ListRulesetsCommand.js +18 -41
- package/dist-es/commands/ListSchedulesCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/PublishRecipeCommand.js +18 -41
- package/dist-es/commands/SendProjectSessionActionCommand.js +18 -41
- package/dist-es/commands/StartJobRunCommand.js +18 -41
- package/dist-es/commands/StartProjectSessionCommand.js +18 -41
- package/dist-es/commands/StopJobRunCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateDatasetCommand.js +18 -41
- package/dist-es/commands/UpdateProfileJobCommand.js +18 -41
- package/dist-es/commands/UpdateProjectCommand.js +18 -41
- package/dist-es/commands/UpdateRecipeCommand.js +18 -41
- package/dist-es/commands/UpdateRecipeJobCommand.js +18 -41
- package/dist-es/commands/UpdateRulesetCommand.js +18 -41
- package/dist-es/commands/UpdateScheduleCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListDatasetsPaginator.js +2 -23
- package/dist-es/pagination/ListJobRunsPaginator.js +2 -23
- package/dist-es/pagination/ListJobsPaginator.js +2 -23
- package/dist-es/pagination/ListProjectsPaginator.js +2 -23
- package/dist-es/pagination/ListRecipeVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListRecipesPaginator.js +2 -23
- package/dist-es/pagination/ListRulesetsPaginator.js +2 -23
- package/dist-es/pagination/ListSchedulesPaginator.js +2 -23
- package/dist-types/commands/BatchDeleteRecipeVersionCommand.d.ts +6 -21
- package/dist-types/commands/CreateDatasetCommand.d.ts +6 -21
- package/dist-types/commands/CreateProfileJobCommand.d.ts +6 -21
- package/dist-types/commands/CreateProjectCommand.d.ts +6 -21
- package/dist-types/commands/CreateRecipeCommand.d.ts +6 -21
- package/dist-types/commands/CreateRecipeJobCommand.d.ts +6 -21
- package/dist-types/commands/CreateRulesetCommand.d.ts +6 -21
- package/dist-types/commands/CreateScheduleCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDatasetCommand.d.ts +6 -21
- package/dist-types/commands/DeleteJobCommand.d.ts +6 -21
- package/dist-types/commands/DeleteProjectCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRecipeVersionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRulesetCommand.d.ts +6 -21
- package/dist-types/commands/DeleteScheduleCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDatasetCommand.d.ts +6 -21
- package/dist-types/commands/DescribeJobCommand.d.ts +6 -21
- package/dist-types/commands/DescribeJobRunCommand.d.ts +6 -21
- package/dist-types/commands/DescribeProjectCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRecipeCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRulesetCommand.d.ts +6 -21
- package/dist-types/commands/DescribeScheduleCommand.d.ts +6 -21
- package/dist-types/commands/ListDatasetsCommand.d.ts +6 -21
- package/dist-types/commands/ListJobRunsCommand.d.ts +6 -21
- package/dist-types/commands/ListJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListProjectsCommand.d.ts +6 -21
- package/dist-types/commands/ListRecipeVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListRecipesCommand.d.ts +6 -21
- package/dist-types/commands/ListRulesetsCommand.d.ts +6 -21
- package/dist-types/commands/ListSchedulesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/PublishRecipeCommand.d.ts +6 -21
- package/dist-types/commands/SendProjectSessionActionCommand.d.ts +6 -21
- package/dist-types/commands/StartJobRunCommand.d.ts +6 -21
- package/dist-types/commands/StartProjectSessionCommand.d.ts +6 -21
- package/dist-types/commands/StopJobRunCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateDatasetCommand.d.ts +6 -21
- package/dist-types/commands/UpdateProfileJobCommand.d.ts +6 -21
- package/dist-types/commands/UpdateProjectCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRecipeCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRecipeJobCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRulesetCommand.d.ts +6 -21
- package/dist-types/commands/UpdateScheduleCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListDatasetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobRunsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProjectsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecipeVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecipesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRulesetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSchedulesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchDeleteRecipeVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateProfileJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateRecipeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateRecipeJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateRulesetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateScheduleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteRecipeVersionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteRulesetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteScheduleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeJobRunCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeProjectCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeRecipeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeRulesetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeScheduleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListJobRunsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRecipeVersionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRecipesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRulesetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListSchedulesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PublishRecipeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SendProjectSessionActionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartJobRunCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartProjectSessionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopJobRunCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateDatasetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateProfileJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateRecipeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateRecipeJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateRulesetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateScheduleCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListDatasetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListJobRunsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProjectsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRecipeVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRecipesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRulesetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSchedulesPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "DataBrewClient";
|
|
29
|
-
const commandName = "UntagResourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSGlueDataBrew",
|
|
38
|
-
operation: "UntagResource",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UntagResourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UntagResourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSGlueDataBrew", "UntagResource", {})
|
|
22
|
+
.n("DataBrewClient", "UntagResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UntagResourceCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UntagResourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateDatasetCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "DataBrewClient";
|
|
29
|
-
const commandName = "UpdateDatasetCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSGlueDataBrew",
|
|
38
|
-
operation: "UpdateDataset",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateDatasetCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateDatasetCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateDatasetCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSGlueDataBrew", "UpdateDataset", {})
|
|
22
|
+
.n("DataBrewClient", "UpdateDatasetCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateDatasetCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateDatasetCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateDatasetCommand = UpdateDatasetCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateProfileJobCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "DataBrewClient";
|
|
29
|
-
const commandName = "UpdateProfileJobCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSGlueDataBrew",
|
|
38
|
-
operation: "UpdateProfileJob",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateProfileJobCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateProfileJobCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateProfileJobCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSGlueDataBrew", "UpdateProfileJob", {})
|
|
22
|
+
.n("DataBrewClient", "UpdateProfileJobCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateProfileJobCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateProfileJobCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateProfileJobCommand = UpdateProfileJobCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateProjectCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "DataBrewClient";
|
|
29
|
-
const commandName = "UpdateProjectCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSGlueDataBrew",
|
|
38
|
-
operation: "UpdateProject",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateProjectCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateProjectCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateProjectCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSGlueDataBrew", "UpdateProject", {})
|
|
22
|
+
.n("DataBrewClient", "UpdateProjectCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateProjectCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateProjectCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateProjectCommand = UpdateProjectCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateRecipeCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "DataBrewClient";
|
|
29
|
-
const commandName = "UpdateRecipeCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSGlueDataBrew",
|
|
38
|
-
operation: "UpdateRecipe",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateRecipeCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateRecipeCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateRecipeCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSGlueDataBrew", "UpdateRecipe", {})
|
|
22
|
+
.n("DataBrewClient", "UpdateRecipeCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateRecipeCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateRecipeCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateRecipeCommand = UpdateRecipeCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateRecipeJobCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "DataBrewClient";
|
|
29
|
-
const commandName = "UpdateRecipeJobCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSGlueDataBrew",
|
|
38
|
-
operation: "UpdateRecipeJob",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateRecipeJobCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateRecipeJobCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateRecipeJobCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSGlueDataBrew", "UpdateRecipeJob", {})
|
|
22
|
+
.n("DataBrewClient", "UpdateRecipeJobCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateRecipeJobCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateRecipeJobCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateRecipeJobCommand = UpdateRecipeJobCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateRulesetCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "DataBrewClient";
|
|
29
|
-
const commandName = "UpdateRulesetCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSGlueDataBrew",
|
|
38
|
-
operation: "UpdateRuleset",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateRulesetCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateRulesetCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateRulesetCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSGlueDataBrew", "UpdateRuleset", {})
|
|
22
|
+
.n("DataBrewClient", "UpdateRulesetCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateRulesetCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateRulesetCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateRulesetCommand = UpdateRulesetCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateScheduleCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "DataBrewClient";
|
|
29
|
-
const commandName = "UpdateScheduleCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSGlueDataBrew",
|
|
38
|
-
operation: "UpdateSchedule",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateScheduleCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateScheduleCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateScheduleCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSGlueDataBrew", "UpdateSchedule", {})
|
|
22
|
+
.n("DataBrewClient", "UpdateScheduleCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateScheduleCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateScheduleCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateScheduleCommand = UpdateScheduleCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDatasets = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDatasetsCommand_1 = require("../commands/ListDatasetsCommand");
|
|
5
6
|
const DataBrewClient_1 = require("../DataBrewClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDatasetsCommand_1.ListDatasetsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDatasets(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof DataBrewClient_1.DataBrewClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListDatasets = paginateListDatasets;
|
|
7
|
+
exports.paginateListDatasets = (0, core_1.createPaginator)(DataBrewClient_1.DataBrewClient, ListDatasetsCommand_1.ListDatasetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListJobRuns = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListJobRunsCommand_1 = require("../commands/ListJobRunsCommand");
|
|
5
6
|
const DataBrewClient_1 = require("../DataBrewClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListJobRunsCommand_1.ListJobRunsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListJobRuns(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof DataBrewClient_1.DataBrewClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListJobRuns = paginateListJobRuns;
|
|
7
|
+
exports.paginateListJobRuns = (0, core_1.createPaginator)(DataBrewClient_1.DataBrewClient, ListJobRunsCommand_1.ListJobRunsCommand, "NextToken", "NextToken", "MaxResults");
|