You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Health::Types::EntityFilter

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-health/lib/aws-sdk-health/types.rb

Overview

Note:

When making an API call, you may pass EntityFilter data as a hash:

{
  event_arns: ["eventArn"], # required
  entity_arns: ["entityArn"],
  entity_values: ["entityValue"],
  last_updated_times: [
    {
      from: Time.now,
      to: Time.now,
    },
  ],
  tags: [
    {
      "tagKey" => "tagValue",
    },
  ],
  status_codes: ["IMPAIRED"], # accepts IMPAIRED, UNIMPAIRED, UNKNOWN
}

The values to use to filter results from the DescribeAffectedEntities operation.

Instance Attribute Summary collapse

Instance Attribute Details

#entity_arnsArray<String>

A list of entity ARNs (unique identifiers).

Returns:

  • (Array<String>)


583
584
585
586
587
588
589
590
591
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 583

class EntityFilter < Struct.new(
  :event_arns,
  :entity_arns,
  :entity_values,
  :last_updated_times,
  :tags,
  :status_codes)
  include Aws::Structure
end

#entity_valuesArray<String>

A list of IDs for affected entities.

Returns:

  • (Array<String>)


583
584
585
586
587
588
589
590
591
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 583

class EntityFilter < Struct.new(
  :event_arns,
  :entity_arns,
  :entity_values,
  :last_updated_times,
  :tags,
  :status_codes)
  include Aws::Structure
end

#event_arnsArray<String>

A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz"

Returns:

  • (Array<String>)


583
584
585
586
587
588
589
590
591
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 583

class EntityFilter < Struct.new(
  :event_arns,
  :entity_arns,
  :entity_values,
  :last_updated_times,
  :tags,
  :status_codes)
  include Aws::Structure
end

#last_updated_timesArray<Types::DateTimeRange>

A list of the most recent dates and times that the entity was updated.

Returns:



583
584
585
586
587
588
589
590
591
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 583

class EntityFilter < Struct.new(
  :event_arns,
  :entity_arns,
  :entity_values,
  :last_updated_times,
  :tags,
  :status_codes)
  include Aws::Structure
end

#status_codesArray<String>

A list of entity status codes (IMPAIRED, UNIMPAIRED, or UNKNOWN).

Returns:

  • (Array<String>)


583
584
585
586
587
588
589
590
591
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 583

class EntityFilter < Struct.new(
  :event_arns,
  :entity_arns,
  :entity_values,
  :last_updated_times,
  :tags,
  :status_codes)
  include Aws::Structure
end

#tagsArray<Hash<String,String>>

A map of entity tags attached to the affected entity.

Returns:

  • (Array<Hash<String,String>>)


583
584
585
586
587
588
589
590
591
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 583

class EntityFilter < Struct.new(
  :event_arns,
  :entity_arns,
  :entity_values,
  :last_updated_times,
  :tags,
  :status_codes)
  include Aws::Structure
end