@aws-sdk/client-databrew 3.39.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 +41 -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/endpoints.js +74 -5
- 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-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- 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/endpoints.js +74 -5
- 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-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/DataBrew.d.ts +37 -0
- package/dist-types/DataBrewClient.d.ts +15 -2
- package/dist-types/commands/BatchDeleteRecipeVersionCommand.d.ts +1 -1
- package/dist-types/commands/CreateDatasetCommand.d.ts +1 -1
- package/dist-types/commands/CreateProfileJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateProjectCommand.d.ts +1 -1
- package/dist-types/commands/CreateRecipeCommand.d.ts +1 -1
- package/dist-types/commands/CreateRecipeJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateRulesetCommand.d.ts +36 -0
- package/dist-types/commands/CreateScheduleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDatasetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProjectCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRecipeVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRulesetCommand.d.ts +35 -0
- package/dist-types/commands/DeleteScheduleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDatasetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobRunCommand.d.ts +1 -1
- package/dist-types/commands/DescribeProjectCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRecipeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRulesetCommand.d.ts +35 -0
- package/dist-types/commands/DescribeScheduleCommand.d.ts +1 -1
- package/dist-types/commands/ListDatasetsCommand.d.ts +1 -1
- package/dist-types/commands/ListJobRunsCommand.d.ts +1 -1
- package/dist-types/commands/ListJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListProjectsCommand.d.ts +1 -1
- package/dist-types/commands/ListRecipeVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListRecipesCommand.d.ts +1 -1
- package/dist-types/commands/ListRulesetsCommand.d.ts +36 -0
- package/dist-types/commands/ListSchedulesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PublishRecipeCommand.d.ts +1 -1
- package/dist-types/commands/SendProjectSessionActionCommand.d.ts +1 -1
- package/dist-types/commands/StartJobRunCommand.d.ts +1 -1
- package/dist-types/commands/StartProjectSessionCommand.d.ts +1 -1
- package/dist-types/commands/StopJobRunCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDatasetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProfileJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProjectCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRecipeCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRecipeJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRulesetCommand.d.ts +35 -0
- package/dist-types/commands/UpdateScheduleCommand.d.ts +1 -1
- 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/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/DataBrew.d.ts +25 -0
- package/dist-types/ts3.4/DataBrewClient.d.ts +11 -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/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +23 -23
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
13
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
16
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
18
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
18
19
|
return {
|
|
19
20
|
...clientSharedValues,
|
|
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
|
|
|
30
31
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
|
|
31
32
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
32
33
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
35
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
|
|
37
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
|
|
35
38
|
};
|
|
36
39
|
};
|
|
37
40
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
19
|
const getRuntimeConfig = (config) => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
23
|
return {
|
|
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
|
|
|
35
35
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
|
|
36
36
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
37
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
39
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
40
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
41
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
40
42
|
};
|
|
41
43
|
};
|
|
42
44
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/DataBrew.js
CHANGED
|
@@ -5,17 +5,20 @@ import { CreateProfileJobCommand, } from "./commands/CreateProfileJobCommand";
|
|
|
5
5
|
import { CreateProjectCommand, } from "./commands/CreateProjectCommand";
|
|
6
6
|
import { CreateRecipeCommand, } from "./commands/CreateRecipeCommand";
|
|
7
7
|
import { CreateRecipeJobCommand, } from "./commands/CreateRecipeJobCommand";
|
|
8
|
+
import { CreateRulesetCommand, } from "./commands/CreateRulesetCommand";
|
|
8
9
|
import { CreateScheduleCommand, } from "./commands/CreateScheduleCommand";
|
|
9
10
|
import { DeleteDatasetCommand, } from "./commands/DeleteDatasetCommand";
|
|
10
11
|
import { DeleteJobCommand } from "./commands/DeleteJobCommand";
|
|
11
12
|
import { DeleteProjectCommand, } from "./commands/DeleteProjectCommand";
|
|
12
13
|
import { DeleteRecipeVersionCommand, } from "./commands/DeleteRecipeVersionCommand";
|
|
14
|
+
import { DeleteRulesetCommand, } from "./commands/DeleteRulesetCommand";
|
|
13
15
|
import { DeleteScheduleCommand, } from "./commands/DeleteScheduleCommand";
|
|
14
16
|
import { DescribeDatasetCommand, } from "./commands/DescribeDatasetCommand";
|
|
15
17
|
import { DescribeJobCommand } from "./commands/DescribeJobCommand";
|
|
16
18
|
import { DescribeJobRunCommand, } from "./commands/DescribeJobRunCommand";
|
|
17
19
|
import { DescribeProjectCommand, } from "./commands/DescribeProjectCommand";
|
|
18
20
|
import { DescribeRecipeCommand, } from "./commands/DescribeRecipeCommand";
|
|
21
|
+
import { DescribeRulesetCommand, } from "./commands/DescribeRulesetCommand";
|
|
19
22
|
import { DescribeScheduleCommand, } from "./commands/DescribeScheduleCommand";
|
|
20
23
|
import { ListDatasetsCommand, } from "./commands/ListDatasetsCommand";
|
|
21
24
|
import { ListJobRunsCommand } from "./commands/ListJobRunsCommand";
|
|
@@ -23,6 +26,7 @@ import { ListJobsCommand } from "./commands/ListJobsCommand";
|
|
|
23
26
|
import { ListProjectsCommand, } from "./commands/ListProjectsCommand";
|
|
24
27
|
import { ListRecipesCommand } from "./commands/ListRecipesCommand";
|
|
25
28
|
import { ListRecipeVersionsCommand, } from "./commands/ListRecipeVersionsCommand";
|
|
29
|
+
import { ListRulesetsCommand, } from "./commands/ListRulesetsCommand";
|
|
26
30
|
import { ListSchedulesCommand, } from "./commands/ListSchedulesCommand";
|
|
27
31
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
28
32
|
import { PublishRecipeCommand, } from "./commands/PublishRecipeCommand";
|
|
@@ -37,6 +41,7 @@ import { UpdateProfileJobCommand, } from "./commands/UpdateProfileJobCommand";
|
|
|
37
41
|
import { UpdateProjectCommand, } from "./commands/UpdateProjectCommand";
|
|
38
42
|
import { UpdateRecipeCommand, } from "./commands/UpdateRecipeCommand";
|
|
39
43
|
import { UpdateRecipeJobCommand, } from "./commands/UpdateRecipeJobCommand";
|
|
44
|
+
import { UpdateRulesetCommand, } from "./commands/UpdateRulesetCommand";
|
|
40
45
|
import { UpdateScheduleCommand, } from "./commands/UpdateScheduleCommand";
|
|
41
46
|
import { DataBrewClient } from "./DataBrewClient";
|
|
42
47
|
var DataBrew = (function (_super) {
|
|
@@ -128,6 +133,20 @@ var DataBrew = (function (_super) {
|
|
|
128
133
|
return this.send(command, optionsOrCb);
|
|
129
134
|
}
|
|
130
135
|
};
|
|
136
|
+
DataBrew.prototype.createRuleset = function (args, optionsOrCb, cb) {
|
|
137
|
+
var command = new CreateRulesetCommand(args);
|
|
138
|
+
if (typeof optionsOrCb === "function") {
|
|
139
|
+
this.send(command, optionsOrCb);
|
|
140
|
+
}
|
|
141
|
+
else if (typeof cb === "function") {
|
|
142
|
+
if (typeof optionsOrCb !== "object")
|
|
143
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
144
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
145
|
+
}
|
|
146
|
+
else {
|
|
147
|
+
return this.send(command, optionsOrCb);
|
|
148
|
+
}
|
|
149
|
+
};
|
|
131
150
|
DataBrew.prototype.createSchedule = function (args, optionsOrCb, cb) {
|
|
132
151
|
var command = new CreateScheduleCommand(args);
|
|
133
152
|
if (typeof optionsOrCb === "function") {
|
|
@@ -198,6 +217,20 @@ var DataBrew = (function (_super) {
|
|
|
198
217
|
return this.send(command, optionsOrCb);
|
|
199
218
|
}
|
|
200
219
|
};
|
|
220
|
+
DataBrew.prototype.deleteRuleset = function (args, optionsOrCb, cb) {
|
|
221
|
+
var command = new DeleteRulesetCommand(args);
|
|
222
|
+
if (typeof optionsOrCb === "function") {
|
|
223
|
+
this.send(command, optionsOrCb);
|
|
224
|
+
}
|
|
225
|
+
else if (typeof cb === "function") {
|
|
226
|
+
if (typeof optionsOrCb !== "object")
|
|
227
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
228
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
229
|
+
}
|
|
230
|
+
else {
|
|
231
|
+
return this.send(command, optionsOrCb);
|
|
232
|
+
}
|
|
233
|
+
};
|
|
201
234
|
DataBrew.prototype.deleteSchedule = function (args, optionsOrCb, cb) {
|
|
202
235
|
var command = new DeleteScheduleCommand(args);
|
|
203
236
|
if (typeof optionsOrCb === "function") {
|
|
@@ -282,6 +315,20 @@ var DataBrew = (function (_super) {
|
|
|
282
315
|
return this.send(command, optionsOrCb);
|
|
283
316
|
}
|
|
284
317
|
};
|
|
318
|
+
DataBrew.prototype.describeRuleset = function (args, optionsOrCb, cb) {
|
|
319
|
+
var command = new DescribeRulesetCommand(args);
|
|
320
|
+
if (typeof optionsOrCb === "function") {
|
|
321
|
+
this.send(command, optionsOrCb);
|
|
322
|
+
}
|
|
323
|
+
else if (typeof cb === "function") {
|
|
324
|
+
if (typeof optionsOrCb !== "object")
|
|
325
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
326
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
327
|
+
}
|
|
328
|
+
else {
|
|
329
|
+
return this.send(command, optionsOrCb);
|
|
330
|
+
}
|
|
331
|
+
};
|
|
285
332
|
DataBrew.prototype.describeSchedule = function (args, optionsOrCb, cb) {
|
|
286
333
|
var command = new DescribeScheduleCommand(args);
|
|
287
334
|
if (typeof optionsOrCb === "function") {
|
|
@@ -380,6 +427,20 @@ var DataBrew = (function (_super) {
|
|
|
380
427
|
return this.send(command, optionsOrCb);
|
|
381
428
|
}
|
|
382
429
|
};
|
|
430
|
+
DataBrew.prototype.listRulesets = function (args, optionsOrCb, cb) {
|
|
431
|
+
var command = new ListRulesetsCommand(args);
|
|
432
|
+
if (typeof optionsOrCb === "function") {
|
|
433
|
+
this.send(command, optionsOrCb);
|
|
434
|
+
}
|
|
435
|
+
else if (typeof cb === "function") {
|
|
436
|
+
if (typeof optionsOrCb !== "object")
|
|
437
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
438
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
439
|
+
}
|
|
440
|
+
else {
|
|
441
|
+
return this.send(command, optionsOrCb);
|
|
442
|
+
}
|
|
443
|
+
};
|
|
383
444
|
DataBrew.prototype.listSchedules = function (args, optionsOrCb, cb) {
|
|
384
445
|
var command = new ListSchedulesCommand(args);
|
|
385
446
|
if (typeof optionsOrCb === "function") {
|
|
@@ -576,6 +637,20 @@ var DataBrew = (function (_super) {
|
|
|
576
637
|
return this.send(command, optionsOrCb);
|
|
577
638
|
}
|
|
578
639
|
};
|
|
640
|
+
DataBrew.prototype.updateRuleset = function (args, optionsOrCb, cb) {
|
|
641
|
+
var command = new UpdateRulesetCommand(args);
|
|
642
|
+
if (typeof optionsOrCb === "function") {
|
|
643
|
+
this.send(command, optionsOrCb);
|
|
644
|
+
}
|
|
645
|
+
else if (typeof cb === "function") {
|
|
646
|
+
if (typeof optionsOrCb !== "object")
|
|
647
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
648
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
649
|
+
}
|
|
650
|
+
else {
|
|
651
|
+
return this.send(command, optionsOrCb);
|
|
652
|
+
}
|
|
653
|
+
};
|
|
579
654
|
DataBrew.prototype.updateSchedule = function (args, optionsOrCb, cb) {
|
|
580
655
|
var command = new UpdateScheduleCommand(args);
|
|
581
656
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateRulesetRequest, CreateRulesetResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateRulesetCommand, serializeAws_restJson1CreateRulesetCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateRulesetCommand = (function (_super) {
|
|
7
|
+
__extends(CreateRulesetCommand, _super);
|
|
8
|
+
function CreateRulesetCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateRulesetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "DataBrewClient";
|
|
18
|
+
var commandName = "CreateRulesetCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateRulesetRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateRulesetResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateRulesetCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1CreateRulesetCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateRulesetCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1CreateRulesetCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateRulesetCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateRulesetCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteRulesetRequest, DeleteRulesetResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteRulesetCommand, serializeAws_restJson1DeleteRulesetCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DeleteRulesetCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteRulesetCommand, _super);
|
|
8
|
+
function DeleteRulesetCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteRulesetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "DataBrewClient";
|
|
18
|
+
var commandName = "DeleteRulesetCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteRulesetRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteRulesetResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteRulesetCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DeleteRulesetCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteRulesetCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DeleteRulesetCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteRulesetCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteRulesetCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeRulesetRequest, DescribeRulesetResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeRulesetCommand, serializeAws_restJson1DescribeRulesetCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DescribeRulesetCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeRulesetCommand, _super);
|
|
8
|
+
function DescribeRulesetCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeRulesetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "DataBrewClient";
|
|
18
|
+
var commandName = "DescribeRulesetCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeRulesetRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeRulesetResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeRulesetCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DescribeRulesetCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeRulesetCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DescribeRulesetCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeRulesetCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeRulesetCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListRulesetsRequest, ListRulesetsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListRulesetsCommand, serializeAws_restJson1ListRulesetsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListRulesetsCommand = (function (_super) {
|
|
7
|
+
__extends(ListRulesetsCommand, _super);
|
|
8
|
+
function ListRulesetsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListRulesetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "DataBrewClient";
|
|
18
|
+
var commandName = "ListRulesetsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListRulesetsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListRulesetsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListRulesetsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListRulesetsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListRulesetsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListRulesetsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListRulesetsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListRulesetsCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateRulesetRequest, UpdateRulesetResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateRulesetCommand, serializeAws_restJson1UpdateRulesetCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateRulesetCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateRulesetCommand, _super);
|
|
8
|
+
function UpdateRulesetCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateRulesetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "DataBrewClient";
|
|
18
|
+
var commandName = "UpdateRulesetCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateRulesetRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateRulesetResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateRulesetCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateRulesetCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateRulesetCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateRulesetCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateRulesetCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateRulesetCommand };
|
|
@@ -4,17 +4,20 @@ export * from "./CreateProfileJobCommand";
|
|
|
4
4
|
export * from "./CreateProjectCommand";
|
|
5
5
|
export * from "./CreateRecipeCommand";
|
|
6
6
|
export * from "./CreateRecipeJobCommand";
|
|
7
|
+
export * from "./CreateRulesetCommand";
|
|
7
8
|
export * from "./CreateScheduleCommand";
|
|
8
9
|
export * from "./DeleteDatasetCommand";
|
|
9
10
|
export * from "./DeleteJobCommand";
|
|
10
11
|
export * from "./DeleteProjectCommand";
|
|
11
12
|
export * from "./DeleteRecipeVersionCommand";
|
|
13
|
+
export * from "./DeleteRulesetCommand";
|
|
12
14
|
export * from "./DeleteScheduleCommand";
|
|
13
15
|
export * from "./DescribeDatasetCommand";
|
|
14
16
|
export * from "./DescribeJobCommand";
|
|
15
17
|
export * from "./DescribeJobRunCommand";
|
|
16
18
|
export * from "./DescribeProjectCommand";
|
|
17
19
|
export * from "./DescribeRecipeCommand";
|
|
20
|
+
export * from "./DescribeRulesetCommand";
|
|
18
21
|
export * from "./DescribeScheduleCommand";
|
|
19
22
|
export * from "./ListDatasetsCommand";
|
|
20
23
|
export * from "./ListJobRunsCommand";
|
|
@@ -22,6 +25,7 @@ export * from "./ListJobsCommand";
|
|
|
22
25
|
export * from "./ListProjectsCommand";
|
|
23
26
|
export * from "./ListRecipeVersionsCommand";
|
|
24
27
|
export * from "./ListRecipesCommand";
|
|
28
|
+
export * from "./ListRulesetsCommand";
|
|
25
29
|
export * from "./ListSchedulesCommand";
|
|
26
30
|
export * from "./ListTagsForResourceCommand";
|
|
27
31
|
export * from "./PublishRecipeCommand";
|
|
@@ -36,4 +40,5 @@ export * from "./UpdateProfileJobCommand";
|
|
|
36
40
|
export * from "./UpdateProjectCommand";
|
|
37
41
|
export * from "./UpdateRecipeCommand";
|
|
38
42
|
export * from "./UpdateRecipeJobCommand";
|
|
43
|
+
export * from "./UpdateRulesetCommand";
|
|
39
44
|
export * from "./UpdateScheduleCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -27,27 +27,96 @@ var partitionHash = {
|
|
|
27
27
|
"us-west-2",
|
|
28
28
|
],
|
|
29
29
|
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
30
|
-
|
|
30
|
+
variants: [
|
|
31
|
+
{
|
|
32
|
+
hostname: "databrew.{region}.amazonaws.com",
|
|
33
|
+
tags: [],
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
hostname: "databrew-fips.{region}.amazonaws.com",
|
|
37
|
+
tags: ["fips"],
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
hostname: "databrew-fips.{region}.api.aws",
|
|
41
|
+
tags: ["dualstack", "fips"],
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
hostname: "databrew.{region}.api.aws",
|
|
45
|
+
tags: ["dualstack"],
|
|
46
|
+
},
|
|
47
|
+
],
|
|
31
48
|
},
|
|
32
49
|
"aws-cn": {
|
|
33
50
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
34
51
|
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
35
|
-
|
|
52
|
+
variants: [
|
|
53
|
+
{
|
|
54
|
+
hostname: "databrew.{region}.amazonaws.com.cn",
|
|
55
|
+
tags: [],
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
hostname: "databrew-fips.{region}.amazonaws.com.cn",
|
|
59
|
+
tags: ["fips"],
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
hostname: "databrew-fips.{region}.api.amazonwebservices.com.cn",
|
|
63
|
+
tags: ["dualstack", "fips"],
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
hostname: "databrew.{region}.api.amazonwebservices.com.cn",
|
|
67
|
+
tags: ["dualstack"],
|
|
68
|
+
},
|
|
69
|
+
],
|
|
36
70
|
},
|
|
37
71
|
"aws-iso": {
|
|
38
72
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
39
73
|
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
40
|
-
|
|
74
|
+
variants: [
|
|
75
|
+
{
|
|
76
|
+
hostname: "databrew.{region}.c2s.ic.gov",
|
|
77
|
+
tags: [],
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
hostname: "databrew-fips.{region}.c2s.ic.gov",
|
|
81
|
+
tags: ["fips"],
|
|
82
|
+
},
|
|
83
|
+
],
|
|
41
84
|
},
|
|
42
85
|
"aws-iso-b": {
|
|
43
86
|
regions: ["us-isob-east-1"],
|
|
44
87
|
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
45
|
-
|
|
88
|
+
variants: [
|
|
89
|
+
{
|
|
90
|
+
hostname: "databrew.{region}.sc2s.sgov.gov",
|
|
91
|
+
tags: [],
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
hostname: "databrew-fips.{region}.sc2s.sgov.gov",
|
|
95
|
+
tags: ["fips"],
|
|
96
|
+
},
|
|
97
|
+
],
|
|
46
98
|
},
|
|
47
99
|
"aws-us-gov": {
|
|
48
100
|
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
49
101
|
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
50
|
-
|
|
102
|
+
variants: [
|
|
103
|
+
{
|
|
104
|
+
hostname: "databrew.{region}.amazonaws.com",
|
|
105
|
+
tags: [],
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
hostname: "databrew-fips.{region}.amazonaws.com",
|
|
109
|
+
tags: ["fips"],
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
hostname: "databrew-fips.{region}.api.aws",
|
|
113
|
+
tags: ["dualstack", "fips"],
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
hostname: "databrew.{region}.api.aws",
|
|
117
|
+
tags: ["dualstack"],
|
|
118
|
+
},
|
|
119
|
+
],
|
|
51
120
|
},
|
|
52
121
|
};
|
|
53
122
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|