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.Types.EntityFilter

Description

 
Synopsis

Documentation

data EntityFilter Source #

The values to use to filter results from the EntityFilter operation.

See: newEntityFilter smart constructor.

Constructors

EntityFilter' 

Fields

Instances

Instances details
Eq EntityFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityFilter

Read EntityFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityFilter

Show EntityFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityFilter

Generic EntityFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityFilter

Associated Types

type Rep EntityFilter :: Type -> Type #

NFData EntityFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityFilter

Methods

rnf :: EntityFilter -> () #

Hashable EntityFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityFilter

ToJSON EntityFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityFilter

type Rep EntityFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityFilter

newEntityFilter Source #

Create a value of EntityFilter 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:statusCodes:EntityFilter', entityFilter_statusCodes - A list of entity status codes (IMPAIRED, UNIMPAIRED, or UNKNOWN).

$sel:entityArns:EntityFilter', entityFilter_entityArns - A list of entity ARNs (unique identifiers).

$sel:entityValues:EntityFilter', entityFilter_entityValues - A list of IDs for affected entities.

$sel:tags:EntityFilter', entityFilter_tags - A map of entity tags attached to the affected entity.

Currently, the tags property isn't supported.

$sel:lastUpdatedTimes:EntityFilter', entityFilter_lastUpdatedTimes - A list of the most recent dates and times that the entity was updated.

$sel:eventArns:EntityFilter', entityFilter_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"

entityFilter_statusCodes :: Lens' EntityFilter (Maybe (NonEmpty EntityStatusCode)) Source #

A list of entity status codes (IMPAIRED, UNIMPAIRED, or UNKNOWN).

entityFilter_entityArns :: Lens' EntityFilter (Maybe (NonEmpty Text)) Source #

A list of entity ARNs (unique identifiers).

entityFilter_entityValues :: Lens' EntityFilter (Maybe (NonEmpty Text)) Source #

A list of IDs for affected entities.

entityFilter_tags :: Lens' EntityFilter (Maybe [HashMap Text Text]) Source #

A map of entity tags attached to the affected entity.

Currently, the tags property isn't supported.

entityFilter_lastUpdatedTimes :: Lens' EntityFilter (Maybe (NonEmpty DateTimeRange)) Source #

A list of the most recent dates and times that the entity was updated.

entityFilter_eventArns :: Lens' EntityFilter (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"