Skip to content

Get Schema Versions Diff

glue_get_schema_versions_diff R Documentation

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

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.

Usage

glue_get_schema_versions_diff(SchemaId, FirstSchemaVersionNumber,
  SecondSchemaVersionNumber, SchemaDiffType)

Arguments

SchemaId

[required] 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.

FirstSchemaVersionNumber

[required] The first of the two schema versions to be compared.

SecondSchemaVersionNumber

[required] The second of the two schema versions to be compared.

SchemaDiffType

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

Value

A list with the following syntax:

list(
  Diff = "string"
)

Request syntax

svc$get_schema_versions_diff(
  SchemaId = list(
    SchemaArn = "string",
    SchemaName = "string",
    RegistryName = "string"
  ),
  FirstSchemaVersionNumber = list(
    LatestVersion = TRUE|FALSE,
    VersionNumber = 123
  ),
  SecondSchemaVersionNumber = list(
    LatestVersion = TRUE|FALSE,
    VersionNumber = 123
  ),
  SchemaDiffType = "SYNTAX_DIFF"
)