aws_sdk_pinpointsmsvoicev2/client/
delete_configuration_set.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 [`DeleteConfigurationSet`](crate::operation::delete_configuration_set::builders::DeleteConfigurationSetFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`configuration_set_name(impl Into<String>)`](crate::operation::delete_configuration_set::builders::DeleteConfigurationSetFluentBuilder::configuration_set_name) / [`set_configuration_set_name(Option<String>)`](crate::operation::delete_configuration_set::builders::DeleteConfigurationSetFluentBuilder::set_configuration_set_name):<br>required: **true**<br><p>The name of the configuration set or the configuration set ARN that you want to delete. The ConfigurationSetName and ConfigurationSetArn can be found using the <code>DescribeConfigurationSets</code> action.</p><br>
7    /// - On success, responds with [`DeleteConfigurationSetOutput`](crate::operation::delete_configuration_set::DeleteConfigurationSetOutput) with field(s):
8    ///   - [`configuration_set_arn(Option<String>)`](crate::operation::delete_configuration_set::DeleteConfigurationSetOutput::configuration_set_arn): <p>The Amazon Resource Name (ARN) of the deleted configuration set.</p>
9    ///   - [`configuration_set_name(Option<String>)`](crate::operation::delete_configuration_set::DeleteConfigurationSetOutput::configuration_set_name): <p>The name of the deleted configuration set.</p>
10    ///   - [`event_destinations(Option<Vec::<EventDestination>>)`](crate::operation::delete_configuration_set::DeleteConfigurationSetOutput::event_destinations): <p>An array of any EventDestination objects that were associated with the deleted configuration set.</p>
11    ///   - [`default_message_type(Option<MessageType>)`](crate::operation::delete_configuration_set::DeleteConfigurationSetOutput::default_message_type): <p>The default message type of the configuration set that was deleted.</p>
12    ///   - [`default_sender_id(Option<String>)`](crate::operation::delete_configuration_set::DeleteConfigurationSetOutput::default_sender_id): <p>The default Sender ID of the configuration set that was deleted.</p>
13    ///   - [`default_message_feedback_enabled(Option<bool>)`](crate::operation::delete_configuration_set::DeleteConfigurationSetOutput::default_message_feedback_enabled): <p>True if the configuration set has message feedback enabled. By default this is set to false.</p>
14    ///   - [`created_timestamp(Option<DateTime>)`](crate::operation::delete_configuration_set::DeleteConfigurationSetOutput::created_timestamp): <p>The time that the deleted configuration set was created in <a href="https://www.epochconverter.com/">UNIX epoch time</a> format.</p>
15    /// - On failure, responds with [`SdkError<DeleteConfigurationSetError>`](crate::operation::delete_configuration_set::DeleteConfigurationSetError)
16    pub fn delete_configuration_set(&self) -> crate::operation::delete_configuration_set::builders::DeleteConfigurationSetFluentBuilder {
17        crate::operation::delete_configuration_set::builders::DeleteConfigurationSetFluentBuilder::new(self.handle.clone())
18    }
19}