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

Description

Fetches the schema version difference in the specified difference type between two stored schema versions in the Schema Registry.

This API allows you to compare two schema versions between two schema definitions under the same schema.

Synopsis

Creating a Request

data GetSchemaVersionsDiff Source #

See: newGetSchemaVersionsDiff smart constructor.

Constructors

GetSchemaVersionsDiff' 

Fields

Instances

Instances details
Eq GetSchemaVersionsDiff Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

Read GetSchemaVersionsDiff Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

Show GetSchemaVersionsDiff Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

Generic GetSchemaVersionsDiff Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

Associated Types

type Rep GetSchemaVersionsDiff :: Type -> Type #

NFData GetSchemaVersionsDiff Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

Methods

rnf :: GetSchemaVersionsDiff -> () #

Hashable GetSchemaVersionsDiff Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

ToJSON GetSchemaVersionsDiff Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

AWSRequest GetSchemaVersionsDiff Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

Associated Types

type AWSResponse GetSchemaVersionsDiff #

ToHeaders GetSchemaVersionsDiff Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

ToPath GetSchemaVersionsDiff Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

ToQuery GetSchemaVersionsDiff Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

type Rep GetSchemaVersionsDiff Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

type Rep GetSchemaVersionsDiff = D1 ('MetaData "GetSchemaVersionsDiff" "Amazonka.Glue.GetSchemaVersionsDiff" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetSchemaVersionsDiff'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "schemaId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SchemaId) :*: S1 ('MetaSel ('Just "firstSchemaVersionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SchemaVersionNumber)) :*: (S1 ('MetaSel ('Just "secondSchemaVersionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SchemaVersionNumber) :*: S1 ('MetaSel ('Just "schemaDiffType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SchemaDiffType))))
type AWSResponse GetSchemaVersionsDiff Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

newGetSchemaVersionsDiff Source #

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

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

$sel:firstSchemaVersionNumber:GetSchemaVersionsDiff', getSchemaVersionsDiff_firstSchemaVersionNumber - The first of the two schema versions to be compared.

$sel:secondSchemaVersionNumber:GetSchemaVersionsDiff', getSchemaVersionsDiff_secondSchemaVersionNumber - The second of the two schema versions to be compared.

$sel:schemaDiffType:GetSchemaVersionsDiff', getSchemaVersionsDiff_schemaDiffType - Refers to SYNTAX_DIFF, which is the currently supported diff type.

Request Lenses

getSchemaVersionsDiff_schemaId :: Lens' GetSchemaVersionsDiff 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. One of SchemaArn or SchemaName has to be provided.
  • SchemaId$SchemaName: The name of the schema. One of SchemaArn or SchemaName has to be provided.

getSchemaVersionsDiff_schemaDiffType :: Lens' GetSchemaVersionsDiff SchemaDiffType Source #

Refers to SYNTAX_DIFF, which is the currently supported diff type.

Destructuring the Response

data GetSchemaVersionsDiffResponse Source #

See: newGetSchemaVersionsDiffResponse smart constructor.

Constructors

GetSchemaVersionsDiffResponse' 

Fields

  • diff :: Maybe Text

    The difference between schemas as a string in JsonPatch format.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetSchemaVersionsDiffResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

Read GetSchemaVersionsDiffResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

Show GetSchemaVersionsDiffResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

Generic GetSchemaVersionsDiffResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

Associated Types

type Rep GetSchemaVersionsDiffResponse :: Type -> Type #

NFData GetSchemaVersionsDiffResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

type Rep GetSchemaVersionsDiffResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSchemaVersionsDiff

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

newGetSchemaVersionsDiffResponse Source #

Create a value of GetSchemaVersionsDiffResponse 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:diff:GetSchemaVersionsDiffResponse', getSchemaVersionsDiffResponse_diff - The difference between schemas as a string in JsonPatch format.

$sel:httpStatus:GetSchemaVersionsDiffResponse', getSchemaVersionsDiffResponse_httpStatus - The response's http status code.

Response Lenses

getSchemaVersionsDiffResponse_diff :: Lens' GetSchemaVersionsDiffResponse (Maybe Text) Source #

The difference between schemas as a string in JsonPatch format.