libZSservicesZSamazonka-ssmZSamazonka-ssm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSM.Types.NotificationConfig

Description

 
Synopsis

Documentation

data NotificationConfig Source #

Configurations for sending notifications.

See: newNotificationConfig smart constructor.

Constructors

NotificationConfig' 

Fields

Instances

Instances details
Eq NotificationConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.NotificationConfig

Read NotificationConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.NotificationConfig

Show NotificationConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.NotificationConfig

Generic NotificationConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.NotificationConfig

Associated Types

type Rep NotificationConfig :: Type -> Type #

NFData NotificationConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.NotificationConfig

Methods

rnf :: NotificationConfig -> () #

Hashable NotificationConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.NotificationConfig

ToJSON NotificationConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.NotificationConfig

FromJSON NotificationConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.NotificationConfig

type Rep NotificationConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.NotificationConfig

type Rep NotificationConfig = D1 ('MetaData "NotificationConfig" "Amazonka.SSM.Types.NotificationConfig" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "NotificationConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "notificationEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NotificationEvent])) :*: (S1 ('MetaSel ('Just "notificationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotificationType)) :*: S1 ('MetaSel ('Just "notificationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newNotificationConfig :: NotificationConfig Source #

Create a value of NotificationConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:notificationEvents:NotificationConfig', notificationConfig_notificationEvents - The different events for which you can receive notifications. To learn more about these events, see Monitoring Systems Manager status changes using Amazon SNS notifications in the Amazon Web Services Systems Manager User Guide.

$sel:notificationType:NotificationConfig', notificationConfig_notificationType - The type of notification.

  • Command: Receive notification when the status of a command changes.
  • Invocation: For commands sent to multiple instances, receive notification on a per-instance basis when the status of a command changes.

$sel:notificationArn:NotificationConfig', notificationConfig_notificationArn - An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run Command pushes notifications about command status changes to this topic.

notificationConfig_notificationEvents :: Lens' NotificationConfig (Maybe [NotificationEvent]) Source #

The different events for which you can receive notifications. To learn more about these events, see Monitoring Systems Manager status changes using Amazon SNS notifications in the Amazon Web Services Systems Manager User Guide.

notificationConfig_notificationType :: Lens' NotificationConfig (Maybe NotificationType) Source #

The type of notification.

  • Command: Receive notification when the status of a command changes.
  • Invocation: For commands sent to multiple instances, receive notification on a per-instance basis when the status of a command changes.

notificationConfig_notificationArn :: Lens' NotificationConfig (Maybe Text) Source #

An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run Command pushes notifications about command status changes to this topic.