Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
data EntityAggregate Source #
The number of entities that are affected by one or more events. Returned by the DescribeEntityAggregates operation.
See: newEntityAggregate
smart constructor.
EntityAggregate' | |
|
Instances
newEntityAggregate :: EntityAggregate Source #
Create a value of EntityAggregate
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:count:EntityAggregate'
, entityAggregate_count
- The number of entities that match the criteria for the specified events.
$sel:eventArn:EntityAggregate'
, entityAggregate_eventArn
- 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
entityAggregate_count :: Lens' EntityAggregate (Maybe Int) Source #
The number of entities that match the criteria for the specified events.
entityAggregate_eventArn :: Lens' EntityAggregate (Maybe Text) Source #
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