Struct aws_sdk_sns::input::CreatePlatformEndpointInput
source · #[non_exhaustive]pub struct CreatePlatformEndpointInput { /* private fields */ }
Expand description
Input for CreatePlatformEndpoint action.
Implementations§
source§impl CreatePlatformEndpointInput
impl CreatePlatformEndpointInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePlatformEndpoint, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePlatformEndpoint, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreatePlatformEndpoint
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreatePlatformEndpointInput
.
source§impl CreatePlatformEndpointInput
impl CreatePlatformEndpointInput
sourcepub fn platform_application_arn(&self) -> Option<&str>
pub fn platform_application_arn(&self) -> Option<&str>
PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.
sourcepub fn token(&self) -> Option<&str>
pub fn token(&self) -> Option<&str>
Unique identifier created by the notification service for an app on a device. The specific name for Token will vary, depending on which notification service is being used. For example, when using APNS as the notification service, you need the device token. Alternatively, when using GCM (Firebase Cloud Messaging) or ADM, the device token equivalent is called the registration ID.
sourcepub fn custom_user_data(&self) -> Option<&str>
pub fn custom_user_data(&self) -> Option<&str>
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.
sourcepub fn attributes(&self) -> Option<&HashMap<String, String>>
pub fn attributes(&self) -> Option<&HashMap<String, String>>
For a list of attributes, see SetEndpointAttributes.
Trait Implementations§
source§impl Clone for CreatePlatformEndpointInput
impl Clone for CreatePlatformEndpointInput
source§fn clone(&self) -> CreatePlatformEndpointInput
fn clone(&self) -> CreatePlatformEndpointInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreatePlatformEndpointInput
impl Debug for CreatePlatformEndpointInput
source§impl PartialEq<CreatePlatformEndpointInput> for CreatePlatformEndpointInput
impl PartialEq<CreatePlatformEndpointInput> for CreatePlatformEndpointInput
source§fn eq(&self, other: &CreatePlatformEndpointInput) -> bool
fn eq(&self, other: &CreatePlatformEndpointInput) -> bool
self
and other
values to be equal, and is used
by ==
.