deleteAdConfiguration method

Future<void> deleteAdConfiguration({
  1. required String arn,
})

Deletes the specified ad configuration.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter arn : ARN of the ad configuration to be deleted.

Implementation

Future<void> deleteAdConfiguration({
  required String arn,
}) async {
  final $payload = <String, dynamic>{
    'arn': arn,
  };
  await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/DeleteAdConfiguration',
    exceptionFnMap: _exceptionFns,
  );
}