Struct aws_sdk_connectcampaigns::operation::put_dial_request_batch::builders::PutDialRequestBatchFluentBuilder
source · pub struct PutDialRequestBatchFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutDialRequestBatch
.
Creates dials requests for the specified campaign Amazon Connect account. This API is idempotent.
Implementations§
source§impl PutDialRequestBatchFluentBuilder
impl PutDialRequestBatchFluentBuilder
sourcepub fn as_input(&self) -> &PutDialRequestBatchInputBuilder
pub fn as_input(&self) -> &PutDialRequestBatchInputBuilder
Access the PutDialRequestBatch as a reference.
sourcepub async fn send(
self
) -> Result<PutDialRequestBatchOutput, SdkError<PutDialRequestBatchError, HttpResponse>>
pub async fn send( self ) -> Result<PutDialRequestBatchOutput, SdkError<PutDialRequestBatchError, 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<PutDialRequestBatchOutput, PutDialRequestBatchError, Self>
pub fn customize( self ) -> CustomizableOperation<PutDialRequestBatchOutput, PutDialRequestBatchError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn dial_requests(self, input: DialRequest) -> Self
pub fn dial_requests(self, input: DialRequest) -> Self
Appends an item to dialRequests
.
To override the contents of this collection use set_dial_requests
.
A list of dial requests.
sourcepub fn set_dial_requests(self, input: Option<Vec<DialRequest>>) -> Self
pub fn set_dial_requests(self, input: Option<Vec<DialRequest>>) -> Self
A list of dial requests.
sourcepub fn get_dial_requests(&self) -> &Option<Vec<DialRequest>>
pub fn get_dial_requests(&self) -> &Option<Vec<DialRequest>>
A list of dial requests.
Trait Implementations§
source§impl Clone for PutDialRequestBatchFluentBuilder
impl Clone for PutDialRequestBatchFluentBuilder
source§fn clone(&self) -> PutDialRequestBatchFluentBuilder
fn clone(&self) -> PutDialRequestBatchFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for PutDialRequestBatchFluentBuilder
impl !RefUnwindSafe for PutDialRequestBatchFluentBuilder
impl Send for PutDialRequestBatchFluentBuilder
impl Sync for PutDialRequestBatchFluentBuilder
impl Unpin for PutDialRequestBatchFluentBuilder
impl !UnwindSafe for PutDialRequestBatchFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more