getQueryLoggingConfig method
Gets information about a specified configuration for DNS query logging.
For more information about DNS query logs, see CreateQueryLoggingConfig and Logging DNS Queries.
May throw NoSuchQueryLoggingConfig. May throw InvalidInput.
Parameter id
:
The ID of the configuration for DNS query logging that you want to get
information about.
Implementation
Future<GetQueryLoggingConfigResponse> getQueryLoggingConfig({
required String id,
}) async {
ArgumentError.checkNotNull(id, 'id');
_s.validateStringLength(
'id',
id,
1,
36,
isRequired: true,
);
final $result = await _protocol.send(
method: 'GET',
requestUri: '/2013-04-01/queryloggingconfig/${Uri.encodeComponent(id)}',
exceptionFnMap: _exceptionFns,
);
return GetQueryLoggingConfigResponse.fromXml($result.body);
}