libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT.UpdateCACertificate

Description

Updates a registered CA certificate.

Requires permission to access the UpdateCACertificate action.

Synopsis

Creating a Request

data UpdateCACertificate Source #

The input to the UpdateCACertificate operation.

See: newUpdateCACertificate smart constructor.

Constructors

UpdateCACertificate' 

Fields

Instances

Instances details
Eq UpdateCACertificate Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

Read UpdateCACertificate Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

Show UpdateCACertificate Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

Generic UpdateCACertificate Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

Associated Types

type Rep UpdateCACertificate :: Type -> Type #

NFData UpdateCACertificate Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

Methods

rnf :: UpdateCACertificate -> () #

Hashable UpdateCACertificate Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

ToJSON UpdateCACertificate Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

AWSRequest UpdateCACertificate Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

Associated Types

type AWSResponse UpdateCACertificate #

ToHeaders UpdateCACertificate Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

ToPath UpdateCACertificate Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

ToQuery UpdateCACertificate Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

type Rep UpdateCACertificate Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

type Rep UpdateCACertificate = D1 ('MetaData "UpdateCACertificate" "Amazonka.IoT.UpdateCACertificate" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "UpdateCACertificate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "removeAutoRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "newStatus'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CACertificateStatus))) :*: (S1 ('MetaSel ('Just "registrationConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RegistrationConfig)) :*: (S1 ('MetaSel ('Just "newAutoRegistrationStatus'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoRegistrationStatus)) :*: S1 ('MetaSel ('Just "certificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateCACertificate Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

newUpdateCACertificate Source #

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:removeAutoRegistration:UpdateCACertificate', updateCACertificate_removeAutoRegistration - If true, removes auto registration.

$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:newAutoRegistrationStatus':UpdateCACertificate', updateCACertificate_newAutoRegistrationStatus - The new value for the auto registration status. Valid values are: "ENABLE" or "DISABLE".

$sel:certificateId:UpdateCACertificate', updateCACertificate_certificateId - The CA certificate identifier.

Request Lenses

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_newAutoRegistrationStatus :: Lens' UpdateCACertificate (Maybe AutoRegistrationStatus) Source #

The new value for the auto registration status. Valid values are: "ENABLE" or "DISABLE".

Destructuring the Response

data UpdateCACertificateResponse Source #

See: newUpdateCACertificateResponse smart constructor.

Instances

Instances details
Eq UpdateCACertificateResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

Read UpdateCACertificateResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

Show UpdateCACertificateResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

Generic UpdateCACertificateResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

Associated Types

type Rep UpdateCACertificateResponse :: Type -> Type #

NFData UpdateCACertificateResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

type Rep UpdateCACertificateResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateCACertificate

type Rep UpdateCACertificateResponse = D1 ('MetaData "UpdateCACertificateResponse" "Amazonka.IoT.UpdateCACertificate" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "UpdateCACertificateResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdateCACertificateResponse :: UpdateCACertificateResponse Source #

Create a value of UpdateCACertificateResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.