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 StartQuery operation. Starts a CloudTrail Lake query. Use the QueryStatement parameter to provide your SQL query, enclosed in single quotation marks. Use the optional DeliveryS3Uri parameter to deliver the query results to an S3 bucket.

StartQuery requires you specify either the QueryStatement parameter, or a QueryAlias and any QueryParameters. In the current release, the QueryAlias and QueryParameters parameters are used only for the queries that populate the CloudTrail Lake dashboards.

Inheritance Hierarchy

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

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

Syntax

C#
public class StartQueryRequest : AmazonCloudTrailRequest
         IAmazonWebServiceRequest

The StartQueryRequest type exposes the following members

Constructors

NameDescription
Public Method StartQueryRequest()

Properties

NameTypeDescription
Public Property DeliveryS3Uri System.String

Gets and sets the property DeliveryS3Uri.

The URI for the S3 bucket where CloudTrail delivers the query results.

Public Property QueryAlias System.String

Gets and sets the property QueryAlias.

The alias that identifies a query template.

Public Property QueryParameters System.Collections.Generic.List<System.String>

Gets and sets the property QueryParameters.

The query parameters for the specified QueryAlias.

Public Property QueryStatement System.String

Gets and sets the property QueryStatement.

The SQL code of your query.

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