Values_2.GetSchemaByDefinitionResponseSourceRetrieves 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.
type nonrec t = {schemaVersionId : Values_0.SchemaVersionIdString.t option;The schema ID of the schema version.
*)schemaArn : Values_0.GlueResourceArn.t option;The Amazon Resource Name (ARN) of the schema.
*)dataFormat : Values_0.DataFormat.t option;The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported.
*)status : Values_1.SchemaVersionStatus.t option;The status of the schema version.
*)createdTime : Values_1.CreatedTimestamp.t option;The date and time the schema was created.
*)}type nonrec error = [ | `AccessDeniedException of Values_0.AccessDeniedException.t| `EntityNotFoundException of Values_0.EntityNotFoundException.t| `InternalServiceException of Values_0.InternalServiceException.t| `InvalidInputException of Values_0.InvalidInputException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of Values_0.AccessDeniedException.t
| `EntityNotFoundException of Values_0.EntityNotFoundException.t
| `InternalServiceException of Values_0.InternalServiceException.t
| `InvalidInputException of Values_0.InvalidInputException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of Values_0.AccessDeniedException.t
| `EntityNotFoundException of Values_0.EntityNotFoundException.t
| `InternalServiceException of Values_0.InternalServiceException.t
| `InvalidInputException of Values_0.InvalidInputException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string | `String of Values_0.SchemaVersionIdString.t ])
list ]