Amazon.IdentityManagement.AmazonIdentityManagementServiceClient.GetUserPolicyAsync C# (CSharp) Method

GetUserPolicyAsync() public method

Initiates the asynchronous execution of the GetUserPolicy operation.
public GetUserPolicyAsync ( GetUserPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request GetUserPolicyRequest Container for the necessary parameters to execute the GetUserPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<GetUserPolicyResponse> GetUserPolicyAsync(GetUserPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new GetUserPolicyRequestMarshaller();
            var unmarshaller = GetUserPolicyResponseUnmarshaller.Instance;

            return InvokeAsync<GetUserPolicyRequest,GetUserPolicyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonIdentityManagementServiceClient::GetUserPolicyAsync ( GetUserPolicyRequest request, GetUserPolicyResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonIdentityManagementServiceClient