Struct aws_sdk_sagemaker::input::SearchInput [−][src]
#[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
pub 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
>
Creates a new builder-style object to manufacture SearchInput
The name of the Amazon SageMaker resource to search for.
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.
The name of the resource property used to sort the SearchResults
. The
default is LastModifiedTime
.
How SearchResults
are ordered. Valid values are Ascending
or
Descending
. The default is Descending
.
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.
The maximum number of results to return.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more