Struct aws_sdk_connect::operation::start_contact_evaluation::builders::StartContactEvaluationFluentBuilder
source · pub struct StartContactEvaluationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartContactEvaluation
.
Starts an empty evaluation in the specified Amazon Connect instance, using the given evaluation form for the particular contact. The evaluation form version used for the contact evaluation corresponds to the currently activated version. If no version is activated for the evaluation form, the contact evaluation cannot be started.
Evaluations created through the public API do not contain answer values suggested from automation.
Implementations§
source§impl StartContactEvaluationFluentBuilder
impl StartContactEvaluationFluentBuilder
sourcepub fn as_input(&self) -> &StartContactEvaluationInputBuilder
pub fn as_input(&self) -> &StartContactEvaluationInputBuilder
Access the StartContactEvaluation as a reference.
sourcepub async fn send(
self
) -> Result<StartContactEvaluationOutput, SdkError<StartContactEvaluationError, HttpResponse>>
pub async fn send( self ) -> Result<StartContactEvaluationOutput, SdkError<StartContactEvaluationError, 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<StartContactEvaluationOutput, StartContactEvaluationError, Self>
pub fn customize( self ) -> CustomizableOperation<StartContactEvaluationOutput, StartContactEvaluationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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_id(self, input: impl Into<String>) -> Self
pub fn contact_id(self, input: impl Into<String>) -> Self
The identifier of the contact in this instance of Amazon Connect.
sourcepub fn set_contact_id(self, input: Option<String>) -> Self
pub fn set_contact_id(self, input: Option<String>) -> Self
The identifier of the contact in this instance of Amazon Connect.
sourcepub fn get_contact_id(&self) -> &Option<String>
pub fn get_contact_id(&self) -> &Option<String>
The identifier of the contact in this instance of Amazon Connect.
sourcepub fn evaluation_form_id(self, input: impl Into<String>) -> Self
pub fn evaluation_form_id(self, input: impl Into<String>) -> Self
The unique identifier for the evaluation form.
sourcepub fn set_evaluation_form_id(self, input: Option<String>) -> Self
pub fn set_evaluation_form_id(self, input: Option<String>) -> Self
The unique identifier for the evaluation form.
sourcepub fn get_evaluation_form_id(&self) -> &Option<String>
pub fn get_evaluation_form_id(&self) -> &Option<String>
The unique identifier for the evaluation form.
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.
Trait Implementations§
source§impl Clone for StartContactEvaluationFluentBuilder
impl Clone for StartContactEvaluationFluentBuilder
source§fn clone(&self) -> StartContactEvaluationFluentBuilder
fn clone(&self) -> StartContactEvaluationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more