Struct aws_sdk_personalize::operation::create_event_tracker::builders::CreateEventTrackerFluentBuilder
source · pub struct CreateEventTrackerFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateEventTracker
.
Creates an event tracker that you use when adding event data to a specified dataset group using the PutEvents API.
Only one event tracker can be associated with a dataset group. You will get an error if you call CreateEventTracker
using the same dataset group as an existing event tracker.
When you create an event tracker, the response includes a tracking ID, which you pass as a parameter when you use the PutEvents operation. Amazon Personalize then appends the event data to the Interactions dataset of the dataset group you specify in your event tracker.
The event tracker can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
To get the status of the event tracker, call DescribeEventTracker.
The event tracker must be in the ACTIVE state before using the tracking ID.
Related APIs
Implementations§
source§impl CreateEventTrackerFluentBuilder
impl CreateEventTrackerFluentBuilder
sourcepub fn as_input(&self) -> &CreateEventTrackerInputBuilder
pub fn as_input(&self) -> &CreateEventTrackerInputBuilder
Access the CreateEventTracker as a reference.
sourcepub async fn send(
self
) -> Result<CreateEventTrackerOutput, SdkError<CreateEventTrackerError, HttpResponse>>
pub async fn send( self ) -> Result<CreateEventTrackerOutput, SdkError<CreateEventTrackerError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateEventTrackerOutput, CreateEventTrackerError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateEventTrackerOutput, CreateEventTrackerError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn dataset_group_arn(self, input: impl Into<String>) -> Self
pub fn dataset_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the dataset group that receives the event data.
sourcepub fn set_dataset_group_arn(self, input: Option<String>) -> Self
pub fn set_dataset_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the dataset group that receives the event data.
sourcepub fn get_dataset_group_arn(&self) -> &Option<String>
pub fn get_dataset_group_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the dataset group that receives the event data.
A list of tags to apply to the event tracker.
A list of tags to apply to the event tracker.
Trait Implementations§
source§impl Clone for CreateEventTrackerFluentBuilder
impl Clone for CreateEventTrackerFluentBuilder
source§fn clone(&self) -> CreateEventTrackerFluentBuilder
fn clone(&self) -> CreateEventTrackerFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more