Struct aws_sdk_datapipeline::client::fluent_builders::QueryObjects [−][src]
pub struct QueryObjects<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to QueryObjects
.
Queries the specified pipeline for the names of objects that match the specified set of conditions.
POST / HTTP/1.1 Content-Type: application/x-amz-json-1.1 X-Amz-Target: DataPipeline.QueryObjects Content-Length: 123 Host: datapipeline.us-east-1.amazonaws.com X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT Authorization: AuthParams
{“pipelineId”: “df-06372391ZG65EXAMPLE”, “query”: {“selectors”: [ ] }, “sphere”: “INSTANCE”, “marker”: “”, “limit”: 10}
x-amzn-RequestId: 14d704c1-0775-11e2-af6f-6bc7a6be60d9 Content-Type: application/x-amz-json-1.1 Content-Length: 72 Date: Mon, 12 Nov 2012 17:50:53 GMT
{“hasMoreResults”: false, “ids”: [“@SayHello_1_2012-09-25T17:00:00”] }
Implementations
impl<C, M, R> QueryObjects<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> QueryObjects<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<QueryObjectsOutput, SdkError<QueryObjectsError>> where
R::Policy: SmithyRetryPolicy<QueryObjectsInputOperationOutputAlias, QueryObjectsOutput, QueryObjectsError, QueryObjectsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<QueryObjectsOutput, SdkError<QueryObjectsError>> where
R::Policy: SmithyRetryPolicy<QueryObjectsInputOperationOutputAlias, QueryObjectsOutput, QueryObjectsError, QueryObjectsInputOperationRetryAlias>,
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.
The ID of the pipeline.
The ID of the pipeline.
The query that defines the objects to be returned. The Query
object can contain a maximum of ten selectors.
The conditions in the query are limited to top-level String fields in the object.
These filters can be applied to components, instances, and attempts.
The query that defines the objects to be returned. The Query
object can contain a maximum of ten selectors.
The conditions in the query are limited to top-level String fields in the object.
These filters can be applied to components, instances, and attempts.
Indicates whether the query applies to components or instances. The possible values are:
COMPONENT
, INSTANCE
, and ATTEMPT
.
Indicates whether the query applies to components or instances. The possible values are:
COMPONENT
, INSTANCE
, and ATTEMPT
.
The starting point for the results to be returned. For the first call, this value should be empty.
As long as there are more results, continue to call QueryObjects
with
the marker value from the previous call to retrieve the next set of results.
The starting point for the results to be returned. For the first call, this value should be empty.
As long as there are more results, continue to call QueryObjects
with
the marker value from the previous call to retrieve the next set of results.
The maximum number of object names that QueryObjects
will return in a single call. The default value is 100.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for QueryObjects<C, M, R>
impl<C, M, R> Unpin for QueryObjects<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for QueryObjects<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