Struct aws_sdk_lexmodelsv2::operation::list_bots::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§
source§impl 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) -> &[BotFilter]
pub fn filters(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none().
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.
source§impl ListBotsInput
impl ListBotsInput
sourcepub fn builder() -> ListBotsInputBuilder
pub fn builder() -> ListBotsInputBuilder
Creates a new builder-style object to manufacture ListBotsInput.
Trait Implementations§
source§impl Clone for ListBotsInput
impl Clone for ListBotsInput
source§fn clone(&self) -> ListBotsInput
fn clone(&self) -> ListBotsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListBotsInput
impl Debug for ListBotsInput
source§impl PartialEq for ListBotsInput
impl PartialEq for ListBotsInput
impl StructuralPartialEq for ListBotsInput
Auto Trait Implementations§
impl Freeze for ListBotsInput
impl RefUnwindSafe for ListBotsInput
impl Send for ListBotsInput
impl Sync for ListBotsInput
impl Unpin for ListBotsInput
impl UnwindSafe for ListBotsInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more