Struct aws_sdk_sagemaker::input::SearchInput
source · #[non_exhaustive]pub struct SearchInput { /* private fields */ }
Implementations§
source§impl SearchInput
impl SearchInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<Search, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<Search, AwsResponseRetryClassifier>, 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
.
source§impl 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§
source§impl Clone for SearchInput
impl Clone for SearchInput
source§fn clone(&self) -> SearchInput
fn clone(&self) -> SearchInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchInput
impl Debug for SearchInput
source§impl PartialEq<SearchInput> for SearchInput
impl PartialEq<SearchInput> for SearchInput
source§fn eq(&self, other: &SearchInput) -> bool
fn eq(&self, other: &SearchInput) -> bool
self
and other
values to be equal, and is used
by ==
.