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

Description

 
Synopsis

Documentation

data SchemaFacet Source #

A facet.

See: newSchemaFacet smart constructor.

Constructors

SchemaFacet' 

Fields

  • facetName :: Maybe Text

    The name of the facet. If this value is set, SchemaArn must also be set.

  • schemaArn :: Maybe Text

    The ARN of the schema that contains the facet with no minor component. See arns and In-Place Schema Upgrade for a description of when to provide minor versions. If this value is set, FacetName must also be set.

Instances

Instances details
FromJSON SchemaFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.SchemaFacet

ToJSON SchemaFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.SchemaFacet

Generic SchemaFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.SchemaFacet

Associated Types

type Rep SchemaFacet :: Type -> Type #

Read SchemaFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.SchemaFacet

Show SchemaFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.SchemaFacet

NFData SchemaFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.SchemaFacet

Methods

rnf :: SchemaFacet -> () #

Eq SchemaFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.SchemaFacet

Hashable SchemaFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.SchemaFacet

type Rep SchemaFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.SchemaFacet

type Rep SchemaFacet = D1 ('MetaData "SchemaFacet" "Amazonka.CloudDirectory.Types.SchemaFacet" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "SchemaFacet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "facetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "schemaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSchemaFacet :: SchemaFacet Source #

Create a value of SchemaFacet 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:facetName:SchemaFacet', schemaFacet_facetName - The name of the facet. If this value is set, SchemaArn must also be set.

$sel:schemaArn:SchemaFacet', schemaFacet_schemaArn - The ARN of the schema that contains the facet with no minor component. See arns and In-Place Schema Upgrade for a description of when to provide minor versions. If this value is set, FacetName must also be set.

schemaFacet_facetName :: Lens' SchemaFacet (Maybe Text) Source #

The name of the facet. If this value is set, SchemaArn must also be set.

schemaFacet_schemaArn :: Lens' SchemaFacet (Maybe Text) Source #

The ARN of the schema that contains the facet with no minor component. See arns and In-Place Schema Upgrade for a description of when to provide minor versions. If this value is set, FacetName must also be set.