amazonka-iot-1.6.1: Amazon IoT SDK.

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

Network.AWS.IoT.UpdateCACertificate

Contents

Description

Updates a registered CA certificate.

Synopsis

Creating a Request

updateCACertificate Source #

Creates a value of UpdateCACertificate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateCACertificate Source #

The input to the UpdateCACertificate operation.

See: updateCACertificate smart constructor.

Instances
Eq UpdateCACertificate Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

Data UpdateCACertificate Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateCACertificate -> c UpdateCACertificate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateCACertificate #

toConstr :: UpdateCACertificate -> Constr #

dataTypeOf :: UpdateCACertificate -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UpdateCACertificate) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateCACertificate) #

gmapT :: (forall b. Data b => b -> b) -> UpdateCACertificate -> UpdateCACertificate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateCACertificate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateCACertificate -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateCACertificate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateCACertificate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateCACertificate -> m UpdateCACertificate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateCACertificate -> m UpdateCACertificate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateCACertificate -> m UpdateCACertificate #

Read UpdateCACertificate Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

Show UpdateCACertificate Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

Generic UpdateCACertificate Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

Associated Types

type Rep UpdateCACertificate :: Type -> Type #

Hashable UpdateCACertificate Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

ToJSON UpdateCACertificate Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

AWSRequest UpdateCACertificate Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

Associated Types

type Rs UpdateCACertificate :: Type #

ToHeaders UpdateCACertificate Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

ToPath UpdateCACertificate Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

ToQuery UpdateCACertificate Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

NFData UpdateCACertificate Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

Methods

rnf :: UpdateCACertificate -> () #

type Rep UpdateCACertificate Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

type Rep UpdateCACertificate = D1 (MetaData "UpdateCACertificate" "Network.AWS.IoT.UpdateCACertificate" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "UpdateCACertificate'" PrefixI True) ((S1 (MetaSel (Just "_ucacRemoveAutoRegistration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_ucacNewStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CACertificateStatus))) :*: (S1 (MetaSel (Just "_ucacRegistrationConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RegistrationConfig)) :*: (S1 (MetaSel (Just "_ucacNewAutoRegistrationStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AutoRegistrationStatus)) :*: S1 (MetaSel (Just "_ucacCertificateId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UpdateCACertificate Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

Request Lenses

ucacRemoveAutoRegistration :: Lens' UpdateCACertificate (Maybe Bool) Source #

If true, remove auto registration.

ucacNewStatus :: 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.

ucacRegistrationConfig :: Lens' UpdateCACertificate (Maybe RegistrationConfig) Source #

Information about the registration configuration.

ucacNewAutoRegistrationStatus :: Lens' UpdateCACertificate (Maybe AutoRegistrationStatus) Source #

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

ucacCertificateId :: Lens' UpdateCACertificate Text Source #

The CA certificate identifier.

Destructuring the Response

updateCACertificateResponse :: UpdateCACertificateResponse Source #

Creates a value of UpdateCACertificateResponse with the minimum fields required to make a request.

data UpdateCACertificateResponse Source #

See: updateCACertificateResponse smart constructor.

Instances
Eq UpdateCACertificateResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

Data UpdateCACertificateResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateCACertificateResponse -> c UpdateCACertificateResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateCACertificateResponse #

toConstr :: UpdateCACertificateResponse -> Constr #

dataTypeOf :: UpdateCACertificateResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UpdateCACertificateResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateCACertificateResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateCACertificateResponse -> UpdateCACertificateResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateCACertificateResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateCACertificateResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateCACertificateResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateCACertificateResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateCACertificateResponse -> m UpdateCACertificateResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateCACertificateResponse -> m UpdateCACertificateResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateCACertificateResponse -> m UpdateCACertificateResponse #

Read UpdateCACertificateResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

Show UpdateCACertificateResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

Generic UpdateCACertificateResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

Associated Types

type Rep UpdateCACertificateResponse :: Type -> Type #

NFData UpdateCACertificateResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

type Rep UpdateCACertificateResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateCACertificate

type Rep UpdateCACertificateResponse = D1 (MetaData "UpdateCACertificateResponse" "Network.AWS.IoT.UpdateCACertificate" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "UpdateCACertificateResponse'" PrefixI False) (U1 :: Type -> Type))