deleteAnycastIpList method

Future<void> deleteAnycastIpList({
  1. required String id,
  2. required String ifMatch,
})

Deletes an Anycast static IP list.

May throw AccessDenied. May throw CannotDeleteEntityWhileInUse. May throw EntityNotFound. May throw IllegalDelete. May throw InvalidArgument. May throw InvalidIfMatchVersion. May throw PreconditionFailed. May throw UnsupportedOperation.

Parameter id : The ID of the Anycast static IP list.

Parameter ifMatch : The current version (ETag value) of the Anycast static IP list that you are deleting.

Implementation

Future<void> deleteAnycastIpList({
  required String id,
  required String ifMatch,
}) async {
  final headers = <String, String>{
    'If-Match': ifMatch.toString(),
  };
  await _protocol.send(
    method: 'DELETE',
    requestUri: '/2020-05-31/anycast-ip-list/${Uri.encodeComponent(id)}',
    headers: headers,
    exceptionFnMap: _exceptionFns,
  );
}