aws_sdk_connect/client/start_outbound_email_contact.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StartOutboundEmailContact`](crate::operation::start_outbound_email_contact::builders::StartOutboundEmailContactFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::start_outbound_email_contact::builders::StartOutboundEmailContactFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::start_outbound_email_contact::builders::StartOutboundEmailContactFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
/// - [`contact_id(impl Into<String>)`](crate::operation::start_outbound_email_contact::builders::StartOutboundEmailContactFluentBuilder::contact_id) / [`set_contact_id(Option<String>)`](crate::operation::start_outbound_email_contact::builders::StartOutboundEmailContactFluentBuilder::set_contact_id):<br>required: **true**<br><p>The identifier of the contact in this instance of Amazon Connect.</p><br>
/// - [`from_email_address(EmailAddressInfo)`](crate::operation::start_outbound_email_contact::builders::StartOutboundEmailContactFluentBuilder::from_email_address) / [`set_from_email_address(Option<EmailAddressInfo>)`](crate::operation::start_outbound_email_contact::builders::StartOutboundEmailContactFluentBuilder::set_from_email_address):<br>required: **false**<br><p>The email address associated with the instance.</p><br>
/// - [`destination_email_address(EmailAddressInfo)`](crate::operation::start_outbound_email_contact::builders::StartOutboundEmailContactFluentBuilder::destination_email_address) / [`set_destination_email_address(Option<EmailAddressInfo>)`](crate::operation::start_outbound_email_contact::builders::StartOutboundEmailContactFluentBuilder::set_destination_email_address):<br>required: **true**<br><p>The email address of the customer.</p><br>
/// - [`additional_recipients(OutboundAdditionalRecipients)`](crate::operation::start_outbound_email_contact::builders::StartOutboundEmailContactFluentBuilder::additional_recipients) / [`set_additional_recipients(Option<OutboundAdditionalRecipients>)`](crate::operation::start_outbound_email_contact::builders::StartOutboundEmailContactFluentBuilder::set_additional_recipients):<br>required: **false**<br><p>The addtional recipients address of email in CC.</p><br>
/// - [`email_message(OutboundEmailContent)`](crate::operation::start_outbound_email_contact::builders::StartOutboundEmailContactFluentBuilder::email_message) / [`set_email_message(Option<OutboundEmailContent>)`](crate::operation::start_outbound_email_contact::builders::StartOutboundEmailContactFluentBuilder::set_email_message):<br>required: **true**<br><p>The email message body to be sent to the newly created email.</p><br>
/// - [`client_token(impl Into<String>)`](crate::operation::start_outbound_email_contact::builders::StartOutboundEmailContactFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::start_outbound_email_contact::builders::StartOutboundEmailContactFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p><br>
/// - On success, responds with [`StartOutboundEmailContactOutput`](crate::operation::start_outbound_email_contact::StartOutboundEmailContactOutput) with field(s):
/// - [`contact_id(Option<String>)`](crate::operation::start_outbound_email_contact::StartOutboundEmailContactOutput::contact_id): <p>The identifier of the contact in this instance of Amazon Connect.</p>
/// - On failure, responds with [`SdkError<StartOutboundEmailContactError>`](crate::operation::start_outbound_email_contact::StartOutboundEmailContactError)
pub fn start_outbound_email_contact(&self) -> crate::operation::start_outbound_email_contact::builders::StartOutboundEmailContactFluentBuilder {
crate::operation::start_outbound_email_contact::builders::StartOutboundEmailContactFluentBuilder::new(self.handle.clone())
}
}