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

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)


2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 2392

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)


2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 2392

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>>>)


2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 2392

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.



2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 2392

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)


2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 2392

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