Struct aws_sdk_sns::input::CreatePlatformApplicationInput
source · [−]#[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
sourceimpl CreatePlatformApplicationInput
impl CreatePlatformApplicationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePlatformApplication, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePlatformApplication, AwsErrorRetryPolicy>, 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
sourceimpl 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
sourceimpl Clone for CreatePlatformApplicationInput
impl Clone for CreatePlatformApplicationInput
sourcefn clone(&self) -> CreatePlatformApplicationInput
fn clone(&self) -> CreatePlatformApplicationInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl PartialEq<CreatePlatformApplicationInput> for CreatePlatformApplicationInput
impl PartialEq<CreatePlatformApplicationInput> for CreatePlatformApplicationInput
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &CreatePlatformApplicationInput) -> bool
fn ne(&self, other: &CreatePlatformApplicationInput) -> bool
This method tests for !=.
impl StructuralPartialEq for CreatePlatformApplicationInput
Auto Trait Implementations
impl RefUnwindSafe for CreatePlatformApplicationInput
impl Send for CreatePlatformApplicationInput
impl Sync for CreatePlatformApplicationInput
impl Unpin for CreatePlatformApplicationInput
impl UnwindSafe for CreatePlatformApplicationInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more