#[non_exhaustive]pub struct AnalyticsConfigurationType {
pub application_id: Option<String>,
pub application_arn: Option<String>,
pub role_arn: Option<String>,
pub external_id: Option<String>,
pub user_data_shared: bool,
}Expand description
The Amazon Pinpoint analytics configuration necessary to collect metrics for a user pool.
In Regions where Amazon Pinpoint isn't available, user pools only support sending events to Amazon Pinpoint projects in us-east-1. In Regions where Amazon Pinpoint is available, user pools support sending events to Amazon Pinpoint projects within that same Region.
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 application ID for an Amazon Pinpoint application.
application_arn: Option<String>The Amazon Resource Name (ARN) of an Amazon Pinpoint project. You can use the Amazon Pinpoint project to integrate with the chosen user pool Client. Amazon Cognito publishes events to the Amazon Pinpoint project that the app ARN declares.
role_arn: Option<String>The ARN of an Identity and Access Management role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
external_id: Option<String>The external ID.
If UserDataShared is true, Amazon Cognito includes user data in the events that it publishes to Amazon Pinpoint analytics.
Implementations§
source§impl AnalyticsConfigurationType
impl AnalyticsConfigurationType
sourcepub fn application_id(&self) -> Option<&str>
pub fn application_id(&self) -> Option<&str>
The application ID for an Amazon Pinpoint application.
sourcepub fn application_arn(&self) -> Option<&str>
pub fn application_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an Amazon Pinpoint project. You can use the Amazon Pinpoint project to integrate with the chosen user pool Client. Amazon Cognito publishes events to the Amazon Pinpoint project that the app ARN declares.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The ARN of an Identity and Access Management role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
sourcepub fn external_id(&self) -> Option<&str>
pub fn external_id(&self) -> Option<&str>
The external ID.
If UserDataShared is true, Amazon Cognito includes user data in the events that it publishes to Amazon Pinpoint analytics.
source§impl AnalyticsConfigurationType
impl AnalyticsConfigurationType
sourcepub fn builder() -> AnalyticsConfigurationTypeBuilder
pub fn builder() -> AnalyticsConfigurationTypeBuilder
Creates a new builder-style object to manufacture AnalyticsConfigurationType.
Trait Implementations§
source§impl Clone for AnalyticsConfigurationType
impl Clone for AnalyticsConfigurationType
source§fn clone(&self) -> AnalyticsConfigurationType
fn clone(&self) -> AnalyticsConfigurationType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AnalyticsConfigurationType
impl Debug for AnalyticsConfigurationType
source§impl PartialEq for AnalyticsConfigurationType
impl PartialEq for AnalyticsConfigurationType
source§fn eq(&self, other: &AnalyticsConfigurationType) -> bool
fn eq(&self, other: &AnalyticsConfigurationType) -> bool
self and other values to be equal, and is used
by ==.