Struct aws_sdk_lexmodelsv2::input::ListImportsInput
source · [−]#[non_exhaustive]pub struct ListImportsInput {
pub bot_id: Option<String>,
pub bot_version: Option<String>,
pub sort_by: Option<ImportSortBy>,
pub filters: Option<Vec<ImportFilter>>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub locale_id: 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.bot_id: Option<String>The unique identifier that Amazon Lex assigned to the bot.
bot_version: Option<String>The version of the bot to list imports for.
sort_by: Option<ImportSortBy>Determines the field that the list of imports is sorted by. You can sort by the LastUpdatedDateTime field in ascending or descending order.
filters: Option<Vec<ImportFilter>>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 imports 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.
next_token: Option<String>If the response from the ListImports 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 ListImports request to return the next page of results. For a complete set of results, call the ListImports operation until the nextToken returned in the response is null.
locale_id: Option<String>Specifies the locale that should be present in the list. If you don't specify a resource type in the filters parameter, the list contains both bot locales and custom vocabularies.
Implementations
sourceimpl ListImportsInput
impl ListImportsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListImports, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListImports, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListImports>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListImportsInput.
sourceimpl ListImportsInput
impl ListImportsInput
sourcepub fn bot_id(&self) -> Option<&str>
pub fn bot_id(&self) -> Option<&str>
The unique identifier that Amazon Lex assigned to the bot.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The version of the bot to list imports for.
sourcepub fn sort_by(&self) -> Option<&ImportSortBy>
pub fn sort_by(&self) -> Option<&ImportSortBy>
Determines the field that the list of imports is sorted by. You can sort by the LastUpdatedDateTime field in ascending or descending order.
sourcepub fn filters(&self) -> Option<&[ImportFilter]>
pub fn filters(&self) -> Option<&[ImportFilter]>
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 imports 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.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the response from the ListImports 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 ListImports request to return the next page of results. For a complete set of results, call the ListImports operation until the nextToken returned in the response is null.
Trait Implementations
sourceimpl Clone for ListImportsInput
impl Clone for ListImportsInput
sourcefn clone(&self) -> ListImportsInput
fn clone(&self) -> ListImportsInput
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 ListImportsInput
impl Debug for ListImportsInput
sourceimpl PartialEq<ListImportsInput> for ListImportsInput
impl PartialEq<ListImportsInput> for ListImportsInput
sourcefn eq(&self, other: &ListImportsInput) -> bool
fn eq(&self, other: &ListImportsInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ListImportsInput) -> bool
fn ne(&self, other: &ListImportsInput) -> bool
This method tests for !=.
impl StructuralPartialEq for ListImportsInput
Auto Trait Implementations
impl RefUnwindSafe for ListImportsInput
impl Send for ListImportsInput
impl Sync for ListImportsInput
impl Unpin for ListImportsInput
impl UnwindSafe for ListImportsInput
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