libZSservicesZSamazonka-glueZSamazonka-glue
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.Glue.Types.SchemaReference

Description

 
Synopsis

Documentation

data SchemaReference Source #

An object that references a schema stored in the Glue Schema Registry.

See: newSchemaReference smart constructor.

Constructors

SchemaReference' 

Fields

Instances

Instances details
Eq SchemaReference Source # 
Instance details

Defined in Amazonka.Glue.Types.SchemaReference

Read SchemaReference Source # 
Instance details

Defined in Amazonka.Glue.Types.SchemaReference

Show SchemaReference Source # 
Instance details

Defined in Amazonka.Glue.Types.SchemaReference

Generic SchemaReference Source # 
Instance details

Defined in Amazonka.Glue.Types.SchemaReference

Associated Types

type Rep SchemaReference :: Type -> Type #

NFData SchemaReference Source # 
Instance details

Defined in Amazonka.Glue.Types.SchemaReference

Methods

rnf :: SchemaReference -> () #

Hashable SchemaReference Source # 
Instance details

Defined in Amazonka.Glue.Types.SchemaReference

ToJSON SchemaReference Source # 
Instance details

Defined in Amazonka.Glue.Types.SchemaReference

FromJSON SchemaReference Source # 
Instance details

Defined in Amazonka.Glue.Types.SchemaReference

type Rep SchemaReference Source # 
Instance details

Defined in Amazonka.Glue.Types.SchemaReference

type Rep SchemaReference = D1 ('MetaData "SchemaReference" "Amazonka.Glue.Types.SchemaReference" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "SchemaReference'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schemaVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "schemaId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SchemaId)) :*: S1 ('MetaSel ('Just "schemaVersionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

newSchemaReference :: SchemaReference Source #

Create a value of SchemaReference 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:schemaVersionId:SchemaReference', schemaReference_schemaVersionId - The unique ID assigned to a version of the schema. Either this or the SchemaId has to be provided.

$sel:schemaId:SchemaReference', schemaReference_schemaId - A structure that contains schema identity fields. Either this or the SchemaVersionId has to be provided.

$sel:schemaVersionNumber:SchemaReference', schemaReference_schemaVersionNumber - The version number of the schema.

schemaReference_schemaVersionId :: Lens' SchemaReference (Maybe Text) Source #

The unique ID assigned to a version of the schema. Either this or the SchemaId has to be provided.

schemaReference_schemaId :: Lens' SchemaReference (Maybe SchemaId) Source #

A structure that contains schema identity fields. Either this or the SchemaVersionId has to be provided.