getEmailContact method
Returns an email contact.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter arn :
The Amazon Resource Name (ARN) of the email contact to get.
Implementation
Future<GetEmailContactResponse> getEmailContact({
required String arn,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/emailcontacts/${Uri.encodeComponent(arn)}',
exceptionFnMap: _exceptionFns,
);
return GetEmailContactResponse.fromJson(response);
}