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

Description

 
Synopsis

Documentation

data SchemaId Source #

The unique ID of the schema in the Glue schema registry.

See: newSchemaId smart constructor.

Constructors

SchemaId' 

Fields

  • registryName :: Maybe Text

    The name of the schema registry that contains the schema.

  • schemaName :: Maybe Text

    The name of the schema. One of SchemaArn or SchemaName has to be provided.

  • schemaArn :: Maybe Text

    The Amazon Resource Name (ARN) of the schema. One of SchemaArn or SchemaName has to be provided.

Instances

Instances details
Eq SchemaId Source # 
Instance details

Defined in Amazonka.Glue.Types.SchemaId

Read SchemaId Source # 
Instance details

Defined in Amazonka.Glue.Types.SchemaId

Show SchemaId Source # 
Instance details

Defined in Amazonka.Glue.Types.SchemaId

Generic SchemaId Source # 
Instance details

Defined in Amazonka.Glue.Types.SchemaId

Associated Types

type Rep SchemaId :: Type -> Type #

Methods

from :: SchemaId -> Rep SchemaId x #

to :: Rep SchemaId x -> SchemaId #

NFData SchemaId Source # 
Instance details

Defined in Amazonka.Glue.Types.SchemaId

Methods

rnf :: SchemaId -> () #

Hashable SchemaId Source # 
Instance details

Defined in Amazonka.Glue.Types.SchemaId

Methods

hashWithSalt :: Int -> SchemaId -> Int #

hash :: SchemaId -> Int #

ToJSON SchemaId Source # 
Instance details

Defined in Amazonka.Glue.Types.SchemaId

FromJSON SchemaId Source # 
Instance details

Defined in Amazonka.Glue.Types.SchemaId

type Rep SchemaId Source # 
Instance details

Defined in Amazonka.Glue.Types.SchemaId

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

newSchemaId :: SchemaId Source #

Create a value of SchemaId 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:registryName:SchemaId', schemaId_registryName - The name of the schema registry that contains the schema.

$sel:schemaName:SchemaId', schemaId_schemaName - The name of the schema. One of SchemaArn or SchemaName has to be provided.

$sel:schemaArn:SchemaId', schemaId_schemaArn - The Amazon Resource Name (ARN) of the schema. One of SchemaArn or SchemaName has to be provided.

schemaId_registryName :: Lens' SchemaId (Maybe Text) Source #

The name of the schema registry that contains the schema.

schemaId_schemaName :: Lens' SchemaId (Maybe Text) Source #

The name of the schema. One of SchemaArn or SchemaName has to be provided.

schemaId_schemaArn :: Lens' SchemaId (Maybe Text) Source #

The Amazon Resource Name (ARN) of the schema. One of SchemaArn or SchemaName has to be provided.