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

DetachUserPolicyAsync() public method

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

            return InvokeAsync<DetachUserPolicyRequest,DetachUserPolicyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonIdentityManagementServiceClient::DetachUserPolicyAsync ( DetachUserPolicyRequest request, DetachUserPolicyResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonIdentityManagementServiceClient