| 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.Facet
Description
Synopsis
- data Facet = Facet' {}
- newFacet :: Facet
- facet_facetStyle :: Lens' Facet (Maybe FacetStyle)
- facet_name :: Lens' Facet (Maybe Text)
- facet_objectType :: Lens' Facet (Maybe ObjectType)
Documentation
A structure that contains Name, ARN, Attributes, Rules, and
ObjectTypes. See
Facets
for more information.
See: newFacet smart constructor.
Constructors
| Facet' | |
Fields
| |
Instances
| FromJSON Facet Source # | |
| Generic Facet Source # | |
| Read Facet Source # | |
| Show Facet Source # | |
| NFData Facet Source # | |
Defined in Amazonka.CloudDirectory.Types.Facet | |
| Eq Facet Source # | |
| Hashable Facet Source # | |
Defined in Amazonka.CloudDirectory.Types.Facet | |
| type Rep Facet Source # | |
Defined in Amazonka.CloudDirectory.Types.Facet type Rep Facet = D1 ('MetaData "Facet" "Amazonka.CloudDirectory.Types.Facet" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "Facet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "facetStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FacetStyle)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "objectType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ObjectType))))) | |
Create a value of Facet 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:facetStyle:Facet', facet_facetStyle - There are two different styles that you can define on any given facet,
Static and Dynamic. For static facets, all attributes must be
defined in the schema. For dynamic facets, attributes can be defined
during data plane operations.
$sel:name:Facet', facet_name - The name of the Facet.
$sel:objectType:Facet', facet_objectType - The object type that is associated with the facet. See
CreateFacetRequest$ObjectType for more details.
facet_facetStyle :: Lens' Facet (Maybe FacetStyle) Source #
There are two different styles that you can define on any given facet,
Static and Dynamic. For static facets, all attributes must be
defined in the schema. For dynamic facets, attributes can be defined
during data plane operations.
facet_objectType :: Lens' Facet (Maybe ObjectType) Source #
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.