getUserJourney method
Retrieves a user journey.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter userJourneyId :
The identifier of the user journey to retrieve.
Implementation
Future<GetUserJourneyResponse> getUserJourney({
required String systemArn,
required String userJourneyId,
}) async {
final $query = <String, List<String>>{
'systemArn': [systemArn],
'userJourneyId': [userJourneyId],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/v2/get-user-journey',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return GetUserJourneyResponse.fromJson(response);
}