amazonka-glue-2.0: Amazon Glue SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON GetSchema Source # 
Instance details

Defined in Amazonka.Glue.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

AWSRequest GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Associated Types

type AWSResponse GetSchema #

Generic GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Associated Types

type Rep GetSchema :: Type -> Type #

Read GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Show GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

NFData GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Methods

rnf :: GetSchema -> () #

Eq GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Hashable GetSchema Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

type AWSResponse 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" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "GetSchema'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schemaId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SchemaId)))

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:

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
Generic GetSchemaResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Associated Types

type Rep GetSchemaResponse :: Type -> Type #

Read GetSchemaResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Show GetSchemaResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

NFData GetSchemaResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

Methods

rnf :: GetSchemaResponse -> () #

Eq GetSchemaResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

type Rep GetSchemaResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchema

type Rep GetSchemaResponse = D1 ('MetaData "GetSchemaResponse" "Amazonka.Glue.GetSchema" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "GetSchemaResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "compatibility") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Compatibility)) :*: (S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dataFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataFormat)))) :*: ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "latestSchemaVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextSchemaVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "registryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "registryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "schemaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "schemaCheckpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: ((S1 ('MetaSel ('Just "schemaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "schemaStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SchemaStatus))) :*: (S1 ('MetaSel ('Just "updatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:compatibility:GetSchemaResponse', getSchemaResponse_compatibility - The compatibility mode of the schema.

GetSchemaResponse, getSchemaResponse_createdTime - The date and time the schema was created.

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

GetSchemaResponse, getSchemaResponse_description - A description of schema if specified when created

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

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

GetSchemaResponse, getSchemaResponse_registryArn - The Amazon Resource Name (ARN) of the registry.

GetSchemaResponse, getSchemaResponse_registryName - The name of the registry.

GetSchemaResponse, getSchemaResponse_schemaArn - The Amazon Resource Name (ARN) of the schema.

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

GetSchemaResponse, getSchemaResponse_schemaName - The name of the schema.

GetSchemaResponse, getSchemaResponse_schemaStatus - The status of the schema.

GetSchemaResponse, getSchemaResponse_updatedTime - The date and time the schema was updated.

$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_dataFormat :: Lens' GetSchemaResponse (Maybe DataFormat) Source #

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

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

A description of schema if specified when created

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

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

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

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

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

The Amazon Resource Name (ARN) of the registry.

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

The Amazon Resource Name (ARN) of the schema.

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

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

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

The date and time the schema was updated.

getSchemaResponse_httpStatus :: Lens' GetSchemaResponse Int Source #

The response's http status code.