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)


1697
1698
1699
1700
1701
1702
1703
1704
1705
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1697

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)


1697
1698
1699
1700
1701
1702
1703
1704
1705
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1697

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


1697
1698
1699
1700
1701
1702
1703
1704
1705
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1697

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.



1697
1698
1699
1700
1701
1702
1703
1704
1705
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1697

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)


1697
1698
1699
1700
1701
1702
1703
1704
1705
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1697

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