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.SetV2LoggingOptions

Contents

Description

Sets the logging options for the V2 logging service.

Synopsis

Creating a Request

setV2LoggingOptions :: SetV2LoggingOptions Source #

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

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

data SetV2LoggingOptions Source #

See: setV2LoggingOptions smart constructor.

Instances

Eq SetV2LoggingOptions Source # 
Data SetV2LoggingOptions Source # 

Methods

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

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

toConstr :: SetV2LoggingOptions -> Constr #

dataTypeOf :: SetV2LoggingOptions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetV2LoggingOptions Source # 
Show SetV2LoggingOptions Source # 
Generic SetV2LoggingOptions Source # 
Hashable SetV2LoggingOptions Source # 
ToJSON SetV2LoggingOptions Source # 
NFData SetV2LoggingOptions Source # 

Methods

rnf :: SetV2LoggingOptions -> () #

AWSRequest SetV2LoggingOptions Source # 
ToHeaders SetV2LoggingOptions Source # 
ToPath SetV2LoggingOptions Source # 
ToQuery SetV2LoggingOptions Source # 
type Rep SetV2LoggingOptions Source # 
type Rep SetV2LoggingOptions = D1 * (MetaData "SetV2LoggingOptions" "Network.AWS.IoT.SetV2LoggingOptions" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "SetV2LoggingOptions'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_svloDisableAllLogs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "_svloDefaultLogLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe LogLevel))) (S1 * (MetaSel (Just Symbol "_svloRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))))
type Rs SetV2LoggingOptions Source # 

Request Lenses

svloDisableAllLogs :: Lens' SetV2LoggingOptions (Maybe Bool) Source #

Set to true to disable all logs, otherwise set to false.

svloRoleARN :: Lens' SetV2LoggingOptions (Maybe Text) Source #

The role ARN that allows IoT to write to Cloudwatch logs.

Destructuring the Response

setV2LoggingOptionsResponse :: SetV2LoggingOptionsResponse Source #

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

data SetV2LoggingOptionsResponse Source #

See: setV2LoggingOptionsResponse smart constructor.

Instances

Eq SetV2LoggingOptionsResponse Source # 
Data SetV2LoggingOptionsResponse Source # 

Methods

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

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

toConstr :: SetV2LoggingOptionsResponse -> Constr #

dataTypeOf :: SetV2LoggingOptionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetV2LoggingOptionsResponse Source # 
Show SetV2LoggingOptionsResponse Source # 
Generic SetV2LoggingOptionsResponse Source # 
NFData SetV2LoggingOptionsResponse Source # 
type Rep SetV2LoggingOptionsResponse Source # 
type Rep SetV2LoggingOptionsResponse = D1 * (MetaData "SetV2LoggingOptionsResponse" "Network.AWS.IoT.SetV2LoggingOptions" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "SetV2LoggingOptionsResponse'" PrefixI False) (U1 *))