| 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 |
Amazonka.CloudDirectory.Types.Facet
Description
Synopsis
- data Facet = Facet' {}
- newFacet :: Facet
- facet_facetStyle :: Lens' Facet (Maybe FacetStyle)
- facet_objectType :: Lens' Facet (Maybe ObjectType)
- facet_name :: Lens' Facet (Maybe Text)
Documentation
A structure that contains Name, ARN, Attributes, Rules, and
ObjectTypes. See
Facets
for more information.
See: newFacet smart constructor.
Constructors
| Facet' | |
Fields
| |
Instances
| Eq Facet Source # | |
| Read Facet Source # | |
| Show Facet Source # | |
| Generic Facet Source # | |
| NFData Facet Source # | |
Defined in Amazonka.CloudDirectory.Types.Facet | |
| Hashable Facet Source # | |
Defined in Amazonka.CloudDirectory.Types.Facet | |
| FromJSON Facet Source # | |
| type Rep Facet Source # | |
Defined in Amazonka.CloudDirectory.Types.Facet type Rep Facet = D1 ('MetaData "Facet" "Amazonka.CloudDirectory.Types.Facet" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "Facet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "facetStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FacetStyle)) :*: (S1 ('MetaSel ('Just "objectType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ObjectType)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) | |
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:objectType:Facet', facet_objectType - The object type that is associated with the facet. See
CreateFacetRequest$ObjectType for more details.
$sel:name:Facet', facet_name - The name of the Facet.
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.