aws_sdk_pinpoint/client/
get_journey_run_execution_metrics.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetJourneyRunExecutionMetrics`](crate::operation::get_journey_run_execution_metrics::builders::GetJourneyRunExecutionMetricsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_id(impl Into<String>)`](crate::operation::get_journey_run_execution_metrics::builders::GetJourneyRunExecutionMetricsFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_journey_run_execution_metrics::builders::GetJourneyRunExecutionMetricsFluentBuilder::set_application_id):<br>required: **true**<br><p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p><br>
7    ///   - [`journey_id(impl Into<String>)`](crate::operation::get_journey_run_execution_metrics::builders::GetJourneyRunExecutionMetricsFluentBuilder::journey_id) / [`set_journey_id(Option<String>)`](crate::operation::get_journey_run_execution_metrics::builders::GetJourneyRunExecutionMetricsFluentBuilder::set_journey_id):<br>required: **true**<br><p>The unique identifier for the journey.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::get_journey_run_execution_metrics::builders::GetJourneyRunExecutionMetricsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_journey_run_execution_metrics::builders::GetJourneyRunExecutionMetricsFluentBuilder::set_next_token):<br>required: **false**<br><p>The <code></code> string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p><br>
9    ///   - [`page_size(impl Into<String>)`](crate::operation::get_journey_run_execution_metrics::builders::GetJourneyRunExecutionMetricsFluentBuilder::page_size) / [`set_page_size(Option<String>)`](crate::operation::get_journey_run_execution_metrics::builders::GetJourneyRunExecutionMetricsFluentBuilder::set_page_size):<br>required: **false**<br><p>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.</p><br>
10    ///   - [`run_id(impl Into<String>)`](crate::operation::get_journey_run_execution_metrics::builders::GetJourneyRunExecutionMetricsFluentBuilder::run_id) / [`set_run_id(Option<String>)`](crate::operation::get_journey_run_execution_metrics::builders::GetJourneyRunExecutionMetricsFluentBuilder::set_run_id):<br>required: **true**<br><p>The unique identifier for the journey run.</p><br>
11    /// - On success, responds with [`GetJourneyRunExecutionMetricsOutput`](crate::operation::get_journey_run_execution_metrics::GetJourneyRunExecutionMetricsOutput) with field(s):
12    ///   - [`journey_run_execution_metrics_response(Option<JourneyRunExecutionMetricsResponse>)`](crate::operation::get_journey_run_execution_metrics::GetJourneyRunExecutionMetricsOutput::journey_run_execution_metrics_response): <p>Provides the results of a query that retrieved the data for a standard execution metric that applies to a journey run, and provides information about that query.</p>
13    /// - On failure, responds with [`SdkError<GetJourneyRunExecutionMetricsError>`](crate::operation::get_journey_run_execution_metrics::GetJourneyRunExecutionMetricsError)
14    pub fn get_journey_run_execution_metrics(
15        &self,
16    ) -> crate::operation::get_journey_run_execution_metrics::builders::GetJourneyRunExecutionMetricsFluentBuilder {
17        crate::operation::get_journey_run_execution_metrics::builders::GetJourneyRunExecutionMetricsFluentBuilder::new(self.handle.clone())
18    }
19}