Struct aws_sdk_sns::input::CreatePlatformApplicationInput
source · #[non_exhaustive]pub struct CreatePlatformApplicationInput { /* private fields */ }
Expand description
Input for CreatePlatformApplication action.
Implementations§
source§impl CreatePlatformApplicationInput
impl CreatePlatformApplicationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePlatformApplication, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePlatformApplication, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreatePlatformApplication
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreatePlatformApplicationInput
.
source§impl CreatePlatformApplicationInput
impl CreatePlatformApplicationInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long.
sourcepub fn platform(&self) -> Option<&str>
pub fn platform(&self) -> Option<&str>
The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud Messaging).
sourcepub fn attributes(&self) -> Option<&HashMap<String, String>>
pub fn attributes(&self) -> Option<&HashMap<String, String>>
For a list of attributes, see SetPlatformApplicationAttributes.
Trait Implementations§
source§impl Clone for CreatePlatformApplicationInput
impl Clone for CreatePlatformApplicationInput
source§fn clone(&self) -> CreatePlatformApplicationInput
fn clone(&self) -> CreatePlatformApplicationInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<CreatePlatformApplicationInput> for CreatePlatformApplicationInput
impl PartialEq<CreatePlatformApplicationInput> for CreatePlatformApplicationInput
source§fn eq(&self, other: &CreatePlatformApplicationInput) -> bool
fn eq(&self, other: &CreatePlatformApplicationInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.