SearchRequest
¶
Source code in docs_src/capo_sagemaker/types/search_request.py
cross_account_filter_option
instance-attribute
¶
cross_account_filter_option: NotRequired[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.
max_results
instance-attribute
¶
max_results: NotRequired[MaxResults]
The maximum number of results to return.
next_token
instance-attribute
¶
next_token: NotRequired[NextToken]
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
instance-attribute
¶
resource: NotRequired[ResourceType]
The name of the SageMaker resource to search for.
search_expression
instance-attribute
¶
search_expression: NotRequired[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
instance-attribute
¶
sort_by: NotRequired[ResourcePropertyName]
The name of the resource property used to sort the SearchResults. The default is LastModifiedTime.
sort_order
instance-attribute
¶
sort_order: NotRequired[SearchSortOrder]
How SearchResults are ordered. Valid values are Ascending or Descending. The default is Descending.
visibility_conditions
instance-attribute
¶
visibility_conditions: NotRequired[VisibilityConditionsList]
Limits the results of your search request to the resources that you can access.