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. For information about rotating certificates, see Managing Keys and Certificates in the Using IAM guide.
http://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateSigningCertificate.html
- data UpdateSigningCertificate
- updateSigningCertificate :: Text -> Text -> UpdateSigningCertificate
- uscCertificateId :: Lens' UpdateSigningCertificate Text
- uscStatus :: Lens' UpdateSigningCertificate Text
- uscUserName :: Lens' UpdateSigningCertificate (Maybe Text)
- data UpdateSigningCertificateResponse
- updateSigningCertificateResponse :: UpdateSigningCertificateResponse
Request
data UpdateSigningCertificate Source
Request constructor
updateSigningCertificate Source
UpdateSigningCertificate
constructor.
The fields accessible through corresponding lenses are:
Request lenses
uscCertificateId :: Lens' UpdateSigningCertificate Text Source
The ID of the signing certificate you want to update.
uscStatus :: Lens' UpdateSigningCertificate Text 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.
uscUserName :: Lens' UpdateSigningCertificate (Maybe Text) Source
The name of the user the signing certificate belongs to.