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)

1904
1905
1906
1907
1908
1909
1910
1911
1912
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1904

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)

1904
1905
1906
1907
1908
1909
1910
1911
1912
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1904

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

1904
1905
1906
1907
1908
1909
1910
1911
1912
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1904

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.


1904
1905
1906
1907
1908
1909
1910
1911
1912
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1904

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)

1904
1905
1906
1907
1908
1909
1910
1911
1912
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1904

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