pub struct SearchRequest {
pub max_results: Option<i64>,
pub next_token: Option<String>,
pub resource: String,
pub search_expression: Option<SearchExpression>,
pub sort_by: Option<String>,
pub sort_order: Option<String>,
}
Fields§
§max_results: Option<i64>
The maximum number of results to return.
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.
resource: String
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<String>
How SearchResults
are ordered. Valid values are Ascending
or Descending
. The default is Descending
.
Trait Implementations§
Source§impl Clone for SearchRequest
impl Clone for SearchRequest
Source§fn clone(&self) -> SearchRequest
fn clone(&self) -> SearchRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more