| 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.GetLoggingOptions
Description
Gets the logging options.
NOTE: use of this command is not recommended. Use GetV2LoggingOptions
instead.
Requires permission to access the GetLoggingOptions action.
Synopsis
- data GetLoggingOptions = GetLoggingOptions' {
- newGetLoggingOptions :: GetLoggingOptions
- data GetLoggingOptionsResponse = GetLoggingOptionsResponse' {}
- newGetLoggingOptionsResponse :: Int -> GetLoggingOptionsResponse
- getLoggingOptionsResponse_logLevel :: Lens' GetLoggingOptionsResponse (Maybe LogLevel)
- getLoggingOptionsResponse_roleArn :: Lens' GetLoggingOptionsResponse (Maybe Text)
- getLoggingOptionsResponse_httpStatus :: Lens' GetLoggingOptionsResponse Int
Creating a Request
data GetLoggingOptions Source #
The input for the GetLoggingOptions operation.
See: newGetLoggingOptions smart constructor.
Constructors
| GetLoggingOptions' | |
Instances
newGetLoggingOptions :: GetLoggingOptions Source #
Create a value of GetLoggingOptions with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetLoggingOptionsResponse Source #
The output from the GetLoggingOptions operation.
See: newGetLoggingOptionsResponse smart constructor.
Constructors
| GetLoggingOptionsResponse' | |
Instances
newGetLoggingOptionsResponse Source #
Create a value of GetLoggingOptionsResponse 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:
GetLoggingOptionsResponse, getLoggingOptionsResponse_logLevel - The logging level.
GetLoggingOptionsResponse, getLoggingOptionsResponse_roleArn - The ARN of the IAM role that grants access.
$sel:httpStatus:GetLoggingOptionsResponse', getLoggingOptionsResponse_httpStatus - The response's http status code.
Response Lenses
getLoggingOptionsResponse_logLevel :: Lens' GetLoggingOptionsResponse (Maybe LogLevel) Source #
The logging level.
getLoggingOptionsResponse_roleArn :: Lens' GetLoggingOptionsResponse (Maybe Text) Source #
The ARN of the IAM role that grants access.
getLoggingOptionsResponse_httpStatus :: Lens' GetLoggingOptionsResponse Int Source #
The response's http status code.