Skip to content

List Schema Versions

glue_list_schema_versions R Documentation

Returns a list of schema versions that you have created, with minimal information

Description

Returns a list of schema versions that you have created, with minimal information. Schema versions in Deleted status will not be included in the results. Empty results will be returned if there are no schema versions available.

Usage

glue_list_schema_versions(SchemaId, MaxResults, NextToken)

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

MaxResults

Maximum number of results required per page. If the value is not supplied, this will be defaulted to 25 per page.

NextToken

A continuation token, if this is a continuation call.

Value

A list with the following syntax:

list(
  Schemas = list(
    list(
      SchemaArn = "string",
      SchemaVersionId = "string",
      VersionNumber = 123,
      Status = "AVAILABLE"|"PENDING"|"FAILURE"|"DELETING",
      CreatedTime = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_schema_versions(
  SchemaId = list(
    SchemaArn = "string",
    SchemaName = "string",
    RegistryName = "string"
  ),
  MaxResults = 123,
  NextToken = "string"
)