#[non_exhaustive]pub struct SetPlatformApplicationAttributesInput {
pub platform_application_arn: Option<String>,
pub attributes: Option<HashMap<String, String>>,
}Expand description
Input for SetPlatformApplicationAttributes 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.platform_application_arn: Option<String>PlatformApplicationArn for SetPlatformApplicationAttributes action.
attributes: Option<HashMap<String, String>>A map of the platform application attributes. Attributes in this map include the following:
-
PlatformCredential– The credential received from the notification service.-
For ADM,
PlatformCredentialis client secret. -
For Apple Services using certificate credentials,
PlatformCredentialis private key. -
For Apple Services using token credentials,
PlatformCredentialis signing key. -
For GCM (Firebase Cloud Messaging),
PlatformCredentialis API key.
-
-
PlatformPrincipal– The principal received from the notification service.-
For ADM,
PlatformPrincipalis client id. -
For Apple Services using certificate credentials,
PlatformPrincipalis SSL certificate. -
For Apple Services using token credentials,
PlatformPrincipalis signing key ID. -
For GCM (Firebase Cloud Messaging), there is no
PlatformPrincipal.
-
-
EventEndpointCreated– Topic ARN to whichEndpointCreatedevent notifications are sent. -
EventEndpointDeleted– Topic ARN to whichEndpointDeletedevent notifications are sent. -
EventEndpointUpdated– Topic ARN to whichEndpointUpdateevent notifications are sent. -
EventDeliveryFailure– Topic ARN to whichDeliveryFailureevent notifications are sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints. -
SuccessFeedbackRoleArn– IAM role ARN used to give Amazon SNS write access to use CloudWatch Logs on your behalf. -
FailureFeedbackRoleArn– IAM role ARN used to give Amazon SNS write access to use CloudWatch Logs on your behalf. -
SuccessFeedbackSampleRate– Sample rate percentage (0-100) of successfully delivered messages.
The following attributes only apply to APNs token-based authentication:
-
ApplePlatformTeamID– The identifier that's assigned to your Apple developer account team. -
ApplePlatformBundleID– The bundle identifier that's assigned to your iOS app.
Implementations
sourceimpl SetPlatformApplicationAttributesInput
impl SetPlatformApplicationAttributesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetPlatformApplicationAttributes, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetPlatformApplicationAttributes, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SetPlatformApplicationAttributes>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SetPlatformApplicationAttributesInput
sourceimpl SetPlatformApplicationAttributesInput
impl SetPlatformApplicationAttributesInput
sourcepub fn platform_application_arn(&self) -> Option<&str>
pub fn platform_application_arn(&self) -> Option<&str>
PlatformApplicationArn for SetPlatformApplicationAttributes action.
sourcepub fn attributes(&self) -> Option<&HashMap<String, String>>
pub fn attributes(&self) -> Option<&HashMap<String, String>>
A map of the platform application attributes. Attributes in this map include the following:
-
PlatformCredential– The credential received from the notification service.-
For ADM,
PlatformCredentialis client secret. -
For Apple Services using certificate credentials,
PlatformCredentialis private key. -
For Apple Services using token credentials,
PlatformCredentialis signing key. -
For GCM (Firebase Cloud Messaging),
PlatformCredentialis API key.
-
-
PlatformPrincipal– The principal received from the notification service.-
For ADM,
PlatformPrincipalis client id. -
For Apple Services using certificate credentials,
PlatformPrincipalis SSL certificate. -
For Apple Services using token credentials,
PlatformPrincipalis signing key ID. -
For GCM (Firebase Cloud Messaging), there is no
PlatformPrincipal.
-
-
EventEndpointCreated– Topic ARN to whichEndpointCreatedevent notifications are sent. -
EventEndpointDeleted– Topic ARN to whichEndpointDeletedevent notifications are sent. -
EventEndpointUpdated– Topic ARN to whichEndpointUpdateevent notifications are sent. -
EventDeliveryFailure– Topic ARN to whichDeliveryFailureevent notifications are sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints. -
SuccessFeedbackRoleArn– IAM role ARN used to give Amazon SNS write access to use CloudWatch Logs on your behalf. -
FailureFeedbackRoleArn– IAM role ARN used to give Amazon SNS write access to use CloudWatch Logs on your behalf. -
SuccessFeedbackSampleRate– Sample rate percentage (0-100) of successfully delivered messages.
The following attributes only apply to APNs token-based authentication:
-
ApplePlatformTeamID– The identifier that's assigned to your Apple developer account team. -
ApplePlatformBundleID– The bundle identifier that's assigned to your iOS app.
Trait Implementations
sourceimpl Clone for SetPlatformApplicationAttributesInput
impl Clone for SetPlatformApplicationAttributesInput
sourcefn clone(&self) -> SetPlatformApplicationAttributesInput
fn clone(&self) -> SetPlatformApplicationAttributesInput
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<SetPlatformApplicationAttributesInput> for SetPlatformApplicationAttributesInput
impl PartialEq<SetPlatformApplicationAttributesInput> for SetPlatformApplicationAttributesInput
sourcefn eq(&self, other: &SetPlatformApplicationAttributesInput) -> bool
fn eq(&self, other: &SetPlatformApplicationAttributesInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SetPlatformApplicationAttributesInput) -> bool
fn ne(&self, other: &SetPlatformApplicationAttributesInput) -> bool
This method tests for !=.
impl StructuralPartialEq for SetPlatformApplicationAttributesInput
Auto Trait Implementations
impl RefUnwindSafe for SetPlatformApplicationAttributesInput
impl Send for SetPlatformApplicationAttributesInput
impl Sync for SetPlatformApplicationAttributesInput
impl Unpin for SetPlatformApplicationAttributesInput
impl UnwindSafe for SetPlatformApplicationAttributesInput
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