You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Health::Types::OrganizationEventFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::Health::Types::OrganizationEventFilter
- Defined in:
- (unknown)
Overview
When passing OrganizationEventFilter as input to an Aws::Client method, you can use a vanilla 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
}
The values to filter results from the DescribeEventsForOrganization operation.
Returned by:
Instance Attribute Summary collapse
-
#aws_account_ids ⇒ Array<String>
A list of 12-digit AWS account numbers that contains the affected entities.
-
#end_time ⇒ Types::DateTimeRange
A range of dates and times that is used by the EventFilter and EntityFilter objects.
-
#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_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.
-
#last_updated_time ⇒ Types::DateTimeRange
A range of dates and times that is used by the EventFilter and EntityFilter objects.
-
#regions ⇒ Array<String>
A list of AWS Regions.
-
#services ⇒ Array<String>
The AWS services associated with the event.
-
#start_time ⇒ Types::DateTimeRange
A range of dates and times that is used by the EventFilter and EntityFilter objects.
Instance Attribute Details
#aws_account_ids ⇒ Array<String>
A list of 12-digit AWS account numbers that contains the affected entities.
#end_time ⇒ Types::DateTimeRange
A range of dates and times that is used by the EventFilter and EntityFilter 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
.
#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_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_time ⇒ Types::DateTimeRange
A range of dates and times that is used by the EventFilter and EntityFilter 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
.
#regions ⇒ Array<String>
A list of AWS Regions.
#services ⇒ Array<String>
The AWS services associated with the event. For example, EC2
, RDS
.
#start_time ⇒ Types::DateTimeRange
A range of dates and times that is used by the EventFilter and EntityFilter 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
.