Smaws_Client_Glue.CreateSchemaCreates 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AlreadyExistsException of Types.already_exists_exception
| `ConcurrentModificationException of Types.concurrent_modification_exception
| `EntityNotFoundException of Types.entity_not_found_exception
| `InternalServiceException of Types.internal_service_exception
| `InvalidInputException of Types.invalid_input_exception
| `ResourceNumberLimitExceededException of
Types.resource_number_limit_exceeded_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_schema_input ->
(Types.create_schema_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AlreadyExistsException of Types.already_exists_exception
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `EntityNotFoundException of Types.entity_not_found_exception
| `InternalServiceException of Types.internal_service_exception
| `InvalidInputException of Types.invalid_input_exception
| `ResourceNumberLimitExceededException of
Types.resource_number_limit_exceeded_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_schema_input ->
(Types.create_schema_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AlreadyExistsException of Types.already_exists_exception
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `EntityNotFoundException of Types.entity_not_found_exception
| `InternalServiceException of Types.internal_service_exception
| `InvalidInputException of Types.invalid_input_exception
| `ResourceNumberLimitExceededException of
Types.resource_number_limit_exceeded_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result