Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
Contains an Amazon Resource Name (ARN) and parameters that are associated with the rule.
See: newRule
smart constructor.
Instances
Eq Rule Source # | |
Read Rule Source # | |
Show Rule Source # | |
Generic Rule Source # | |
NFData Rule Source # | |
Defined in Amazonka.CloudDirectory.Types.Rule | |
Hashable Rule Source # | |
Defined in Amazonka.CloudDirectory.Types.Rule | |
ToJSON Rule Source # | |
Defined in Amazonka.CloudDirectory.Types.Rule | |
FromJSON Rule Source # | |
type Rep Rule Source # | |
Defined in Amazonka.CloudDirectory.Types.Rule type Rep Rule = D1 ('MetaData "Rule" "Amazonka.CloudDirectory.Types.Rule" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "Rule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RuleType)))) |
Create a value of Rule
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:parameters:Rule'
, rule_parameters
- The minimum and maximum parameters that are associated with the rule.
$sel:type':Rule'
, rule_type
- The type of attribute validation rule.