| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DataBrew.UpdateRuleset
Description
Updates specified ruleset.
Synopsis
- data UpdateRuleset = UpdateRuleset' {}
- newUpdateRuleset :: Text -> NonEmpty Rule -> UpdateRuleset
- updateRuleset_description :: Lens' UpdateRuleset (Maybe Text)
- updateRuleset_name :: Lens' UpdateRuleset Text
- updateRuleset_rules :: Lens' UpdateRuleset (NonEmpty Rule)
- data UpdateRulesetResponse = UpdateRulesetResponse' {
- httpStatus :: Int
- name :: Text
- newUpdateRulesetResponse :: Int -> Text -> UpdateRulesetResponse
- updateRulesetResponse_httpStatus :: Lens' UpdateRulesetResponse Int
- updateRulesetResponse_name :: Lens' UpdateRulesetResponse Text
Creating a Request
data UpdateRuleset Source #
See: newUpdateRuleset smart constructor.
Constructors
| UpdateRuleset' | |
Instances
Arguments
| :: Text | |
| -> NonEmpty Rule | |
| -> UpdateRuleset |
Create a value of UpdateRuleset with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateRuleset, updateRuleset_description - The description of the ruleset.
UpdateRuleset, updateRuleset_name - The name of the ruleset to be updated.
$sel:rules:UpdateRuleset', updateRuleset_rules - A list of rules that are defined with the ruleset. A rule includes one
or more checks to be validated on a DataBrew dataset.
Request Lenses
updateRuleset_description :: Lens' UpdateRuleset (Maybe Text) Source #
The description of the ruleset.
updateRuleset_name :: Lens' UpdateRuleset Text Source #
The name of the ruleset to be updated.
updateRuleset_rules :: Lens' UpdateRuleset (NonEmpty Rule) Source #
A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated on a DataBrew dataset.
Destructuring the Response
data UpdateRulesetResponse Source #
See: newUpdateRulesetResponse smart constructor.
Constructors
| UpdateRulesetResponse' | |
Fields
| |
Instances
newUpdateRulesetResponse Source #
Create a value of UpdateRulesetResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateRulesetResponse', updateRulesetResponse_httpStatus - The response's http status code.
UpdateRuleset, updateRulesetResponse_name - The name of the updated ruleset.
Response Lenses
updateRulesetResponse_httpStatus :: Lens' UpdateRulesetResponse Int Source #
The response's http status code.
updateRulesetResponse_name :: Lens' UpdateRulesetResponse Text Source #
The name of the updated ruleset.