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.Facet

Description

 
Synopsis

Documentation

data Facet Source #

A structure that contains Name, ARN, Attributes, Rules, and ObjectTypes. See Facets for more information.

See: newFacet smart constructor.

Constructors

Facet' 

Fields

  • facetStyle :: Maybe 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.

  • objectType :: Maybe ObjectType

    The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.

  • name :: Maybe Text

    The name of the Facet.

Instances

Instances details
Eq Facet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Facet

Methods

(==) :: Facet -> Facet -> Bool #

(/=) :: Facet -> Facet -> Bool #

Read Facet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Facet

Show Facet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Facet

Methods

showsPrec :: Int -> Facet -> ShowS #

show :: Facet -> String #

showList :: [Facet] -> ShowS #

Generic Facet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Facet

Associated Types

type Rep Facet :: Type -> Type #

Methods

from :: Facet -> Rep Facet x #

to :: Rep Facet x -> Facet #

NFData Facet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Facet

Methods

rnf :: Facet -> () #

Hashable Facet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Facet

Methods

hashWithSalt :: Int -> Facet -> Int #

hash :: Facet -> Int #

FromJSON Facet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Facet

type Rep Facet Source # 
Instance details

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)))))

newFacet :: Facet Source #

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.

facet_name :: Lens' Facet (Maybe Text) Source #

The name of the Facet.