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)


2354
2355
2356
2357
2358
2359
2360
2361
2362
# File 'lib/aws-sdk-cloudtrail/types.rb', line 2354

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)


2354
2355
2356
2357
2358
2359
2360
2361
2362
# File 'lib/aws-sdk-cloudtrail/types.rb', line 2354

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


2354
2355
2356
2357
2358
2359
2360
2361
2362
# File 'lib/aws-sdk-cloudtrail/types.rb', line 2354

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.



2354
2355
2356
2357
2358
2359
2360
2361
2362
# File 'lib/aws-sdk-cloudtrail/types.rb', line 2354

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)


2354
2355
2356
2357
2358
2359
2360
2361
2362
# File 'lib/aws-sdk-cloudtrail/types.rb', line 2354

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