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

AttachUserPolicyAsync() public method

Initiates the asynchronous execution of the AttachUserPolicy operation.
public AttachUserPolicyAsync ( AttachUserPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.IdentityManagement.Model.AttachUserPolicyRequest Container for the necessary parameters to execute the AttachUserPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<AttachUserPolicyResponse> AttachUserPolicyAsync(AttachUserPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new AttachUserPolicyRequestMarshaller();
            var unmarshaller = AttachUserPolicyResponseUnmarshaller.Instance;

            return InvokeAsync<AttachUserPolicyRequest,AttachUserPolicyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonIdentityManagementServiceClient::AttachUserPolicyAsync ( AttachUserPolicyRequest request, AttachUserPolicyResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonIdentityManagementServiceClient