AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

If the IdentityProviderType of a file transfer protocol-enabled server is AWS_DIRECTORY_SERVICE or API_Gateway, tests whether your identity provider 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 identity provider integration to ensure that your users can successfully use the service.

The ServerId and UserName parameters are required. The ServerProtocol, SourceIp, and UserPassword are all optional.

Note the following:

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to TestIdentityProviderAsync.

Namespace: Amazon.Transfer
Assembly: AWSSDK.Transfer.dll
Version: 3.x.y.z

Syntax

C#
public abstract TestIdentityProviderResponse TestIdentityProvider(
         TestIdentityProviderRequest request
)

Parameters

request
Type: Amazon.Transfer.Model.TestIdentityProviderRequest

Container for the necessary parameters to execute the TestIdentityProvider service method.

Return Value


The response from the TestIdentityProvider service method, as returned by Transfer.

Exceptions

ExceptionCondition
InternalServiceErrorException This exception is thrown when an error occurs in the Transfer Family service.
InvalidRequestException This exception is thrown when the client submits a malformed request.
ResourceNotFoundException This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.
ServiceUnavailableException The request has failed because the Amazon Web ServicesTransfer Family service is not available.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also