1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetJourney`](crate::operation::get_journey::builders::GetJourneyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`application_id(impl Into<String>)`](crate::operation::get_journey::builders::GetJourneyFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_journey::builders::GetJourneyFluentBuilder::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::builders::GetJourneyFluentBuilder::journey_id) / [`set_journey_id(Option<String>)`](crate::operation::get_journey::builders::GetJourneyFluentBuilder::set_journey_id):<br>required: **true**<br><p>The unique identifier for the journey.</p><br>
    /// - On success, responds with [`GetJourneyOutput`](crate::operation::get_journey::GetJourneyOutput) with field(s):
    ///   - [`journey_response(Option<JourneyResponse>)`](crate::operation::get_journey::GetJourneyOutput::journey_response): <p>Provides information about the status, configuration, and other settings for a journey.</p>
    /// - On failure, responds with [`SdkError<GetJourneyError>`](crate::operation::get_journey::GetJourneyError)
    pub fn get_journey(&self) -> crate::operation::get_journey::builders::GetJourneyFluentBuilder {
        crate::operation::get_journey::builders::GetJourneyFluentBuilder::new(self.handle.clone())
    }
}