Struct aws_sdk_lexmodelsv2::operation::list_intent_paths::builders::ListIntentPathsFluentBuilder
source · pub struct ListIntentPathsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to ListIntentPaths.
Retrieves summary statistics for a path of intents that users take over sessions with your bot. The following fields are required:
-
startDateTimeandendDateTime– Define a time range for which you want to retrieve results. -
intentPath– Define an order of intents for which you want to retrieve metrics. Separate intents in the path with a forward slash. For example, populate theintentPathfield with/BookCar/BookHotelto see details about how many times users invoked theBookCarandBookHotelintents in that order.
Use the optional filters field to filter the results.
Implementations§
source§impl ListIntentPathsFluentBuilder
impl ListIntentPathsFluentBuilder
sourcepub fn as_input(&self) -> &ListIntentPathsInputBuilder
pub fn as_input(&self) -> &ListIntentPathsInputBuilder
Access the ListIntentPaths as a reference.
sourcepub async fn send(
self
) -> Result<ListIntentPathsOutput, SdkError<ListIntentPathsError, HttpResponse>>
pub async fn send( self ) -> Result<ListIntentPathsOutput, SdkError<ListIntentPathsError, 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<ListIntentPathsOutput, ListIntentPathsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListIntentPathsOutput, ListIntentPathsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The identifier for the bot for which you want to retrieve intent path metrics.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The identifier for the bot for which you want to retrieve intent path metrics.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The identifier for the bot for which you want to retrieve intent path metrics.
sourcepub fn start_date_time(self, input: DateTime) -> Self
pub fn start_date_time(self, input: DateTime) -> Self
The date and time that marks the beginning of the range of time for which you want to see intent path metrics.
sourcepub fn set_start_date_time(self, input: Option<DateTime>) -> Self
pub fn set_start_date_time(self, input: Option<DateTime>) -> Self
The date and time that marks the beginning of the range of time for which you want to see intent path metrics.
sourcepub fn get_start_date_time(&self) -> &Option<DateTime>
pub fn get_start_date_time(&self) -> &Option<DateTime>
The date and time that marks the beginning of the range of time for which you want to see intent path metrics.
sourcepub fn end_date_time(self, input: DateTime) -> Self
pub fn end_date_time(self, input: DateTime) -> Self
The date and time that marks the end of the range of time for which you want to see intent path metrics.
sourcepub fn set_end_date_time(self, input: Option<DateTime>) -> Self
pub fn set_end_date_time(self, input: Option<DateTime>) -> Self
The date and time that marks the end of the range of time for which you want to see intent path metrics.
sourcepub fn get_end_date_time(&self) -> &Option<DateTime>
pub fn get_end_date_time(&self) -> &Option<DateTime>
The date and time that marks the end of the range of time for which you want to see intent path metrics.
sourcepub fn intent_path(self, input: impl Into<String>) -> Self
pub fn intent_path(self, input: impl Into<String>) -> Self
The intent path for which you want to retrieve metrics. Use a forward slash to separate intents in the path. For example:
-
/BookCar
-
/BookCar/BookHotel
-
/BookHotel/BookCar
sourcepub fn set_intent_path(self, input: Option<String>) -> Self
pub fn set_intent_path(self, input: Option<String>) -> Self
The intent path for which you want to retrieve metrics. Use a forward slash to separate intents in the path. For example:
-
/BookCar
-
/BookCar/BookHotel
-
/BookHotel/BookCar
sourcepub fn get_intent_path(&self) -> &Option<String>
pub fn get_intent_path(&self) -> &Option<String>
The intent path for which you want to retrieve metrics. Use a forward slash to separate intents in the path. For example:
-
/BookCar
-
/BookCar/BookHotel
-
/BookHotel/BookCar
sourcepub fn filters(self, input: AnalyticsPathFilter) -> Self
pub fn filters(self, input: AnalyticsPathFilter) -> Self
Appends an item to filters.
To override the contents of this collection use set_filters.
A list of objects, each describes a condition by which you want to filter the results.
sourcepub fn set_filters(self, input: Option<Vec<AnalyticsPathFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<AnalyticsPathFilter>>) -> Self
A list of objects, each describes a condition by which you want to filter the results.
sourcepub fn get_filters(&self) -> &Option<Vec<AnalyticsPathFilter>>
pub fn get_filters(&self) -> &Option<Vec<AnalyticsPathFilter>>
A list of objects, each describes a condition by which you want to filter the results.
Trait Implementations§
source§impl Clone for ListIntentPathsFluentBuilder
impl Clone for ListIntentPathsFluentBuilder
source§fn clone(&self) -> ListIntentPathsFluentBuilder
fn clone(&self) -> ListIntentPathsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more