deleteQueryLoggingConfig method

Future<void> deleteQueryLoggingConfig({
  1. required String id,
})

Deletes a configuration for DNS query logging. If you delete a configuration, Amazon Route 53 stops sending query logs to CloudWatch Logs. Route 53 doesn't delete any logs that are already in CloudWatch Logs.

For more information about DNS query logs, see CreateQueryLoggingConfig.

May throw ConcurrentModification. May throw NoSuchQueryLoggingConfig. May throw InvalidInput.

Parameter id : The ID of the configuration that you want to delete.

Implementation

Future<void> deleteQueryLoggingConfig({
  required String id,
}) async {
  ArgumentError.checkNotNull(id, 'id');
  _s.validateStringLength(
    'id',
    id,
    1,
    36,
    isRequired: true,
  );
  await _protocol.send(
    method: 'DELETE',
    requestUri: '/2013-04-01/queryloggingconfig/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
}