| 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.Route53.GetQueryLoggingConfig
Description
Gets information about a specified configuration for DNS query logging.
For more information about DNS query logs, see CreateQueryLoggingConfig and Logging DNS Queries.
Synopsis
- data GetQueryLoggingConfig = GetQueryLoggingConfig' {}
- newGetQueryLoggingConfig :: Text -> GetQueryLoggingConfig
- getQueryLoggingConfig_id :: Lens' GetQueryLoggingConfig Text
- data GetQueryLoggingConfigResponse = GetQueryLoggingConfigResponse' {}
- newGetQueryLoggingConfigResponse :: Int -> QueryLoggingConfig -> GetQueryLoggingConfigResponse
- getQueryLoggingConfigResponse_httpStatus :: Lens' GetQueryLoggingConfigResponse Int
- getQueryLoggingConfigResponse_queryLoggingConfig :: Lens' GetQueryLoggingConfigResponse QueryLoggingConfig
Creating a Request
data GetQueryLoggingConfig Source #
See: newGetQueryLoggingConfig smart constructor.
Constructors
| GetQueryLoggingConfig' | |
Instances
newGetQueryLoggingConfig Source #
Arguments
| :: Text | |
| -> GetQueryLoggingConfig |
Create a value of GetQueryLoggingConfig 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:
GetQueryLoggingConfig, getQueryLoggingConfig_id - The ID of the configuration for DNS query logging that you want to get
information about.
Request Lenses
getQueryLoggingConfig_id :: Lens' GetQueryLoggingConfig Text Source #
The ID of the configuration for DNS query logging that you want to get information about.
Destructuring the Response
data GetQueryLoggingConfigResponse Source #
See: newGetQueryLoggingConfigResponse smart constructor.
Constructors
| GetQueryLoggingConfigResponse' | |
Fields
| |
Instances
newGetQueryLoggingConfigResponse Source #
Arguments
| :: Int | |
| -> QueryLoggingConfig | |
| -> GetQueryLoggingConfigResponse |
Create a value of GetQueryLoggingConfigResponse 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:httpStatus:GetQueryLoggingConfigResponse', getQueryLoggingConfigResponse_httpStatus - The response's http status code.
$sel:queryLoggingConfig:GetQueryLoggingConfigResponse', getQueryLoggingConfigResponse_queryLoggingConfig - A complex type that contains information about the query logging
configuration that you specified in a
GetQueryLoggingConfig
request.
Response Lenses
getQueryLoggingConfigResponse_httpStatus :: Lens' GetQueryLoggingConfigResponse Int Source #
The response's http status code.
getQueryLoggingConfigResponse_queryLoggingConfig :: Lens' GetQueryLoggingConfigResponse QueryLoggingConfig Source #
A complex type that contains information about the query logging configuration that you specified in a GetQueryLoggingConfig request.