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