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 |
Updates the status of the specified certificate. This operation is idempotent.
Moving a certificate from the ACTIVE state (including REVOKED) will not disconnect currently connected devices, but these devices will be unable to reconnect.
The ACTIVE state is required to authenticate devices connecting to AWS IoT using a certificate.
Creating a Request
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.
Request Lenses
ucCertificateId :: Lens' UpdateCertificate Text Source
The ID of the certificate.
ucNewStatus :: Lens' UpdateCertificate CertificateStatus Source
The new status.
Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.
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.