getAudienceModel method
Returns information about an audience model
May throw AccessDeniedException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter audienceModelArn :
The Amazon Resource Name (ARN) of the audience model that you are
interested in.
Implementation
Future<GetAudienceModelResponse> getAudienceModel({
required String audienceModelArn,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/audience-model/${Uri.encodeComponent(audienceModelArn)}',
exceptionFnMap: _exceptionFns,
);
return GetAudienceModelResponse.fromJson(response);
}