getDedicatedIpPool method

Future<GetDedicatedIpPoolResponse> getDedicatedIpPool({
  1. required String poolName,
})

Retrieve information about the dedicated pool.

May throw BadRequestException. May throw NotFoundException. May throw TooManyRequestsException.

Parameter poolName : The name of the dedicated IP pool to retrieve.

Implementation

Future<GetDedicatedIpPoolResponse> getDedicatedIpPool({
  required String poolName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/v2/email/dedicated-ip-pools/${Uri.encodeComponent(poolName)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetDedicatedIpPoolResponse.fromJson(response);
}