1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetJourneyRuns`](crate::operation::get_journey_runs::builders::GetJourneyRunsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`application_id(impl Into<String>)`](crate::operation::get_journey_runs::builders::GetJourneyRunsFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_journey_runs::builders::GetJourneyRunsFluentBuilder::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>
    ///   - [`journey_id(impl Into<String>)`](crate::operation::get_journey_runs::builders::GetJourneyRunsFluentBuilder::journey_id) / [`set_journey_id(Option<String>)`](crate::operation::get_journey_runs::builders::GetJourneyRunsFluentBuilder::set_journey_id):<br>required: **true**<br><p>The unique identifier for the journey.</p><br>
    ///   - [`page_size(impl Into<String>)`](crate::operation::get_journey_runs::builders::GetJourneyRunsFluentBuilder::page_size) / [`set_page_size(Option<String>)`](crate::operation::get_journey_runs::builders::GetJourneyRunsFluentBuilder::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>
    ///   - [`token(impl Into<String>)`](crate::operation::get_journey_runs::builders::GetJourneyRunsFluentBuilder::token) / [`set_token(Option<String>)`](crate::operation::get_journey_runs::builders::GetJourneyRunsFluentBuilder::set_token):<br>required: **false**<br><p>The NextToken string that specifies which page of results to return in a paginated response.</p><br>
    /// - On success, responds with [`GetJourneyRunsOutput`](crate::operation::get_journey_runs::GetJourneyRunsOutput) with field(s):
    ///   - [`journey_runs_response(Option<JourneyRunsResponse>)`](crate::operation::get_journey_runs::GetJourneyRunsOutput::journey_runs_response): <p>Provides information from all runs of a journey.</p>
    /// - On failure, responds with [`SdkError<GetJourneyRunsError>`](crate::operation::get_journey_runs::GetJourneyRunsError)
    pub fn get_journey_runs(&self) -> crate::operation::get_journey_runs::builders::GetJourneyRunsFluentBuilder {
        crate::operation::get_journey_runs::builders::GetJourneyRunsFluentBuilder::new(self.handle.clone())
    }
}