Struct aws_sdk_connect::types::Instance
source · #[non_exhaustive]pub struct Instance {
pub id: Option<String>,
pub arn: Option<String>,
pub identity_management_type: Option<DirectoryType>,
pub instance_alias: Option<String>,
pub created_time: Option<DateTime>,
pub service_role: Option<String>,
pub instance_status: Option<InstanceStatus>,
pub status_reason: Option<InstanceStatusReason>,
pub inbound_calls_enabled: Option<bool>,
pub outbound_calls_enabled: Option<bool>,
pub instance_access_url: Option<String>,
}
Expand description
The Amazon Connect instance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
arn: Option<String>
The Amazon Resource Name (ARN) of the instance.
identity_management_type: Option<DirectoryType>
The identity management type.
instance_alias: Option<String>
The alias of instance.
created_time: Option<DateTime>
When the instance was created.
service_role: Option<String>
The service role of the instance.
instance_status: Option<InstanceStatus>
The state of the instance.
status_reason: Option<InstanceStatusReason>
Relevant details why the instance was not successfully created.
inbound_calls_enabled: Option<bool>
Whether inbound calls are enabled.
outbound_calls_enabled: Option<bool>
Whether outbound calls are enabled.
instance_access_url: Option<String>
This URL allows contact center users to access the Amazon Connect admin website.
Implementations§
source§impl Instance
impl Instance
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn identity_management_type(&self) -> Option<&DirectoryType>
pub fn identity_management_type(&self) -> Option<&DirectoryType>
The identity management type.
sourcepub fn instance_alias(&self) -> Option<&str>
pub fn instance_alias(&self) -> Option<&str>
The alias of instance.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
When the instance was created.
sourcepub fn service_role(&self) -> Option<&str>
pub fn service_role(&self) -> Option<&str>
The service role of the instance.
sourcepub fn instance_status(&self) -> Option<&InstanceStatus>
pub fn instance_status(&self) -> Option<&InstanceStatus>
The state of the instance.
sourcepub fn status_reason(&self) -> Option<&InstanceStatusReason>
pub fn status_reason(&self) -> Option<&InstanceStatusReason>
Relevant details why the instance was not successfully created.
sourcepub fn inbound_calls_enabled(&self) -> Option<bool>
pub fn inbound_calls_enabled(&self) -> Option<bool>
Whether inbound calls are enabled.
sourcepub fn outbound_calls_enabled(&self) -> Option<bool>
pub fn outbound_calls_enabled(&self) -> Option<bool>
Whether outbound calls are enabled.
sourcepub fn instance_access_url(&self) -> Option<&str>
pub fn instance_access_url(&self) -> Option<&str>
This URL allows contact center users to access the Amazon Connect admin website.