aws_sdk_lightsail/client/
send_contact_method_verification.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 [`SendContactMethodVerification`](crate::operation::send_contact_method_verification::builders::SendContactMethodVerificationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    /// - On success, responds with [`SendContactMethodVerificationOutput`](crate::operation::send_contact_method_verification::SendContactMethodVerificationOutput) with field(s):
8    ///   - [`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>
9    /// - On failure, responds with [`SdkError<SendContactMethodVerificationError>`](crate::operation::send_contact_method_verification::SendContactMethodVerificationError)
10    pub fn send_contact_method_verification(
11        &self,
12    ) -> crate::operation::send_contact_method_verification::builders::SendContactMethodVerificationFluentBuilder {
13        crate::operation::send_contact_method_verification::builders::SendContactMethodVerificationFluentBuilder::new(self.handle.clone())
14    }
15}