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

Description

Get the specified schema by its unique ID assigned when a version of the schema is created or registered. Schema versions in Deleted status will not be included in the results.

Synopsis

Creating a Request

data GetSchemaVersion Source #

See: newGetSchemaVersion smart constructor.

Constructors

GetSchemaVersion' 

Fields

  • schemaVersionId :: Maybe Text

    The SchemaVersionId of the schema version. This field is required for fetching by schema ID. Either this or the SchemaId wrapper has to be provided.

  • schemaId :: Maybe 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.
  • schemaVersionNumber :: Maybe SchemaVersionNumber

    The version number of the schema.

Instances

Instances details
Eq GetSchemaVersion Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

Read GetSchemaVersion Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

Show GetSchemaVersion Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

Generic GetSchemaVersion Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

Associated Types

type Rep GetSchemaVersion :: Type -> Type #

NFData GetSchemaVersion Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

Methods

rnf :: GetSchemaVersion -> () #

Hashable GetSchemaVersion Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

ToJSON GetSchemaVersion Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

AWSRequest GetSchemaVersion Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

Associated Types

type AWSResponse GetSchemaVersion #

ToHeaders GetSchemaVersion Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

ToPath GetSchemaVersion Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

ToQuery GetSchemaVersion Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

type Rep GetSchemaVersion Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

type Rep GetSchemaVersion = D1 ('MetaData "GetSchemaVersion" "Amazonka.Glue.GetSchemaVersion" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetSchemaVersion'" '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 SchemaVersionNumber)))))
type AWSResponse GetSchemaVersion Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

newGetSchemaVersion :: GetSchemaVersion Source #

Create a value of GetSchemaVersion 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:GetSchemaVersion', getSchemaVersion_schemaVersionId - The SchemaVersionId of the schema version. This field is required for fetching by schema ID. Either this or the SchemaId wrapper has to be provided.

$sel:schemaId:GetSchemaVersion', getSchemaVersion_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.

$sel:schemaVersionNumber:GetSchemaVersion', getSchemaVersion_schemaVersionNumber - The version number of the schema.

Request Lenses

getSchemaVersion_schemaVersionId :: Lens' GetSchemaVersion (Maybe Text) Source #

The SchemaVersionId of the schema version. This field is required for fetching by schema ID. Either this or the SchemaId wrapper has to be provided.

getSchemaVersion_schemaId :: Lens' GetSchemaVersion (Maybe 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 GetSchemaVersionResponse Source #

See: newGetSchemaVersionResponse smart constructor.

Constructors

GetSchemaVersionResponse' 

Fields

Instances

Instances details
Eq GetSchemaVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

Read GetSchemaVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

Show GetSchemaVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

Generic GetSchemaVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

Associated Types

type Rep GetSchemaVersionResponse :: Type -> Type #

NFData GetSchemaVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

type Rep GetSchemaVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersion

newGetSchemaVersionResponse Source #

Create a value of GetSchemaVersionResponse 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:status:GetSchemaVersionResponse', getSchemaVersionResponse_status - The status of the schema version.

$sel:schemaDefinition:GetSchemaVersionResponse', getSchemaVersionResponse_schemaDefinition - The schema definition for the schema ID.

$sel:createdTime:GetSchemaVersionResponse', getSchemaVersionResponse_createdTime - The date and time the schema version was created.

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

$sel:schemaVersionId:GetSchemaVersion', getSchemaVersionResponse_schemaVersionId - The SchemaVersionId of the schema version.

$sel:versionNumber:GetSchemaVersionResponse', getSchemaVersionResponse_versionNumber - The version number of the schema.

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

$sel:httpStatus:GetSchemaVersionResponse', getSchemaVersionResponse_httpStatus - The response's http status code.

Response Lenses

getSchemaVersionResponse_createdTime :: Lens' GetSchemaVersionResponse (Maybe Text) Source #

The date and time the schema version was created.

getSchemaVersionResponse_dataFormat :: Lens' GetSchemaVersionResponse (Maybe DataFormat) Source #

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

getSchemaVersionResponse_schemaArn :: Lens' GetSchemaVersionResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the schema.