2019/08/20 - AWS Transfer for SFTP - 1 updated api methods
Changes New field in response of TestIdentityProvider
{'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' )
string
[REQUIRED]
A system-assigned identifier for a specific server. That server's user authentication method is tested with a user name and password.
string
[REQUIRED]
This request parameter is the name of the user account to be tested.
string
The password of the user account to be tested.
dict
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.