deleteEmailContact method

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

Deletes an email contact.

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

Parameter arn : The Amazon Resource Name (ARN) of the resource.

Implementation

Future<void> deleteEmailContact({
  required String arn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/emailcontacts/${Uri.encodeComponent(arn)}',
    exceptionFnMap: _exceptionFns,
  );
}