Module Values_1.CreateSchemaResponseSource

Creates a new schema set and registers the schema definition. Returns an error if the schema set already exists without actually registering the version. When the schema set is created, a version checkpoint will be set to the first version. Compatibility mode "DISABLED" restricts any additional schema versions from being added after the first schema version. For all other compatibility modes, validation of compatibility settings will be applied only from the second version onwards when the RegisterSchemaVersion API is used. When this API is called without a RegistryId, this will create an entry for a "default-registry" in the registry database tables, if it is not already present.

Sourcetype nonrec t = {
  1. registryName : Values_0.SchemaRegistryNameString.t option;
    (*

    The name of the registry.

    *)
  2. registryArn : Values_0.GlueResourceArn.t option;
    (*

    The Amazon Resource Name (ARN) of the registry.

    *)
  3. schemaName : Values_0.SchemaRegistryNameString.t option;
    (*

    The name of the schema.

    *)
  4. schemaArn : Values_0.GlueResourceArn.t option;
    (*

    The Amazon Resource Name (ARN) of the schema.

    *)
  5. description : Values_0.DescriptionString.t option;
    (*

    A description of the schema if specified when created.

    *)
  6. dataFormat : Values_0.DataFormat.t option;
    (*

    The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported.

    *)
  7. compatibility : Compatibility.t option;
    (*

    The schema compatibility mode.

    *)
  8. schemaCheckpoint : SchemaCheckpointNumber.t option;
    (*

    The version number of the checkpoint (the last time the compatibility mode was changed).

    *)
  9. latestSchemaVersion : Values_0.VersionLongNumber.t option;
    (*

    The latest version of the schema associated with the returned schema definition.

    *)
  10. nextSchemaVersion : Values_0.VersionLongNumber.t option;
    (*

    The next version of the schema associated with the returned schema definition.

    *)
  11. schemaStatus : SchemaStatus.t option;
    (*

    The status of the schema.

    *)
  12. tags : TagsMap.t option;
    (*

    The tags for the schema.

    *)
  13. schemaVersionId : Values_0.SchemaVersionIdString.t option;
    (*

    The unique identifier of the first schema version.

    *)
  14. schemaVersionStatus : SchemaVersionStatus.t option;
    (*

    The status of the first schema version created.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of Values_0.AccessDeniedException.t
  2. | `AlreadyExistsException of Values_0.AlreadyExistsException.t
  3. | `ConcurrentModificationException of ConcurrentModificationException.t
  4. | `EntityNotFoundException of Values_0.EntityNotFoundException.t
  5. | `InternalServiceException of Values_0.InternalServiceException.t
  6. | `InvalidInputException of Values_0.InvalidInputException.t
  7. | `ResourceNumberLimitExceededException of Values_0.ResourceNumberLimitExceededException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?registryName:??? -> ?registryArn:??? -> ?schemaName:??? -> ?schemaArn:??? -> ?description:??? -> ?dataFormat:??? -> ?compatibility:??? -> ?schemaCheckpoint:??? -> ?latestSchemaVersion:??? -> ?nextSchemaVersion:??? -> ?schemaStatus:??? -> ?tags:??? -> ?schemaVersionId:??? -> ?schemaVersionStatus:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of Values_0.AccessDeniedException.t | `AlreadyExistsException of Values_0.AlreadyExistsException.t | `ConcurrentModificationException of 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 | `AlreadyExistsException of Values_0.AlreadyExistsException.t | `ConcurrentModificationException of 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 SchemaCheckpointNumber.t | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of Values_0.SchemaRegistryNameString.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