| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.IoT.SetV2LoggingOptions
Description
Sets the logging options for the V2 logging service.
Synopsis
- setV2LoggingOptions :: SetV2LoggingOptions
- data SetV2LoggingOptions
- svloDisableAllLogs :: Lens' SetV2LoggingOptions (Maybe Bool)
- svloDefaultLogLevel :: Lens' SetV2LoggingOptions (Maybe LogLevel)
- svloRoleARN :: Lens' SetV2LoggingOptions (Maybe Text)
- setV2LoggingOptionsResponse :: SetV2LoggingOptionsResponse
- data SetV2LoggingOptionsResponse
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:
svloDisableAllLogs- Set to true to disable all logs, otherwise set to false.svloDefaultLogLevel- The default logging level.svloRoleARN- The role ARN that allows IoT to write to Cloudwatch logs.
data SetV2LoggingOptions Source #
See: setV2LoggingOptions smart constructor.
Instances
Request Lenses
svloDisableAllLogs :: Lens' SetV2LoggingOptions (Maybe Bool) Source #
Set to true to disable all logs, otherwise set to false.
svloDefaultLogLevel :: Lens' SetV2LoggingOptions (Maybe LogLevel) Source #
The default logging level.
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.