Struct aws_sdk_connect::operation::list_bots::builders::ListBotsFluentBuilder
source · pub struct ListBotsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListBots
.
This API is in preview release for Amazon Connect and is subject to change.
For the specified version of Amazon Lex, returns a paginated list of all the Amazon Lex bots currently associated with the instance. Use this API to returns both Amazon Lex V1 and V2 bots.
Implementations§
source§impl ListBotsFluentBuilder
impl ListBotsFluentBuilder
sourcepub fn as_input(&self) -> &ListBotsInputBuilder
pub fn as_input(&self) -> &ListBotsInputBuilder
Access the ListBots as a reference.
sourcepub async fn send(
self
) -> Result<ListBotsOutput, SdkError<ListBotsError, HttpResponse>>
pub async fn send( self ) -> Result<ListBotsOutput, SdkError<ListBotsError, 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 async fn customize(
self
) -> Result<CustomizableOperation<ListBotsOutput, ListBotsError, Self>, SdkError<ListBotsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<ListBotsOutput, ListBotsError, Self>, SdkError<ListBotsError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListBotsPaginator
pub fn into_paginator(self) -> ListBotsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return per page.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return per page.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return per page.
sourcepub fn lex_version(self, input: LexVersion) -> Self
pub fn lex_version(self, input: LexVersion) -> Self
The version of Amazon Lex or Amazon Lex V2.
sourcepub fn set_lex_version(self, input: Option<LexVersion>) -> Self
pub fn set_lex_version(self, input: Option<LexVersion>) -> Self
The version of Amazon Lex or Amazon Lex V2.
sourcepub fn get_lex_version(&self) -> &Option<LexVersion>
pub fn get_lex_version(&self) -> &Option<LexVersion>
The version of Amazon Lex or Amazon Lex V2.
Trait Implementations§
source§impl Clone for ListBotsFluentBuilder
impl Clone for ListBotsFluentBuilder
source§fn clone(&self) -> ListBotsFluentBuilder
fn clone(&self) -> ListBotsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more