Copyright | (c) 2013-2021 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 |
Sets the logging level.
Requires permission to access the SetV2LoggingLevel action.
Synopsis
- data SetV2LoggingLevel = SetV2LoggingLevel' {}
- newSetV2LoggingLevel :: LogTarget -> LogLevel -> SetV2LoggingLevel
- setV2LoggingLevel_logTarget :: Lens' SetV2LoggingLevel LogTarget
- setV2LoggingLevel_logLevel :: Lens' SetV2LoggingLevel LogLevel
- data SetV2LoggingLevelResponse = SetV2LoggingLevelResponse' {
- newSetV2LoggingLevelResponse :: SetV2LoggingLevelResponse
Creating a Request
data SetV2LoggingLevel Source #
See: newSetV2LoggingLevel
smart constructor.
Instances
:: LogTarget | |
-> LogLevel | |
-> SetV2LoggingLevel |
Create a value of SetV2LoggingLevel
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:logTarget:SetV2LoggingLevel'
, setV2LoggingLevel_logTarget
- The log target.
$sel:logLevel:SetV2LoggingLevel'
, setV2LoggingLevel_logLevel
- The log level.
Request Lenses
setV2LoggingLevel_logTarget :: Lens' SetV2LoggingLevel LogTarget Source #
The log target.
setV2LoggingLevel_logLevel :: Lens' SetV2LoggingLevel LogLevel Source #
The log level.
Destructuring the Response
data SetV2LoggingLevelResponse Source #
See: newSetV2LoggingLevelResponse
smart constructor.
Instances
Eq SetV2LoggingLevelResponse Source # | |
Defined in Amazonka.IoT.SetV2LoggingLevel | |
Read SetV2LoggingLevelResponse Source # | |
Show SetV2LoggingLevelResponse Source # | |
Defined in Amazonka.IoT.SetV2LoggingLevel showsPrec :: Int -> SetV2LoggingLevelResponse -> ShowS # show :: SetV2LoggingLevelResponse -> String # showList :: [SetV2LoggingLevelResponse] -> ShowS # | |
Generic SetV2LoggingLevelResponse Source # | |
Defined in Amazonka.IoT.SetV2LoggingLevel type Rep SetV2LoggingLevelResponse :: Type -> Type # | |
NFData SetV2LoggingLevelResponse Source # | |
Defined in Amazonka.IoT.SetV2LoggingLevel rnf :: SetV2LoggingLevelResponse -> () # | |
type Rep SetV2LoggingLevelResponse Source # | |
newSetV2LoggingLevelResponse :: SetV2LoggingLevelResponse Source #
Create a value of SetV2LoggingLevelResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.