Class: Aws::CloudTrail::Types::DescribeQueryResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#delivery_s3_uriString

The URI for the S3 bucket where CloudTrail delivered query results, if applicable.

Returns:

  • (String)


1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1591

class DescribeQueryResponse < Struct.new(
  :query_id,
  :query_string,
  :query_status,
  :query_statistics,
  :error_message,
  :delivery_s3_uri,
  :delivery_status,
  :prompt,
  :event_data_store_owner_account_id)
  SENSITIVE = []
  include Aws::Structure
end

#delivery_statusString

The delivery status.

Returns:

  • (String)


1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1591

class DescribeQueryResponse < Struct.new(
  :query_id,
  :query_string,
  :query_status,
  :query_statistics,
  :error_message,
  :delivery_s3_uri,
  :delivery_status,
  :prompt,
  :event_data_store_owner_account_id)
  SENSITIVE = []
  include Aws::Structure
end

#error_messageString

The error message returned if a query failed.

Returns:

  • (String)


1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1591

class DescribeQueryResponse < Struct.new(
  :query_id,
  :query_string,
  :query_status,
  :query_statistics,
  :error_message,
  :delivery_s3_uri,
  :delivery_status,
  :prompt,
  :event_data_store_owner_account_id)
  SENSITIVE = []
  include Aws::Structure
end

#event_data_store_owner_account_idString

The account ID of the event data store owner.

Returns:

  • (String)


1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1591

class DescribeQueryResponse < Struct.new(
  :query_id,
  :query_string,
  :query_status,
  :query_statistics,
  :error_message,
  :delivery_s3_uri,
  :delivery_status,
  :prompt,
  :event_data_store_owner_account_id)
  SENSITIVE = []
  include Aws::Structure
end

#promptString

The prompt used for a generated query. For information about generated queries, see Create CloudTrail Lake queries from natural language prompts in the CloudTrail user guide.

Returns:

  • (String)


1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1591

class DescribeQueryResponse < Struct.new(
  :query_id,
  :query_string,
  :query_status,
  :query_statistics,
  :error_message,
  :delivery_s3_uri,
  :delivery_status,
  :prompt,
  :event_data_store_owner_account_id)
  SENSITIVE = []
  include Aws::Structure
end

#query_idString

The ID of the query.

Returns:

  • (String)


1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1591

class DescribeQueryResponse < Struct.new(
  :query_id,
  :query_string,
  :query_status,
  :query_statistics,
  :error_message,
  :delivery_s3_uri,
  :delivery_status,
  :prompt,
  :event_data_store_owner_account_id)
  SENSITIVE = []
  include Aws::Structure
end

#query_statisticsTypes::QueryStatisticsForDescribeQuery

Metadata about a query, including the number of events that were matched, the total number of events scanned, the query run time in milliseconds, and the query's creation time.



1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1591

class DescribeQueryResponse < Struct.new(
  :query_id,
  :query_string,
  :query_status,
  :query_statistics,
  :error_message,
  :delivery_s3_uri,
  :delivery_status,
  :prompt,
  :event_data_store_owner_account_id)
  SENSITIVE = []
  include Aws::Structure
end

#query_statusString

The status of a query. Values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED

Returns:

  • (String)


1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1591

class DescribeQueryResponse < Struct.new(
  :query_id,
  :query_string,
  :query_status,
  :query_statistics,
  :error_message,
  :delivery_s3_uri,
  :delivery_status,
  :prompt,
  :event_data_store_owner_account_id)
  SENSITIVE = []
  include Aws::Structure
end

#query_stringString

The SQL code of a query.

Returns:

  • (String)


1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1591

class DescribeQueryResponse < Struct.new(
  :query_id,
  :query_string,
  :query_status,
  :query_statistics,
  :error_message,
  :delivery_s3_uri,
  :delivery_status,
  :prompt,
  :event_data_store_owner_account_id)
  SENSITIVE = []
  include Aws::Structure
end