Struct aws_sdk_sagemaker::operation::search::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>,
pub cross_account_filter_option: Option<CrossAccountFilterOption>,
}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 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.
cross_account_filter_option: Option<CrossAccountFilterOption> A cross account filter option. When the value is "CrossAccount" the search results will only include resources made discoverable to you from other accounts. When the value is "SameAccount" or null the search results will only include resources from your account. Default is null. For more information on searching for resources made discoverable to your account, see Search discoverable resources in the SageMaker Developer Guide. The maximum number of ResourceCatalogs viewable is 1000.
Implementations§
source§impl SearchInput
impl SearchInput
sourcepub fn resource(&self) -> Option<&ResourceType>
pub fn resource(&self) -> Option<&ResourceType>
The name of the 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.
sourcepub fn cross_account_filter_option(&self) -> Option<&CrossAccountFilterOption>
pub fn cross_account_filter_option(&self) -> Option<&CrossAccountFilterOption>
A cross account filter option. When the value is "CrossAccount" the search results will only include resources made discoverable to you from other accounts. When the value is "SameAccount" or null the search results will only include resources from your account. Default is null. For more information on searching for resources made discoverable to your account, see Search discoverable resources in the SageMaker Developer Guide. The maximum number of ResourceCatalogs viewable is 1000.
source§impl SearchInput
impl SearchInput
sourcepub fn builder() -> SearchInputBuilder
pub fn builder() -> SearchInputBuilder
Creates a new builder-style object to manufacture SearchInput.
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 for SearchInput
impl PartialEq 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 ==.