deleteUserJourney method
Deletes a user journey.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter userJourneyId :
The identifier of the user journey to delete.
Implementation
Future<DeleteUserJourneyResponse> deleteUserJourney({
required String systemArn,
required String userJourneyId,
}) async {
final $payload = <String, dynamic>{
'systemArn': systemArn,
'userJourneyId': userJourneyId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/v2/delete-user-journey',
exceptionFnMap: _exceptionFns,
);
return DeleteUserJourneyResponse.fromJson(response);
}