Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to the specified topic can have messages delivered to an endpoint such as a web server or an email address.
This configuration overwrites any existing configuration.
For more information see Getting SNS Notifications When Your Auto Scaling Group Scales in the Auto Scaling User Guide .
- putNotificationConfiguration :: Text -> Text -> PutNotificationConfiguration
- data PutNotificationConfiguration
- pncAutoScalingGroupName :: Lens' PutNotificationConfiguration Text
- pncTopicARN :: Lens' PutNotificationConfiguration Text
- pncNotificationTypes :: Lens' PutNotificationConfiguration [Text]
- putNotificationConfigurationResponse :: PutNotificationConfigurationResponse
- data PutNotificationConfigurationResponse
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:
pncAutoScalingGroupName
- The name of the Auto Scaling group.pncTopicARN
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.pncNotificationTypes
- The type of event that will cause the notification to be sent. For details about notification types supported by Auto Scaling, seeDescribeAutoScalingNotificationTypes
.
data PutNotificationConfiguration Source #
See: putNotificationConfiguration
smart constructor.
Request Lenses
pncAutoScalingGroupName :: Lens' PutNotificationConfiguration Text Source #
The name of the Auto Scaling group.
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.
data PutNotificationConfigurationResponse Source #
See: putNotificationConfigurationResponse
smart constructor.