Smaws_Client_Glue.TestConnectionTests a connection to a service to validate the service credentials that you provide.
You can either provide an existing connection name or a TestConnectionInput for testing a non-existing connection input. Providing both at the same time will cause an error.
If the action is successful, the service sends back an HTTP 200 response.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ConflictException of Types.conflict_exception
| `EntityNotFoundException of Types.entity_not_found_exception
| `FederationSourceException of Types.federation_source_exception
| `GlueEncryptionException of Types.glue_encryption_exception
| `InternalServiceException of Types.internal_service_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.test_connection_request ->
(Types.test_connection_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ConflictException of Types.conflict_exception
| `EntityNotFoundException of Types.entity_not_found_exception
| `FederationSourceException of Types.federation_source_exception
| `GlueEncryptionException of Types.glue_encryption_exception
| `InternalServiceException of Types.internal_service_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.test_connection_request ->
(Types.test_connection_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ConflictException of Types.conflict_exception
| `EntityNotFoundException of Types.entity_not_found_exception
| `FederationSourceException of Types.federation_source_exception
| `GlueEncryptionException of Types.glue_encryption_exception
| `InternalServiceException of Types.internal_service_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