get_journey_run_execution_metrics
¶
get_journey_run_execution_metrics(
application_id: __string,
journey_id: __string,
run_id: __string,
*,
config_overrides: Optional[PinpointClientConfig] = 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.
>>> client.get_journey_run_execution_metrics(application_id='11111111112222222222333333333344', journey_id='aaaaaaaaaabbbbbbbbbbccccccccccdd', run_id='99999999998888888888777777777766')
Source code in docs_src/capo_pinpoint/_services/pinpoint.py
4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 | |