Struct aws_sdk_connect::model::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>,
}
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 instanceId in the 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.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more