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

PutUserPolicyAsync() public method

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

            return InvokeAsync<PutUserPolicyRequest,PutUserPolicyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonIdentityManagementServiceClient::PutUserPolicyAsync ( PutUserPolicyRequest request, PutUserPolicyResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonIdentityManagementServiceClient