batchGetProfile method
Get a batch of profiles.
May throw AccessDeniedException.
May throw BadRequestException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter domainName :
The unique name of the domain.
Parameter profileIds :
List of unique identifiers for customer profiles to retrieve.
Implementation
Future<BatchGetProfileResponse> batchGetProfile({
required String domainName,
required List<String> profileIds,
}) async {
final $payload = <String, dynamic>{
'ProfileIds': profileIds,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri:
'/domains/${Uri.encodeComponent(domainName)}/batch-get-profiles',
exceptionFnMap: _exceptionFns,
);
return BatchGetProfileResponse.fromJson(response);
}