aws-sdk-lightsail 1.107.0

AWS SDK for Amazon Lightsail
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`SendContactMethodVerification`](crate::operation::send_contact_method_verification::builders::SendContactMethodVerificationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`protocol(ContactMethodVerificationProtocol)`](crate::operation::send_contact_method_verification::builders::SendContactMethodVerificationFluentBuilder::protocol) / [`set_protocol(Option<ContactMethodVerificationProtocol>)`](crate::operation::send_contact_method_verification::builders::SendContactMethodVerificationFluentBuilder::set_protocol):<br>required: **true**<br><p>The protocol to verify, such as <code>Email</code> or <code>SMS</code> (text messaging).</p><br>
    /// - On success, responds with [`SendContactMethodVerificationOutput`](crate::operation::send_contact_method_verification::SendContactMethodVerificationOutput) with field(s):
    ///   - [`operations(Option<Vec::<Operation>>)`](crate::operation::send_contact_method_verification::SendContactMethodVerificationOutput::operations): <p>An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.</p>
    /// - On failure, responds with [`SdkError<SendContactMethodVerificationError>`](crate::operation::send_contact_method_verification::SendContactMethodVerificationError)
    pub fn send_contact_method_verification(
        &self,
    ) -> crate::operation::send_contact_method_verification::builders::SendContactMethodVerificationFluentBuilder {
        crate::operation::send_contact_method_verification::builders::SendContactMethodVerificationFluentBuilder::new(self.handle.clone())
    }
}