AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the ListQueries operation.
Returns a list of queries and query statuses for the past seven days. You must specify
an ARN value for EventDataStore
. Optionally, to shorten the list of results,
you can specify a time range, formatted as timestamps, by adding StartTime
and EndTime
parameters, and a QueryStatus
value. Valid values for QueryStatus
include QUEUED
, RUNNING
, FINISHED
, FAILED
, TIMED_OUT
,
or CANCELLED
.
Namespace: Amazon.CloudTrail.Model
Assembly: AWSSDK.CloudTrail.dll
Version: 3.x.y.z
public class ListQueriesRequest : AmazonCloudTrailRequest IAmazonWebServiceRequest
The ListQueriesRequest type exposes the following members
Name | Description | |
---|---|---|
ListQueriesRequest() |
Name | Type | Description | |
---|---|---|---|
EndTime | System.DateTime |
Gets and sets the property EndTime.
Use with |
|
EventDataStore | System.String |
Gets and sets the property EventDataStore. The ARN (or the ID suffix of the ARN) of an event data store on which queries were run. |
|
MaxResults | System.Int32 |
Gets and sets the property MaxResults. The maximum number of queries to show on a page. |
|
NextToken | System.String |
Gets and sets the property NextToken. A token you can use to get the next page of results. |
|
QueryStatus | Amazon.CloudTrail.QueryStatus |
Gets and sets the property QueryStatus.
The status of queries that you want to return in results. Valid values for |
|
StartTime | System.DateTime |
Gets and sets the property StartTime.
Use with |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5