pub struct SearchEntities<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to SearchEntities
.
Searches for entities of the specified type. You can search for entities in your namespace and the public namespace that you're tracking.
Implementations
impl<C, M, R> SearchEntities<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> SearchEntities<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<SearchEntitiesOutput, SdkError<SearchEntitiesError>> where
R::Policy: SmithyRetryPolicy<SearchEntitiesInputOperationOutputAlias, SearchEntitiesOutput, SearchEntitiesError, SearchEntitiesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<SearchEntitiesOutput, SdkError<SearchEntitiesError>> where
R::Policy: SmithyRetryPolicy<SearchEntitiesInputOperationOutputAlias, SearchEntitiesOutput, SearchEntitiesError, SearchEntitiesInputOperationRetryAlias>,
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
.
Appends an item to entityTypes
.
To override the contents of this collection use set_entity_types
.
The entity types for which to search.
The entity types for which to search.
Appends an item to filters
.
To override the contents of this collection use set_filters
.
Optional filter to apply to the search. Valid filters are NAME
NAMESPACE
, SEMANTIC_TYPE_PATH
and REFERENCED_ENTITY_ID
. REFERENCED_ENTITY_ID
filters on entities that are used by the entity in the result set. For example, you can filter on the ID of a property that is used in a state.
Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.
Optional filter to apply to the search. Valid filters are NAME
NAMESPACE
, SEMANTIC_TYPE_PATH
and REFERENCED_ENTITY_ID
. REFERENCED_ENTITY_ID
filters on entities that are used by the entity in the result set. For example, you can filter on the ID of a property that is used in a state.
Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.
The string that specifies the next page of results. Use this when you're paginating results.
The string that specifies the next page of results. Use this when you're paginating results.
The maximum number of results to return in the response.
The maximum number of results to return in the response.
The version of the user's namespace. Defaults to the latest version of the user's namespace.
The version of the user's namespace. Defaults to the latest version of the user's namespace.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for SearchEntities<C, M, R>
impl<C, M, R> Send for SearchEntities<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for SearchEntities<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for SearchEntities<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for SearchEntities<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