Glue.Client.
check_schema_version_validity
(**kwargs)¶Validates the supplied schema. This call has no side effects, it simply validates using the supplied schema using DataFormat
as the format. Since it does not take a schema set name, no compatibility checks are performed.
See also: AWS API Documentation
Request Syntax
response = client.check_schema_version_validity(
DataFormat='AVRO'|'JSON'|'PROTOBUF',
SchemaDefinition='string'
)
[REQUIRED]
The data format of the schema definition. Currently AVRO
, JSON
and PROTOBUF
are supported.
[REQUIRED]
The definition of the schema that has to be validated.
dict
Response Syntax
{
'Valid': True|False,
'Error': 'string'
}
Response Structure
(dict) --
Valid (boolean) --
Return true, if the schema is valid and false otherwise.
Error (string) --
A validation failure error message.
Exceptions
Glue.Client.exceptions.InvalidInputException
Glue.Client.exceptions.AccessDeniedException
Glue.Client.exceptions.InternalServiceException