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.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
Eq SchemaFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.SchemaFacet

Read SchemaFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.SchemaFacet

Show 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 #

NFData SchemaFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.SchemaFacet

Methods

rnf :: SchemaFacet -> () #

Hashable SchemaFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.SchemaFacet

ToJSON SchemaFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.SchemaFacet

FromJSON 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" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" '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.