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 [`CreateNotifyConfiguration`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`display_name(impl Into<String>)`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::set_display_name):<br>required: **true**<br><p>The display name to associate with the notify configuration.</p><br>
    ///   - [`use_case(NotifyConfigurationUseCase)`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::use_case) / [`set_use_case(Option<NotifyConfigurationUseCase>)`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::set_use_case):<br>required: **true**<br><p>The use case for the notify configuration.</p><br>
    ///   - [`default_template_id(impl Into<String>)`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::default_template_id) / [`set_default_template_id(Option<String>)`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::set_default_template_id):<br>required: **false**<br><p>The default template identifier to associate with the notify configuration. If specified, this template is used when sending messages without an explicit template identifier.</p><br>
    ///   - [`pool_id(impl Into<String>)`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::pool_id) / [`set_pool_id(Option<String>)`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::set_pool_id):<br>required: **false**<br><p>The identifier of the pool to associate with the notify configuration.</p><br>
    ///   - [`enabled_countries(impl Into<String>)`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::enabled_countries) / [`set_enabled_countries(Option<Vec::<String>>)`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::set_enabled_countries):<br>required: **false**<br><p>An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.</p><br>
    ///   - [`enabled_channels(NumberCapability)`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::enabled_channels) / [`set_enabled_channels(Option<Vec::<NumberCapability>>)`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::set_enabled_channels):<br>required: **true**<br><p>An array of channels to enable for the notify configuration. Supported values include <code>SMS</code> and <code>VOICE</code>.</p><br>
    ///   - [`deletion_protection_enabled(bool)`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::deletion_protection_enabled) / [`set_deletion_protection_enabled(Option<bool>)`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::set_deletion_protection_enabled):<br>required: **false**<br><p>By default this is set to false. When set to true the notify configuration can't be deleted. You can change this value using the <code>UpdateNotifyConfiguration</code> action.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::set_client_token):<br>required: **false**<br><p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.</p><br>
    ///   - [`tags(Tag)`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::set_tags):<br>required: **false**<br><p>An array of tags (key and value pairs) associated with the notify configuration.</p><br>
    /// - On success, responds with [`CreateNotifyConfigurationOutput`](crate::operation::create_notify_configuration::CreateNotifyConfigurationOutput) with field(s):
    ///   - [`notify_configuration_arn(String)`](crate::operation::create_notify_configuration::CreateNotifyConfigurationOutput::notify_configuration_arn): <p>The Amazon Resource Name (ARN) for the notify configuration.</p>
    ///   - [`notify_configuration_id(String)`](crate::operation::create_notify_configuration::CreateNotifyConfigurationOutput::notify_configuration_id): <p>The unique identifier for the notify configuration.</p>
    ///   - [`display_name(String)`](crate::operation::create_notify_configuration::CreateNotifyConfigurationOutput::display_name): <p>The display name associated with the notify configuration.</p>
    ///   - [`use_case(NotifyConfigurationUseCase)`](crate::operation::create_notify_configuration::CreateNotifyConfigurationOutput::use_case): <p>The use case for the notify configuration.</p>
    ///   - [`default_template_id(Option<String>)`](crate::operation::create_notify_configuration::CreateNotifyConfigurationOutput::default_template_id): <p>The default template identifier associated with the notify configuration.</p>
    ///   - [`pool_id(Option<String>)`](crate::operation::create_notify_configuration::CreateNotifyConfigurationOutput::pool_id): <p>The identifier of the pool associated with the notify configuration.</p>
    ///   - [`enabled_countries(Option<Vec::<String>>)`](crate::operation::create_notify_configuration::CreateNotifyConfigurationOutput::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::create_notify_configuration::CreateNotifyConfigurationOutput::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::create_notify_configuration::CreateNotifyConfigurationOutput::tier): <p>The tier of the notify configuration.</p>
    ///   - [`tier_upgrade_status(TierUpgradeStatus)`](crate::operation::create_notify_configuration::CreateNotifyConfigurationOutput::tier_upgrade_status): <p>The tier upgrade status of the notify configuration.</p>
    ///   - [`status(NotifyConfigurationStatus)`](crate::operation::create_notify_configuration::CreateNotifyConfigurationOutput::status): <p>The current status of the notify configuration.</p>
    ///   - [`rejection_reason(Option<String>)`](crate::operation::create_notify_configuration::CreateNotifyConfigurationOutput::rejection_reason): <p>The reason the notify configuration was rejected, if applicable.</p>
    ///   - [`deletion_protection_enabled(bool)`](crate::operation::create_notify_configuration::CreateNotifyConfigurationOutput::deletion_protection_enabled): <p>When set to true deletion protection is enabled. By default this is set to false.</p>
    ///   - [`tags(Option<Vec::<Tag>>)`](crate::operation::create_notify_configuration::CreateNotifyConfigurationOutput::tags): <p>An array of tags (key and value pairs) associated with the notify configuration.</p>
    ///   - [`created_timestamp(DateTime)`](crate::operation::create_notify_configuration::CreateNotifyConfigurationOutput::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<CreateNotifyConfigurationError>`](crate::operation::create_notify_configuration::CreateNotifyConfigurationError)
    pub fn create_notify_configuration(&self) -> crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder {
        crate::operation::create_notify_configuration::builders::CreateNotifyConfigurationFluentBuilder::new(self.handle.clone())
    }
}