AWS Transfer for SFTP

2019/08/20 - AWS Transfer for SFTP - 1 updated api methods

Changes  New field in response of TestIdentityProvider

TestIdentityProvider (updated) Link ΒΆ
Changes (response)
{'Response': 'string'}

If the IdentityProviderType of the server is API_Gateway , tests whether your API Gateway is set up successfully. We highly recommend that you call this operation to test your authentication method as soon as you create your server. By doing so, you can troubleshoot issues with the API Gateway integration to ensure that your users can successfully use the service.

See also: AWS API Documentation

Request Syntax

client.test_identity_provider(
    ServerId='string',
    UserName='string',
    UserPassword='string'
)
type ServerId

string

param ServerId

[REQUIRED]

A system-assigned identifier for a specific server. That server's user authentication method is tested with a user name and password.

type UserName

string

param UserName

[REQUIRED]

This request parameter is the name of the user account to be tested.

type UserPassword

string

param UserPassword

The password of the user account to be tested.

rtype

dict

returns

Response Syntax

{
    'Response': 'string',
    'StatusCode': 123,
    'Message': 'string',
    'Url': 'string'
}

Response Structure

  • (dict) --

    • Response (string) --

      The response that is returned from your API Gateway.

    • StatusCode (integer) --

      The HTTP status code that is the response from your API Gateway.

    • Message (string) --

      A message that indicates whether the test was successful or not.

    • Url (string) --

      The endpoint of the service used to authenticate a user.