Struct aws_sdk_connect::operation::batch_put_contact::builders::BatchPutContactFluentBuilder
source · pub struct BatchPutContactFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchPutContact
.
Only the Amazon Connect outbound campaigns service principal is allowed to assume a role in your account and call this API.
Allows you to create a batch of contacts in Amazon Connect. The outbound campaigns capability ingests dial requests via the PutDialRequestBatch API. It then uses BatchPutContact to create contacts corresponding to those dial requests. If agents are available, the dial requests are dialed out, which results in a voice call. The resulting voice call uses the same contactId that was created by BatchPutContact.
Implementations§
source§impl BatchPutContactFluentBuilder
impl BatchPutContactFluentBuilder
sourcepub fn as_input(&self) -> &BatchPutContactInputBuilder
pub fn as_input(&self) -> &BatchPutContactInputBuilder
Access the BatchPutContact as a reference.
sourcepub async fn send(
self
) -> Result<BatchPutContactOutput, SdkError<BatchPutContactError, HttpResponse>>
pub async fn send( self ) -> Result<BatchPutContactOutput, SdkError<BatchPutContactError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<BatchPutContactOutput, BatchPutContactError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchPutContactOutput, BatchPutContactError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
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 Making retries safe with idempotent APIs.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
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 Making retries safe with idempotent APIs.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
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 Making retries safe with idempotent APIs.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn contact_data_request_list(self, input: ContactDataRequest) -> Self
pub fn contact_data_request_list(self, input: ContactDataRequest) -> Self
Appends an item to ContactDataRequestList
.
To override the contents of this collection use set_contact_data_request_list
.
List of individual contact requests.
sourcepub fn set_contact_data_request_list(
self,
input: Option<Vec<ContactDataRequest>>
) -> Self
pub fn set_contact_data_request_list( self, input: Option<Vec<ContactDataRequest>> ) -> Self
List of individual contact requests.
sourcepub fn get_contact_data_request_list(&self) -> &Option<Vec<ContactDataRequest>>
pub fn get_contact_data_request_list(&self) -> &Option<Vec<ContactDataRequest>>
List of individual contact requests.
Trait Implementations§
source§impl Clone for BatchPutContactFluentBuilder
impl Clone for BatchPutContactFluentBuilder
source§fn clone(&self) -> BatchPutContactFluentBuilder
fn clone(&self) -> BatchPutContactFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more