Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- updateSigningCertificate :: Text -> StatusType -> UpdateSigningCertificate
- data UpdateSigningCertificate
- uscUserName :: Lens' UpdateSigningCertificate (Maybe Text)
- uscCertificateId :: Lens' UpdateSigningCertificate Text
- uscStatus :: Lens' UpdateSigningCertificate StatusType
- updateSigningCertificateResponse :: UpdateSigningCertificateResponse
- data UpdateSigningCertificateResponse
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:
data UpdateSigningCertificate Source
See: updateSigningCertificate
smart constructor.
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.
Destructuring the Response
updateSigningCertificateResponse :: UpdateSigningCertificateResponse Source
Creates a value of UpdateSigningCertificateResponse
with the minimum fields required to make a request.
data UpdateSigningCertificateResponse Source
See: updateSigningCertificateResponse
smart constructor.