amazonka-ssm-2.0: Amazon Simple Systems Manager (SSM) SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SSM.Types.NotificationConfig

Description

 
Synopsis

Documentation

data NotificationConfig Source #

Configurations for sending notifications.

See: newNotificationConfig smart constructor.

Constructors

NotificationConfig' 

Fields

Instances

Instances details
FromJSON NotificationConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.NotificationConfig

ToJSON 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 #

Read NotificationConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.NotificationConfig

Show NotificationConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.NotificationConfig

NFData NotificationConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.NotificationConfig

Methods

rnf :: NotificationConfig -> () #

Eq NotificationConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.NotificationConfig

Hashable 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" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "NotificationConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "notificationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "notificationEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NotificationEvent])) :*: S1 ('MetaSel ('Just "notificationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotificationType)))))

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: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.

$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 managed nodes, receive notification on a per-node 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.

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 managed nodes, receive notification on a per-node basis when the status of a command changes.