You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Health::Types::EventFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::Health::Types::EventFilter
- Defined in:
- (unknown)
Overview
When passing EventFilter as input to an Aws::Client method, you can use a vanilla Hash:
{
event_arns: ["eventArn"],
event_type_codes: ["eventType"],
services: ["service"],
regions: ["region"],
availability_zones: ["availabilityZone"],
start_times: [
{
from: Time.now,
to: Time.now,
},
],
end_times: [
{
from: Time.now,
to: Time.now,
},
],
last_updated_times: [
{
from: Time.now,
to: Time.now,
},
],
entity_arns: ["entityArn"],
entity_values: ["entityValue"],
event_type_categories: ["issue"], # accepts issue, accountNotification, scheduledChange, investigation
tags: [
{
"tagKey" => "tagValue",
},
],
event_status_codes: ["open"], # accepts open, closed, upcoming
}
The values to use to filter results from the DescribeEvents and DescribeEventAggregates operations.
Returned by:
Instance Attribute Summary collapse
-
#availability_zones ⇒ Array<String>
A list of AWS availability zones.
-
#end_times ⇒ Array<Types::DateTimeRange>
A list of dates and times that the event ended.
-
#entity_arns ⇒ Array<String>
A list of entity ARNs (unique identifiers).
-
#entity_values ⇒ Array<String>
A list of entity identifiers, such as EC2 instance IDs (
i-34ab692e
) or EBS volumes (vol-426ab23e
). -
#event_arns ⇒ Array<String>
A list of event ARNs (unique identifiers).
-
#event_status_codes ⇒ Array<String>
A list of event status codes.
-
#event_type_categories ⇒ Array<String>
A list of event type category codes (
issue
,scheduledChange
, oraccountNotification
). -
#event_type_codes ⇒ Array<String>
A list of unique identifiers for event types.
-
#last_updated_times ⇒ Array<Types::DateTimeRange>
A list of dates and times that the event was last updated.
-
#regions ⇒ Array<String>
A list of AWS regions.
-
#services ⇒ Array<String>
The AWS services associated with the event.
-
#start_times ⇒ Array<Types::DateTimeRange>
A list of dates and times that the event began.
-
#tags ⇒ Array<Hash<String,String>>
A map of entity tags attached to the affected entity.
Instance Attribute Details
#availability_zones ⇒ Array<String>
A list of AWS availability zones.
#end_times ⇒ Array<Types::DateTimeRange>
A list of dates and times that the event ended.
#entity_arns ⇒ Array<String>
A list of entity ARNs (unique identifiers).
#entity_values ⇒ Array<String>
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e
) or
EBS volumes (vol-426ab23e
).
#event_arns ⇒ Array<String>
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"
#event_status_codes ⇒ Array<String>
A list of event status codes.
#event_type_categories ⇒ Array<String>
A list of event type category codes (issue
, scheduledChange
, or
accountNotification
).
#event_type_codes ⇒ Array<String>
A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
#last_updated_times ⇒ Array<Types::DateTimeRange>
A list of dates and times that the event was last updated.
#regions ⇒ Array<String>
A list of AWS regions.
#services ⇒ Array<String>
The AWS services associated with the event. For example, EC2
, RDS
.
#start_times ⇒ Array<Types::DateTimeRange>
A list of dates and times that the event began.
#tags ⇒ Array<Hash<String,String>>
A map of entity tags attached to the affected entity.
tags
property isn\'t supported.