@aws-sdk/client-databrew 3.42.0 → 3.43.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/CHANGELOG.md +11 -0
- package/dist-cjs/DataBrew.js +75 -0
- package/dist-cjs/commands/CreateRulesetCommand.js +36 -0
- package/dist-cjs/commands/DeleteRulesetCommand.js +36 -0
- package/dist-cjs/commands/DescribeRulesetCommand.js +36 -0
- package/dist-cjs/commands/ListRulesetsCommand.js +36 -0
- package/dist-cjs/commands/UpdateRulesetCommand.js +36 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +130 -3
- package/dist-cjs/pagination/ListRulesetsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +727 -4
- package/dist-es/DataBrew.js +75 -0
- package/dist-es/commands/CreateRulesetCommand.js +39 -0
- package/dist-es/commands/DeleteRulesetCommand.js +39 -0
- package/dist-es/commands/DescribeRulesetCommand.js +39 -0
- package/dist-es/commands/ListRulesetsCommand.js +39 -0
- package/dist-es/commands/UpdateRulesetCommand.js +39 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +92 -2
- package/dist-es/pagination/ListRulesetsPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +818 -42
- package/dist-types/DataBrew.d.ts +37 -0
- package/dist-types/DataBrewClient.d.ts +7 -2
- package/dist-types/commands/CreateRulesetCommand.d.ts +36 -0
- package/dist-types/commands/DeleteRulesetCommand.d.ts +35 -0
- package/dist-types/commands/DescribeRulesetCommand.d.ts +35 -0
- package/dist-types/commands/ListRulesetsCommand.d.ts +36 -0
- package/dist-types/commands/UpdateRulesetCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +577 -17
- package/dist-types/pagination/ListRulesetsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
- package/dist-types/ts3.4/DataBrew.d.ts +25 -0
- package/dist-types/ts3.4/DataBrewClient.d.ts +7 -2
- package/dist-types/ts3.4/commands/CreateRulesetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRulesetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeRulesetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRulesetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateRulesetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +267 -1
- package/dist-types/ts3.4/pagination/ListRulesetsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +15 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-databrew
|
package/dist-cjs/DataBrew.js
CHANGED
|
@@ -7,17 +7,20 @@ const CreateProfileJobCommand_1 = require("./commands/CreateProfileJobCommand");
|
|
|
7
7
|
const CreateProjectCommand_1 = require("./commands/CreateProjectCommand");
|
|
8
8
|
const CreateRecipeCommand_1 = require("./commands/CreateRecipeCommand");
|
|
9
9
|
const CreateRecipeJobCommand_1 = require("./commands/CreateRecipeJobCommand");
|
|
10
|
+
const CreateRulesetCommand_1 = require("./commands/CreateRulesetCommand");
|
|
10
11
|
const CreateScheduleCommand_1 = require("./commands/CreateScheduleCommand");
|
|
11
12
|
const DeleteDatasetCommand_1 = require("./commands/DeleteDatasetCommand");
|
|
12
13
|
const DeleteJobCommand_1 = require("./commands/DeleteJobCommand");
|
|
13
14
|
const DeleteProjectCommand_1 = require("./commands/DeleteProjectCommand");
|
|
14
15
|
const DeleteRecipeVersionCommand_1 = require("./commands/DeleteRecipeVersionCommand");
|
|
16
|
+
const DeleteRulesetCommand_1 = require("./commands/DeleteRulesetCommand");
|
|
15
17
|
const DeleteScheduleCommand_1 = require("./commands/DeleteScheduleCommand");
|
|
16
18
|
const DescribeDatasetCommand_1 = require("./commands/DescribeDatasetCommand");
|
|
17
19
|
const DescribeJobCommand_1 = require("./commands/DescribeJobCommand");
|
|
18
20
|
const DescribeJobRunCommand_1 = require("./commands/DescribeJobRunCommand");
|
|
19
21
|
const DescribeProjectCommand_1 = require("./commands/DescribeProjectCommand");
|
|
20
22
|
const DescribeRecipeCommand_1 = require("./commands/DescribeRecipeCommand");
|
|
23
|
+
const DescribeRulesetCommand_1 = require("./commands/DescribeRulesetCommand");
|
|
21
24
|
const DescribeScheduleCommand_1 = require("./commands/DescribeScheduleCommand");
|
|
22
25
|
const ListDatasetsCommand_1 = require("./commands/ListDatasetsCommand");
|
|
23
26
|
const ListJobRunsCommand_1 = require("./commands/ListJobRunsCommand");
|
|
@@ -25,6 +28,7 @@ const ListJobsCommand_1 = require("./commands/ListJobsCommand");
|
|
|
25
28
|
const ListProjectsCommand_1 = require("./commands/ListProjectsCommand");
|
|
26
29
|
const ListRecipesCommand_1 = require("./commands/ListRecipesCommand");
|
|
27
30
|
const ListRecipeVersionsCommand_1 = require("./commands/ListRecipeVersionsCommand");
|
|
31
|
+
const ListRulesetsCommand_1 = require("./commands/ListRulesetsCommand");
|
|
28
32
|
const ListSchedulesCommand_1 = require("./commands/ListSchedulesCommand");
|
|
29
33
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
30
34
|
const PublishRecipeCommand_1 = require("./commands/PublishRecipeCommand");
|
|
@@ -39,6 +43,7 @@ const UpdateProfileJobCommand_1 = require("./commands/UpdateProfileJobCommand");
|
|
|
39
43
|
const UpdateProjectCommand_1 = require("./commands/UpdateProjectCommand");
|
|
40
44
|
const UpdateRecipeCommand_1 = require("./commands/UpdateRecipeCommand");
|
|
41
45
|
const UpdateRecipeJobCommand_1 = require("./commands/UpdateRecipeJobCommand");
|
|
46
|
+
const UpdateRulesetCommand_1 = require("./commands/UpdateRulesetCommand");
|
|
42
47
|
const UpdateScheduleCommand_1 = require("./commands/UpdateScheduleCommand");
|
|
43
48
|
const DataBrewClient_1 = require("./DataBrewClient");
|
|
44
49
|
class DataBrew extends DataBrewClient_1.DataBrewClient {
|
|
@@ -126,6 +131,20 @@ class DataBrew extends DataBrewClient_1.DataBrewClient {
|
|
|
126
131
|
return this.send(command, optionsOrCb);
|
|
127
132
|
}
|
|
128
133
|
}
|
|
134
|
+
createRuleset(args, optionsOrCb, cb) {
|
|
135
|
+
const command = new CreateRulesetCommand_1.CreateRulesetCommand(args);
|
|
136
|
+
if (typeof optionsOrCb === "function") {
|
|
137
|
+
this.send(command, optionsOrCb);
|
|
138
|
+
}
|
|
139
|
+
else if (typeof cb === "function") {
|
|
140
|
+
if (typeof optionsOrCb !== "object")
|
|
141
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
142
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
143
|
+
}
|
|
144
|
+
else {
|
|
145
|
+
return this.send(command, optionsOrCb);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
129
148
|
createSchedule(args, optionsOrCb, cb) {
|
|
130
149
|
const command = new CreateScheduleCommand_1.CreateScheduleCommand(args);
|
|
131
150
|
if (typeof optionsOrCb === "function") {
|
|
@@ -196,6 +215,20 @@ class DataBrew extends DataBrewClient_1.DataBrewClient {
|
|
|
196
215
|
return this.send(command, optionsOrCb);
|
|
197
216
|
}
|
|
198
217
|
}
|
|
218
|
+
deleteRuleset(args, optionsOrCb, cb) {
|
|
219
|
+
const command = new DeleteRulesetCommand_1.DeleteRulesetCommand(args);
|
|
220
|
+
if (typeof optionsOrCb === "function") {
|
|
221
|
+
this.send(command, optionsOrCb);
|
|
222
|
+
}
|
|
223
|
+
else if (typeof cb === "function") {
|
|
224
|
+
if (typeof optionsOrCb !== "object")
|
|
225
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
226
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
227
|
+
}
|
|
228
|
+
else {
|
|
229
|
+
return this.send(command, optionsOrCb);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
199
232
|
deleteSchedule(args, optionsOrCb, cb) {
|
|
200
233
|
const command = new DeleteScheduleCommand_1.DeleteScheduleCommand(args);
|
|
201
234
|
if (typeof optionsOrCb === "function") {
|
|
@@ -280,6 +313,20 @@ class DataBrew extends DataBrewClient_1.DataBrewClient {
|
|
|
280
313
|
return this.send(command, optionsOrCb);
|
|
281
314
|
}
|
|
282
315
|
}
|
|
316
|
+
describeRuleset(args, optionsOrCb, cb) {
|
|
317
|
+
const command = new DescribeRulesetCommand_1.DescribeRulesetCommand(args);
|
|
318
|
+
if (typeof optionsOrCb === "function") {
|
|
319
|
+
this.send(command, optionsOrCb);
|
|
320
|
+
}
|
|
321
|
+
else if (typeof cb === "function") {
|
|
322
|
+
if (typeof optionsOrCb !== "object")
|
|
323
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
324
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
325
|
+
}
|
|
326
|
+
else {
|
|
327
|
+
return this.send(command, optionsOrCb);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
283
330
|
describeSchedule(args, optionsOrCb, cb) {
|
|
284
331
|
const command = new DescribeScheduleCommand_1.DescribeScheduleCommand(args);
|
|
285
332
|
if (typeof optionsOrCb === "function") {
|
|
@@ -378,6 +425,20 @@ class DataBrew extends DataBrewClient_1.DataBrewClient {
|
|
|
378
425
|
return this.send(command, optionsOrCb);
|
|
379
426
|
}
|
|
380
427
|
}
|
|
428
|
+
listRulesets(args, optionsOrCb, cb) {
|
|
429
|
+
const command = new ListRulesetsCommand_1.ListRulesetsCommand(args);
|
|
430
|
+
if (typeof optionsOrCb === "function") {
|
|
431
|
+
this.send(command, optionsOrCb);
|
|
432
|
+
}
|
|
433
|
+
else if (typeof cb === "function") {
|
|
434
|
+
if (typeof optionsOrCb !== "object")
|
|
435
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
436
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
437
|
+
}
|
|
438
|
+
else {
|
|
439
|
+
return this.send(command, optionsOrCb);
|
|
440
|
+
}
|
|
441
|
+
}
|
|
381
442
|
listSchedules(args, optionsOrCb, cb) {
|
|
382
443
|
const command = new ListSchedulesCommand_1.ListSchedulesCommand(args);
|
|
383
444
|
if (typeof optionsOrCb === "function") {
|
|
@@ -574,6 +635,20 @@ class DataBrew extends DataBrewClient_1.DataBrewClient {
|
|
|
574
635
|
return this.send(command, optionsOrCb);
|
|
575
636
|
}
|
|
576
637
|
}
|
|
638
|
+
updateRuleset(args, optionsOrCb, cb) {
|
|
639
|
+
const command = new UpdateRulesetCommand_1.UpdateRulesetCommand(args);
|
|
640
|
+
if (typeof optionsOrCb === "function") {
|
|
641
|
+
this.send(command, optionsOrCb);
|
|
642
|
+
}
|
|
643
|
+
else if (typeof cb === "function") {
|
|
644
|
+
if (typeof optionsOrCb !== "object")
|
|
645
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
646
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
647
|
+
}
|
|
648
|
+
else {
|
|
649
|
+
return this.send(command, optionsOrCb);
|
|
650
|
+
}
|
|
651
|
+
}
|
|
577
652
|
updateSchedule(args, optionsOrCb, cb) {
|
|
578
653
|
const command = new UpdateScheduleCommand_1.UpdateScheduleCommand(args);
|
|
579
654
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateRulesetCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class CreateRulesetCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "DataBrewClient";
|
|
18
|
+
const commandName = "CreateRulesetCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateRulesetRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateRulesetResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1CreateRulesetCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1CreateRulesetCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateRulesetCommand = CreateRulesetCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteRulesetCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeleteRulesetCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "DataBrewClient";
|
|
18
|
+
const commandName = "DeleteRulesetCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteRulesetRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeleteRulesetResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1DeleteRulesetCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1DeleteRulesetCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteRulesetCommand = DeleteRulesetCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeRulesetCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DescribeRulesetCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "DataBrewClient";
|
|
18
|
+
const commandName = "DescribeRulesetCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeRulesetRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeRulesetResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1DescribeRulesetCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1DescribeRulesetCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeRulesetCommand = DescribeRulesetCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListRulesetsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListRulesetsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "DataBrewClient";
|
|
18
|
+
const commandName = "ListRulesetsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListRulesetsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListRulesetsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1ListRulesetsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListRulesetsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListRulesetsCommand = ListRulesetsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateRulesetCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdateRulesetCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "DataBrewClient";
|
|
18
|
+
const commandName = "UpdateRulesetCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateRulesetRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UpdateRulesetResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1UpdateRulesetCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1UpdateRulesetCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateRulesetCommand = UpdateRulesetCommand;
|
|
@@ -7,17 +7,20 @@ tslib_1.__exportStar(require("./CreateProfileJobCommand"), exports);
|
|
|
7
7
|
tslib_1.__exportStar(require("./CreateProjectCommand"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./CreateRecipeCommand"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./CreateRecipeJobCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./CreateRulesetCommand"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./CreateScheduleCommand"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./DeleteDatasetCommand"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./DeleteJobCommand"), exports);
|
|
13
14
|
tslib_1.__exportStar(require("./DeleteProjectCommand"), exports);
|
|
14
15
|
tslib_1.__exportStar(require("./DeleteRecipeVersionCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./DeleteRulesetCommand"), exports);
|
|
15
17
|
tslib_1.__exportStar(require("./DeleteScheduleCommand"), exports);
|
|
16
18
|
tslib_1.__exportStar(require("./DescribeDatasetCommand"), exports);
|
|
17
19
|
tslib_1.__exportStar(require("./DescribeJobCommand"), exports);
|
|
18
20
|
tslib_1.__exportStar(require("./DescribeJobRunCommand"), exports);
|
|
19
21
|
tslib_1.__exportStar(require("./DescribeProjectCommand"), exports);
|
|
20
22
|
tslib_1.__exportStar(require("./DescribeRecipeCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./DescribeRulesetCommand"), exports);
|
|
21
24
|
tslib_1.__exportStar(require("./DescribeScheduleCommand"), exports);
|
|
22
25
|
tslib_1.__exportStar(require("./ListDatasetsCommand"), exports);
|
|
23
26
|
tslib_1.__exportStar(require("./ListJobRunsCommand"), exports);
|
|
@@ -25,6 +28,7 @@ tslib_1.__exportStar(require("./ListJobsCommand"), exports);
|
|
|
25
28
|
tslib_1.__exportStar(require("./ListProjectsCommand"), exports);
|
|
26
29
|
tslib_1.__exportStar(require("./ListRecipeVersionsCommand"), exports);
|
|
27
30
|
tslib_1.__exportStar(require("./ListRecipesCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./ListRulesetsCommand"), exports);
|
|
28
32
|
tslib_1.__exportStar(require("./ListSchedulesCommand"), exports);
|
|
29
33
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
30
34
|
tslib_1.__exportStar(require("./PublishRecipeCommand"), exports);
|
|
@@ -39,4 +43,5 @@ tslib_1.__exportStar(require("./UpdateProfileJobCommand"), exports);
|
|
|
39
43
|
tslib_1.__exportStar(require("./UpdateProjectCommand"), exports);
|
|
40
44
|
tslib_1.__exportStar(require("./UpdateRecipeCommand"), exports);
|
|
41
45
|
tslib_1.__exportStar(require("./UpdateRecipeJobCommand"), exports);
|
|
46
|
+
tslib_1.__exportStar(require("./UpdateRulesetCommand"), exports);
|
|
42
47
|
tslib_1.__exportStar(require("./UpdateScheduleCommand"), exports);
|
|
@@ -1,14 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
3
|
+
exports.RecipeAction = exports.InternalServerException = exports.CreateProjectResponse = exports.CreateProjectRequest = exports.Sample = exports.SampleType = exports.CreateProfileJobResponse = exports.CreateProfileJobRequest = exports.ValidationConfiguration = exports.ValidationMode = exports.LogSubscription = exports.JobSample = exports.SampleMode = exports.EncryptionMode = exports.ProfileConfiguration = exports.EntityDetectorConfiguration = exports.ColumnStatisticsConfiguration = exports.StatisticsConfiguration = exports.StatisticOverride = exports.ColumnSelector = exports.ServiceQuotaExceededException = exports.CreateDatasetResponse = exports.CreateDatasetRequest = exports.PathOptions = exports.DatasetParameter = exports.ParameterType = exports.DatetimeOptions = exports.FilterExpression = exports.FilesLimit = exports.OrderedBy = exports.Order = exports.Input = exports.Metadata = exports.DataCatalogInputDefinition = exports.DatabaseInputDefinition = exports.S3Location = exports.FormatOptions = exports.JsonOptions = exports.ExcelOptions = exports.CsvOptions = exports.InputFormat = exports.ValidationException = exports.ResourceNotFoundException = exports.ConflictException = exports.BatchDeleteRecipeVersionResponse = exports.RecipeVersionErrorDetail = exports.BatchDeleteRecipeVersionRequest = exports.AnalyticsMode = exports.AllowedStatistics = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.DescribeRecipeRequest = exports.DescribeProjectResponse = exports.SessionStatus = exports.DescribeProjectRequest = exports.DescribeJobRunResponse = exports.JobRunState = exports.DescribeJobRunRequest = exports.DescribeJobResponse = exports.JobType = exports.DescribeJobRequest = exports.DescribeDatasetResponse = exports.Source = exports.DescribeDatasetRequest = exports.DeleteScheduleResponse = exports.DeleteScheduleRequest = exports.DeleteRulesetResponse = exports.DeleteRulesetRequest = exports.DeleteRecipeVersionResponse = exports.DeleteRecipeVersionRequest = exports.DeleteProjectResponse = exports.DeleteProjectRequest = exports.DeleteJobResponse = exports.DeleteJobRequest = exports.DeleteDatasetResponse = exports.DeleteDatasetRequest = exports.CreateScheduleResponse = exports.CreateScheduleRequest = exports.CreateRulesetResponse = exports.CreateRulesetRequest = exports.Rule = exports.Threshold = exports.ThresholdUnit = exports.ThresholdType = exports.CreateRecipeJobResponse = exports.CreateRecipeJobRequest = exports.RecipeReference = exports.Output = exports.OutputFormatOptions = exports.CsvOutputOptions = exports.OutputFormat = exports.CompressionFormat = exports.DataCatalogOutput = exports.S3TableOutputOptions = exports.DatabaseOutput = exports.DatabaseOutputMode = exports.DatabaseTableOutputOptions = exports.CreateRecipeResponse = exports.CreateRecipeRequest = exports.RecipeStep = exports.ConditionExpression = void 0;
|
|
5
|
+
exports.UpdateProjectRequest = exports.UpdateProfileJobResponse = exports.UpdateProfileJobRequest = exports.UpdateDatasetResponse = exports.UpdateDatasetRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopJobRunResponse = exports.StopJobRunRequest = exports.StartProjectSessionResponse = exports.StartProjectSessionRequest = exports.StartJobRunResponse = exports.StartJobRunRequest = exports.SendProjectSessionActionResponse = exports.SendProjectSessionActionRequest = exports.ViewFrame = exports.PublishRecipeResponse = exports.PublishRecipeRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSchedulesResponse = exports.Schedule = exports.ListSchedulesRequest = exports.ListRulesetsResponse = exports.RulesetItem = exports.ListRulesetsRequest = exports.ListRecipeVersionsResponse = exports.ListRecipeVersionsRequest = exports.ListRecipesResponse = exports.Recipe = exports.ListRecipesRequest = exports.ListProjectsResponse = exports.Project = exports.ListProjectsRequest = exports.ListJobsResponse = exports.Job = exports.ListJobsRequest = exports.ListJobRunsResponse = exports.JobRun = exports.ListJobRunsRequest = exports.ListDatasetsResponse = exports.Dataset = exports.ListDatasetsRequest = exports.DescribeScheduleResponse = exports.DescribeScheduleRequest = exports.DescribeRulesetResponse = exports.DescribeRulesetRequest = exports.DescribeRecipeResponse = void 0;
|
|
6
|
+
exports.UpdateScheduleResponse = exports.UpdateScheduleRequest = exports.UpdateRulesetResponse = exports.UpdateRulesetRequest = exports.UpdateRecipeJobResponse = exports.UpdateRecipeJobRequest = exports.UpdateRecipeResponse = exports.UpdateRecipeRequest = exports.UpdateProjectResponse = void 0;
|
|
7
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
8
|
var AccessDeniedException;
|
|
7
9
|
(function (AccessDeniedException) {
|
|
8
10
|
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
9
11
|
...obj,
|
|
10
12
|
});
|
|
11
13
|
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
14
|
+
var AllowedStatistics;
|
|
15
|
+
(function (AllowedStatistics) {
|
|
16
|
+
AllowedStatistics.filterSensitiveLog = (obj) => ({
|
|
17
|
+
...obj,
|
|
18
|
+
});
|
|
19
|
+
})(AllowedStatistics = exports.AllowedStatistics || (exports.AllowedStatistics = {}));
|
|
20
|
+
var AnalyticsMode;
|
|
21
|
+
(function (AnalyticsMode) {
|
|
22
|
+
AnalyticsMode["DISABLE"] = "DISABLE";
|
|
23
|
+
AnalyticsMode["ENABLE"] = "ENABLE";
|
|
24
|
+
})(AnalyticsMode = exports.AnalyticsMode || (exports.AnalyticsMode = {}));
|
|
12
25
|
var BatchDeleteRecipeVersionRequest;
|
|
13
26
|
(function (BatchDeleteRecipeVersionRequest) {
|
|
14
27
|
BatchDeleteRecipeVersionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -94,6 +107,12 @@ var DataCatalogInputDefinition;
|
|
|
94
107
|
...obj,
|
|
95
108
|
});
|
|
96
109
|
})(DataCatalogInputDefinition = exports.DataCatalogInputDefinition || (exports.DataCatalogInputDefinition = {}));
|
|
110
|
+
var Metadata;
|
|
111
|
+
(function (Metadata) {
|
|
112
|
+
Metadata.filterSensitiveLog = (obj) => ({
|
|
113
|
+
...obj,
|
|
114
|
+
});
|
|
115
|
+
})(Metadata = exports.Metadata || (exports.Metadata = {}));
|
|
97
116
|
var Input;
|
|
98
117
|
(function (Input) {
|
|
99
118
|
Input.filterSensitiveLog = (obj) => ({
|
|
@@ -187,6 +206,12 @@ var ColumnStatisticsConfiguration;
|
|
|
187
206
|
...obj,
|
|
188
207
|
});
|
|
189
208
|
})(ColumnStatisticsConfiguration = exports.ColumnStatisticsConfiguration || (exports.ColumnStatisticsConfiguration = {}));
|
|
209
|
+
var EntityDetectorConfiguration;
|
|
210
|
+
(function (EntityDetectorConfiguration) {
|
|
211
|
+
EntityDetectorConfiguration.filterSensitiveLog = (obj) => ({
|
|
212
|
+
...obj,
|
|
213
|
+
});
|
|
214
|
+
})(EntityDetectorConfiguration = exports.EntityDetectorConfiguration || (exports.EntityDetectorConfiguration = {}));
|
|
190
215
|
var ProfileConfiguration;
|
|
191
216
|
(function (ProfileConfiguration) {
|
|
192
217
|
ProfileConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -214,6 +239,16 @@ var LogSubscription;
|
|
|
214
239
|
LogSubscription["DISABLE"] = "DISABLE";
|
|
215
240
|
LogSubscription["ENABLE"] = "ENABLE";
|
|
216
241
|
})(LogSubscription = exports.LogSubscription || (exports.LogSubscription = {}));
|
|
242
|
+
var ValidationMode;
|
|
243
|
+
(function (ValidationMode) {
|
|
244
|
+
ValidationMode["CHECK_ALL"] = "CHECK_ALL";
|
|
245
|
+
})(ValidationMode = exports.ValidationMode || (exports.ValidationMode = {}));
|
|
246
|
+
var ValidationConfiguration;
|
|
247
|
+
(function (ValidationConfiguration) {
|
|
248
|
+
ValidationConfiguration.filterSensitiveLog = (obj) => ({
|
|
249
|
+
...obj,
|
|
250
|
+
});
|
|
251
|
+
})(ValidationConfiguration = exports.ValidationConfiguration || (exports.ValidationConfiguration = {}));
|
|
217
252
|
var CreateProfileJobRequest;
|
|
218
253
|
(function (CreateProfileJobRequest) {
|
|
219
254
|
CreateProfileJobRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -373,6 +408,42 @@ var CreateRecipeJobResponse;
|
|
|
373
408
|
...obj,
|
|
374
409
|
});
|
|
375
410
|
})(CreateRecipeJobResponse = exports.CreateRecipeJobResponse || (exports.CreateRecipeJobResponse = {}));
|
|
411
|
+
var ThresholdType;
|
|
412
|
+
(function (ThresholdType) {
|
|
413
|
+
ThresholdType["GREATER_THAN"] = "GREATER_THAN";
|
|
414
|
+
ThresholdType["GREATER_THAN_OR_EQUAL"] = "GREATER_THAN_OR_EQUAL";
|
|
415
|
+
ThresholdType["LESS_THAN"] = "LESS_THAN";
|
|
416
|
+
ThresholdType["LESS_THAN_OR_EQUAL"] = "LESS_THAN_OR_EQUAL";
|
|
417
|
+
})(ThresholdType = exports.ThresholdType || (exports.ThresholdType = {}));
|
|
418
|
+
var ThresholdUnit;
|
|
419
|
+
(function (ThresholdUnit) {
|
|
420
|
+
ThresholdUnit["COUNT"] = "COUNT";
|
|
421
|
+
ThresholdUnit["PERCENTAGE"] = "PERCENTAGE";
|
|
422
|
+
})(ThresholdUnit = exports.ThresholdUnit || (exports.ThresholdUnit = {}));
|
|
423
|
+
var Threshold;
|
|
424
|
+
(function (Threshold) {
|
|
425
|
+
Threshold.filterSensitiveLog = (obj) => ({
|
|
426
|
+
...obj,
|
|
427
|
+
});
|
|
428
|
+
})(Threshold = exports.Threshold || (exports.Threshold = {}));
|
|
429
|
+
var Rule;
|
|
430
|
+
(function (Rule) {
|
|
431
|
+
Rule.filterSensitiveLog = (obj) => ({
|
|
432
|
+
...obj,
|
|
433
|
+
});
|
|
434
|
+
})(Rule = exports.Rule || (exports.Rule = {}));
|
|
435
|
+
var CreateRulesetRequest;
|
|
436
|
+
(function (CreateRulesetRequest) {
|
|
437
|
+
CreateRulesetRequest.filterSensitiveLog = (obj) => ({
|
|
438
|
+
...obj,
|
|
439
|
+
});
|
|
440
|
+
})(CreateRulesetRequest = exports.CreateRulesetRequest || (exports.CreateRulesetRequest = {}));
|
|
441
|
+
var CreateRulesetResponse;
|
|
442
|
+
(function (CreateRulesetResponse) {
|
|
443
|
+
CreateRulesetResponse.filterSensitiveLog = (obj) => ({
|
|
444
|
+
...obj,
|
|
445
|
+
});
|
|
446
|
+
})(CreateRulesetResponse = exports.CreateRulesetResponse || (exports.CreateRulesetResponse = {}));
|
|
376
447
|
var CreateScheduleRequest;
|
|
377
448
|
(function (CreateScheduleRequest) {
|
|
378
449
|
CreateScheduleRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -433,6 +504,18 @@ var DeleteRecipeVersionResponse;
|
|
|
433
504
|
...obj,
|
|
434
505
|
});
|
|
435
506
|
})(DeleteRecipeVersionResponse = exports.DeleteRecipeVersionResponse || (exports.DeleteRecipeVersionResponse = {}));
|
|
507
|
+
var DeleteRulesetRequest;
|
|
508
|
+
(function (DeleteRulesetRequest) {
|
|
509
|
+
DeleteRulesetRequest.filterSensitiveLog = (obj) => ({
|
|
510
|
+
...obj,
|
|
511
|
+
});
|
|
512
|
+
})(DeleteRulesetRequest = exports.DeleteRulesetRequest || (exports.DeleteRulesetRequest = {}));
|
|
513
|
+
var DeleteRulesetResponse;
|
|
514
|
+
(function (DeleteRulesetResponse) {
|
|
515
|
+
DeleteRulesetResponse.filterSensitiveLog = (obj) => ({
|
|
516
|
+
...obj,
|
|
517
|
+
});
|
|
518
|
+
})(DeleteRulesetResponse = exports.DeleteRulesetResponse || (exports.DeleteRulesetResponse = {}));
|
|
436
519
|
var DeleteScheduleRequest;
|
|
437
520
|
(function (DeleteScheduleRequest) {
|
|
438
521
|
DeleteScheduleRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -539,6 +622,18 @@ var DescribeRecipeResponse;
|
|
|
539
622
|
...obj,
|
|
540
623
|
});
|
|
541
624
|
})(DescribeRecipeResponse = exports.DescribeRecipeResponse || (exports.DescribeRecipeResponse = {}));
|
|
625
|
+
var DescribeRulesetRequest;
|
|
626
|
+
(function (DescribeRulesetRequest) {
|
|
627
|
+
DescribeRulesetRequest.filterSensitiveLog = (obj) => ({
|
|
628
|
+
...obj,
|
|
629
|
+
});
|
|
630
|
+
})(DescribeRulesetRequest = exports.DescribeRulesetRequest || (exports.DescribeRulesetRequest = {}));
|
|
631
|
+
var DescribeRulesetResponse;
|
|
632
|
+
(function (DescribeRulesetResponse) {
|
|
633
|
+
DescribeRulesetResponse.filterSensitiveLog = (obj) => ({
|
|
634
|
+
...obj,
|
|
635
|
+
});
|
|
636
|
+
})(DescribeRulesetResponse = exports.DescribeRulesetResponse || (exports.DescribeRulesetResponse = {}));
|
|
542
637
|
var DescribeScheduleRequest;
|
|
543
638
|
(function (DescribeScheduleRequest) {
|
|
544
639
|
DescribeScheduleRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -653,6 +748,24 @@ var ListRecipeVersionsResponse;
|
|
|
653
748
|
...obj,
|
|
654
749
|
});
|
|
655
750
|
})(ListRecipeVersionsResponse = exports.ListRecipeVersionsResponse || (exports.ListRecipeVersionsResponse = {}));
|
|
751
|
+
var ListRulesetsRequest;
|
|
752
|
+
(function (ListRulesetsRequest) {
|
|
753
|
+
ListRulesetsRequest.filterSensitiveLog = (obj) => ({
|
|
754
|
+
...obj,
|
|
755
|
+
});
|
|
756
|
+
})(ListRulesetsRequest = exports.ListRulesetsRequest || (exports.ListRulesetsRequest = {}));
|
|
757
|
+
var RulesetItem;
|
|
758
|
+
(function (RulesetItem) {
|
|
759
|
+
RulesetItem.filterSensitiveLog = (obj) => ({
|
|
760
|
+
...obj,
|
|
761
|
+
});
|
|
762
|
+
})(RulesetItem = exports.RulesetItem || (exports.RulesetItem = {}));
|
|
763
|
+
var ListRulesetsResponse;
|
|
764
|
+
(function (ListRulesetsResponse) {
|
|
765
|
+
ListRulesetsResponse.filterSensitiveLog = (obj) => ({
|
|
766
|
+
...obj,
|
|
767
|
+
});
|
|
768
|
+
})(ListRulesetsResponse = exports.ListRulesetsResponse || (exports.ListRulesetsResponse = {}));
|
|
656
769
|
var ListSchedulesRequest;
|
|
657
770
|
(function (ListSchedulesRequest) {
|
|
658
771
|
ListSchedulesRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -705,6 +818,7 @@ var SendProjectSessionActionRequest;
|
|
|
705
818
|
(function (SendProjectSessionActionRequest) {
|
|
706
819
|
SendProjectSessionActionRequest.filterSensitiveLog = (obj) => ({
|
|
707
820
|
...obj,
|
|
821
|
+
...(obj.ClientSessionId && { ClientSessionId: smithy_client_1.SENSITIVE_STRING }),
|
|
708
822
|
});
|
|
709
823
|
})(SendProjectSessionActionRequest = exports.SendProjectSessionActionRequest || (exports.SendProjectSessionActionRequest = {}));
|
|
710
824
|
var SendProjectSessionActionResponse;
|
|
@@ -735,6 +849,7 @@ var StartProjectSessionResponse;
|
|
|
735
849
|
(function (StartProjectSessionResponse) {
|
|
736
850
|
StartProjectSessionResponse.filterSensitiveLog = (obj) => ({
|
|
737
851
|
...obj,
|
|
852
|
+
...(obj.ClientSessionId && { ClientSessionId: smithy_client_1.SENSITIVE_STRING }),
|
|
738
853
|
});
|
|
739
854
|
})(StartProjectSessionResponse = exports.StartProjectSessionResponse || (exports.StartProjectSessionResponse = {}));
|
|
740
855
|
var StopJobRunRequest;
|
|
@@ -833,6 +948,18 @@ var UpdateRecipeJobResponse;
|
|
|
833
948
|
...obj,
|
|
834
949
|
});
|
|
835
950
|
})(UpdateRecipeJobResponse = exports.UpdateRecipeJobResponse || (exports.UpdateRecipeJobResponse = {}));
|
|
951
|
+
var UpdateRulesetRequest;
|
|
952
|
+
(function (UpdateRulesetRequest) {
|
|
953
|
+
UpdateRulesetRequest.filterSensitiveLog = (obj) => ({
|
|
954
|
+
...obj,
|
|
955
|
+
});
|
|
956
|
+
})(UpdateRulesetRequest = exports.UpdateRulesetRequest || (exports.UpdateRulesetRequest = {}));
|
|
957
|
+
var UpdateRulesetResponse;
|
|
958
|
+
(function (UpdateRulesetResponse) {
|
|
959
|
+
UpdateRulesetResponse.filterSensitiveLog = (obj) => ({
|
|
960
|
+
...obj,
|
|
961
|
+
});
|
|
962
|
+
})(UpdateRulesetResponse = exports.UpdateRulesetResponse || (exports.UpdateRulesetResponse = {}));
|
|
836
963
|
var UpdateScheduleRequest;
|
|
837
964
|
(function (UpdateScheduleRequest) {
|
|
838
965
|
UpdateScheduleRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListRulesets = void 0;
|
|
4
|
+
const ListRulesetsCommand_1 = require("../commands/ListRulesetsCommand");
|
|
5
|
+
const DataBrew_1 = require("../DataBrew");
|
|
6
|
+
const DataBrewClient_1 = require("../DataBrewClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListRulesetsCommand_1.ListRulesetsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listRulesets(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListRulesets(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof DataBrew_1.DataBrew) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof DataBrewClient_1.DataBrewClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.NextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListRulesets = paginateListRulesets;
|
|
@@ -8,4 +8,5 @@ tslib_1.__exportStar(require("./ListJobsPaginator"), exports);
|
|
|
8
8
|
tslib_1.__exportStar(require("./ListProjectsPaginator"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./ListRecipeVersionsPaginator"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./ListRecipesPaginator"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./ListRulesetsPaginator"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./ListSchedulesPaginator"), exports);
|