Skip to content

TestConnectionResponse

Source code in docs_src/capo_transfer/types/test_connection_response.py
class TestConnectionResponse(TypedDict, closed=True):
    connector_id: NotRequired["capo_transfer.types.connector_id.ConnectorId"]
    """<p>Returns the identifier of the connector object that you are testing.</p>"""
    status: NotRequired["capo_transfer.types.status.Status"]
    """<p>Returns <code>OK</code> for successful test, or <code>ERROR</code> if the test fails.</p>"""
    status_message: NotRequired["capo_transfer.types.message.Message"]
    """<p>Returns <code>Connection succeeded</code> 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.</p> <ul> <li> <p>Verify that your secret name aligns with the one in Transfer Role permissions.</p> </li> <li> <p>Verify the server URL in the connector configuration , and verify that the login credentials work successfully outside of the connector.</p> </li> <li> <p>Verify that the secret exists and is formatted correctly.</p> </li> <li> <p>Verify that the trusted host key in the connector configuration matches the <code>ssh-keyscan</code> output.</p> </li> </ul>"""
    sftp_connection_details: NotRequired[
        "capo_transfer.types.sftp_connector_connection_details.SftpConnectorConnectionDetails"
    ]
    """<p>Structure that contains the SFTP connector host key.</p>"""

connector_id instance-attribute

connector_id: NotRequired[ConnectorId]

Returns the identifier of the connector object that you are testing.

sftp_connection_details instance-attribute

sftp_connection_details: NotRequired[SftpConnectorConnectionDetails]

Structure that contains the SFTP connector host key.

status instance-attribute

status: NotRequired[Status]

Returns OK for successful test, or ERROR if the test fails.

status_message instance-attribute

status_message: NotRequired[Message]

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.