AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudTrail.AmazonCloudTrailRequest
      Amazon.CloudTrail.Model.ListQueriesRequest

Namespace: Amazon.CloudTrail.Model
Assembly: AWSSDK.CloudTrail.dll
Version: 3.x.y.z

Syntax

C#
public class ListQueriesRequest : AmazonCloudTrailRequest
         IAmazonWebServiceRequest

The ListQueriesRequest type exposes the following members

Constructors

NameDescription
Public Method ListQueriesRequest()

Properties

NameTypeDescription
Public Property EndTime System.DateTime

Gets and sets the property EndTime.

Use with StartTime to bound a ListQueries request, and limit its results to only those queries run within a specified time period.

Public Property 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.

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of queries to show on a page.

Public Property NextToken System.String

Gets and sets the property NextToken.

A token you can use to get the next page of results.

Public Property QueryStatus Amazon.CloudTrail.QueryStatus

Gets and sets the property QueryStatus.

The status of queries that you want to return in results. Valid values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED.

Public Property StartTime System.DateTime

Gets and sets the property StartTime.

Use with EndTime to bound a ListQueries request, and limit its results to only those queries run within a specified time period.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5