amazonka-iot-1.6.0: 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 # 
Data UpdateCACertificate Source # 

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 # 
Show UpdateCACertificate Source # 
Generic UpdateCACertificate Source # 
Hashable UpdateCACertificate Source # 
ToJSON UpdateCACertificate Source # 
NFData UpdateCACertificate Source # 

Methods

rnf :: UpdateCACertificate -> () #

AWSRequest UpdateCACertificate Source # 
ToHeaders UpdateCACertificate Source # 
ToPath UpdateCACertificate Source # 
ToQuery UpdateCACertificate Source # 
type Rep UpdateCACertificate Source # 
type Rep UpdateCACertificate = D1 * (MetaData "UpdateCACertificate" "Network.AWS.IoT.UpdateCACertificate" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "UpdateCACertificate'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ucacRemoveAutoRegistration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_ucacNewStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe CACertificateStatus)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ucacRegistrationConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe RegistrationConfig))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ucacNewAutoRegistrationStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe AutoRegistrationStatus))) (S1 * (MetaSel (Just Symbol "_ucacCertificateId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs UpdateCACertificate Source # 

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 # 
Data UpdateCACertificateResponse Source # 

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 # 
Show UpdateCACertificateResponse Source # 
Generic UpdateCACertificateResponse Source # 
NFData UpdateCACertificateResponse Source # 
type Rep UpdateCACertificateResponse Source # 
type Rep UpdateCACertificateResponse = D1 * (MetaData "UpdateCACertificateResponse" "Network.AWS.IoT.UpdateCACertificate" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "UpdateCACertificateResponse'" PrefixI False) (U1 *))