Class: Aws::CloudWatchLogs::Types::TriggerHistoryRecord

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb

Overview

A record of a scheduled query execution, including its status and destination processing information.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destinationsArray<Types::ScheduledQueryDestination>

The list of destinations where the scheduled query results were delivered for this execution. This includes S3 buckets configured for the scheduled query.



8717
8718
8719
8720
8721
8722
8723
8724
8725
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 8717

class TriggerHistoryRecord < Struct.new(
  :query_id,
  :execution_status,
  :triggered_timestamp,
  :error_message,
  :destinations)
  SENSITIVE = []
  include Aws::Structure
end

#error_messageString

The error message if the scheduled query execution failed. This field is only populated when the execution status indicates a failure.

Returns:

  • (String)


8717
8718
8719
8720
8721
8722
8723
8724
8725
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 8717

class TriggerHistoryRecord < Struct.new(
  :query_id,
  :execution_status,
  :triggered_timestamp,
  :error_message,
  :destinations)
  SENSITIVE = []
  include Aws::Structure
end

#execution_statusString

The status of the query execution (Running, Complete, Failed, Timeout, or InvalidQuery).

Returns:

  • (String)


8717
8718
8719
8720
8721
8722
8723
8724
8725
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 8717

class TriggerHistoryRecord < Struct.new(
  :query_id,
  :execution_status,
  :triggered_timestamp,
  :error_message,
  :destinations)
  SENSITIVE = []
  include Aws::Structure
end

#query_idString

The unique identifier for the query execution.

Returns:

  • (String)


8717
8718
8719
8720
8721
8722
8723
8724
8725
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 8717

class TriggerHistoryRecord < Struct.new(
  :query_id,
  :execution_status,
  :triggered_timestamp,
  :error_message,
  :destinations)
  SENSITIVE = []
  include Aws::Structure
end

#triggered_timestampInteger

The time when the scheduled query was triggered, in Unix epoch time.

Returns:

  • (Integer)


8717
8718
8719
8720
8721
8722
8723
8724
8725
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 8717

class TriggerHistoryRecord < Struct.new(
  :query_id,
  :execution_status,
  :triggered_timestamp,
  :error_message,
  :destinations)
  SENSITIVE = []
  include Aws::Structure
end