The request was rejected because multiple requests to change this object were submitted
simultaneously. Wait a few minutes and submit your request again.
The request was rejected because it attempted to create resources beyond the current
Amazon Web Services account limits. The error message describes the limit exceeded.
Base exception class for all service exceptions from IAM service.
Example
To remove a virtual MFA device
// The following delete-virtual-mfa-device command removes the specified MFA device from the current AWS account. constinput = { "SerialNumber":"arn:aws:iam::123456789012:mfa/ExampleName" }; constcommand = newDeleteVirtualMFADeviceCommand(input); awaitclient.send(command); // example id: 2933b08b-dbe7-4b89-b8c1-fdf75feea1ee
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.
Example
Use a bare-bones client and the command you need to make an API call.
Param
DeleteVirtualMFADeviceCommandInput
Returns
DeleteVirtualMFADeviceCommandOutput
See
input
shape.response
shape.config
shape.Throws
ConcurrentModificationException (client fault)
The request was rejected because multiple requests to change this object were submitted simultaneously. Wait a few minutes and submit your request again.
Throws
DeleteConflictException (client fault)
The request was rejected because it attempted to delete a resource that has attached subordinate entities. The error message describes these entities.
Throws
LimitExceededException (client fault)
The request was rejected because it attempted to create resources beyond the current Amazon Web Services account limits. The error message describes the limit exceeded.
Throws
NoSuchEntityException (client fault)
The request was rejected because it referenced a resource entity that does not exist. The error message describes the resource.
Throws
ServiceFailureException (server fault)
The request processing has failed because of an unknown error, exception or failure.
Throws
IAMServiceException
Base exception class for all service exceptions from IAM service.
Example
To remove a virtual MFA device