class Aws::Health::Types::EventFilter

The values to use to filter results from the [DescribeEvents] and

DescribeEventAggregates][2

operations.

[1]: docs.aws.amazon.com/health/latest/APIReference/API_DescribeEvents.html [2]: docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventAggregates.html

@note When making an API call, you may pass EventFilter

data as a 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
    }

@!attribute [rw] event_arns

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"`
@return [Array<String>]

@!attribute [rw] event_type_codes

A list of unique identifiers for event types. For example,
`"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".`
@return [Array<String>]

@!attribute [rw] services

The AWS services associated with the event. For example, `EC2`,
`RDS`.
@return [Array<String>]

@!attribute [rw] regions

A list of AWS Regions.
@return [Array<String>]

@!attribute [rw] availability_zones

A list of AWS Availability Zones.
@return [Array<String>]

@!attribute [rw] start_times

A list of dates and times that the event began.
@return [Array<Types::DateTimeRange>]

@!attribute [rw] end_times

A list of dates and times that the event ended.
@return [Array<Types::DateTimeRange>]

@!attribute [rw] last_updated_times

A list of dates and times that the event was last updated.
@return [Array<Types::DateTimeRange>]

@!attribute [rw] entity_arns

A list of entity ARNs (unique identifiers).
@return [Array<String>]

@!attribute [rw] entity_values

A list of entity identifiers, such as EC2 instance IDs
(`i-34ab692e`) or EBS volumes (`vol-426ab23e`).
@return [Array<String>]

@!attribute [rw] event_type_categories

A list of event type category codes (`issue`, `scheduledChange`, or
`accountNotification`).
@return [Array<String>]

@!attribute [rw] tags

A map of entity tags attached to the affected entity.

<note markdown="1"> Currently, the `tags` property isn't supported.

 </note>
@return [Array<Hash<String,String>>]

@!attribute [rw] event_status_codes

A list of event status codes.
@return [Array<String>]

@see docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EventFilter AWS API Documentation

Constants

SENSITIVE