Struct aws_sdk_lexmodelsv2::operation::list_session_analytics_data::ListSessionAnalyticsDataOutput
source · #[non_exhaustive]pub struct ListSessionAnalyticsDataOutput {
pub bot_id: Option<String>,
pub next_token: Option<String>,
pub sessions: Option<Vec<SessionSpecification>>,
/* private fields */
}
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.bot_id: Option<String>
The unique identifier of the bot that the sessions belong to.
next_token: Option<String>
If the response from the ListSessionAnalyticsData operation contains more results than specified in the maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListSessionAnalyticsData request to return the next page of results. For a complete set of results, call the ListSessionAnalyticsData operation until the nextToken returned in the response is null.
sessions: Option<Vec<SessionSpecification>>
A list of objects, each of which contains information about a session with the bot.
Implementations§
source§impl ListSessionAnalyticsDataOutput
impl ListSessionAnalyticsDataOutput
sourcepub fn bot_id(&self) -> Option<&str>
pub fn bot_id(&self) -> Option<&str>
The unique identifier of the bot that the sessions belong to.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the response from the ListSessionAnalyticsData operation contains more results than specified in the maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListSessionAnalyticsData request to return the next page of results. For a complete set of results, call the ListSessionAnalyticsData operation until the nextToken returned in the response is null.
sourcepub fn sessions(&self) -> &[SessionSpecification]
pub fn sessions(&self) -> &[SessionSpecification]
A list of objects, each of which contains information about a session with the bot.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sessions.is_none()
.
source§impl ListSessionAnalyticsDataOutput
impl ListSessionAnalyticsDataOutput
sourcepub fn builder() -> ListSessionAnalyticsDataOutputBuilder
pub fn builder() -> ListSessionAnalyticsDataOutputBuilder
Creates a new builder-style object to manufacture ListSessionAnalyticsDataOutput
.
Trait Implementations§
source§impl Clone for ListSessionAnalyticsDataOutput
impl Clone for ListSessionAnalyticsDataOutput
source§fn clone(&self) -> ListSessionAnalyticsDataOutput
fn clone(&self) -> ListSessionAnalyticsDataOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ListSessionAnalyticsDataOutput
impl PartialEq for ListSessionAnalyticsDataOutput
source§fn eq(&self, other: &ListSessionAnalyticsDataOutput) -> bool
fn eq(&self, other: &ListSessionAnalyticsDataOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListSessionAnalyticsDataOutput
impl RequestId for ListSessionAnalyticsDataOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.