Module Smaws_Client_Transfer.CreateConnector

Creates the connector, which captures the parameters for a connection for the AS2 or SFTP protocol. For AS2, the connector is required for sending files to an externally hosted AS2 server. For SFTP, the connector is required when sending files to an SFTP server or receiving files from an SFTP server. For more details about connectors, see Configure AS2 connectors and Create SFTP connectors.

You must specify exactly one configuration object: either for AS2 (As2Config) or SFTP (SftpConfig).

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InternalServiceError of Types.internal_service_error | `InvalidRequestException of Types.invalid_request_exception | `ResourceExistsException of Types.resource_exists_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceUnavailableException of Types.service_unavailable_exception | `ThrottlingException of Types.throttling_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_connector_request -> (Types.create_connector_response, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServiceError of Types.internal_service_error | `InvalidRequestException of Types.invalid_request_exception | `ResourceExistsException of Types.resource_exists_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceUnavailableException of Types.service_unavailable_exception | `ThrottlingException of Types.throttling_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_connector_request -> (Types.create_connector_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServiceError of Types.internal_service_error | `InvalidRequestException of Types.invalid_request_exception | `ResourceExistsException of Types.resource_exists_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceUnavailableException of Types.service_unavailable_exception | `ThrottlingException of Types.throttling_exception ] * Smaws_Lib.Response.metadata) Stdlib.result