get_journey_run_execution_metrics
async
¶
get_journey_run_execution_metrics(
application_id: __string,
journey_id: __string,
run_id: __string,
*,
config_overrides: Optional[AsyncPinpointClientConfig] = None,
next_token: Optional[__string] = None,
page_size: Optional[__string] = None,
) -> GetJourneyRunExecutionMetricsResponse
Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to 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.
-
next_token(Optional[__string], default:None) –The
string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics. -
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.
-
run_id(__string) –The unique identifier for the journey run.
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 execution metrics for a journey run The following example gets execution metrics for a single run of a journey.
>>> await client.get_journey_run_execution_metrics(application_id='11111111112222222222333333333344', journey_id='aaaaaaaaaabbbbbbbbbbccccccccccdd', run_id='99999999998888888888777777777766')
Source code in docs_src/capo_pinpoint/_services/async_pinpoint.py
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 4322 4323 4324 4325 4326 4327 4328 | |