Struct aws_sdk_sagemaker::client::fluent_builders::Search
source ·
[−]pub struct Search<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to Search
.
Finds Amazon SageMaker resources that match a search query. Matching resources are returned as a list of SearchRecord
objects in the response. You can sort the search results by any resource property in a ascending or descending order.
You can query against the following value types: numeric, text, Boolean, and timestamp.
Implementations
impl<C, M, R> Search<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Search<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<SearchOutput, SdkError<SearchError>> where
R::Policy: SmithyRetryPolicy<SearchInputOperationOutputAlias, SearchOutput, SearchError, SearchInputOperationRetryAlias>,
pub async fn send(self) -> Result<SearchOutput, SdkError<SearchError>> where
R::Policy: SmithyRetryPolicy<SearchInputOperationOutputAlias, SearchOutput, SearchError, SearchInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
The name of the Amazon SageMaker resource to search for.
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.
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
.
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
.
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.
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.
The maximum number of results to return.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Search<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Search<C, M, R>
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