aws_sdk_connect/client/create_instance.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateInstance`](crate::operation::create_instance::builders::CreateInstanceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`client_token(impl Into<String>)`](crate::operation::create_instance::builders::CreateInstanceFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_instance::builders::CreateInstanceFluentBuilder::set_client_token):<br>required: **false**<br><p>The idempotency token.</p><br>
/// - [`identity_management_type(DirectoryType)`](crate::operation::create_instance::builders::CreateInstanceFluentBuilder::identity_management_type) / [`set_identity_management_type(Option<DirectoryType>)`](crate::operation::create_instance::builders::CreateInstanceFluentBuilder::set_identity_management_type):<br>required: **true**<br><p>The type of identity management for your Amazon Connect users.</p><br>
/// - [`instance_alias(impl Into<String>)`](crate::operation::create_instance::builders::CreateInstanceFluentBuilder::instance_alias) / [`set_instance_alias(Option<String>)`](crate::operation::create_instance::builders::CreateInstanceFluentBuilder::set_instance_alias):<br>required: **false**<br><p>The name for your instance.</p><br>
/// - [`directory_id(impl Into<String>)`](crate::operation::create_instance::builders::CreateInstanceFluentBuilder::directory_id) / [`set_directory_id(Option<String>)`](crate::operation::create_instance::builders::CreateInstanceFluentBuilder::set_directory_id):<br>required: **false**<br><p>The identifier for the directory.</p><br>
/// - [`inbound_calls_enabled(bool)`](crate::operation::create_instance::builders::CreateInstanceFluentBuilder::inbound_calls_enabled) / [`set_inbound_calls_enabled(Option<bool>)`](crate::operation::create_instance::builders::CreateInstanceFluentBuilder::set_inbound_calls_enabled):<br>required: **true**<br><p>Your contact center handles incoming contacts.</p><br>
/// - [`outbound_calls_enabled(bool)`](crate::operation::create_instance::builders::CreateInstanceFluentBuilder::outbound_calls_enabled) / [`set_outbound_calls_enabled(Option<bool>)`](crate::operation::create_instance::builders::CreateInstanceFluentBuilder::set_outbound_calls_enabled):<br>required: **true**<br><p>Your contact center allows outbound calls.</p><br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_instance::builders::CreateInstanceFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_instance::builders::CreateInstanceFluentBuilder::set_tags):<br>required: **false**<br><p>The tags used to organize, track, or control access for this resource. For example, <code>{ "tags": {"key1":"value1", "key2":"value2"} }</code>.</p><br>
/// - On success, responds with [`CreateInstanceOutput`](crate::operation::create_instance::CreateInstanceOutput) with field(s):
/// - [`id(Option<String>)`](crate::operation::create_instance::CreateInstanceOutput::id): <p>The identifier for the instance.</p>
/// - [`arn(Option<String>)`](crate::operation::create_instance::CreateInstanceOutput::arn): <p>The Amazon Resource Name (ARN) of the instance.</p>
/// - On failure, responds with [`SdkError<CreateInstanceError>`](crate::operation::create_instance::CreateInstanceError)
pub fn create_instance(&self) -> crate::operation::create_instance::builders::CreateInstanceFluentBuilder {
crate::operation::create_instance::builders::CreateInstanceFluentBuilder::new(self.handle.clone())
}
}