Class: Aws::Notifications::Types::NotificationEvent

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-notifications/types.rb

Overview

A ‘NotificationEvent` is a notification-focused representation of an event. They contain semantic information used by Channels to create end-user notifications.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aggregate_notification_event_arnString

If the value of ‘aggregationEventType` is not `NONE`, this is the Amazon Resource Event (ARN) of the parent aggregate notification.

This is omitted if notification isn’t aggregated.

Returns:

  • (String)


2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
# File 'lib/aws-sdk-notifications/types.rb', line 2717

class NotificationEvent < Struct.new(
  :schema_version,
  :id,
  :source_event_metadata,
  :message_components,
  :source_event_detail_url,
  :source_event_detail_url_display_text,
  :notification_type,
  :event_status,
  :aggregation_event_type,
  :aggregate_notification_event_arn,
  :aggregation_summary,
  :start_time,
  :end_time,
  :text_parts,
  :media,
  :organizational_unit_id)
  SENSITIVE = []
  include Aws::Structure
end

#aggregation_event_typeString

The aggregation type of the ‘NotificationConfiguration`.

  • Values:

    • ‘AGGREGATE`

      • The notification event is an aggregate notification. Aggregate notifications summarize grouped events over a specified time period.

      ^

    • ‘CHILD`

      • Some ‘EventRules` are `ACTIVE` and some are `INACTIVE`. Any call can be run.

      ^

    • ‘NONE`

      • The notification isn’t aggregated.

      ^

Returns:

  • (String)


2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
# File 'lib/aws-sdk-notifications/types.rb', line 2717

class NotificationEvent < Struct.new(
  :schema_version,
  :id,
  :source_event_metadata,
  :message_components,
  :source_event_detail_url,
  :source_event_detail_url_display_text,
  :notification_type,
  :event_status,
  :aggregation_event_type,
  :aggregate_notification_event_arn,
  :aggregation_summary,
  :start_time,
  :end_time,
  :text_parts,
  :media,
  :organizational_unit_id)
  SENSITIVE = []
  include Aws::Structure
end

#aggregation_summaryTypes::AggregationSummary

Provides additional information about how multiple notifications are grouped.



2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
# File 'lib/aws-sdk-notifications/types.rb', line 2717

class NotificationEvent < Struct.new(
  :schema_version,
  :id,
  :source_event_metadata,
  :message_components,
  :source_event_detail_url,
  :source_event_detail_url_display_text,
  :notification_type,
  :event_status,
  :aggregation_event_type,
  :aggregate_notification_event_arn,
  :aggregation_summary,
  :start_time,
  :end_time,
  :text_parts,
  :media,
  :organizational_unit_id)
  SENSITIVE = []
  include Aws::Structure
end

#end_timeTime

The end time of the event.

Returns:

  • (Time)


2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
# File 'lib/aws-sdk-notifications/types.rb', line 2717

class NotificationEvent < Struct.new(
  :schema_version,
  :id,
  :source_event_metadata,
  :message_components,
  :source_event_detail_url,
  :source_event_detail_url_display_text,
  :notification_type,
  :event_status,
  :aggregation_event_type,
  :aggregate_notification_event_arn,
  :aggregation_summary,
  :start_time,
  :end_time,
  :text_parts,
  :media,
  :organizational_unit_id)
  SENSITIVE = []
  include Aws::Structure
end

#event_statusString

The assessed nature of the event.

  • Values:

    • ‘HEALTHY`

      • All ‘EventRules` are `ACTIVE` and any call can be run.

      ^

    • ‘UNHEALTHY`

      • Some ‘EventRules` are `ACTIVE` and some are `INACTIVE`. Any call can be run.

      ^

Returns:

  • (String)


2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
# File 'lib/aws-sdk-notifications/types.rb', line 2717

class NotificationEvent < Struct.new(
  :schema_version,
  :id,
  :source_event_metadata,
  :message_components,
  :source_event_detail_url,
  :source_event_detail_url_display_text,
  :notification_type,
  :event_status,
  :aggregation_event_type,
  :aggregate_notification_event_arn,
  :aggregation_summary,
  :start_time,
  :end_time,
  :text_parts,
  :media,
  :organizational_unit_id)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The unique identifier for a ‘NotificationEvent`.

