#[non_exhaustive]pub struct GetEndpointAttributesOutput { /* private fields */ }
Expand description
Response from GetEndpointAttributes of the EndpointArn.
Implementations§
source§impl GetEndpointAttributesOutput
impl GetEndpointAttributesOutput
sourcepub fn attributes(&self) -> Option<&HashMap<String, String>>
pub fn attributes(&self) -> Option<&HashMap<String, String>>
Attributes include the following:
-
CustomUserData
– arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB. -
Enabled
– flag that enables/disables delivery to the endpoint. Amazon SNS will set this to false when a notification service indicates to Amazon SNS that the endpoint is invalid. Users can set it back to true, typically after updating Token. -
Token
– device token, also referred to as a registration id, for an app and mobile device. This is returned from the notification service when an app and mobile device are registered with the notification service.The device token for the iOS platform is returned in lowercase.
source§impl GetEndpointAttributesOutput
impl GetEndpointAttributesOutput
sourcepub fn builder() -> GetEndpointAttributesOutputBuilder
pub fn builder() -> GetEndpointAttributesOutputBuilder
Creates a new builder-style object to manufacture GetEndpointAttributesOutput
.
Trait Implementations§
source§impl Clone for GetEndpointAttributesOutput
impl Clone for GetEndpointAttributesOutput
source§fn clone(&self) -> GetEndpointAttributesOutput
fn clone(&self) -> GetEndpointAttributesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetEndpointAttributesOutput
impl Debug for GetEndpointAttributesOutput
source§impl PartialEq<GetEndpointAttributesOutput> for GetEndpointAttributesOutput
impl PartialEq<GetEndpointAttributesOutput> for GetEndpointAttributesOutput
source§fn eq(&self, other: &GetEndpointAttributesOutput) -> bool
fn eq(&self, other: &GetEndpointAttributesOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetEndpointAttributesOutput
impl RequestId for GetEndpointAttributesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.