Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data EndpointState Source #
A read-only field that represents the state of an
AppInstanceUserEndpoint
. Supported values:
ACTIVE
: TheAppInstanceUserEndpoint
is active and able to receive messages. WhenACTIVE
, theEndpointStatusReason
remains empty.INACTIVE
: TheAppInstanceUserEndpoint
is inactive and can't receive message. When INACTIVE, the corresponding reason will be conveyed through EndpointStatusReason.INVALID_DEVICE_TOKEN
indicates that anAppInstanceUserEndpoint
isINACTIVE
due to invalid device tokenINVALID_PINPOINT_ARN
indicates that anAppInstanceUserEndpoint
isINACTIVE
due to an invalid pinpoint ARN that was input through theResourceArn
field.
See: newEndpointState
smart constructor.
EndpointState' | |
|
Instances
Create a value of EndpointState
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:statusReason:EndpointState'
, endpointState_statusReason
- The reason for the EndpointStatus
.
$sel:status:EndpointState'
, endpointState_status
- Enum that indicates the Status of an AppInstanceUserEndpoint
.
endpointState_statusReason :: Lens' EndpointState (Maybe EndpointStatusReason) Source #
The reason for the EndpointStatus
.
endpointState_status :: Lens' EndpointState EndpointStatus Source #
Enum that indicates the Status of an AppInstanceUserEndpoint
.