Returns:

  • (String)


2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
# File 'lib/aws-sdk-notifications/types.rb', line 2717

class NotificationEvent < Struct.new(
  :schema_version,
  :id,
  :source_event_metadata,
  :message_components,
  :source_event_detail_url,
  :source_event_detail_url_display_text,
  :notification_type,
  :event_status,
  :aggregation_event_type,
  :aggregate_notification_event_arn,
  :aggregation_summary,
  :start_time,
  :end_time,
  :text_parts,
  :media,
  :organizational_unit_id)
  SENSITIVE = []
  include Aws::Structure
end

#mediaArray<Types::MediaElement>

A list of media elements.

Returns:



2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
# File 'lib/aws-sdk-notifications/types.rb', line 2717

class NotificationEvent < Struct.new(
  :schema_version,
  :id,
  :source_event_metadata,
  :message_components,
  :source_event_detail_url,
  :source_event_detail_url_display_text,
  :notification_type,
  :event_status,
  :aggregation_event_type,
  :aggregate_notification_event_arn,
  :aggregation_summary,
  :start_time,
  :end_time,
  :text_parts,
  :media,
  :organizational_unit_id)
  SENSITIVE = []
  include Aws::Structure
end

#message_componentsTypes::MessageComponents

Describes the components of a notification message.



2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
# File 'lib/aws-sdk-notifications/types.rb', line 2717

class NotificationEvent < Struct.new(
  :schema_version,
  :id,
  :source_event_metadata,
  :message_components,
  :source_event_detail_url,
  :source_event_detail_url_display_text,
  :notification_type,
  :event_status,
  :aggregation_event_type,
  :aggregate_notification_event_arn,
  :aggregation_summary,
  :start_time,
  :end_time,
  :text_parts,
  :media,
  :organizational_unit_id)
  SENSITIVE = []
  include Aws::Structure
end

#notification_typeString

The type of event causing the notification.

  • Values:

    • ‘ALERT`

      • A notification about an event where something was triggered, initiated, reopened, deployed, or a threshold was breached.

      ^

    • ‘WARNING`

      • A notification about an event where an issue is about to arise. For example, something is approaching a threshold.

      ^

    • ‘ANNOUNCEMENT`

      • A notification about an important event. For example, a step in a workflow or escalation path or that a workflow was updated.

      ^

    • ‘INFORMATIONAL`

      • A notification about informational messages. For example, recommendations, service announcements, or reminders.

      ^

Returns:

  • (String)


2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
# File 'lib/aws-sdk-notifications/types.rb', line 2717

class NotificationEvent < Struct.new(
  :schema_version,
  :id,
  :source_event_metadata,
  :message_components,
  :source_event_detail_url,
  :source_event_detail_url_display_text,
  :notification_type,
  :event_status,
  :aggregation_event_type,
  :aggregate_notification_event_arn,
  :aggregation_summary,
  :start_time,
  :end_time,
  :text_parts,
  :media,
  :organizational_unit_id)
  SENSITIVE = []
  include Aws::Structure
end

#organizational_unit_idString

The unique identifier of the organizational unit associated with the notification event.

Returns:

  • (String)


2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
# File 'lib/aws-sdk-notifications/types.rb', line 2717

class NotificationEvent < Struct.new(
  :schema_version,
  :id,
  :source_event_metadata,
  :message_components,
  :source_event_detail_url,
  :source_event_detail_url_display_text,
  :notification_type,
  :event_status,
  :aggregation_event_type,
  :aggregate_notification_event_arn,
  :aggregation_summary,
  :start_time,
  :end_time,
  :text_parts,
  :media,
  :organizational_unit_id)
  SENSITIVE = []
  include Aws::Structure
