Copyright | (c) 2013-2016 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 user signing certificate from active to disabled, or vice versa. This action can be used to disable an IAM 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.
- 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 IAM user the signing certificate belongs to.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.'-
uscCertificateId :: Lens' UpdateSigningCertificate Text Source #
The ID of the signing certificate you want to update.
The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
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.