| 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.CloudDirectory.Types.Rule
Description
Documentation
Contains an Amazon Resource Name (ARN) and parameters that are associated with the rule.
See: newRule smart constructor.
Constructors
| Rule' | |
Instances
| FromJSON Rule Source # | |
| ToJSON Rule Source # | |
Defined in Amazonka.CloudDirectory.Types.Rule | |
| Generic Rule Source # | |
| Read Rule Source # | |
| Show Rule Source # | |
| NFData Rule Source # | |
Defined in Amazonka.CloudDirectory.Types.Rule | |
| Eq Rule Source # | |
| Hashable Rule Source # | |
Defined in Amazonka.CloudDirectory.Types.Rule | |
| type Rep Rule Source # | |
Defined in Amazonka.CloudDirectory.Types.Rule type Rep Rule = D1 ('MetaData "Rule" "Amazonka.CloudDirectory.Types.Rule" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" '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.