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 |
Gets the fine grained logging options.
Requires permission to access the GetV2LoggingOptions action.
Synopsis
- data GetV2LoggingOptions = GetV2LoggingOptions' {
- newGetV2LoggingOptions :: GetV2LoggingOptions
- data GetV2LoggingOptionsResponse = GetV2LoggingOptionsResponse' {}
- newGetV2LoggingOptionsResponse :: Int -> GetV2LoggingOptionsResponse
- getV2LoggingOptionsResponse_disableAllLogs :: Lens' GetV2LoggingOptionsResponse (Maybe Bool)
- getV2LoggingOptionsResponse_defaultLogLevel :: Lens' GetV2LoggingOptionsResponse (Maybe LogLevel)
- getV2LoggingOptionsResponse_roleArn :: Lens' GetV2LoggingOptionsResponse (Maybe Text)
- getV2LoggingOptionsResponse_httpStatus :: Lens' GetV2LoggingOptionsResponse Int
Creating a Request
data GetV2LoggingOptions Source #
See: newGetV2LoggingOptions
smart constructor.
Instances
newGetV2LoggingOptions :: GetV2LoggingOptions Source #
Create a value of GetV2LoggingOptions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetV2LoggingOptionsResponse Source #
See: newGetV2LoggingOptionsResponse
smart constructor.
GetV2LoggingOptionsResponse' | |
|
Instances
newGetV2LoggingOptionsResponse Source #
Create a value of GetV2LoggingOptionsResponse
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:disableAllLogs:GetV2LoggingOptionsResponse'
, getV2LoggingOptionsResponse_disableAllLogs
- Disables all logs.
$sel:defaultLogLevel:GetV2LoggingOptionsResponse'
, getV2LoggingOptionsResponse_defaultLogLevel
- The default log level.
$sel:roleArn:GetV2LoggingOptionsResponse'
, getV2LoggingOptionsResponse_roleArn
- The IAM role ARN IoT uses to write to your CloudWatch logs.
$sel:httpStatus:GetV2LoggingOptionsResponse'
, getV2LoggingOptionsResponse_httpStatus
- The response's http status code.
Response Lenses
getV2LoggingOptionsResponse_disableAllLogs :: Lens' GetV2LoggingOptionsResponse (Maybe Bool) Source #
Disables all logs.
getV2LoggingOptionsResponse_defaultLogLevel :: Lens' GetV2LoggingOptionsResponse (Maybe LogLevel) Source #
The default log level.
getV2LoggingOptionsResponse_roleArn :: Lens' GetV2LoggingOptionsResponse (Maybe Text) Source #
The IAM role ARN IoT uses to write to your CloudWatch logs.
getV2LoggingOptionsResponse_httpStatus :: Lens' GetV2LoggingOptionsResponse Int Source #
The response's http status code.