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>,
pub tags: Option<HashMap<String, 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.
The tags of an instance.
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.
The tags of an instance.
Trait Implementations§
source§impl PartialEq for Instance
impl PartialEq for Instance
impl StructuralPartialEq for Instance
Auto Trait Implementations§
impl Freeze for Instance
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
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