Struct aws_sdk_sagemaker::input::SearchInput
source · [−]#[non_exhaustive]pub struct SearchInput { /* private fields */ }
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
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 · 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