Values.TestConnectionResponseSourceTests whether your SFTP connector is set up successfully. We highly recommend that you call this operation to test your ability to transfer files between local Amazon Web Services storage and a trading partner's SFTP server.
type nonrec t = {connectorId : ConnectorId.t option;Returns the identifier of the connector object that you are testing.
*)status : Status.t option;Returns OK for successful test, or ERROR if the test fails.
*)statusMessage : Message.t option;Returns Connection succeeded if the test is successful. Or, returns a descriptive error message if the test fails. The following list provides troubleshooting details, depending on the error message that you receive. Verify that your secret name aligns with the one in Transfer Role permissions. Verify the server URL in the connector configuration , and verify that the login credentials work successfully outside of the connector. Verify that the secret exists and is formatted correctly. Verify that the trusted host key in the connector configuration matches the ssh-keyscan output.
*)sftpConnectionDetails : SftpConnectorConnectionDetails.t option;Structure that contains the SFTP connector host key.
*)}type nonrec error = [ | `InternalServiceError of InternalServiceError.t| `InvalidRequestException of InvalidRequestException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServiceError of InternalServiceError.t
| `InvalidRequestException of InvalidRequestException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceUnavailableException of ServiceUnavailableException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalServiceError of InternalServiceError.t
| `InvalidRequestException of InvalidRequestException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceUnavailableException of ServiceUnavailableException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `String of ConnectorId.t
| `Structure of
(string * [> `String of SftpConnectorHostKey.t ]) list ])
list ]