getIdentityMailFromDomainAttributes method

Future<GetIdentityMailFromDomainAttributesResponse> getIdentityMailFromDomainAttributes({
  1. required List<String> identities,
})

Returns the custom MAIL FROM attributes for a list of identities (email addresses : domains).

This operation is throttled at one request per second and can only get custom MAIL FROM attributes for up to 100 identities at a time.

Parameter identities : A list of one or more identities.

Implementation

Future<GetIdentityMailFromDomainAttributesResponse>
    getIdentityMailFromDomainAttributes({
  required List<String> identities,
}) async {
  ArgumentError.checkNotNull(identities, 'identities');
  final $request = <String, dynamic>{};
  $request['Identities'] = identities;
  final $result = await _protocol.send(
    $request,
    action: 'GetIdentityMailFromDomainAttributes',
    version: '2010-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['GetIdentityMailFromDomainAttributesRequest'],
    shapes: shapes,
    resultWrapper: 'GetIdentityMailFromDomainAttributesResult',
  );
  return GetIdentityMailFromDomainAttributesResponse.fromXml($result);
}