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 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.
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.
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:
$sel:logLevel:GetLoggingOptionsResponse'
, getLoggingOptionsResponse_logLevel
- The logging level.
$sel:roleArn: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.