Class: Aws::CloudTrail::Types::GetQueryResultsResponse

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


2596
2597
2598
2599
2600
2601
2602
2603
2604
# File 'lib/aws-sdk-cloudtrail/types.rb', line 2596

class GetQueryResultsResponse < Struct.new(
  :query_status,
  :query_statistics,
  :query_result_rows,
  :next_token,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

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

Returns:

  • (String)


2596
2597
2598
2599
2600
2601
2602
2603
2604
# File 'lib/aws-sdk-cloudtrail/types.rb', line 2596

class GetQueryResultsResponse < Struct.new(
  :query_status,
  :query_statistics,
  :query_result_rows,
  :next_token,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#query_result_rowsArray<Array<Hash<String,String>>>

Contains the individual event results of the query.

Returns:

  • (Array<Array<Hash<String,String>>>)


2596
2597
2598
2599
2600
2601
2602
2603
2604
# File 'lib/aws-sdk-cloudtrail/types.rb', line 2596

class GetQueryResultsResponse < Struct.new(
  :query_status,
  :query_statistics,
  :query_result_rows,
  :next_token,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#query_statisticsTypes::QueryStatistics

Shows the count of query results.



2596
2597
2598
2599
2600
2601
2602
2603
2604
# File 'lib/aws-sdk-cloudtrail/types.rb', line 2596

class GetQueryResultsResponse < Struct.new(
  :query_status,
  :query_statistics,
  :query_result_rows,
  :next_token,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#query_statusString

The status of the query. Values include ‘QUEUED`, `RUNNING`, `FINISHED`, `FAILED`, `TIMED_OUT`, or `CANCELLED`.

Returns:

  • (String)


2596
2597
2598
2599
2600
2601
2602
2603
2604
# File 'lib/aws-sdk-cloudtrail/types.rb', line 2596

class GetQueryResultsResponse < Struct.new(
  :query_status,
  :query_statistics,
  :query_result_rows,
  :next_token,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end