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 TypedLinkAttributeDefinition = TypedLinkAttributeDefinition' {}
- newTypedLinkAttributeDefinition :: Text -> FacetAttributeType -> RequiredAttributeBehavior -> TypedLinkAttributeDefinition
- typedLinkAttributeDefinition_rules :: Lens' TypedLinkAttributeDefinition (Maybe (HashMap Text Rule))
- typedLinkAttributeDefinition_defaultValue :: Lens' TypedLinkAttributeDefinition (Maybe TypedAttributeValue)
- typedLinkAttributeDefinition_isImmutable :: Lens' TypedLinkAttributeDefinition (Maybe Bool)
- typedLinkAttributeDefinition_name :: Lens' TypedLinkAttributeDefinition Text
- typedLinkAttributeDefinition_type :: Lens' TypedLinkAttributeDefinition FacetAttributeType
- typedLinkAttributeDefinition_requiredBehavior :: Lens' TypedLinkAttributeDefinition RequiredAttributeBehavior
Documentation
data TypedLinkAttributeDefinition Source #
A typed link attribute definition.
See: newTypedLinkAttributeDefinition
smart constructor.
TypedLinkAttributeDefinition' | |
|
Instances
newTypedLinkAttributeDefinition Source #
Create a value of TypedLinkAttributeDefinition
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:TypedLinkAttributeDefinition'
, typedLinkAttributeDefinition_rules
- Validation rules that are attached to the attribute definition.
$sel:defaultValue:TypedLinkAttributeDefinition'
, typedLinkAttributeDefinition_defaultValue
- The default value of the attribute (if configured).
$sel:isImmutable:TypedLinkAttributeDefinition'
, typedLinkAttributeDefinition_isImmutable
- Whether the attribute is mutable or not.
$sel:name:TypedLinkAttributeDefinition'
, typedLinkAttributeDefinition_name
- The unique name of the typed link attribute.
$sel:type':TypedLinkAttributeDefinition'
, typedLinkAttributeDefinition_type
- The type of the attribute.
$sel:requiredBehavior:TypedLinkAttributeDefinition'
, typedLinkAttributeDefinition_requiredBehavior
- The required behavior of the TypedLinkAttributeDefinition
.
typedLinkAttributeDefinition_rules :: Lens' TypedLinkAttributeDefinition (Maybe (HashMap Text Rule)) Source #
Validation rules that are attached to the attribute definition.
typedLinkAttributeDefinition_defaultValue :: Lens' TypedLinkAttributeDefinition (Maybe TypedAttributeValue) Source #
The default value of the attribute (if configured).
typedLinkAttributeDefinition_isImmutable :: Lens' TypedLinkAttributeDefinition (Maybe Bool) Source #
Whether the attribute is mutable or not.
typedLinkAttributeDefinition_name :: Lens' TypedLinkAttributeDefinition Text Source #
The unique name of the typed link attribute.
typedLinkAttributeDefinition_type :: Lens' TypedLinkAttributeDefinition FacetAttributeType Source #
The type of the attribute.
typedLinkAttributeDefinition_requiredBehavior :: Lens' TypedLinkAttributeDefinition RequiredAttributeBehavior Source #
The required behavior of the TypedLinkAttributeDefinition
.