Get the specified schema by its unique ID assigned when a version of the schema is created or registered¶
Description¶
Get the specified schema by its unique ID assigned when a version of the schema is created or registered. Schema versions in Deleted status will not be included in the results.
Usage¶
Arguments¶
-
SchemaIdThis is a wrapper structure to contain schema identity fields. The structure contains:
- SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either
SchemaArnorSchemaNameandRegistryNamehas to be provided. - SchemaId$SchemaName: The name of the schema. Either
SchemaArnorSchemaNameandRegistryNamehas to be provided.
- SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either
-
SchemaVersionIdThe
SchemaVersionIdof the schema version. This field is required for fetching by schema ID. Either this or theSchemaIdwrapper has to be provided. -
SchemaVersionNumberThe version number of the schema.
Value¶
A list with the following syntax:
list(
SchemaVersionId = "string",
SchemaDefinition = "string",
DataFormat = "AVRO"|"JSON"|"PROTOBUF",
SchemaArn = "string",
VersionNumber = 123,
Status = "AVAILABLE"|"PENDING"|"FAILURE"|"DELETING",
CreatedTime = "string"
)