amazonka-health-2.0: Amazon Health APIs and Notifications SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON 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 #

Read EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

Show EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

NFData EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

Methods

rnf :: EventFilter -> () #

Eq EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

Hashable 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" "amazonka-health-2.0-97kQZARXu4I8k4sVSmOp5K" 'False) (C1 ('MetaCons "EventFilter'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "availabilityZones") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "endTimes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DateTimeRange))) :*: 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 "eventArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "eventStatusCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty EventStatusCode)))))) :*: ((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 "lastUpdatedTimes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DateTimeRange))))) :*: ((S1 ('MetaSel ('Just "regions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "services") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "startTimes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DateTimeRange))) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HashMap Text Text])))))))

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:availabilityZones:EventFilter', eventFilter_availabilityZones - A list of Amazon Web Services Availability Zones.

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

$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: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:eventStatusCodes:EventFilter', eventFilter_eventStatusCodes - A list of event status codes.

$sel:eventTypeCategories:EventFilter', eventFilter_eventTypeCategories - A list of event type category codes. Possible values are issue, accountNotification, or scheduledChange. Currently, the investigation value isn't supported at this time.

$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:lastUpdatedTimes:EventFilter', eventFilter_lastUpdatedTimes - A list of dates and times that the event was last updated.

$sel:regions:EventFilter', eventFilter_regions - A list of Amazon Web Services Regions.

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

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

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

Currently, the tags property isn't supported.

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

A list of Amazon Web Services Availability Zones.

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

A list of dates and times that the event ended.

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_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. Possible values are issue, accountNotification, or scheduledChange. Currently, the investigation value isn't supported at this time.

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_lastUpdatedTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange)) Source #

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

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

A list of Amazon Web Services Regions.

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

The Amazon Web Services services associated with the event. For example, EC2, RDS.

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

A list of dates and times that the event began.

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.