Module Values_2.RegisterSchemaVersionResponseSource

Adds a new version to the existing schema. Returns an error if new version of schema does not meet the compatibility requirements of the schema set. This API will not create a new schema set and will return a 404 error if the schema set is not already present in the Schema Registry. If this is the first schema definition to be registered in the Schema Registry, this API will store the schema version and return immediately. Otherwise, this call has the potential to run longer than other operations due to compatibility modes. You can call the GetSchemaVersion API with the SchemaVersionId to check compatibility modes. If the same schema definition is already stored in Schema Registry as a version, the schema ID of the existing schema is returned to the caller.

Sourcetype nonrec t = {
  1. schemaVersionId : Values_0.SchemaVersionIdString.t option;
    (*

    The unique ID that represents the version of this schema.

    *)
  2. versionNumber : Values_0.VersionLongNumber.t option;
    (*

    The version of this schema (for sync flow only, in case this is the first version).

    *)
  3. status : Values_1.SchemaVersionStatus.t option;
    (*

    The status of the schema version.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of Values_0.AccessDeniedException.t
  2. | `ConcurrentModificationException of Values_1.ConcurrentModificationException.t
  3. | `EntityNotFoundException of Values_0.EntityNotFoundException.t
  4. | `InternalServiceException of Values_0.InternalServiceException.t
  5. | `InvalidInputException of Values_0.InvalidInputException.t
  6. | `ResourceNumberLimitExceededException of Values_0.ResourceNumberLimitExceededException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?schemaVersionId:??? -> ?versionNumber:??? -> ?status:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of Values_0.AccessDeniedException.t | `ConcurrentModificationException of Values_1.ConcurrentModificationException.t | `EntityNotFoundException of Values_0.EntityNotFoundException.t | `InternalServiceException of Values_0.InternalServiceException.t | `InvalidInputException of Values_0.InvalidInputException.t | `ResourceNumberLimitExceededException of Values_0.ResourceNumberLimitExceededException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of Values_0.AccessDeniedException.t | `ConcurrentModificationException of Values_1.ConcurrentModificationException.t | `EntityNotFoundException of Values_0.EntityNotFoundException.t | `InternalServiceException of Values_0.InternalServiceException.t | `InvalidInputException of Values_0.InvalidInputException.t | `ResourceNumberLimitExceededException of Values_0.ResourceNumberLimitExceededException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Long of Values_0.VersionLongNumber.t | `String of Values_0.SchemaVersionIdString.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t