Deletes a signing certificate associated with the specified IAM user.
If you do not specify a user name, IAM determines the user name implicitly based on
the Amazon Web Services access key ID signing the request. This operation works for access keys under
the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root
user credentials even if the Amazon Web Services account has no associated IAM users.
Example
Use a bare-bones client and the command you need to make an API call.
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 delete a signing certificate for an IAM user
// The following command deletes the specified signing certificate for the IAM user named Anika. constinput = { "CertificateId":"TA7SMP42TDN5Z26OBPJE7EXAMPLE", "UserName":"Anika" }; constcommand = newDeleteSigningCertificateCommand(input); awaitclient.send(command); // example id: e3357586-ba9c-4070-b35b-d1a899b71987
Deletes a signing certificate associated with the specified IAM user.
If you do not specify a user name, IAM determines the user name implicitly based on the Amazon Web Services access key ID signing the request. This operation works for access keys under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated IAM users.
Example
Use a bare-bones client and the command you need to make an API call.
Param
DeleteSigningCertificateCommandInput
Returns
DeleteSigningCertificateCommandOutput
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
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 delete a signing certificate for an IAM user