| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.UpdateCACertificate
Description
Updates a registered CA certificate.
Requires permission to access the UpdateCACertificate action.
Synopsis
- data UpdateCACertificate = UpdateCACertificate' {}
- newUpdateCACertificate :: Text -> UpdateCACertificate
- updateCACertificate_newAutoRegistrationStatus :: Lens' UpdateCACertificate (Maybe AutoRegistrationStatus)
- updateCACertificate_newStatus :: Lens' UpdateCACertificate (Maybe CACertificateStatus)
- updateCACertificate_registrationConfig :: Lens' UpdateCACertificate (Maybe RegistrationConfig)
- updateCACertificate_removeAutoRegistration :: Lens' UpdateCACertificate (Maybe Bool)
- updateCACertificate_certificateId :: Lens' UpdateCACertificate Text
- data UpdateCACertificateResponse = UpdateCACertificateResponse' {
- newUpdateCACertificateResponse :: UpdateCACertificateResponse
Creating a Request
data UpdateCACertificate Source #
The input to the UpdateCACertificate operation.
See: newUpdateCACertificate smart constructor.
Constructors
| UpdateCACertificate' | |
Fields
| |
Instances
newUpdateCACertificate Source #
Arguments
| :: Text | |
| -> UpdateCACertificate |
Create a value of UpdateCACertificate with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:newAutoRegistrationStatus':UpdateCACertificate', updateCACertificate_newAutoRegistrationStatus - The new value for the auto registration status. Valid values are:
"ENABLE" or "DISABLE".
$sel:newStatus':UpdateCACertificate', updateCACertificate_newStatus - The updated status of the CA certificate.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
$sel:registrationConfig:UpdateCACertificate', updateCACertificate_registrationConfig - Information about the registration configuration.
$sel:removeAutoRegistration:UpdateCACertificate', updateCACertificate_removeAutoRegistration - If true, removes auto registration.
UpdateCACertificate, updateCACertificate_certificateId - The CA certificate identifier.
Request Lenses
updateCACertificate_newAutoRegistrationStatus :: Lens' UpdateCACertificate (Maybe AutoRegistrationStatus) Source #
The new value for the auto registration status. Valid values are: "ENABLE" or "DISABLE".
updateCACertificate_newStatus :: Lens' UpdateCACertificate (Maybe CACertificateStatus) Source #
The updated status of the CA certificate.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
updateCACertificate_registrationConfig :: Lens' UpdateCACertificate (Maybe RegistrationConfig) Source #
Information about the registration configuration.
updateCACertificate_removeAutoRegistration :: Lens' UpdateCACertificate (Maybe Bool) Source #
If true, removes auto registration.
updateCACertificate_certificateId :: Lens' UpdateCACertificate Text Source #
The CA certificate identifier.
Destructuring the Response
data UpdateCACertificateResponse Source #
See: newUpdateCACertificateResponse smart constructor.
Constructors
| UpdateCACertificateResponse' | |
Instances
newUpdateCACertificateResponse :: UpdateCACertificateResponse Source #
Create a value of UpdateCACertificateResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.