Struct aws_sdk_sns::input::SetEndpointAttributesInput
source · #[non_exhaustive]pub struct SetEndpointAttributesInput { /* private fields */ }
Expand description
Input for SetEndpointAttributes action.
Implementations§
source§impl SetEndpointAttributesInput
impl SetEndpointAttributesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetEndpointAttributes, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetEndpointAttributes, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<SetEndpointAttributes
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SetEndpointAttributesInput
.
source§impl SetEndpointAttributesInput
impl SetEndpointAttributesInput
sourcepub fn endpoint_arn(&self) -> Option<&str>
pub fn endpoint_arn(&self) -> Option<&str>
EndpointArn used for SetEndpointAttributes action.
sourcepub fn attributes(&self) -> Option<&HashMap<String, String>>
pub fn attributes(&self) -> Option<&HashMap<String, String>>
A map of the endpoint attributes. Attributes in this map 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.
Trait Implementations§
source§impl Clone for SetEndpointAttributesInput
impl Clone for SetEndpointAttributesInput
source§fn clone(&self) -> SetEndpointAttributesInput
fn clone(&self) -> SetEndpointAttributesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SetEndpointAttributesInput
impl Debug for SetEndpointAttributesInput
source§impl PartialEq<SetEndpointAttributesInput> for SetEndpointAttributesInput
impl PartialEq<SetEndpointAttributesInput> for SetEndpointAttributesInput
source§fn eq(&self, other: &SetEndpointAttributesInput) -> bool
fn eq(&self, other: &SetEndpointAttributesInput) -> bool
self
and other
values to be equal, and is used
by ==
.