amazonka-autoscaling-1.2.0: Amazon Auto Scaling SDK.

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

Network.AWS.AutoScaling.PutNotificationConfiguration

Contents

Description

Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to this topic can have messages for events delivered to an endpoint such as a web server or email address.

For more information see Getting Notifications When Your Auto Scaling Group Changes in the Auto Scaling Developer Guide.

This configuration overwrites an existing configuration.

See: AWS API Reference for PutNotificationConfiguration.

Synopsis

Creating a Request

putNotificationConfiguration Source

Creates a value of PutNotificationConfiguration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

pncTopicARN :: Lens' PutNotificationConfiguration Text Source

The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.

pncNotificationTypes :: Lens' PutNotificationConfiguration [Text] Source

The type of event that will cause the notification to be sent. For details about notification types supported by Auto Scaling, see DescribeAutoScalingNotificationTypes.

Destructuring the Response

putNotificationConfigurationResponse :: PutNotificationConfigurationResponse Source

Creates a value of PutNotificationConfigurationResponse with the minimum fields required to make a request.