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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


5374
5375
5376
5377
5378
5379
5380
# File 'lib/aws-sdk-transfer/types.rb', line 5374

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)


5374
5375
5376
5377
5378
5379
5380
# File 'lib/aws-sdk-transfer/types.rb', line 5374

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)


5374
5375
5376
5377
5378
5379
5380
# File 'lib/aws-sdk-transfer/types.rb', line 5374

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