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