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

DeletePolicyAsync() public method

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

            return InvokeAsync<DeletePolicyRequest,DeletePolicyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonIdentityManagementServiceClient::DeletePolicyAsync ( DeletePolicyRequest request, DeletePolicyResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonIdentityManagementServiceClient