aws_sdk_pinpoint/client/
update_journey.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 [`UpdateJourney`](crate::operation::update_journey::builders::UpdateJourneyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_id(impl Into<String>)`](crate::operation::update_journey::builders::UpdateJourneyFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::update_journey::builders::UpdateJourneyFluentBuilder::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::update_journey::builders::UpdateJourneyFluentBuilder::journey_id) / [`set_journey_id(Option<String>)`](crate::operation::update_journey::builders::UpdateJourneyFluentBuilder::set_journey_id):<br>required: **true**<br><p>The unique identifier for the journey.</p><br>
8    ///   - [`write_journey_request(WriteJourneyRequest)`](crate::operation::update_journey::builders::UpdateJourneyFluentBuilder::write_journey_request) / [`set_write_journey_request(Option<WriteJourneyRequest>)`](crate::operation::update_journey::builders::UpdateJourneyFluentBuilder::set_write_journey_request):<br>required: **true**<br><p>Specifies the configuration and other settings for a journey.</p><br>
9    /// - On success, responds with [`UpdateJourneyOutput`](crate::operation::update_journey::UpdateJourneyOutput) with field(s):
10    ///   - [`journey_response(Option<JourneyResponse>)`](crate::operation::update_journey::UpdateJourneyOutput::journey_response): <p>Provides information about the status, configuration, and other settings for a journey.</p>
11    /// - On failure, responds with [`SdkError<UpdateJourneyError>`](crate::operation::update_journey::UpdateJourneyError)
12    pub fn update_journey(&self) -> crate::operation::update_journey::builders::UpdateJourneyFluentBuilder {
13        crate::operation::update_journey::builders::UpdateJourneyFluentBuilder::new(self.handle.clone())
14    }
15}