Class: Aws::CloudTrail::Types::QueryStatisticsForDescribeQuery

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudtrail/types.rb

Overview

Gets metadata about a query, including the number of events that were matched, the total number of events scanned, the query run time in milliseconds, and the query’s creation time.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bytes_scannedInteger

The total bytes that the query scanned in the event data store. This value matches the number of bytes for which your account is billed for the query, unless the query is still running.

Returns:

  • (Integer)


4477
4478
4479
4480
4481
4482
4483
4484
4485
# File 'lib/aws-sdk-cloudtrail/types.rb', line 4477

class QueryStatisticsForDescribeQuery < Struct.new(
  :events_matched,
  :events_scanned,
  :bytes_scanned,
  :execution_time_in_millis,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#creation_timeTime

The creation time of the query.

Returns:

  • (Time)


4477
4478
4479
4480
4481
4482
4483
4484
4485
# File 'lib/aws-sdk-cloudtrail/types.rb', line 4477

class QueryStatisticsForDescribeQuery < Struct.new(
  :events_matched,
  :events_scanned,
  :bytes_scanned,
  :execution_time_in_millis,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#events_matchedInteger

The number of events that matched a query.

Returns:

  • (Integer)


4477
4478
4479
4480
4481
4482
4483
4484
4485
# File 'lib/aws-sdk-cloudtrail/types.rb', line 4477

class QueryStatisticsForDescribeQuery < Struct.new(
  :events_matched,
  :events_scanned,
  :bytes_scanned,
  :execution_time_in_millis,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#events_scannedInteger

The number of events that the query scanned in the event data store.

Returns:

  • (Integer)


4477
4478
4479
4480
4481
4482
4483
4484
4485
# File 'lib/aws-sdk-cloudtrail/types.rb', line 4477

class QueryStatisticsForDescribeQuery < Struct.new(
  :events_matched,
  :events_scanned,
  :bytes_scanned,
  :execution_time_in_millis,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#execution_time_in_millisInteger

The query’s run time, in milliseconds.

Returns:

  • (Integer)


4477
4478
4479
4480
4481
4482
4483
4484
4485
# File 'lib/aws-sdk-cloudtrail/types.rb', line 4477

class QueryStatisticsForDescribeQuery < Struct.new(
  :events_matched,
  :events_scanned,
  :bytes_scanned,
  :execution_time_in_millis,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end