end

#schema_versionString

The schema version of the Notification Event.

Returns:

  • (String)


2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
# File 'lib/aws-sdk-notifications/types.rb', line 2717

class NotificationEvent < Struct.new(
  :schema_version,
  :id,
  :source_event_metadata,
  :message_components,
  :source_event_detail_url,
  :source_event_detail_url_display_text,
  :notification_type,
  :event_status,
  :aggregation_event_type,
  :aggregate_notification_event_arn,
  :aggregation_summary,
  :start_time,
  :end_time,
  :text_parts,
  :media,
  :organizational_unit_id)
  SENSITIVE = []
  include Aws::Structure
end

#source_event_detail_urlString

The source event URL.

Returns:

  • (String)


2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
# File 'lib/aws-sdk-notifications/types.rb', line 2717

class NotificationEvent < Struct.new(
  :schema_version,
  :id,
  :source_event_metadata,
  :message_components,
  :source_event_detail_url,
  :source_event_detail_url_display_text,
  :notification_type,
  :event_status,
  :aggregation_event_type,
  :aggregate_notification_event_arn,
  :aggregation_summary,
  :start_time,
  :end_time,
  :text_parts,
  :media,
  :organizational_unit_id)
  SENSITIVE = []
  include Aws::Structure
end

#source_event_detail_url_display_textString

The detailed URL for the source event.

Returns:

  • (String)


2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
# File 'lib/aws-sdk-notifications/types.rb', line 2717

class NotificationEvent < Struct.new(
  :schema_version,
  :id,
  :source_event_metadata,
  :message_components,
  :source_event_detail_url,
  :source_event_detail_url_display_text,
  :notification_type,
  :event_status,
  :aggregation_event_type,
  :aggregate_notification_event_arn,
  :aggregation_summary,
  :start_time,
  :end_time,
  :text_parts,
  :media,
  :organizational_unit_id)
  SENSITIVE = []
  include Aws::Structure
end

#source_event_metadataTypes::SourceEventMetadata

The source event metadata.



2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
# File 'lib/aws-sdk-notifications/types.rb', line 2717

class NotificationEvent < Struct.new(
  :schema_version,
  :id,
  :source_event_metadata,
  :message_components,
  :source_event_detail_url,
  :source_event_detail_url_display_text,
  :notification_type,
  :event_status,
  :aggregation_event_type,
  :aggregate_notification_event_arn,
  :aggregation_summary,
  :start_time,
  :end_time,
  :text_parts,
  :media,
  :organizational_unit_id)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeTime

The notification event start time.

Returns:

  • (Time)


2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
# File 'lib/aws-sdk-notifications/types.rb', line 2717

class NotificationEvent < Struct.new(
  :schema_version,
  :id,
  :source_event_metadata,
  :message_components,
  :source_event_detail_url,
  :source_event_detail_url_display_text,
  :notification_type,
  :event_status,
  :aggregation_event_type,
  :aggregate_notification_event_arn,
  :aggregation_summary,
  :start_time,
  :end_time,
  :text_parts,
  :media,
  :organizational_unit_id)
  SENSITIVE = []
  include Aws::Structure
end

#text_partsHash<String,Types::TextPartValue>

A list of text values.

Returns:



2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
# File 'lib/aws-sdk-notifications/types.rb', line 2717

class NotificationEvent < Struct.new(
  :schema_version,
  :id,
  :source_event_metadata,
  :message_components,
  :source_event_detail_url,
  :source_event_detail_url_display_text,
  :notification_type,
  :event_status,
  :aggregation_event_type,
  :aggregate_notification_event_arn,
  :aggregation_summary,
  :start_time,
  :end_time,
  :text_parts,
  :media,
  :organizational_unit_id)
  SENSITIVE = []
  include Aws::Structure
end