getIdentityDkimAttributes method
Returns the current status of Easy DKIM signing for an entity. For domain name identities, this operation also returns the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES has successfully verified that these tokens have been published.
This operation takes a list of identities as input and returns the following information for each:
- Whether Easy DKIM signing is enabled or disabled.
- A set of DKIM tokens that represent the identity. If the identity is an email address, the tokens represent the domain of that address.
- Whether Amazon SES has successfully verified the DKIM tokens published in the domain's DNS. This information is only returned for domain name identities, not for email addresses.
For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide.
Parameter identities
:
A list of one or more verified identities - email addresses, domains, or
both.
Implementation
Future<GetIdentityDkimAttributesResponse> getIdentityDkimAttributes({
required List<String> identities,
}) async {
ArgumentError.checkNotNull(identities, 'identities');
final $request = <String, dynamic>{};
$request['Identities'] = identities;
final $result = await _protocol.send(
$request,
action: 'GetIdentityDkimAttributes',
version: '2010-12-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['GetIdentityDkimAttributesRequest'],
shapes: shapes,
resultWrapper: 'GetIdentityDkimAttributesResult',
);
return GetIdentityDkimAttributesResponse.fromXml($result);
}