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

Description

Describes the specified schema in detail.

Synopsis

Creating a Request

data GetSchema Source #

See: newGetSchema smart constructor.

Constructors

GetSchema' 

Fields

  • schemaId :: SchemaId

    This is a wrapper structure to contain schema identity fields. The structure contains:

    • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.
    • SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.

Instances

Instances details
Eq GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Read GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Show GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Generic GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Associated Types

type Rep GetSchema :: Type -> Type #

NFData GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Methods

rnf :: GetSchema -> () #

Hashable GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

ToJSON GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

AWSRequest GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Associated Types

type AWSResponse GetSchema #

ToHeaders GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Methods

toHeaders :: GetSchema -> [Header] #

ToPath GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

ToQuery GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

type Rep GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

type Rep GetSchema = D1 ('MetaData "GetSchema" "Amazonka.Glue.GetSchema" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetSchema'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schemaId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SchemaId)))
type AWSResponse GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

newGetSchema Source #

Create a value of GetSchema 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:schemaId:GetSchema', getSchema_schemaId - This is a wrapper structure to contain schema identity fields. The structure contains:

  • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.
  • SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.

Request Lenses

getSchema_schemaId :: Lens' GetSchema SchemaId Source #

This is a wrapper structure to contain schema identity fields. The structure contains:

  • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.
  • SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.

Destructuring the Response

data GetSchemaResponse Source #

See: newGetSchemaResponse smart constructor.

Constructors

GetSchemaResponse' 

Fields

Instances

Instances details
Eq GetSchemaResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Read GetSchemaResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Show GetSchemaResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Generic GetSchemaResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Associated Types

type Rep GetSchemaResponse :: Type -> Type #

NFData GetSchemaResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Methods

rnf :: GetSchemaResponse -> () #

type Rep GetSchemaResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

type Rep GetSchemaResponse = D1 ('MetaData "GetSchemaResponse" "Amazonka.Glue.GetSchema" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetSchemaResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "registryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "schemaStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SchemaStatus)))) :*: ((S1 ('MetaSel ('Just "registryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "latestSchemaVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "dataFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataFormat)) :*: S1 ('MetaSel ('Just "schemaCheckpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))) :*: ((S1 ('MetaSel ('Just "schemaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "schemaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextSchemaVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: ((S1 ('MetaSel ('Just "updatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "compatibility") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Compatibility)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newGetSchemaResponse Source #

Create a value of GetSchemaResponse 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:GetSchemaResponse', getSchemaResponse_registryName - The name of the registry.

$sel:createdTime:GetSchemaResponse', getSchemaResponse_createdTime - The date and time the schema was created.

$sel:schemaStatus:GetSchemaResponse', getSchemaResponse_schemaStatus - The status of the schema.

$sel:registryArn:GetSchemaResponse', getSchemaResponse_registryArn - The Amazon Resource Name (ARN) of the registry.

$sel:latestSchemaVersion:GetSchemaResponse', getSchemaResponse_latestSchemaVersion - The latest version of the schema associated with the returned schema definition.

$sel:dataFormat:GetSchemaResponse', getSchemaResponse_dataFormat - The data format of the schema definition. Currently AVRO and JSON are supported.

$sel:schemaCheckpoint:GetSchemaResponse', getSchemaResponse_schemaCheckpoint - The version number of the checkpoint (the last time the compatibility mode was changed).

$sel:schemaName:GetSchemaResponse', getSchemaResponse_schemaName - The name of the schema.

$sel:schemaArn:GetSchemaResponse', getSchemaResponse_schemaArn - The Amazon Resource Name (ARN) of the schema.

$sel:nextSchemaVersion:GetSchemaResponse', getSchemaResponse_nextSchemaVersion - The next version of the schema associated with the returned schema definition.

$sel:updatedTime:GetSchemaResponse', getSchemaResponse_updatedTime - The date and time the schema was updated.

$sel:description:GetSchemaResponse', getSchemaResponse_description - A description of schema if specified when created

$sel:compatibility:GetSchemaResponse', getSchemaResponse_compatibility - The compatibility mode of the schema.

$sel:httpStatus:GetSchemaResponse', getSchemaResponse_httpStatus - The response's http status code.

Response Lenses

getSchemaResponse_createdTime :: Lens' GetSchemaResponse (Maybe Text) Source #

The date and time the schema was created.

getSchemaResponse_registryArn :: Lens' GetSchemaResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the registry.

getSchemaResponse_latestSchemaVersion :: Lens' GetSchemaResponse (Maybe Natural) Source #

The latest version of the schema associated with the returned schema definition.

getSchemaResponse_dataFormat :: Lens' GetSchemaResponse (Maybe DataFormat) Source #

The data format of the schema definition. Currently AVRO and JSON are supported.

getSchemaResponse_schemaCheckpoint :: Lens' GetSchemaResponse (Maybe Natural) Source #

The version number of the checkpoint (the last time the compatibility mode was changed).

getSchemaResponse_schemaArn :: Lens' GetSchemaResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the schema.

getSchemaResponse_nextSchemaVersion :: Lens' GetSchemaResponse (Maybe Natural) Source #

The next version of the schema associated with the returned schema definition.

getSchemaResponse_updatedTime :: Lens' GetSchemaResponse (Maybe Text) Source #

The date and time the schema was updated.

getSchemaResponse_description :: Lens' GetSchemaResponse (Maybe Text) Source #

A description of schema if specified when created

getSchemaResponse_httpStatus :: Lens' GetSchemaResponse Int Source #

The response's http status code.