Smaws_Client_Glue.CreateConnectionCreates a connection definition in the Data Catalog.
Connections used for creating federated resources require the IAM glue:PassConnection permission.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AlreadyExistsException of Types.already_exists_exception
| `GlueEncryptionException of Types.glue_encryption_exception
| `InvalidInputException of Types.invalid_input_exception
| `OperationTimeoutException of Types.operation_timeout_exception
| `ResourceNumberLimitExceededException of
Types.resource_number_limit_exceeded_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_connection_request ->
(Types.create_connection_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AlreadyExistsException of Types.already_exists_exception
| `GlueEncryptionException of Types.glue_encryption_exception
| `InvalidInputException of Types.invalid_input_exception
| `OperationTimeoutException of Types.operation_timeout_exception
| `ResourceNumberLimitExceededException of
Types.resource_number_limit_exceeded_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_connection_request ->
(Types.create_connection_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AlreadyExistsException of Types.already_exists_exception
| `GlueEncryptionException of Types.glue_encryption_exception
| `InvalidInputException of Types.invalid_input_exception
| `OperationTimeoutException of Types.operation_timeout_exception
| `ResourceNumberLimitExceededException of
Types.resource_number_limit_exceeded_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result