getAnycastIpList method
Gets an Anycast static IP list.
May throw AccessDenied.
May throw EntityNotFound.
May throw InvalidArgument.
May throw UnsupportedOperation.
Parameter id :
The ID of the Anycast static IP list.
Implementation
Future<GetAnycastIpListResult> getAnycastIpList({
required String id,
}) async {
final $result = await _protocol.sendRaw(
method: 'GET',
requestUri: '/2020-05-31/anycast-ip-list/${Uri.encodeComponent(id)}',
exceptionFnMap: _exceptionFns,
);
final $elem = await _s.xmlFromResponse($result);
return GetAnycastIpListResult(
anycastIpList: AnycastIpList.fromXml($elem),
eTag: _s.extractHeaderStringValue($result.headers, 'ETag'),
);
}