aws_sdk_pinpointsmsvoicev2/client/delete_event_destination.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 [`DeleteEventDestination`](crate::operation::delete_event_destination::builders::DeleteEventDestinationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`configuration_set_name(impl Into<String>)`](crate::operation::delete_event_destination::builders::DeleteEventDestinationFluentBuilder::configuration_set_name) / [`set_configuration_set_name(Option<String>)`](crate::operation::delete_event_destination::builders::DeleteEventDestinationFluentBuilder::set_configuration_set_name):<br>required: **true**<br><p>The name of the configuration set or the configuration set's Amazon Resource Name (ARN) to remove the event destination from. The ConfigurateSetName and ConfigurationSetArn can be found using the <code>DescribeConfigurationSets</code> action.</p><br>
7 /// - [`event_destination_name(impl Into<String>)`](crate::operation::delete_event_destination::builders::DeleteEventDestinationFluentBuilder::event_destination_name) / [`set_event_destination_name(Option<String>)`](crate::operation::delete_event_destination::builders::DeleteEventDestinationFluentBuilder::set_event_destination_name):<br>required: **true**<br><p>The name of the event destination to delete.</p><br>
8 /// - On success, responds with [`DeleteEventDestinationOutput`](crate::operation::delete_event_destination::DeleteEventDestinationOutput) with field(s):
9 /// - [`configuration_set_arn(Option<String>)`](crate::operation::delete_event_destination::DeleteEventDestinationOutput::configuration_set_arn): <p>The Amazon Resource Name (ARN) of the configuration set.</p>
10 /// - [`configuration_set_name(Option<String>)`](crate::operation::delete_event_destination::DeleteEventDestinationOutput::configuration_set_name): <p>The name of the configuration set the event destination was deleted from.</p>
11 /// - [`event_destination(Option<EventDestination>)`](crate::operation::delete_event_destination::DeleteEventDestinationOutput::event_destination): <p>The event destination object that was deleted.</p>
12 /// - On failure, responds with [`SdkError<DeleteEventDestinationError>`](crate::operation::delete_event_destination::DeleteEventDestinationError)
13 pub fn delete_event_destination(&self) -> crate::operation::delete_event_destination::builders::DeleteEventDestinationFluentBuilder {
14 crate::operation::delete_event_destination::builders::DeleteEventDestinationFluentBuilder::new(self.handle.clone())
15 }
16}