aws-sdk-endusermessaging 1.0.0

AWS SDK for AWS End User Messaging
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`SendNotifyCodeVerification`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`channel(NotifyChannel)`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::channel) / [`set_channel(Option<NotifyChannel>)`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::set_channel):<br>required: **true**<br><p>The channel used to deliver the one-time passcode to the recipient.</p><br>
    ///   - [`destination_identity(impl Into<String>)`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::destination_identity) / [`set_destination_identity(Option<String>)`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::set_destination_identity):<br>required: **true**<br><p>The recipient identifier. For the TEXT and VOICE channels, specify an E.164 phone number. For the WhatsApp channel, specify a WhatsApp address.</p><br>
    ///   - [`origination_identity(impl Into<String>)`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::origination_identity) / [`set_origination_identity(Option<String>)`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::set_origination_identity):<br>required: **true**<br><p>The identity used to send the message, such as a phone number, sender ID, or pool that is owned by your account.</p><br>
    ///   - [`notify_code_configuration(impl Into<String>)`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::notify_code_configuration) / [`set_notify_code_configuration(Option<String>)`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::set_notify_code_configuration):<br>required: **false**<br><p>The identifier or Amazon Resource Name (ARN) of the notify code configuration that supplies the passcode policy and template defaults. When you do not specify a configuration, you must supply the template in the request.</p><br>
    ///   - [`override_channel_parameters(ChannelParameters)`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::override_channel_parameters) / [`set_override_channel_parameters(Option<ChannelParameters>)`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::set_override_channel_parameters):<br>required: **false**<br><p>The channel-specific parameters used to render and deliver the one-time passcode for this request. The route that is derived from the channel and the origination identity selects the matching channel. When you do not specify channel parameters, the service uses the parameters from the referenced notify code configuration.</p><br>
    ///   - [`override_code_configuration_parameters(CodeConfigurationParameters)`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::override_code_configuration_parameters) / [`set_override_code_configuration_parameters(Option<CodeConfigurationParameters>)`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::set_override_code_configuration_parameters):<br>required: **false**<br><p>The per-send overrides for the passcode policy parameters, including the code type, length, validity period, and maximum number of attempts. These values override the values from the referenced notify code configuration. When you do not specify a value, the value from the configuration is used, and if neither is set, the service default applies.</p><br>
    ///   - [`configuration_set_name(impl Into<String>)`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::configuration_set_name) / [`set_configuration_set_name(Option<String>)`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::set_configuration_set_name):<br>required: **false**<br><p>The name of the configuration set used to control how delivery events for the message are handled.</p><br>
    ///   - [`context(impl Into<String>, impl Into<String>)`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::context) / [`set_context(Option<HashMap::<String, String>>)`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::set_context):<br>required: **false**<br><p>A map of custom key and value pairs that are propagated to the delivery events for this verification.</p><br>
    ///   - [`reference_id(impl Into<String>)`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::reference_id) / [`set_reference_id(Option<String>)`](crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::set_reference_id):<br>required: **false**<br><p>A caller-supplied reference identifier that binds a send request to a later validate request. Specify the same value in both requests.</p><br>
    /// - On success, responds with [`SendNotifyCodeVerificationOutput`](crate::operation::send_notify_code_verification::SendNotifyCodeVerificationOutput) with field(s):
    ///   - [`verification_id(String)`](crate::operation::send_notify_code_verification::SendNotifyCodeVerificationOutput::verification_id): <p>The service-generated identifier for the verification.</p>
    ///   - [`message_id(String)`](crate::operation::send_notify_code_verification::SendNotifyCodeVerificationOutput::message_id): <p>The service-generated identifier for the message that delivers the one-time passcode.</p>
    /// - On failure, responds with [`SdkError<SendNotifyCodeVerificationError>`](crate::operation::send_notify_code_verification::SendNotifyCodeVerificationError)
    pub fn send_notify_code_verification(
        &self,
    ) -> crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder {
        crate::operation::send_notify_code_verification::builders::SendNotifyCodeVerificationFluentBuilder::new(self.handle.clone())
    }
}