amazonka-iam-1.2.0.2: Amazon Identity and Access Management SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.UpdateSigningCertificate

Contents

Description

Changes the status of the specified signing certificate from active to disabled, or vice versa. This action can be used to disable a user's signing certificate as part of a certificate rotation work flow.

If the UserName field is not specified, the UserName is determined implicitly based on the AWS access key ID used to sign the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users.

See: AWS API Reference for UpdateSigningCertificate.

Synopsis

Creating a Request

updateSigningCertificate Source

Creates a value of UpdateSigningCertificate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

uscUserName :: Lens' UpdateSigningCertificate (Maybe Text) Source

The name of the user the signing certificate belongs to.

uscCertificateId :: Lens' UpdateSigningCertificate Text Source

The ID of the signing certificate you want to update.

uscStatus :: Lens' UpdateSigningCertificate StatusType Source

The status you want to assign to the certificate. Active means the certificate can be used for API calls to AWS, while Inactive means the certificate cannot be used.

Destructuring the Response

updateSigningCertificateResponse :: UpdateSigningCertificateResponse Source

Creates a value of UpdateSigningCertificateResponse with the minimum fields required to make a request.