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

RemoveRoleFromInstanceProfileAsync() public method

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

            return InvokeAsync<RemoveRoleFromInstanceProfileRequest,RemoveRoleFromInstanceProfileResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonIdentityManagementServiceClient::RemoveRoleFromInstanceProfileAsync ( RemoveRoleFromInstanceProfileRequest request, RemoveRoleFromInstanceProfileResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonIdentityManagementServiceClient