@aws-sdk/client-databrew 3.42.0 → 3.46.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.
Files changed (54) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist-cjs/DataBrew.js +75 -0
  3. package/dist-cjs/DataBrewClient.js +1 -0
  4. package/dist-cjs/commands/CreateRulesetCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteRulesetCommand.js +36 -0
  6. package/dist-cjs/commands/DescribeRulesetCommand.js +36 -0
  7. package/dist-cjs/commands/ListRulesetsCommand.js +36 -0
  8. package/dist-cjs/commands/UpdateRulesetCommand.js +36 -0
  9. package/dist-cjs/commands/index.js +5 -0
  10. package/dist-cjs/endpoints.js +1 -0
  11. package/dist-cjs/models/models_0.js +130 -3
  12. package/dist-cjs/pagination/ListRulesetsPaginator.js +35 -0
  13. package/dist-cjs/pagination/index.js +1 -0
  14. package/dist-cjs/protocols/Aws_restJson1.js +727 -4
  15. package/dist-cjs/runtimeConfig.js +0 -2
  16. package/dist-es/DataBrew.js +75 -0
  17. package/dist-es/DataBrewClient.js +2 -1
  18. package/dist-es/commands/CreateRulesetCommand.js +39 -0
  19. package/dist-es/commands/DeleteRulesetCommand.js +39 -0
  20. package/dist-es/commands/DescribeRulesetCommand.js +39 -0
  21. package/dist-es/commands/ListRulesetsCommand.js +39 -0
  22. package/dist-es/commands/UpdateRulesetCommand.js +39 -0
  23. package/dist-es/commands/index.js +5 -0
  24. package/dist-es/endpoints.js +1 -0
  25. package/dist-es/models/models_0.js +92 -2
  26. package/dist-es/pagination/ListRulesetsPaginator.js +74 -0
  27. package/dist-es/pagination/index.js +1 -0
  28. package/dist-es/protocols/Aws_restJson1.js +818 -42
  29. package/dist-es/runtimeConfig.js +0 -2
  30. package/dist-types/DataBrew.d.ts +37 -0
  31. package/dist-types/DataBrewClient.d.ts +7 -2
  32. package/dist-types/commands/CreateRulesetCommand.d.ts +36 -0
  33. package/dist-types/commands/DeleteRulesetCommand.d.ts +35 -0
  34. package/dist-types/commands/DescribeRulesetCommand.d.ts +35 -0
  35. package/dist-types/commands/ListRulesetsCommand.d.ts +36 -0
  36. package/dist-types/commands/UpdateRulesetCommand.d.ts +35 -0
  37. package/dist-types/commands/index.d.ts +5 -0
  38. package/dist-types/models/models_0.d.ts +577 -17
  39. package/dist-types/pagination/ListRulesetsPaginator.d.ts +4 -0
  40. package/dist-types/pagination/index.d.ts +1 -0
  41. package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
  42. package/dist-types/ts3.4/DataBrew.d.ts +25 -0
  43. package/dist-types/ts3.4/DataBrewClient.d.ts +7 -2
  44. package/dist-types/ts3.4/commands/CreateRulesetCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/DeleteRulesetCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/DescribeRulesetCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/ListRulesetsCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/UpdateRulesetCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  50. package/dist-types/ts3.4/models/models_0.d.ts +267 -1
  51. package/dist-types/ts3.4/pagination/ListRulesetsPaginator.d.ts +4 -0
  52. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  53. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +15 -0
  54. package/package.json +36 -43
@@ -12,10 +12,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
15
  export var getRuntimeConfig = function (config) {
17
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
- emitWarningIfUnsupportedVersion(process.version);
19
17
  var clientSharedValues = getSharedRuntimeConfig(config);
20
18
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
19
  };
@@ -5,17 +5,20 @@ import { CreateProfileJobCommandInput, CreateProfileJobCommandOutput } from "./c
5
5
  import { CreateProjectCommandInput, CreateProjectCommandOutput } from "./commands/CreateProjectCommand";
6
6
  import { CreateRecipeCommandInput, CreateRecipeCommandOutput } from "./commands/CreateRecipeCommand";
7
7
  import { CreateRecipeJobCommandInput, CreateRecipeJobCommandOutput } from "./commands/CreateRecipeJobCommand";
8
+ import { CreateRulesetCommandInput, CreateRulesetCommandOutput } from "./commands/CreateRulesetCommand";
8
9
  import { CreateScheduleCommandInput, CreateScheduleCommandOutput } from "./commands/CreateScheduleCommand";
9
10
  import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
10
11
  import { DeleteJobCommandInput, DeleteJobCommandOutput } from "./commands/DeleteJobCommand";
11
12
  import { DeleteProjectCommandInput, DeleteProjectCommandOutput } from "./commands/DeleteProjectCommand";
12
13
  import { DeleteRecipeVersionCommandInput, DeleteRecipeVersionCommandOutput } from "./commands/DeleteRecipeVersionCommand";
14
+ import { DeleteRulesetCommandInput, DeleteRulesetCommandOutput } from "./commands/DeleteRulesetCommand";
13
15
  import { DeleteScheduleCommandInput, DeleteScheduleCommandOutput } from "./commands/DeleteScheduleCommand";
14
16
  import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "./commands/DescribeDatasetCommand";
15
17
  import { DescribeJobCommandInput, DescribeJobCommandOutput } from "./commands/DescribeJobCommand";
16
18
  import { DescribeJobRunCommandInput, DescribeJobRunCommandOutput } from "./commands/DescribeJobRunCommand";
17
19
  import { DescribeProjectCommandInput, DescribeProjectCommandOutput } from "./commands/DescribeProjectCommand";
18
20
  import { DescribeRecipeCommandInput, DescribeRecipeCommandOutput } from "./commands/DescribeRecipeCommand";
21
+ import { DescribeRulesetCommandInput, DescribeRulesetCommandOutput } from "./commands/DescribeRulesetCommand";
19
22
  import { DescribeScheduleCommandInput, DescribeScheduleCommandOutput } from "./commands/DescribeScheduleCommand";
20
23
  import { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand";
21
24
  import { ListJobRunsCommandInput, ListJobRunsCommandOutput } from "./commands/ListJobRunsCommand";
@@ -23,6 +26,7 @@ import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobs
23
26
  import { ListProjectsCommandInput, ListProjectsCommandOutput } from "./commands/ListProjectsCommand";
24
27
  import { ListRecipesCommandInput, ListRecipesCommandOutput } from "./commands/ListRecipesCommand";
25
28
  import { ListRecipeVersionsCommandInput, ListRecipeVersionsCommandOutput } from "./commands/ListRecipeVersionsCommand";
29
+ import { ListRulesetsCommandInput, ListRulesetsCommandOutput } from "./commands/ListRulesetsCommand";
26
30
  import { ListSchedulesCommandInput, ListSchedulesCommandOutput } from "./commands/ListSchedulesCommand";
27
31
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
28
32
  import { PublishRecipeCommandInput, PublishRecipeCommandOutput } from "./commands/PublishRecipeCommand";
@@ -37,6 +41,7 @@ import { UpdateProfileJobCommandInput, UpdateProfileJobCommandOutput } from "./c
37
41
  import { UpdateProjectCommandInput, UpdateProjectCommandOutput } from "./commands/UpdateProjectCommand";
38
42
  import { UpdateRecipeCommandInput, UpdateRecipeCommandOutput } from "./commands/UpdateRecipeCommand";
39
43
  import { UpdateRecipeJobCommandInput, UpdateRecipeJobCommandOutput } from "./commands/UpdateRecipeJobCommand";
44
+ import { UpdateRulesetCommandInput, UpdateRulesetCommandOutput } from "./commands/UpdateRulesetCommand";
40
45
  import { UpdateScheduleCommandInput, UpdateScheduleCommandOutput } from "./commands/UpdateScheduleCommand";
41
46
  import { DataBrewClient } from "./DataBrewClient";
42
47
  /**
@@ -122,6 +127,13 @@ export declare class DataBrew extends DataBrewClient {
122
127
  createRecipeJob(args: CreateRecipeJobCommandInput, options?: __HttpHandlerOptions): Promise<CreateRecipeJobCommandOutput>;
123
128
  createRecipeJob(args: CreateRecipeJobCommandInput, cb: (err: any, data?: CreateRecipeJobCommandOutput) => void): void;
124
129
  createRecipeJob(args: CreateRecipeJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRecipeJobCommandOutput) => void): void;
130
+ /**
131
+ * <p>Creates a new ruleset that can be used in a profile job to validate
132
+ * the data quality of a dataset.</p>
133
+ */
134
+ createRuleset(args: CreateRulesetCommandInput, options?: __HttpHandlerOptions): Promise<CreateRulesetCommandOutput>;
135
+ createRuleset(args: CreateRulesetCommandInput, cb: (err: any, data?: CreateRulesetCommandOutput) => void): void;
136
+ createRuleset(args: CreateRulesetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRulesetCommandOutput) => void): void;
125
137
  /**
126
138
  * <p>Creates a new schedule for one or more DataBrew jobs. Jobs can be run at a specific
127
139
  * date and time, or at regular intervals.</p>
@@ -153,6 +165,12 @@ export declare class DataBrew extends DataBrewClient {
153
165
  deleteRecipeVersion(args: DeleteRecipeVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRecipeVersionCommandOutput>;
154
166
  deleteRecipeVersion(args: DeleteRecipeVersionCommandInput, cb: (err: any, data?: DeleteRecipeVersionCommandOutput) => void): void;
155
167
  deleteRecipeVersion(args: DeleteRecipeVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRecipeVersionCommandOutput) => void): void;
168
+ /**
169
+ * <p>Deletes a ruleset.</p>
170
+ */
171
+ deleteRuleset(args: DeleteRulesetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRulesetCommandOutput>;
172
+ deleteRuleset(args: DeleteRulesetCommandInput, cb: (err: any, data?: DeleteRulesetCommandOutput) => void): void;
173
+ deleteRuleset(args: DeleteRulesetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRulesetCommandOutput) => void): void;
156
174
  /**
157
175
  * <p>Deletes the specified DataBrew schedule.</p>
158
176
  */
@@ -190,6 +208,12 @@ export declare class DataBrew extends DataBrewClient {
190
208
  describeRecipe(args: DescribeRecipeCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRecipeCommandOutput>;
191
209
  describeRecipe(args: DescribeRecipeCommandInput, cb: (err: any, data?: DescribeRecipeCommandOutput) => void): void;
192
210
  describeRecipe(args: DescribeRecipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRecipeCommandOutput) => void): void;
211
+ /**
212
+ * <p>Retrieves detailed information about the ruleset.</p>
213
+ */
214
+ describeRuleset(args: DescribeRulesetCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRulesetCommandOutput>;
215
+ describeRuleset(args: DescribeRulesetCommandInput, cb: (err: any, data?: DescribeRulesetCommandOutput) => void): void;
216
+ describeRuleset(args: DescribeRulesetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRulesetCommandOutput) => void): void;
193
217
  /**
194
218
  * <p>Returns the definition of a specific DataBrew schedule.</p>
195
219
  */
@@ -233,6 +257,13 @@ export declare class DataBrew extends DataBrewClient {
233
257
  listRecipeVersions(args: ListRecipeVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListRecipeVersionsCommandOutput>;
234
258
  listRecipeVersions(args: ListRecipeVersionsCommandInput, cb: (err: any, data?: ListRecipeVersionsCommandOutput) => void): void;
235
259
  listRecipeVersions(args: ListRecipeVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRecipeVersionsCommandOutput) => void): void;
260
+ /**
261
+ * <p>List all rulesets available in the current account or rulesets associated
262
+ * with a specific resource (dataset).</p>
263
+ */
264
+ listRulesets(args: ListRulesetsCommandInput, options?: __HttpHandlerOptions): Promise<ListRulesetsCommandOutput>;
265
+ listRulesets(args: ListRulesetsCommandInput, cb: (err: any, data?: ListRulesetsCommandOutput) => void): void;
266
+ listRulesets(args: ListRulesetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRulesetsCommandOutput) => void): void;
236
267
  /**
237
268
  * <p>Lists the DataBrew schedules that are defined.</p>
238
269
  */
@@ -321,6 +352,12 @@ export declare class DataBrew extends DataBrewClient {
321
352
  updateRecipeJob(args: UpdateRecipeJobCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRecipeJobCommandOutput>;
322
353
  updateRecipeJob(args: UpdateRecipeJobCommandInput, cb: (err: any, data?: UpdateRecipeJobCommandOutput) => void): void;
323
354
  updateRecipeJob(args: UpdateRecipeJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRecipeJobCommandOutput) => void): void;
355
+ /**
356
+ * <p>Updates specified ruleset.</p>
357
+ */
358
+ updateRuleset(args: UpdateRulesetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRulesetCommandOutput>;
359
+ updateRuleset(args: UpdateRulesetCommandInput, cb: (err: any, data?: UpdateRulesetCommandOutput) => void): void;
360
+ updateRuleset(args: UpdateRulesetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRulesetCommandOutput) => void): void;
324
361
  /**
325
362
  * <p>Modifies the definition of an existing DataBrew schedule.</p>
326
363
  */
@@ -12,17 +12,20 @@ import { CreateProfileJobCommandInput, CreateProfileJobCommandOutput } from "./c
12
12
  import { CreateProjectCommandInput, CreateProjectCommandOutput } from "./commands/CreateProjectCommand";
13
13
  import { CreateRecipeCommandInput, CreateRecipeCommandOutput } from "./commands/CreateRecipeCommand";
14
14
  import { CreateRecipeJobCommandInput, CreateRecipeJobCommandOutput } from "./commands/CreateRecipeJobCommand";
15
+ import { CreateRulesetCommandInput, CreateRulesetCommandOutput } from "./commands/CreateRulesetCommand";
15
16
  import { CreateScheduleCommandInput, CreateScheduleCommandOutput } from "./commands/CreateScheduleCommand";
16
17
  import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
17
18
  import { DeleteJobCommandInput, DeleteJobCommandOutput } from "./commands/DeleteJobCommand";
18
19
  import { DeleteProjectCommandInput, DeleteProjectCommandOutput } from "./commands/DeleteProjectCommand";
19
20
  import { DeleteRecipeVersionCommandInput, DeleteRecipeVersionCommandOutput } from "./commands/DeleteRecipeVersionCommand";
21
+ import { DeleteRulesetCommandInput, DeleteRulesetCommandOutput } from "./commands/DeleteRulesetCommand";
20
22
  import { DeleteScheduleCommandInput, DeleteScheduleCommandOutput } from "./commands/DeleteScheduleCommand";
21
23
  import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "./commands/DescribeDatasetCommand";
22
24
  import { DescribeJobCommandInput, DescribeJobCommandOutput } from "./commands/DescribeJobCommand";
23
25
  import { DescribeJobRunCommandInput, DescribeJobRunCommandOutput } from "./commands/DescribeJobRunCommand";
24
26
  import { DescribeProjectCommandInput, DescribeProjectCommandOutput } from "./commands/DescribeProjectCommand";
25
27
  import { DescribeRecipeCommandInput, DescribeRecipeCommandOutput } from "./commands/DescribeRecipeCommand";
28
+ import { DescribeRulesetCommandInput, DescribeRulesetCommandOutput } from "./commands/DescribeRulesetCommand";
26
29
  import { DescribeScheduleCommandInput, DescribeScheduleCommandOutput } from "./commands/DescribeScheduleCommand";
27
30
  import { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand";
28
31
  import { ListJobRunsCommandInput, ListJobRunsCommandOutput } from "./commands/ListJobRunsCommand";
@@ -30,6 +33,7 @@ import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobs
30
33
  import { ListProjectsCommandInput, ListProjectsCommandOutput } from "./commands/ListProjectsCommand";
31
34
  import { ListRecipesCommandInput, ListRecipesCommandOutput } from "./commands/ListRecipesCommand";
32
35
  import { ListRecipeVersionsCommandInput, ListRecipeVersionsCommandOutput } from "./commands/ListRecipeVersionsCommand";
36
+ import { ListRulesetsCommandInput, ListRulesetsCommandOutput } from "./commands/ListRulesetsCommand";
33
37
  import { ListSchedulesCommandInput, ListSchedulesCommandOutput } from "./commands/ListSchedulesCommand";
34
38
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
35
39
  import { PublishRecipeCommandInput, PublishRecipeCommandOutput } from "./commands/PublishRecipeCommand";
@@ -44,9 +48,10 @@ import { UpdateProfileJobCommandInput, UpdateProfileJobCommandOutput } from "./c
44
48
  import { UpdateProjectCommandInput, UpdateProjectCommandOutput } from "./commands/UpdateProjectCommand";
45
49
  import { UpdateRecipeCommandInput, UpdateRecipeCommandOutput } from "./commands/UpdateRecipeCommand";
46
50
  import { UpdateRecipeJobCommandInput, UpdateRecipeJobCommandOutput } from "./commands/UpdateRecipeJobCommand";
51
+ import { UpdateRulesetCommandInput, UpdateRulesetCommandOutput } from "./commands/UpdateRulesetCommand";
47
52
  import { UpdateScheduleCommandInput, UpdateScheduleCommandOutput } from "./commands/UpdateScheduleCommand";
48
- export declare type ServiceInputTypes = BatchDeleteRecipeVersionCommandInput | CreateDatasetCommandInput | CreateProfileJobCommandInput | CreateProjectCommandInput | CreateRecipeCommandInput | CreateRecipeJobCommandInput | CreateScheduleCommandInput | DeleteDatasetCommandInput | DeleteJobCommandInput | DeleteProjectCommandInput | DeleteRecipeVersionCommandInput | DeleteScheduleCommandInput | DescribeDatasetCommandInput | DescribeJobCommandInput | DescribeJobRunCommandInput | DescribeProjectCommandInput | DescribeRecipeCommandInput | DescribeScheduleCommandInput | ListDatasetsCommandInput | ListJobRunsCommandInput | ListJobsCommandInput | ListProjectsCommandInput | ListRecipeVersionsCommandInput | ListRecipesCommandInput | ListSchedulesCommandInput | ListTagsForResourceCommandInput | PublishRecipeCommandInput | SendProjectSessionActionCommandInput | StartJobRunCommandInput | StartProjectSessionCommandInput | StopJobRunCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDatasetCommandInput | UpdateProfileJobCommandInput | UpdateProjectCommandInput | UpdateRecipeCommandInput | UpdateRecipeJobCommandInput | UpdateScheduleCommandInput;
49
- export declare type ServiceOutputTypes = BatchDeleteRecipeVersionCommandOutput | CreateDatasetCommandOutput | CreateProfileJobCommandOutput | CreateProjectCommandOutput | CreateRecipeCommandOutput | CreateRecipeJobCommandOutput | CreateScheduleCommandOutput | DeleteDatasetCommandOutput | DeleteJobCommandOutput | DeleteProjectCommandOutput | DeleteRecipeVersionCommandOutput | DeleteScheduleCommandOutput | DescribeDatasetCommandOutput | DescribeJobCommandOutput | DescribeJobRunCommandOutput | DescribeProjectCommandOutput | DescribeRecipeCommandOutput | DescribeScheduleCommandOutput | ListDatasetsCommandOutput | ListJobRunsCommandOutput | ListJobsCommandOutput | ListProjectsCommandOutput | ListRecipeVersionsCommandOutput | ListRecipesCommandOutput | ListSchedulesCommandOutput | ListTagsForResourceCommandOutput | PublishRecipeCommandOutput | SendProjectSessionActionCommandOutput | StartJobRunCommandOutput | StartProjectSessionCommandOutput | StopJobRunCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDatasetCommandOutput | UpdateProfileJobCommandOutput | UpdateProjectCommandOutput | UpdateRecipeCommandOutput | UpdateRecipeJobCommandOutput | UpdateScheduleCommandOutput;
53
+ export declare type ServiceInputTypes = BatchDeleteRecipeVersionCommandInput | CreateDatasetCommandInput | CreateProfileJobCommandInput | CreateProjectCommandInput | CreateRecipeCommandInput | CreateRecipeJobCommandInput | CreateRulesetCommandInput | CreateScheduleCommandInput | DeleteDatasetCommandInput | DeleteJobCommandInput | DeleteProjectCommandInput | DeleteRecipeVersionCommandInput | DeleteRulesetCommandInput | DeleteScheduleCommandInput | DescribeDatasetCommandInput | DescribeJobCommandInput | DescribeJobRunCommandInput | DescribeProjectCommandInput | DescribeRecipeCommandInput | DescribeRulesetCommandInput | DescribeScheduleCommandInput | ListDatasetsCommandInput | ListJobRunsCommandInput | ListJobsCommandInput | ListProjectsCommandInput | ListRecipeVersionsCommandInput | ListRecipesCommandInput | ListRulesetsCommandInput | ListSchedulesCommandInput | ListTagsForResourceCommandInput | PublishRecipeCommandInput | SendProjectSessionActionCommandInput | StartJobRunCommandInput | StartProjectSessionCommandInput | StopJobRunCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDatasetCommandInput | UpdateProfileJobCommandInput | UpdateProjectCommandInput | UpdateRecipeCommandInput | UpdateRecipeJobCommandInput | UpdateRulesetCommandInput | UpdateScheduleCommandInput;
54
+ export declare type ServiceOutputTypes = BatchDeleteRecipeVersionCommandOutput | CreateDatasetCommandOutput | CreateProfileJobCommandOutput | CreateProjectCommandOutput | CreateRecipeCommandOutput | CreateRecipeJobCommandOutput | CreateRulesetCommandOutput | CreateScheduleCommandOutput | DeleteDatasetCommandOutput | DeleteJobCommandOutput | DeleteProjectCommandOutput | DeleteRecipeVersionCommandOutput | DeleteRulesetCommandOutput | DeleteScheduleCommandOutput | DescribeDatasetCommandOutput | DescribeJobCommandOutput | DescribeJobRunCommandOutput | DescribeProjectCommandOutput | DescribeRecipeCommandOutput | DescribeRulesetCommandOutput | DescribeScheduleCommandOutput | ListDatasetsCommandOutput | ListJobRunsCommandOutput | ListJobsCommandOutput | ListProjectsCommandOutput | ListRecipeVersionsCommandOutput | ListRecipesCommandOutput | ListRulesetsCommandOutput | ListSchedulesCommandOutput | ListTagsForResourceCommandOutput | PublishRecipeCommandOutput | SendProjectSessionActionCommandOutput | StartJobRunCommandOutput | StartProjectSessionCommandOutput | StopJobRunCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDatasetCommandOutput | UpdateProfileJobCommandOutput | UpdateProjectCommandOutput | UpdateRecipeCommandOutput | UpdateRecipeJobCommandOutput | UpdateRulesetCommandOutput | UpdateScheduleCommandOutput;
50
55
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
51
56
  /**
52
57
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient";
4
+ import { CreateRulesetRequest, CreateRulesetResponse } from "../models/models_0";
5
+ export interface CreateRulesetCommandInput extends CreateRulesetRequest {
6
+ }
7
+ export interface CreateRulesetCommandOutput extends CreateRulesetResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Creates a new ruleset that can be used in a profile job to validate
11
+ * the data quality of a dataset.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { DataBrewClient, CreateRulesetCommand } from "@aws-sdk/client-databrew"; // ES Modules import
16
+ * // const { DataBrewClient, CreateRulesetCommand } = require("@aws-sdk/client-databrew"); // CommonJS import
17
+ * const client = new DataBrewClient(config);
18
+ * const command = new CreateRulesetCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link CreateRulesetCommandInput} for command's `input` shape.
23
+ * @see {@link CreateRulesetCommandOutput} for command's `response` shape.
24
+ * @see {@link DataBrewClientResolvedConfig | config} for DataBrewClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class CreateRulesetCommand extends $Command<CreateRulesetCommandInput, CreateRulesetCommandOutput, DataBrewClientResolvedConfig> {
28
+ readonly input: CreateRulesetCommandInput;
29
+ constructor(input: CreateRulesetCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRulesetCommandInput, CreateRulesetCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient";
4
+ import { DeleteRulesetRequest, DeleteRulesetResponse } from "../models/models_0";
5
+ export interface DeleteRulesetCommandInput extends DeleteRulesetRequest {
6
+ }
7
+ export interface DeleteRulesetCommandOutput extends DeleteRulesetResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes a ruleset.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { DataBrewClient, DeleteRulesetCommand } from "@aws-sdk/client-databrew"; // ES Modules import
15
+ * // const { DataBrewClient, DeleteRulesetCommand } = require("@aws-sdk/client-databrew"); // CommonJS import
16
+ * const client = new DataBrewClient(config);
17
+ * const command = new DeleteRulesetCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DeleteRulesetCommandInput} for command's `input` shape.
22
+ * @see {@link DeleteRulesetCommandOutput} for command's `response` shape.
23
+ * @see {@link DataBrewClientResolvedConfig | config} for DataBrewClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DeleteRulesetCommand extends $Command<DeleteRulesetCommandInput, DeleteRulesetCommandOutput, DataBrewClientResolvedConfig> {
27
+ readonly input: DeleteRulesetCommandInput;
28
+ constructor(input: DeleteRulesetCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRulesetCommandInput, DeleteRulesetCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient";
4
+ import { DescribeRulesetRequest, DescribeRulesetResponse } from "../models/models_0";
5
+ export interface DescribeRulesetCommandInput extends DescribeRulesetRequest {
6
+ }
7
+ export interface DescribeRulesetCommandOutput extends DescribeRulesetResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Retrieves detailed information about the ruleset.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { DataBrewClient, DescribeRulesetCommand } from "@aws-sdk/client-databrew"; // ES Modules import
15
+ * // const { DataBrewClient, DescribeRulesetCommand } = require("@aws-sdk/client-databrew"); // CommonJS import
16
+ * const client = new DataBrewClient(config);
17
+ * const command = new DescribeRulesetCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DescribeRulesetCommandInput} for command's `input` shape.
22
+ * @see {@link DescribeRulesetCommandOutput} for command's `response` shape.
23
+ * @see {@link DataBrewClientResolvedConfig | config} for DataBrewClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DescribeRulesetCommand extends $Command<DescribeRulesetCommandInput, DescribeRulesetCommandOutput, DataBrewClientResolvedConfig> {
27
+ readonly input: DescribeRulesetCommandInput;
28
+ constructor(input: DescribeRulesetCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeRulesetCommandInput, DescribeRulesetCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient";
4
+ import { ListRulesetsRequest, ListRulesetsResponse } from "../models/models_0";
5
+ export interface ListRulesetsCommandInput extends ListRulesetsRequest {
6
+ }
7
+ export interface ListRulesetsCommandOutput extends ListRulesetsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>List all rulesets available in the current account or rulesets associated
11
+ * with a specific resource (dataset).</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { DataBrewClient, ListRulesetsCommand } from "@aws-sdk/client-databrew"; // ES Modules import
16
+ * // const { DataBrewClient, ListRulesetsCommand } = require("@aws-sdk/client-databrew"); // CommonJS import
17
+ * const client = new DataBrewClient(config);
18
+ * const command = new ListRulesetsCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link ListRulesetsCommandInput} for command's `input` shape.
23
+ * @see {@link ListRulesetsCommandOutput} for command's `response` shape.
24
+ * @see {@link DataBrewClientResolvedConfig | config} for DataBrewClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class ListRulesetsCommand extends $Command<ListRulesetsCommandInput, ListRulesetsCommandOutput, DataBrewClientResolvedConfig> {
28
+ readonly input: ListRulesetsCommandInput;
29
+ constructor(input: ListRulesetsCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRulesetsCommandInput, ListRulesetsCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient";
4
+ import { UpdateRulesetRequest, UpdateRulesetResponse } from "../models/models_0";
5
+ export interface UpdateRulesetCommandInput extends UpdateRulesetRequest {
6
+ }
7
+ export interface UpdateRulesetCommandOutput extends UpdateRulesetResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Updates specified ruleset.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { DataBrewClient, UpdateRulesetCommand } from "@aws-sdk/client-databrew"; // ES Modules import
15
+ * // const { DataBrewClient, UpdateRulesetCommand } = require("@aws-sdk/client-databrew"); // CommonJS import
16
+ * const client = new DataBrewClient(config);
17
+ * const command = new UpdateRulesetCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateRulesetCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateRulesetCommandOutput} for command's `response` shape.
23
+ * @see {@link DataBrewClientResolvedConfig | config} for DataBrewClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateRulesetCommand extends $Command<UpdateRulesetCommandInput, UpdateRulesetCommandOutput, DataBrewClientResolvedConfig> {
27
+ readonly input: UpdateRulesetCommandInput;
28
+ constructor(input: UpdateRulesetCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRulesetCommandInput, UpdateRulesetCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -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";