Struct aws_sdk_lexmodelsv2::input::ListBotsInput
source · [−]#[non_exhaustive]pub struct ListBotsInput {
pub sort_by: Option<BotSortBy>,
pub filters: Option<Vec<BotFilter>>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}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.sort_by: Option<BotSortBy>Specifies sorting parameters for the list of bots. You can specify that the list be sorted by bot name in ascending or descending order.
filters: Option<Vec<BotFilter>>Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
max_results: Option<i32>The maximum number of bots to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.
next_token: Option<String>If the response from the ListBots 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 ListBots request to return the next page of results. For a complete set of results, call the ListBots operation until the nextToken returned in the response is null.
Implementations
sourceimpl ListBotsInput
impl ListBotsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListBots, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListBots, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListBots>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListBotsInput.
sourceimpl ListBotsInput
impl ListBotsInput
sourcepub fn sort_by(&self) -> Option<&BotSortBy>
pub fn sort_by(&self) -> Option<&BotSortBy>
Specifies sorting parameters for the list of bots. You can specify that the list be sorted by bot name in ascending or descending order.
sourcepub fn filters(&self) -> Option<&[BotFilter]>
pub fn filters(&self) -> Option<&[BotFilter]>
Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of bots to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the response from the ListBots 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 ListBots request to return the next page of results. For a complete set of results, call the ListBots operation until the nextToken returned in the response is null.
Trait Implementations
sourceimpl Clone for ListBotsInput
impl Clone for ListBotsInput
sourcefn clone(&self) -> ListBotsInput
fn clone(&self) -> ListBotsInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ListBotsInput
impl Debug for ListBotsInput
sourceimpl PartialEq<ListBotsInput> for ListBotsInput
impl PartialEq<ListBotsInput> for ListBotsInput
sourcefn eq(&self, other: &ListBotsInput) -> bool
fn eq(&self, other: &ListBotsInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ListBotsInput) -> bool
fn ne(&self, other: &ListBotsInput) -> bool
This method tests for !=.
impl StructuralPartialEq for ListBotsInput
Auto Trait Implementations
impl RefUnwindSafe for ListBotsInput
impl Send for ListBotsInput
impl Sync for ListBotsInput
impl Unpin for ListBotsInput
impl UnwindSafe for ListBotsInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more