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 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.
Instances
newGetQueryLoggingConfig Source #
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:
$sel:id: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.
GetQueryLoggingConfigResponse' | |
|
Instances
newGetQueryLoggingConfigResponse Source #
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.