Struct aws_sdk_connect::model::Instance
source · [−]#[non_exhaustive]pub struct Instance { /* private fields */ }
Expand description
The Amazon Connect instance.
Implementations
sourceimpl 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 instanceId in the 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.
Trait Implementations
impl StructuralPartialEq for Instance
Auto Trait Implementations
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more