aws-sdk-pinpointsmsvoicev2 1.124.0

AWS SDK for Amazon Pinpoint SMS Voice V2
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteNotifyConfiguration`](crate::operation::delete_notify_configuration::builders::DeleteNotifyConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`notify_configuration_id(impl Into<String>)`](crate::operation::delete_notify_configuration::builders::DeleteNotifyConfigurationFluentBuilder::notify_configuration_id) / [`set_notify_configuration_id(Option<String>)`](crate::operation::delete_notify_configuration::builders::DeleteNotifyConfigurationFluentBuilder::set_notify_configuration_id):<br>required: **true**<br><p>The identifier of the notify configuration to delete. The NotifyConfigurationId can be found using the <code>DescribeNotifyConfigurations</code> operation.</p><br>
    /// - On success, responds with [`DeleteNotifyConfigurationOutput`](crate::operation::delete_notify_configuration::DeleteNotifyConfigurationOutput) with field(s):
    ///   - [`notify_configuration_arn(String)`](crate::operation::delete_notify_configuration::DeleteNotifyConfigurationOutput::notify_configuration_arn): <p>The Amazon Resource Name (ARN) for the notify configuration.</p>
    ///   - [`notify_configuration_id(String)`](crate::operation::delete_notify_configuration::DeleteNotifyConfigurationOutput::notify_configuration_id): <p>The unique identifier for the notify configuration.</p>
    ///   - [`display_name(String)`](crate::operation::delete_notify_configuration::DeleteNotifyConfigurationOutput::display_name): <p>The display name associated with the notify configuration.</p>
    ///   - [`use_case(NotifyConfigurationUseCase)`](crate::operation::delete_notify_configuration::DeleteNotifyConfigurationOutput::use_case): <p>The use case for the notify configuration.</p>
    ///   - [`default_template_id(Option<String>)`](crate::operation::delete_notify_configuration::DeleteNotifyConfigurationOutput::default_template_id): <p>The default template identifier associated with the notify configuration.</p>
    ///   - [`pool_id(Option<String>)`](crate::operation::delete_notify_configuration::DeleteNotifyConfigurationOutput::pool_id): <p>The identifier of the pool associated with the notify configuration.</p>
    ///   - [`enabled_countries(Option<Vec::<String>>)`](crate::operation::delete_notify_configuration::DeleteNotifyConfigurationOutput::enabled_countries): <p>An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.</p>
    ///   - [`enabled_channels(Vec::<NumberCapability>)`](crate::operation::delete_notify_configuration::DeleteNotifyConfigurationOutput::enabled_channels): <p>An array of channels enabled for the notify configuration. Supported values include <code>SMS</code> and <code>VOICE</code>.</p>
    ///   - [`tier(NotifyConfigurationTier)`](crate::operation::delete_notify_configuration::DeleteNotifyConfigurationOutput::tier): <p>The tier of the notify configuration.</p>
    ///   - [`tier_upgrade_status(TierUpgradeStatus)`](crate::operation::delete_notify_configuration::DeleteNotifyConfigurationOutput::tier_upgrade_status): <p>The tier upgrade status of the notify configuration.</p>
    ///   - [`status(NotifyConfigurationStatus)`](crate::operation::delete_notify_configuration::DeleteNotifyConfigurationOutput::status): <p>The current status of the notify configuration.</p>
    ///   - [`rejection_reason(Option<String>)`](crate::operation::delete_notify_configuration::DeleteNotifyConfigurationOutput::rejection_reason): <p>The reason the notify configuration was rejected, if applicable.</p>
    ///   - [`deletion_protection_enabled(bool)`](crate::operation::delete_notify_configuration::DeleteNotifyConfigurationOutput::deletion_protection_enabled): <p>When set to true deletion protection is enabled. By default this is set to false.</p>
    ///   - [`created_timestamp(DateTime)`](crate::operation::delete_notify_configuration::DeleteNotifyConfigurationOutput::created_timestamp): <p>The time when the notify configuration was created, in <a href="https://www.epochconverter.com/">UNIX epoch time</a> format.</p>
    /// - On failure, responds with [`SdkError<DeleteNotifyConfigurationError>`](crate::operation::delete_notify_configuration::DeleteNotifyConfigurationError)
    pub fn delete_notify_configuration(&self) -> crate::operation::delete_notify_configuration::builders::DeleteNotifyConfigurationFluentBuilder {
        crate::operation::delete_notify_configuration::builders::DeleteNotifyConfigurationFluentBuilder::new(self.handle.clone())
    }
}