get_journey_runs
¶
get_journey_runs(
application_id: __string,
journey_id: __string,
*,
config_overrides: Optional[PinpointClientConfig] = None,
page_size: Optional[__string] = None,
token: Optional[__string] = None,
) -> GetJourneyRunsResponse
Provides information about the runs of a 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.
-
page_size(Optional[__string], default:None) –The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
-
token(Optional[__string], default:None) –The NextToken string that specifies which page of results to return in a paginated response.
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.
Examples:
To get the runs of a journey The following example gets the runs of a journey.
>>> client.get_journey_runs(application_id='11111111112222222222333333333344', journey_id='aaaaaaaaaabbbbbbbbbbccccccccccdd')
Source code in docs_src/capo_pinpoint/_services/pinpoint.py
4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 | |