Struct aws_sdk_personalize::types::EventTracker
source · #[non_exhaustive]pub struct EventTracker {
pub name: Option<String>,
pub event_tracker_arn: Option<String>,
pub account_id: Option<String>,
pub tracking_id: Option<String>,
pub dataset_group_arn: Option<String>,
pub status: Option<String>,
pub creation_date_time: Option<DateTime>,
pub last_updated_date_time: Option<DateTime>,
}Expand description
Provides information about an event tracker.
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>The name of the event tracker.
event_tracker_arn: Option<String>The ARN of the event tracker.
account_id: Option<String>The Amazon Web Services account that owns the event tracker.
tracking_id: Option<String>The ID of the event tracker. Include this ID in requests to the PutEvents API.
dataset_group_arn: Option<String>The Amazon Resource Name (ARN) of the dataset group that receives the event data.
status: Option<String>The status of the event tracker.
An event tracker can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
creation_date_time: Option<DateTime>The date and time (in Unix format) that the event tracker was created.
last_updated_date_time: Option<DateTime>The date and time (in Unix time) that the event tracker was last updated.
Implementations§
source§impl EventTracker
impl EventTracker
sourcepub fn event_tracker_arn(&self) -> Option<&str>
pub fn event_tracker_arn(&self) -> Option<&str>
The ARN of the event tracker.
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The Amazon Web Services account that owns the event tracker.
sourcepub fn tracking_id(&self) -> Option<&str>
pub fn tracking_id(&self) -> Option<&str>
The ID of the event tracker. Include this ID in requests to the PutEvents API.
sourcepub fn dataset_group_arn(&self) -> Option<&str>
pub fn dataset_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the dataset group that receives the event data.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the event tracker.
An event tracker can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
The date and time (in Unix format) that the event tracker was created.
sourcepub fn last_updated_date_time(&self) -> Option<&DateTime>
pub fn last_updated_date_time(&self) -> Option<&DateTime>
The date and time (in Unix time) that the event tracker was last updated.
source§impl EventTracker
impl EventTracker
sourcepub fn builder() -> EventTrackerBuilder
pub fn builder() -> EventTrackerBuilder
Creates a new builder-style object to manufacture EventTracker.
Trait Implementations§
source§impl Clone for EventTracker
impl Clone for EventTracker
source§fn clone(&self) -> EventTracker
fn clone(&self) -> EventTracker
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EventTracker
impl Debug for EventTracker
source§impl PartialEq for EventTracker
impl PartialEq for EventTracker
source§fn eq(&self, other: &EventTracker) -> bool
fn eq(&self, other: &EventTracker) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EventTracker
Auto Trait Implementations§
impl Freeze for EventTracker
impl RefUnwindSafe for EventTracker
impl Send for EventTracker
impl Sync for EventTracker
impl Unpin for EventTracker
impl UnwindSafe for EventTracker
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more