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

#error_messageString

The error message returned if a query failed.

Returns:

  • (String)


1092
1093
1094
1095
1096
1097
1098
1099
1100
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1092

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

#query_idString

The ID of the query.

Returns:

  • (String)


1092
1093
1094
1095
1096
1097
1098
1099
1100
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1092

class DescribeQueryResponse < Struct.new(
  :query_id,
  :query_string,
  :query_status,
  :query_statistics,
  :error_message)
  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.



1092
1093
1094
1095
1096
1097
1098
1099
1100
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1092

class DescribeQueryResponse < Struct.new(
  :query_id,
  :query_string,
  :query_status,
  :query_statistics,
  :error_message)
  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)


1092
1093
1094
1095
1096
1097
1098
1099
1100
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1092

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

#query_stringString

The SQL code of a query.

Returns:

  • (String)


1092
1093
1094
1095
1096
1097
1098
1099
1100
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1092

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