| 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 |
Network.AWS.IoT.UpdateCertificate
Description
Updates the status of the specified certificate. This operation is idempotent.
Moving a cert from the ACTIVE state (including REVOKED) will NOT disconnect currently-connected devices, although these devices will be unable to reconnect.
The ACTIVE state is required to authenticate devices connecting to AWS IoT using a certificate.
See: AWS API Reference for UpdateCertificate.
Creating a Request
Arguments
| :: Text | |
| -> CertificateStatus | |
| -> UpdateCertificate |
Creates a value of UpdateCertificate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateCertificate Source
The input for the UpdateCertificate operation.
See: updateCertificate smart constructor.
Instances
Request Lenses
ucCertificateId :: Lens' UpdateCertificate Text Source
The ID of the certificate.
ucNewStatus :: Lens' UpdateCertificate CertificateStatus Source
The new status.
Destructuring the Response
updateCertificateResponse :: UpdateCertificateResponse Source
Creates a value of UpdateCertificateResponse with the minimum fields required to make a request.
data UpdateCertificateResponse Source
See: updateCertificateResponse smart constructor.