Class: Aws::Health::Types::EntityAggregate

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

Overview

The number of entities that are affected by one or more events. Returned by the DescribeEntityAggregates operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#countInteger

The number of entities that match the criteria for the specified events.

Returns:

  • (Integer)


788
789
790
791
792
793
794
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 788

class EntityAggregate < Struct.new(
  :event_arn,
  :count,
  :statuses)
  SENSITIVE = []
  include Aws::Structure
end

#event_arnString

The unique identifier for the event. The event ARN has the arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID format.

For example, an event ARN might look like the following:

arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456

Returns:

  • (String)


788
789
790
791
792
793
794
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 788

class EntityAggregate < Struct.new(
  :event_arn,
  :count,
  :statuses)
  SENSITIVE = []
  include Aws::Structure
end

#statusesHash<String,Integer>

The number of affected entities aggregated by the entity status codes.

Returns:

  • (Hash<String,Integer>)


788
789
790
791
792
793
794
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 788

class EntityAggregate < Struct.new(
  :event_arn,
  :count,
  :statuses)
  SENSITIVE = []
  include Aws::Structure
end