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

Description

Validates the supplied schema. This call has no side effects, it simply validates using the supplied schema using DataFormat as the format. Since it does not take a schema set name, no compatibility checks are performed.

Synopsis

Creating a Request

data CheckSchemaVersionValidity Source #

See: newCheckSchemaVersionValidity smart constructor.

Constructors

CheckSchemaVersionValidity' 

Fields

Instances

Instances details
Eq CheckSchemaVersionValidity Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

Read CheckSchemaVersionValidity Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

Show CheckSchemaVersionValidity Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

Generic CheckSchemaVersionValidity Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

Associated Types

type Rep CheckSchemaVersionValidity :: Type -> Type #

NFData CheckSchemaVersionValidity Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

Hashable CheckSchemaVersionValidity Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

ToJSON CheckSchemaVersionValidity Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

AWSRequest CheckSchemaVersionValidity Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

ToHeaders CheckSchemaVersionValidity Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

ToPath CheckSchemaVersionValidity Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

ToQuery CheckSchemaVersionValidity Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

type Rep CheckSchemaVersionValidity Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

type Rep CheckSchemaVersionValidity = D1 ('MetaData "CheckSchemaVersionValidity" "Amazonka.Glue.CheckSchemaVersionValidity" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "CheckSchemaVersionValidity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dataFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DataFormat) :*: S1 ('MetaSel ('Just "schemaDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CheckSchemaVersionValidity Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

newCheckSchemaVersionValidity Source #

Create a value of CheckSchemaVersionValidity 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:dataFormat:CheckSchemaVersionValidity', checkSchemaVersionValidity_dataFormat - The data format of the schema definition. Currently AVRO and JSON are supported.

$sel:schemaDefinition:CheckSchemaVersionValidity', checkSchemaVersionValidity_schemaDefinition - The definition of the schema that has to be validated.

Request Lenses

checkSchemaVersionValidity_dataFormat :: Lens' CheckSchemaVersionValidity DataFormat Source #

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

checkSchemaVersionValidity_schemaDefinition :: Lens' CheckSchemaVersionValidity Text Source #

The definition of the schema that has to be validated.

Destructuring the Response

data CheckSchemaVersionValidityResponse Source #

Constructors

CheckSchemaVersionValidityResponse' 

Fields

Instances

Instances details
Eq CheckSchemaVersionValidityResponse Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

Read CheckSchemaVersionValidityResponse Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

Show CheckSchemaVersionValidityResponse Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

Generic CheckSchemaVersionValidityResponse Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

Associated Types

type Rep CheckSchemaVersionValidityResponse :: Type -> Type #

NFData CheckSchemaVersionValidityResponse Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

type Rep CheckSchemaVersionValidityResponse Source # 
Instance details

Defined in Amazonka.Glue.CheckSchemaVersionValidity

type Rep CheckSchemaVersionValidityResponse = D1 ('MetaData "CheckSchemaVersionValidityResponse" "Amazonka.Glue.CheckSchemaVersionValidity" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "CheckSchemaVersionValidityResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "valid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCheckSchemaVersionValidityResponse Source #

Create a value of CheckSchemaVersionValidityResponse 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:error:CheckSchemaVersionValidityResponse', checkSchemaVersionValidityResponse_error - A validation failure error message.

$sel:valid:CheckSchemaVersionValidityResponse', checkSchemaVersionValidityResponse_valid - Return true, if the schema is valid and false otherwise.

$sel:httpStatus:CheckSchemaVersionValidityResponse', checkSchemaVersionValidityResponse_httpStatus - The response's http status code.

Response Lenses

checkSchemaVersionValidityResponse_valid :: Lens' CheckSchemaVersionValidityResponse (Maybe Bool) Source #

Return true, if the schema is valid and false otherwise.