#[non_exhaustive]pub struct RemoveAttributesInput {
pub application_id: Option<String>,
pub attribute_type: Option<String>,
pub update_attributes_request: Option<UpdateAttributesRequest>,
}
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.application_id: Option<String>
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
attribute_type: Option<String>
The type of attribute or attributes to remove. Valid values are:
endpoint-custom-attributes - Custom attributes that describe endpoints, such as the date when an associated user opted in or out of receiving communications from you through a specific type of channel.
endpoint-metric-attributes - Custom metrics that your app reports to Amazon Pinpoint for endpoints, such as the number of app sessions or the number of items left in a cart.
endpoint-user-attributes - Custom attributes that describe users, such as first name, last name, and age.
update_attributes_request: Option<UpdateAttributesRequest>
Specifies one or more attributes to remove from all the endpoints that are associated with an application.
Implementations§
source§impl RemoveAttributesInput
impl RemoveAttributesInput
sourcepub fn application_id(&self) -> Option<&str>
pub fn application_id(&self) -> Option<&str>
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
sourcepub fn attribute_type(&self) -> Option<&str>
pub fn attribute_type(&self) -> Option<&str>
The type of attribute or attributes to remove. Valid values are:
endpoint-custom-attributes - Custom attributes that describe endpoints, such as the date when an associated user opted in or out of receiving communications from you through a specific type of channel.
endpoint-metric-attributes - Custom metrics that your app reports to Amazon Pinpoint for endpoints, such as the number of app sessions or the number of items left in a cart.
endpoint-user-attributes - Custom attributes that describe users, such as first name, last name, and age.
sourcepub fn update_attributes_request(&self) -> Option<&UpdateAttributesRequest>
pub fn update_attributes_request(&self) -> Option<&UpdateAttributesRequest>
Specifies one or more attributes to remove from all the endpoints that are associated with an application.
source§impl RemoveAttributesInput
impl RemoveAttributesInput
sourcepub fn builder() -> RemoveAttributesInputBuilder
pub fn builder() -> RemoveAttributesInputBuilder
Creates a new builder-style object to manufacture RemoveAttributesInput
.
Trait Implementations§
source§impl Clone for RemoveAttributesInput
impl Clone for RemoveAttributesInput
source§fn clone(&self) -> RemoveAttributesInput
fn clone(&self) -> RemoveAttributesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RemoveAttributesInput
impl Debug for RemoveAttributesInput
source§impl PartialEq for RemoveAttributesInput
impl PartialEq for RemoveAttributesInput
source§fn eq(&self, other: &RemoveAttributesInput) -> bool
fn eq(&self, other: &RemoveAttributesInput) -> bool
self
and other
values to be equal, and is used
by ==
.