Struct aws_sdk_cloudwatchlogs::client::fluent_builders::GetQueryResults [−][src]
pub struct GetQueryResults<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to GetQueryResults
.
Returns the results from the specified query.
Only the fields requested in the query are returned, along with a @ptr
field, which is the identifier for the log record. You can use the value of @ptr
in a GetLogRecord
operation to get the full log record.
GetQueryResults
does not start a query execution. To run a query, use StartQuery.
If the value of the Status
field in the output is Running
, this operation
returns only partial results. If you see a value of Scheduled
or Running
for the status,
you can retry the operation later to see the final results.
Implementations
impl<C, M, R> GetQueryResults<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetQueryResults<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetQueryResultsOutput, SdkError<GetQueryResultsError>> where
R::Policy: SmithyRetryPolicy<GetQueryResultsInputOperationOutputAlias, GetQueryResultsOutput, GetQueryResultsError, GetQueryResultsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetQueryResultsOutput, SdkError<GetQueryResultsError>> where
R::Policy: SmithyRetryPolicy<GetQueryResultsInputOperationOutputAlias, GetQueryResultsOutput, GetQueryResultsError, GetQueryResultsInputOperationRetryAlias>,
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 number of the query.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for GetQueryResults<C, M, R>
impl<C, M, R> Send for GetQueryResults<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for GetQueryResults<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for GetQueryResults<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for GetQueryResults<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