Class: Aws::Transfer::Types::TestConnectionResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#connector_idString

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

Returns:

  • (String)


5352
5353
5354
5355
5356
5357
5358
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 5352

class TestConnectionResponse < Struct.new(
  :connector_id,
  :status,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

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

Returns:

  • (String)


5352
5353
5354
5355
5356
5357
5358
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 5352

class TestConnectionResponse < Struct.new(
  :connector_id,
  :status,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#status_messageString

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.

Returns:

  • (String)


5352
5353
5354
5355
5356
5357
5358
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 5352

class TestConnectionResponse < Struct.new(
  :connector_id,
  :status,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end