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

Class: Aws::Health::Types::EventType

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

Overview

Metadata about a type of event that is reported by AWS Health. Data consists of the category (for example, issue), the service (for example, EC2), and the event type code (for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT).

Instance Attribute Summary collapse

Instance Attribute Details

#categoryString

A list of event type category codes (issue, scheduledChange, or accountNotification).

Returns:

  • (String)


885
886
887
888
889
890
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 885

class EventType < Struct.new(
  :service,
  :code,
  :category)
  include Aws::Structure
end

#codeString

The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT.

Returns:

  • (String)


885
886
887
888
889
890
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 885

class EventType < Struct.new(
  :service,
  :code,
  :category)
  include Aws::Structure
end

#serviceString

The AWS service that is affected by the event. For example, EC2, RDS.

Returns:

  • (String)


885
886
887
888
889
890
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 885

class EventType < Struct.new(
  :service,
  :code,
  :category)
  include Aws::Structure
end