Struct aws_sdk_sagemaker::input::SearchInput
source · [−]#[non_exhaustive]pub struct SearchInput {
pub resource: Option<ResourceType>,
pub search_expression: Option<SearchExpression>,
pub sort_by: Option<String>,
pub sort_order: Option<SearchSortOrder>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
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.resource: Option<ResourceType>
The name of the Amazon SageMaker resource to search for.
search_expression: Option<SearchExpression>
A Boolean conditional statement. Resources must satisfy this condition to be included in search results. You must provide at least one subexpression, filter, or nested filter. The maximum number of recursive SubExpressions
, NestedFilters
, and Filters
that can be included in a SearchExpression
object is 50.
sort_by: Option<String>
The name of the resource property used to sort the SearchResults
. The default is LastModifiedTime
.
sort_order: Option<SearchSortOrder>
How SearchResults
are ordered. Valid values are Ascending
or Descending
. The default is Descending
.
next_token: Option<String>
If more than MaxResults
resources match the specified SearchExpression
, the response includes a NextToken
. The NextToken
can be passed to the next SearchRequest
to continue retrieving results.
max_results: Option<i32>
The maximum number of results to return.
Implementations
sourceimpl SearchInput
impl SearchInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<Search, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<Search, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<Search
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SearchInput
sourceimpl SearchInput
impl SearchInput
sourcepub fn resource(&self) -> Option<&ResourceType>
pub fn resource(&self) -> Option<&ResourceType>
The name of the Amazon SageMaker resource to search for.
sourcepub fn search_expression(&self) -> Option<&SearchExpression>
pub fn search_expression(&self) -> Option<&SearchExpression>
A Boolean conditional statement. Resources must satisfy this condition to be included in search results. You must provide at least one subexpression, filter, or nested filter. The maximum number of recursive SubExpressions
, NestedFilters
, and Filters
that can be included in a SearchExpression
object is 50.
sourcepub fn sort_by(&self) -> Option<&str>
pub fn sort_by(&self) -> Option<&str>
The name of the resource property used to sort the SearchResults
. The default is LastModifiedTime
.
sourcepub fn sort_order(&self) -> Option<&SearchSortOrder>
pub fn sort_order(&self) -> Option<&SearchSortOrder>
How SearchResults
are ordered. Valid values are Ascending
or Descending
. The default is Descending
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If more than MaxResults
resources match the specified SearchExpression
, the response includes a NextToken
. The NextToken
can be passed to the next SearchRequest
to continue retrieving results.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return.
Trait Implementations
sourceimpl Clone for SearchInput
impl Clone for SearchInput
sourcefn clone(&self) -> SearchInput
fn clone(&self) -> SearchInput
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 SearchInput
impl Debug for SearchInput
sourceimpl PartialEq<SearchInput> for SearchInput
impl PartialEq<SearchInput> for SearchInput
sourcefn eq(&self, other: &SearchInput) -> bool
fn eq(&self, other: &SearchInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SearchInput) -> bool
fn ne(&self, other: &SearchInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for SearchInput
Auto Trait Implementations
impl RefUnwindSafe for SearchInput
impl Send for SearchInput
impl Sync for SearchInput
impl Unpin for SearchInput
impl UnwindSafe for SearchInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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