amazonka-clouddirectory-2.0: Amazon CloudDirectory SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.

  • name :: Maybe Text

    The name of the Facet.

  • objectType :: Maybe ObjectType

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

Instances

Instances details
FromJSON Facet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Facet

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 #

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 #

NFData Facet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Facet

Methods

rnf :: Facet -> () #

Eq Facet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Facet

Methods

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

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

Hashable Facet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Facet

Methods

hashWithSalt :: Int -> Facet -> Int #

hash :: Facet -> Int #

type Rep Facet Source # 
Instance details

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

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: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_name :: Lens' Facet (Maybe Text) Source #

The name of the Facet.

facet_objectType :: Lens' Facet (Maybe ObjectType) Source #

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