Struct aws_sdk_lexmodelsv2::client::fluent_builders::ListBotLocales
source · [−]pub struct ListBotLocales<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to ListBotLocales.
Gets a list of locales for the specified bot.
Implementations
impl<C, M, R> ListBotLocales<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListBotLocales<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListBotLocalesOutput, SdkError<ListBotLocalesError>> where
R::Policy: SmithyRetryPolicy<ListBotLocalesInputOperationOutputAlias, ListBotLocalesOutput, ListBotLocalesError, ListBotLocalesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListBotLocalesOutput, SdkError<ListBotLocalesError>> where
R::Policy: SmithyRetryPolicy<ListBotLocalesInputOperationOutputAlias, ListBotLocalesOutput, ListBotLocalesError, ListBotLocalesInputOperationRetryAlias>,
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.
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
The identifier of the bot to list locales for.
The identifier of the bot to list locales for.
The version of the bot to list locales for.
The version of the bot to list locales for.
Specifies sorting parameters for the list of locales. You can sort by locale name in ascending or descending order.
Specifies sorting parameters for the list of locales. You can sort by locale name in ascending or descending order.
Appends an item to filters.
To override the contents of this collection use set_filters.
Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.
Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.
The maximum number of aliases to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
The maximum number of aliases to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
If the response from the ListBotLocales operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token as the nextToken parameter to return the next page of results.
If the response from the ListBotLocales operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token as the nextToken parameter to return the next page of results.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ListBotLocales<C, M, R>
impl<C, M, R> Send for ListBotLocales<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListBotLocales<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListBotLocales<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ListBotLocales<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more