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.EventFilter

Description

 
Synopsis

Documentation

data EventFilter Source #

The values to use to filter results from the DescribeEvents and DescribeEventAggregates operations.

See: newEventFilter smart constructor.

Constructors

EventFilter' 

Fields

Instances

Instances details
Eq EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

Read EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

Show EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

Generic EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

Associated Types

type Rep EventFilter :: Type -> Type #

NFData EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

Methods

rnf :: EventFilter -> () #

Hashable EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

ToJSON EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

type Rep EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

type Rep EventFilter = D1 ('MetaData "EventFilter" "Amazonka.AWSHealth.Types.EventFilter" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "EventFilter'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "eventArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "eventTypeCategories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty EventTypeCategory))) :*: S1 ('MetaSel ('Just "eventTypeCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))))) :*: (S1 ('MetaSel ('Just "regions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "eventStatusCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty EventStatusCode))) :*: S1 ('MetaSel ('Just "endTimes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DateTimeRange)))))) :*: ((S1 ('MetaSel ('Just "availabilityZones") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "entityArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "entityValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))))) :*: ((S1 ('MetaSel ('Just "startTimes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DateTimeRange))) :*: S1 ('MetaSel ('Just "services") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HashMap Text Text])) :*: S1 ('MetaSel ('Just "lastUpdatedTimes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DateTimeRange))))))))

newEventFilter :: EventFilter Source #

Create a value of EventFilter 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:EventFilter', eventFilter_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"

$sel:eventTypeCategories:EventFilter', eventFilter_eventTypeCategories - A list of event type category codes (issue, scheduledChange, or accountNotification).

$sel:eventTypeCodes:EventFilter', eventFilter_eventTypeCodes - A list of unique identifiers for event types. For example, "AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".

$sel:regions:EventFilter', eventFilter_regions - A list of AWS Regions.

$sel:eventStatusCodes:EventFilter', eventFilter_eventStatusCodes - A list of event status codes.

$sel:endTimes:EventFilter', eventFilter_endTimes - A list of dates and times that the event ended.

$sel:availabilityZones:EventFilter', eventFilter_availabilityZones - A list of AWS Availability Zones.

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

$sel:entityValues:EventFilter', eventFilter_entityValues - A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).

$sel:startTimes:EventFilter', eventFilter_startTimes - A list of dates and times that the event began.

$sel:services:EventFilter', eventFilter_services - The AWS services associated with the event. For example, EC2, RDS.

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

Currently, the tags property isn't supported.

$sel:lastUpdatedTimes:EventFilter', eventFilter_lastUpdatedTimes - A list of dates and times that the event was last updated.

eventFilter_eventArns :: Lens' EventFilter (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"

eventFilter_eventTypeCategories :: Lens' EventFilter (Maybe (NonEmpty EventTypeCategory)) Source #

A list of event type category codes (issue, scheduledChange, or accountNotification).

eventFilter_eventTypeCodes :: Lens' EventFilter (Maybe (NonEmpty Text)) Source #

A list of unique identifiers for event types. For example, "AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".

eventFilter_endTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange)) Source #

A list of dates and times that the event ended.

eventFilter_availabilityZones :: Lens' EventFilter (Maybe [Text]) Source #

A list of AWS Availability Zones.

eventFilter_entityArns :: Lens' EventFilter (Maybe (NonEmpty Text)) Source #

A list of entity ARNs (unique identifiers).

eventFilter_entityValues :: Lens' EventFilter (Maybe (NonEmpty Text)) Source #

A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).

eventFilter_startTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange)) Source #

A list of dates and times that the event began.

eventFilter_services :: Lens' EventFilter (Maybe (NonEmpty Text)) Source #

The AWS services associated with the event. For example, EC2, RDS.

eventFilter_tags :: Lens' EventFilter (Maybe [HashMap Text Text]) Source #

A map of entity tags attached to the affected entity.

Currently, the tags property isn't supported.

eventFilter_lastUpdatedTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange)) Source #

A list of dates and times that the event was last updated.