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

DeleteVirtualMFADevice() public method

Deletes a virtual MFA device.

You must deactivate a user's virtual MFA device before you can delete it. For information about deactivating MFA devices, see DeactivateMFADevice.

/// The request was rejected because it attempted to delete a resource that has attached /// subordinate entities. The error message describes these entities. /// /// The request was rejected because it attempted to create resources beyond the current /// AWS account limits. The error message describes the limit exceeded. /// /// The request was rejected because it referenced an entity that does not exist. The /// error message describes the entity. /// /// The request processing has failed because of an unknown error, exception or failure. ///
public DeleteVirtualMFADevice ( DeleteVirtualMFADeviceRequest request ) : Amazon.IdentityManagement.Model.DeleteVirtualMFADeviceResponse
request Amazon.IdentityManagement.Model.DeleteVirtualMFADeviceRequest Container for the necessary parameters to execute the DeleteVirtualMFADevice service method.
return Amazon.IdentityManagement.Model.DeleteVirtualMFADeviceResponse
        public DeleteVirtualMFADeviceResponse DeleteVirtualMFADevice(DeleteVirtualMFADeviceRequest request)
        {
            var marshaller = new DeleteVirtualMFADeviceRequestMarshaller();
            var unmarshaller = DeleteVirtualMFADeviceResponseUnmarshaller.Instance;

            return Invoke<DeleteVirtualMFADeviceRequest,DeleteVirtualMFADeviceResponse>(request, marshaller, unmarshaller);
        }
AmazonIdentityManagementServiceClient