Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.AutoScaling.PutNotificationConfiguration
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.
- 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
Arguments
:: Text | |
-> Text | |
-> PutNotificationConfiguration |
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:
data PutNotificationConfiguration Source
See: putNotificationConfiguration
smart constructor.
Instances
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.
Instances