Copyright | (c) 2013-2021 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 |
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.
Synopsis
- data DescribeEntityAggregates = DescribeEntityAggregates' {}
- newDescribeEntityAggregates :: DescribeEntityAggregates
- describeEntityAggregates_eventArns :: Lens' DescribeEntityAggregates (Maybe (NonEmpty Text))
- data DescribeEntityAggregatesResponse = DescribeEntityAggregatesResponse' {}
- newDescribeEntityAggregatesResponse :: Int -> DescribeEntityAggregatesResponse
- describeEntityAggregatesResponse_entityAggregates :: Lens' DescribeEntityAggregatesResponse (Maybe [EntityAggregate])
- describeEntityAggregatesResponse_httpStatus :: Lens' DescribeEntityAggregatesResponse Int
Creating a Request
data DescribeEntityAggregates Source #
See: newDescribeEntityAggregates
smart constructor.
DescribeEntityAggregates' | |
|
Instances
newDescribeEntityAggregates :: DescribeEntityAggregates Source #
Create a value of DescribeEntityAggregates
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:eventArns:DescribeEntityAggregates'
, describeEntityAggregates_eventArns
- A list of event ARNs (unique identifiers). For example:
"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"
Request Lenses
describeEntityAggregates_eventArns :: Lens' DescribeEntityAggregates (Maybe (NonEmpty Text)) Source #
A list of event ARNs (unique identifiers). For example:
"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"
Destructuring the Response
data DescribeEntityAggregatesResponse Source #
See: newDescribeEntityAggregatesResponse
smart constructor.
DescribeEntityAggregatesResponse' | |
|
Instances
Eq DescribeEntityAggregatesResponse Source # | |
Read DescribeEntityAggregatesResponse Source # | |
Show DescribeEntityAggregatesResponse Source # | |
Generic DescribeEntityAggregatesResponse Source # | |
NFData DescribeEntityAggregatesResponse Source # | |
Defined in Amazonka.AWSHealth.DescribeEntityAggregates rnf :: DescribeEntityAggregatesResponse -> () # | |
type Rep DescribeEntityAggregatesResponse Source # | |
Defined in Amazonka.AWSHealth.DescribeEntityAggregates type Rep DescribeEntityAggregatesResponse = D1 ('MetaData "DescribeEntityAggregatesResponse" "Amazonka.AWSHealth.DescribeEntityAggregates" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "DescribeEntityAggregatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "entityAggregates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EntityAggregate])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeEntityAggregatesResponse Source #
Create a value of DescribeEntityAggregatesResponse
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:entityAggregates:DescribeEntityAggregatesResponse'
, describeEntityAggregatesResponse_entityAggregates
- The number of entities that are affected by each of the specified
events.
$sel:httpStatus:DescribeEntityAggregatesResponse'
, describeEntityAggregatesResponse_httpStatus
- The response's http status code.
Response Lenses
describeEntityAggregatesResponse_entityAggregates :: Lens' DescribeEntityAggregatesResponse (Maybe [EntityAggregate]) Source #
The number of entities that are affected by each of the specified events.
describeEntityAggregatesResponse_httpStatus :: Lens' DescribeEntityAggregatesResponse Int Source #
The response's http status code.