Struct aws_sdk_cloudtrail::input::ListQueriesInput
source · [−]#[non_exhaustive]pub struct ListQueriesInput {
pub event_data_store: Option<String>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub query_status: Option<QueryStatus>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.event_data_store: Option<String>
The ARN (or the ID suffix of the ARN) of an event data store on which queries were run.
next_token: Option<String>
A token you can use to get the next page of results.
max_results: Option<i32>
The maximum number of queries to show on a page.
start_time: Option<DateTime>
Use with EndTime
to bound a ListQueries
request, and limit its results to only those queries run within a specified time period.
end_time: Option<DateTime>
Use with StartTime
to bound a ListQueries
request, and limit its results to only those queries run within a specified time period.
query_status: Option<QueryStatus>
The status of queries that you want to return in results. Valid values for QueryStatus
include QUEUED
, RUNNING
, FINISHED
, FAILED
, or CANCELLED
.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListQueries, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListQueries, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListQueries
>
Creates a new builder-style object to manufacture ListQueriesInput
The ARN (or the ID suffix of the ARN) of an event data store on which queries were run.
A token you can use to get the next page of results.
The maximum number of queries to show on a page.
Use with EndTime
to bound a ListQueries
request, and limit its results to only those queries run within a specified time period.
Use with StartTime
to bound a ListQueries
request, and limit its results to only those queries run within a specified time period.
The status of queries that you want to return in results. Valid values for QueryStatus
include QUEUED
, RUNNING
, FINISHED
, FAILED
, or CANCELLED
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ListQueriesInput
impl Send for ListQueriesInput
impl Sync for ListQueriesInput
impl Unpin for ListQueriesInput
impl UnwindSafe for ListQueriesInput
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