libZSservicesZSamazonka-healthZSamazonka-health
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AWSHealth.DescribeEntityAggregates

Description

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

Creating a Request

data DescribeEntityAggregates Source #

See: newDescribeEntityAggregates smart constructor.

Constructors

DescribeEntityAggregates' 

Fields

  • eventArns :: Maybe (NonEmpty Text)

    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"

Instances

Instances details
Eq DescribeEntityAggregates Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEntityAggregates

Read DescribeEntityAggregates Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEntityAggregates

Show DescribeEntityAggregates Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEntityAggregates

Generic DescribeEntityAggregates Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEntityAggregates

Associated Types

type Rep DescribeEntityAggregates :: Type -> Type #

NFData DescribeEntityAggregates Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEntityAggregates

Hashable DescribeEntityAggregates Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEntityAggregates

ToJSON DescribeEntityAggregates Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEntityAggregates

AWSRequest DescribeEntityAggregates Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEntityAggregates

ToHeaders DescribeEntityAggregates Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEntityAggregates

ToPath DescribeEntityAggregates Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEntityAggregates

ToQuery DescribeEntityAggregates Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEntityAggregates

type Rep DescribeEntityAggregates Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEntityAggregates

type Rep DescribeEntityAggregates = D1 ('MetaData "DescribeEntityAggregates" "Amazonka.AWSHealth.DescribeEntityAggregates" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "DescribeEntityAggregates'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))))
type AWSResponse DescribeEntityAggregates Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEntityAggregates

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.

Constructors

DescribeEntityAggregatesResponse' 

Fields

Instances

Instances details
Eq DescribeEntityAggregatesResponse Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEntityAggregates

Read DescribeEntityAggregatesResponse Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEntityAggregates

Show DescribeEntityAggregatesResponse Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEntityAggregates

Generic DescribeEntityAggregatesResponse Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEntityAggregates

Associated Types

type Rep DescribeEntityAggregatesResponse :: Type -> Type #

NFData DescribeEntityAggregatesResponse Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEntityAggregates

type Rep DescribeEntityAggregatesResponse Source # 
Instance details

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.