update_journey_state
async
¶
update_journey_state(
application_id: __string,
journey_id: __string,
*,
config_overrides: Optional[AsyncPinpointClientConfig] = None,
journey_state_request: Optional[JourneyStateRequest] = None,
) -> UpdateJourneyStateResponse
Cancels (stops) an active journey.
Parameters:
-
application_id(__string) –The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
-
journey_id(__string) –The unique identifier for the journey.
Raises:
-
BadRequestException–Provides information about an API request or response.
-
ForbiddenException–Provides information about an API request or response.
-
InternalServerErrorException–Provides information about an API request or response.
-
MethodNotAllowedException–Provides information about an API request or response.
-
NotFoundException–Provides information about an API request or response.
-
PayloadTooLargeException–Provides information about an API request or response.
-
TooManyRequestsException–Provides information about an API request or response.
-
UnknownServiceError–The service returned an error code this client does not model.