pub struct CreateInstanceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateInstance
.
This API is in preview release for Amazon Connect and is subject to change.
Initiates an Amazon Connect instance with all the supported channels enabled. It does not attach any storage, such as Amazon Simple Storage Service (Amazon S3) or Amazon Kinesis. It also does not allow for any configurations on features, such as Contact Lens for Amazon Connect.
Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days. If you exceed this limit, you will get an error message indicating there has been an excessive number of attempts at creating or deleting instances. You must wait 30 days before you can restart creating and deleting instances in your account.
Implementations§
source§impl CreateInstanceFluentBuilder
impl CreateInstanceFluentBuilder
sourcepub fn as_input(&self) -> &CreateInstanceInputBuilder
pub fn as_input(&self) -> &CreateInstanceInputBuilder
Access the CreateInstance as a reference.
sourcepub async fn send(
self
) -> Result<CreateInstanceOutput, SdkError<CreateInstanceError, HttpResponse>>
pub async fn send( self ) -> Result<CreateInstanceOutput, SdkError<CreateInstanceError, 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 async fn customize(
self
) -> Result<CustomizableOperation<CreateInstanceOutput, CreateInstanceError, Self>, SdkError<CreateInstanceError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateInstanceOutput, CreateInstanceError, Self>, SdkError<CreateInstanceError>>
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
The idempotency token.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The idempotency token.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The idempotency token.
sourcepub fn identity_management_type(self, input: DirectoryType) -> Self
pub fn identity_management_type(self, input: DirectoryType) -> Self
The type of identity management for your Amazon Connect users.
sourcepub fn set_identity_management_type(self, input: Option<DirectoryType>) -> Self
pub fn set_identity_management_type(self, input: Option<DirectoryType>) -> Self
The type of identity management for your Amazon Connect users.
sourcepub fn get_identity_management_type(&self) -> &Option<DirectoryType>
pub fn get_identity_management_type(&self) -> &Option<DirectoryType>
The type of identity management for your Amazon Connect users.
sourcepub fn instance_alias(self, input: impl Into<String>) -> Self
pub fn instance_alias(self, input: impl Into<String>) -> Self
The name for your instance.
sourcepub fn set_instance_alias(self, input: Option<String>) -> Self
pub fn set_instance_alias(self, input: Option<String>) -> Self
The name for your instance.
sourcepub fn get_instance_alias(&self) -> &Option<String>
pub fn get_instance_alias(&self) -> &Option<String>
The name for your instance.
sourcepub fn directory_id(self, input: impl Into<String>) -> Self
pub fn directory_id(self, input: impl Into<String>) -> Self
The identifier for the directory.
sourcepub fn set_directory_id(self, input: Option<String>) -> Self
pub fn set_directory_id(self, input: Option<String>) -> Self
The identifier for the directory.
sourcepub fn get_directory_id(&self) -> &Option<String>
pub fn get_directory_id(&self) -> &Option<String>
The identifier for the directory.
sourcepub fn inbound_calls_enabled(self, input: bool) -> Self
pub fn inbound_calls_enabled(self, input: bool) -> Self
Your contact center handles incoming contacts.
sourcepub fn set_inbound_calls_enabled(self, input: Option<bool>) -> Self
pub fn set_inbound_calls_enabled(self, input: Option<bool>) -> Self
Your contact center handles incoming contacts.
sourcepub fn get_inbound_calls_enabled(&self) -> &Option<bool>
pub fn get_inbound_calls_enabled(&self) -> &Option<bool>
Your contact center handles incoming contacts.
sourcepub fn outbound_calls_enabled(self, input: bool) -> Self
pub fn outbound_calls_enabled(self, input: bool) -> Self
Your contact center allows outbound calls.
sourcepub fn set_outbound_calls_enabled(self, input: Option<bool>) -> Self
pub fn set_outbound_calls_enabled(self, input: Option<bool>) -> Self
Your contact center allows outbound calls.
sourcepub fn get_outbound_calls_enabled(&self) -> &Option<bool>
pub fn get_outbound_calls_enabled(&self) -> &Option<bool>
Your contact center allows outbound calls.
Trait Implementations§
source§impl Clone for CreateInstanceFluentBuilder
impl Clone for CreateInstanceFluentBuilder
source§fn clone(&self) -> CreateInstanceFluentBuilder
fn clone(&self) -> CreateInstanceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more