Struct aws_sdk_chimesdkidentity::types::EndpointState
source · #[non_exhaustive]pub struct EndpointState {
pub status: EndpointStatus,
pub status_reason: Option<EndpointStatusReason>,
}Expand description
A read-only field that represents the state of an AppInstanceUserEndpoint. Supported values:
-
ACTIVE: TheAppInstanceUserEndpointis active and able to receive messages. WhenACTIVE, theEndpointStatusReasonremains empty. -
INACTIVE: TheAppInstanceUserEndpointis inactive and can't receive message. When INACTIVE, the corresponding reason will be conveyed through EndpointStatusReason. -
INVALID_DEVICE_TOKENindicates that anAppInstanceUserEndpointisINACTIVEdue to invalid device token -
INVALID_PINPOINT_ARNindicates that anAppInstanceUserEndpointisINACTIVEdue to an invalid pinpoint ARN that was input through theResourceArnfield.
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.status: EndpointStatusEnum that indicates the Status of an AppInstanceUserEndpoint.
status_reason: Option<EndpointStatusReason>The reason for the EndpointStatus.
Implementations§
source§impl EndpointState
impl EndpointState
sourcepub fn status(&self) -> &EndpointStatus
pub fn status(&self) -> &EndpointStatus
Enum that indicates the Status of an AppInstanceUserEndpoint.
sourcepub fn status_reason(&self) -> Option<&EndpointStatusReason>
pub fn status_reason(&self) -> Option<&EndpointStatusReason>
The reason for the EndpointStatus.
source§impl EndpointState
impl EndpointState
sourcepub fn builder() -> EndpointStateBuilder
pub fn builder() -> EndpointStateBuilder
Creates a new builder-style object to manufacture EndpointState.
Trait Implementations§
source§impl Clone for EndpointState
impl Clone for EndpointState
source§fn clone(&self) -> EndpointState
fn clone(&self) -> EndpointState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EndpointState
impl Debug for EndpointState
source§impl PartialEq for EndpointState
impl PartialEq for EndpointState
source§fn eq(&self, other: &EndpointState) -> bool
fn eq(&self, other: &EndpointState) -> bool
self and other values to be equal, and is used
by ==.