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 |
Synopsis
- data FacetAttributeDefinition = FacetAttributeDefinition' {}
- newFacetAttributeDefinition :: FacetAttributeType -> FacetAttributeDefinition
- facetAttributeDefinition_rules :: Lens' FacetAttributeDefinition (Maybe (HashMap Text Rule))
- facetAttributeDefinition_defaultValue :: Lens' FacetAttributeDefinition (Maybe TypedAttributeValue)
- facetAttributeDefinition_isImmutable :: Lens' FacetAttributeDefinition (Maybe Bool)
- facetAttributeDefinition_type :: Lens' FacetAttributeDefinition FacetAttributeType
Documentation
data FacetAttributeDefinition Source #
A facet attribute definition. See Attribute References for more information.
See: newFacetAttributeDefinition
smart constructor.
FacetAttributeDefinition' | |
|
Instances
newFacetAttributeDefinition Source #
Create a value of FacetAttributeDefinition
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:rules:FacetAttributeDefinition'
, facetAttributeDefinition_rules
- Validation rules attached to the attribute definition.
$sel:defaultValue:FacetAttributeDefinition'
, facetAttributeDefinition_defaultValue
- The default value of the attribute (if configured).
$sel:isImmutable:FacetAttributeDefinition'
, facetAttributeDefinition_isImmutable
- Whether the attribute is mutable or not.
$sel:type':FacetAttributeDefinition'
, facetAttributeDefinition_type
- The type of the attribute.
facetAttributeDefinition_rules :: Lens' FacetAttributeDefinition (Maybe (HashMap Text Rule)) Source #
Validation rules attached to the attribute definition.
facetAttributeDefinition_defaultValue :: Lens' FacetAttributeDefinition (Maybe TypedAttributeValue) Source #
The default value of the attribute (if configured).
facetAttributeDefinition_isImmutable :: Lens' FacetAttributeDefinition (Maybe Bool) Source #
Whether the attribute is mutable or not.
facetAttributeDefinition_type :: Lens' FacetAttributeDefinition FacetAttributeType Source #
The type of the attribute.