class Aws::Health::Types::OrganizationEventFilter

The values to filter results from the

DescribeEventsForOrganization][1

operation.

[1]: docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventsForOrganization.html

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

data as a hash:

    {
      event_type_codes: ["eventType"],
      aws_account_ids: ["accountId"],
      services: ["service"],
      regions: ["region"],
      start_time: {
        from: Time.now,
        to: Time.now,
      },
      end_time: {
        from: Time.now,
        to: Time.now,
      },
      last_updated_time: {
        from: Time.now,
        to: Time.now,
      },
      entity_arns: ["entityArn"],
      entity_values: ["entityValue"],
      event_type_categories: ["issue"], # accepts issue, accountNotification, scheduledChange, investigation
      event_status_codes: ["open"], # accepts open, closed, upcoming
    }

@!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] aws_account_ids

A list of 12-digit AWS account numbers that contains the affected
entities.
@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] start_time

A range of dates and times that is used by the [EventFilter][1] and
[EntityFilter][2] objects. If `from` is set and `to` is set: match
items where the timestamp (`startTime`, `endTime`, or
`lastUpdatedTime`) is between `from` and `to` inclusive. If `from`
is set and `to` is not set: match items where the timestamp value is
equal to or after `from`. If `from` is not set and `to` is set:
match items where the timestamp value is equal to or before `to`.

[1]: https://docs.aws.amazon.com/health/latest/APIReference/API_EventFilter.html
[2]: https://docs.aws.amazon.com/health/latest/APIReference/API_EntityFilter.html
@return [Types::DateTimeRange]

@!attribute [rw] end_time

A range of dates and times that is used by the [EventFilter][1] and
[EntityFilter][2] objects. If `from` is set and `to` is set: match
items where the timestamp (`startTime`, `endTime`, or
`lastUpdatedTime`) is between `from` and `to` inclusive. If `from`
is set and `to` is not set: match items where the timestamp value is
equal to or after `from`. If `from` is not set and `to` is set:
match items where the timestamp value is equal to or before `to`.

[1]: https://docs.aws.amazon.com/health/latest/APIReference/API_EventFilter.html
[2]: https://docs.aws.amazon.com/health/latest/APIReference/API_EntityFilter.html
@return [Types::DateTimeRange]

@!attribute [rw] last_updated_time

A range of dates and times that is used by the [EventFilter][1] and
[EntityFilter][2] objects. If `from` is set and `to` is set: match
items where the timestamp (`startTime`, `endTime`, or
`lastUpdatedTime`) is between `from` and `to` inclusive. If `from`
is set and `to` is not set: match items where the timestamp value is
equal to or after `from`. If `from` is not set and `to` is set:
match items where the timestamp value is equal to or before `to`.

[1]: https://docs.aws.amazon.com/health/latest/APIReference/API_EventFilter.html
[2]: https://docs.aws.amazon.com/health/latest/APIReference/API_EntityFilter.html
@return [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] event_status_codes

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

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

Constants

SENSITIVE