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

DeleteRoleAsync() public method

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

            return InvokeAsync<DeleteRoleRequest,DeleteRoleResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonIdentityManagementServiceClient::DeleteRoleAsync ( DeleteRoleRequest request, DeleteRoleResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonIdentityManagementServiceClient