| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.SetV2LoggingOptions
Description
Sets the logging options for the V2 logging service.
Requires permission to access the SetV2LoggingOptions action.
Synopsis
- data SetV2LoggingOptions = SetV2LoggingOptions' {}
- newSetV2LoggingOptions :: SetV2LoggingOptions
- setV2LoggingOptions_defaultLogLevel :: Lens' SetV2LoggingOptions (Maybe LogLevel)
- setV2LoggingOptions_disableAllLogs :: Lens' SetV2LoggingOptions (Maybe Bool)
- setV2LoggingOptions_roleArn :: Lens' SetV2LoggingOptions (Maybe Text)
- data SetV2LoggingOptionsResponse = SetV2LoggingOptionsResponse' {
- newSetV2LoggingOptionsResponse :: SetV2LoggingOptionsResponse
Creating a Request
data SetV2LoggingOptions Source #
See: newSetV2LoggingOptions smart constructor.
Constructors
| SetV2LoggingOptions' | |
Fields
| |
Instances
newSetV2LoggingOptions :: SetV2LoggingOptions Source #
Create a value of SetV2LoggingOptions 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:defaultLogLevel:SetV2LoggingOptions', setV2LoggingOptions_defaultLogLevel - The default logging level.
$sel:disableAllLogs:SetV2LoggingOptions', setV2LoggingOptions_disableAllLogs - If true all logs are disabled. The default is false.
SetV2LoggingOptions, setV2LoggingOptions_roleArn - The ARN of the role that allows IoT to write to Cloudwatch logs.
Request Lenses
setV2LoggingOptions_defaultLogLevel :: Lens' SetV2LoggingOptions (Maybe LogLevel) Source #
The default logging level.
setV2LoggingOptions_disableAllLogs :: Lens' SetV2LoggingOptions (Maybe Bool) Source #
If true all logs are disabled. The default is false.
setV2LoggingOptions_roleArn :: Lens' SetV2LoggingOptions (Maybe Text) Source #
The ARN of the role that allows IoT to write to Cloudwatch logs.
Destructuring the Response
data SetV2LoggingOptionsResponse Source #
See: newSetV2LoggingOptionsResponse smart constructor.
Constructors
| SetV2LoggingOptionsResponse' | |
Instances
newSetV2LoggingOptionsResponse :: SetV2LoggingOptionsResponse Source #
Create a value of SetV2LoggingOptionsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.