Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data EntityFilter = EntityFilter' {
- entityArns :: Maybe (NonEmpty Text)
- entityValues :: Maybe (NonEmpty Text)
- lastUpdatedTimes :: Maybe (NonEmpty DateTimeRange)
- statusCodes :: Maybe (NonEmpty EntityStatusCode)
- tags :: Maybe [HashMap Text Text]
- eventArns :: NonEmpty Text
- newEntityFilter :: NonEmpty Text -> EntityFilter
- entityFilter_entityArns :: Lens' EntityFilter (Maybe (NonEmpty Text))
- entityFilter_entityValues :: Lens' EntityFilter (Maybe (NonEmpty Text))
- entityFilter_lastUpdatedTimes :: Lens' EntityFilter (Maybe (NonEmpty DateTimeRange))
- entityFilter_statusCodes :: Lens' EntityFilter (Maybe (NonEmpty EntityStatusCode))
- entityFilter_tags :: Lens' EntityFilter (Maybe [HashMap Text Text])
- entityFilter_eventArns :: Lens' EntityFilter (NonEmpty Text)
Documentation
data EntityFilter Source #
The values to use to filter results from the DescribeAffectedEntities operation.
See: newEntityFilter
smart constructor.
EntityFilter' | |
|
Instances
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:entityArns:EntityFilter'
, entityFilter_entityArns
- A list of entity ARNs (unique identifiers).
$sel:entityValues:EntityFilter'
, entityFilter_entityValues
- A list of IDs for affected entities.
$sel:lastUpdatedTimes:EntityFilter'
, entityFilter_lastUpdatedTimes
- A list of the most recent dates and times that the entity was updated.
$sel:statusCodes:EntityFilter'
, entityFilter_statusCodes
- A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).
$sel:tags:EntityFilter'
, entityFilter_tags
- A map of entity tags attached to the affected entity.
Currently, the tags
property isn't supported.
$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_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_lastUpdatedTimes :: Lens' EntityFilter (Maybe (NonEmpty DateTimeRange)) Source #
A list of the most recent dates and times that the entity was updated.
entityFilter_statusCodes :: Lens' EntityFilter (Maybe (NonEmpty EntityStatusCode)) Source #
A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).
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_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"