Smaws_Client_RedshiftServerless.CreateNamespaceCreates a namespace in Amazon Redshift Serverless.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `InternalServerException of Types.internal_server_exception
| `TooManyTagsException of Types.too_many_tags_exception
| `ValidationException of Types.validation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_namespace_request ->
(Types.create_namespace_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `InternalServerException of Types.internal_server_exception
| `TooManyTagsException of Types.too_many_tags_exception
| `ValidationException of Types.validation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_namespace_request ->
(Types.create_namespace_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `InternalServerException of Types.internal_server_exception
| `TooManyTagsException of Types.too_many_tags_exception
| `ValidationException of Types.validation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result