listProfileAttributeValues method
Fetch the possible attribute values given the attribute name.
May throw AccessDeniedException.
May throw BadRequestException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter attributeName :
The attribute name.
Parameter domainName :
The unique identifier of the domain.
Implementation
Future<ProfileAttributeValuesResponse> listProfileAttributeValues({
required String attributeName,
required String domainName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/domains/${Uri.encodeComponent(domainName)}/profile-attributes/${Uri.encodeComponent(attributeName)}/values',
exceptionFnMap: _exceptionFns,
);
return ProfileAttributeValuesResponse.fromJson(response);
}