Struct aws_sdk_lexmodelsv2::client::fluent_builders::ListBotVersions [−][src]
pub struct ListBotVersions<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to ListBotVersions.
Gets information about all of the versions of a bot.
The ListBotVersions operation returns a summary of each
version of a bot. For example, if a bot has three numbered versions,
the ListBotVersions operation returns for summaries, one
for each numbered version and one for the DRAFT
version.
The ListBotVersions operation always returns at least
one version, the DRAFT version.
Implementations
impl<C, M, R> ListBotVersions<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListBotVersions<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListBotVersionsOutput, SdkError<ListBotVersionsError>> where
R::Policy: SmithyRetryPolicy<ListBotVersionsInputOperationOutputAlias, ListBotVersionsOutput, ListBotVersionsError, ListBotVersionsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListBotVersionsOutput, SdkError<ListBotVersionsError>> where
R::Policy: SmithyRetryPolicy<ListBotVersionsInputOperationOutputAlias, ListBotVersionsOutput, ListBotVersionsError, ListBotVersionsInputOperationRetryAlias>,
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.
The identifier of the bot to list versions for.
The identifier of the bot to list versions for.
Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
The maximum number of versions 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 versions 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 to the ListBotVersion 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 to the ListBotVersion 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 = AwsMiddleware, R = Standard> !RefUnwindSafe for ListBotVersions<C, M, R>
impl<C, M, R> Send for ListBotVersions<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListBotVersions<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListBotVersions<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ListBotVersions<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