aws.glue.get_schema_by_definition
Example SQL Queries
SELECT * FROMaws.glue.get_schema_by_definitionWHERE"schema_id" = 'VALUE'AND "schema_definition" = 'VALUE';Description
Retrieves a schema by the SchemaDefinition. The schema definition is sent to the Schema Registry, canonicalized, and hashed. If the hash is matched within the scope of the SchemaName or ARN (or the default registry, if none is supplied), that schema’s metadata is returned. Otherwise, a 404 or NotFound error is returned. Schema versions in Deleted statuses will not be included in the results.
Table Definition
| Column Name | Column Data Type |
|---|---|
| schema_definition Required Input Column The definition of the schema for which schema details are required. | VARCHAR |
| schema_id Required Input Column This is a wrapper structure to contain schema identity fields. The structure contains:
| STRUCT( |
Show child fields
| |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| created_time The date and time the schema was created. | VARCHAR |
| data_format The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported. | VARCHAR |
| schema_arn The Amazon Resource Name (ARN) of the schema. | VARCHAR |
| schema_version_id The schema ID of the schema version. | VARCHAR |
| status The status of the schema version. | VARCHAR |