Struct aws_sdk_lexmodelsv2::client::fluent_builders::ListSlots
source · [−]pub struct ListSlots<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to ListSlots.
Gets a list of slots that match the specified criteria.
Implementations
impl<C, M, R> ListSlots<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListSlots<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<ListSlotsOutput, SdkError<ListSlotsError>> where
R::Policy: SmithyRetryPolicy<ListSlotsInputOperationOutputAlias, ListSlotsOutput, ListSlotsError, ListSlotsInputOperationRetryAlias>,
pub async fn send(self) -> Result<ListSlotsOutput, SdkError<ListSlotsError>> where
R::Policy: SmithyRetryPolicy<ListSlotsInputOperationOutputAlias, ListSlotsOutput, ListSlotsError, ListSlotsInputOperationRetryAlias>,
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 that contains the slot.
The identifier of the bot that contains the slot.
The version of the bot that contains the slot.
The version of the bot that contains the slot.
The identifier of the language and locale of the slots to list. The string must match one of the supported locales. For more information, see Supported languages.
The identifier of the language and locale of the slots to list. The string must match one of the supported locales. For more information, see Supported languages.
The unique identifier of the intent that contains the slot.
The unique identifier of the intent that contains the slot.
Determines the sort order for the response from the ListSlots operation. You can choose to sort by the slot name or last updated date in either ascending or descending order.
Determines the sort order for the response from the ListSlots operation. You can choose to sort by the slot name or last updated date in either ascending or descending order.
Appends an item to filters.
To override the contents of this collection use set_filters.
Provides the specification of a filter used to limit the slots in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.
Provides the specification of a filter used to limit the slots in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.
The maximum number of slots 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 slots 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 ListSlots operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
If the response from the ListSlots operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ListSlots<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ListSlots<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