#[non_exhaustive]pub struct CreatePlatformApplicationInput {
pub name: Option<String>,
pub platform: Option<String>,
pub attributes: Option<HashMap<String, String>>,
}
Expand description
Input for CreatePlatformApplication action.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
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.
platform: Option<String>
The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud Messaging).
attributes: Option<HashMap<String, String>>
For a list of attributes, see SetPlatformApplicationAttributes.
Implementations§
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.
source§impl CreatePlatformApplicationInput
impl CreatePlatformApplicationInput
sourcepub fn builder() -> CreatePlatformApplicationInputBuilder
pub fn builder() -> CreatePlatformApplicationInputBuilder
Creates a new builder-style object to manufacture CreatePlatformApplicationInput
.
Trait Implementations§
source§impl Clone for CreatePlatformApplicationInput
impl Clone for CreatePlatformApplicationInput
source§fn clone(&self) -> CreatePlatformApplicationInput
fn clone(&self) -> CreatePlatformApplicationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreatePlatformApplicationInput
impl PartialEq for CreatePlatformApplicationInput
source§fn eq(&self, other: &CreatePlatformApplicationInput) -> bool
fn eq(&self, other: &CreatePlatformApplicationInput) -> bool
self
and other
values to be equal, and is used
by ==
.