getDedicatedIp method

Future<GetDedicatedIpResponse> getDedicatedIp({
  1. required String ip,
})

Get information about a dedicated IP address, including the name of the dedicated IP pool that it's associated with, as well information about the automatic warm-up process for the address.

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

Parameter ip : The IP address that you want to obtain more information about. The value you specify has to be a dedicated IP address that's assocaited with your Amazon Pinpoint account.

Implementation

Future<GetDedicatedIpResponse> getDedicatedIp({
  required String ip,
}) async {
  ArgumentError.checkNotNull(ip, 'ip');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v1/email/dedicated-ips/${Uri.encodeComponent(ip)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetDedicatedIpResponse.fromJson(response);
}