Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns the number of entities that are affected by each of the specified events. If no events are specified, the counts of all affected entities are returned.
- describeEntityAggregates :: DescribeEntityAggregates
- data DescribeEntityAggregates
- deaEventARNs :: Lens' DescribeEntityAggregates (Maybe (NonEmpty Text))
- describeEntityAggregatesResponse :: Int -> DescribeEntityAggregatesResponse
- data DescribeEntityAggregatesResponse
- dearsEntityAggregates :: Lens' DescribeEntityAggregatesResponse [EntityAggregate]
- dearsResponseStatus :: Lens' DescribeEntityAggregatesResponse Int
Creating a Request
describeEntityAggregates :: DescribeEntityAggregates Source #
Creates a value of DescribeEntityAggregates
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
deaEventARNs
- A list of event ARNs (unique identifiers). For example:"arn:aws:health:us-east-1::eventAWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::eventAWS_EBS_LOST_VOLUME_xyz"
data DescribeEntityAggregates Source #
See: describeEntityAggregates
smart constructor.
Request Lenses
deaEventARNs :: Lens' DescribeEntityAggregates (Maybe (NonEmpty Text)) Source #
A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::eventAWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::eventAWS_EBS_LOST_VOLUME_xyz"
Destructuring the Response
describeEntityAggregatesResponse Source #
Creates a value of DescribeEntityAggregatesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dearsEntityAggregates
- The number of entities that are affected by each of the specified events.dearsResponseStatus
- -- | The response status code.
data DescribeEntityAggregatesResponse Source #
See: describeEntityAggregatesResponse
smart constructor.
Response Lenses
dearsEntityAggregates :: Lens' DescribeEntityAggregatesResponse [EntityAggregate] Source #
The number of entities that are affected by each of the specified events.
dearsResponseStatus :: Lens' DescribeEntityAggregatesResponse Int Source #
- - | The response status code.