libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudDirectory.Types.FacetAttributeDefinition

Description

 
Synopsis

Documentation

data FacetAttributeDefinition Source #

A facet attribute definition. See Attribute References for more information.

See: newFacetAttributeDefinition smart constructor.

Constructors

FacetAttributeDefinition' 

Fields

Instances

Instances details
Eq FacetAttributeDefinition Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.FacetAttributeDefinition

Read FacetAttributeDefinition Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.FacetAttributeDefinition

Show FacetAttributeDefinition Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.FacetAttributeDefinition

Generic FacetAttributeDefinition Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.FacetAttributeDefinition

Associated Types

type Rep FacetAttributeDefinition :: Type -> Type #

NFData FacetAttributeDefinition Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.FacetAttributeDefinition

Hashable FacetAttributeDefinition Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.FacetAttributeDefinition

ToJSON FacetAttributeDefinition Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.FacetAttributeDefinition

FromJSON FacetAttributeDefinition Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.FacetAttributeDefinition

type Rep FacetAttributeDefinition Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.FacetAttributeDefinition

type Rep FacetAttributeDefinition = D1 ('MetaData "FacetAttributeDefinition" "Amazonka.CloudDirectory.Types.FacetAttributeDefinition" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "FacetAttributeDefinition'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Rule))) :*: S1 ('MetaSel ('Just "defaultValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TypedAttributeValue))) :*: (S1 ('MetaSel ('Just "isImmutable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FacetAttributeType))))

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.