amazonka-autoscaling-1.6.0: Amazon Auto Scaling SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 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 .

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:

  • 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, see DescribeAutoScalingNotificationTypes .

data PutNotificationConfiguration Source #

See: putNotificationConfiguration smart constructor.

Instances

Eq PutNotificationConfiguration Source # 
Data PutNotificationConfiguration Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PutNotificationConfiguration -> c PutNotificationConfiguration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PutNotificationConfiguration #

toConstr :: PutNotificationConfiguration -> Constr #

dataTypeOf :: PutNotificationConfiguration -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PutNotificationConfiguration) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PutNotificationConfiguration) #

gmapT :: (forall b. Data b => b -> b) -> PutNotificationConfiguration -> PutNotificationConfiguration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PutNotificationConfiguration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PutNotificationConfiguration -> r #

gmapQ :: (forall d. Data d => d -> u) -> PutNotificationConfiguration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PutNotificationConfiguration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PutNotificationConfiguration -> m PutNotificationConfiguration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PutNotificationConfiguration -> m PutNotificationConfiguration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PutNotificationConfiguration -> m PutNotificationConfiguration #

Read PutNotificationConfiguration Source # 
Show PutNotificationConfiguration Source # 
Generic PutNotificationConfiguration Source # 
Hashable PutNotificationConfiguration Source # 
NFData PutNotificationConfiguration Source # 
AWSRequest PutNotificationConfiguration Source # 
ToHeaders PutNotificationConfiguration Source # 
ToPath PutNotificationConfiguration Source # 
ToQuery PutNotificationConfiguration Source # 
type Rep PutNotificationConfiguration Source # 
type Rep PutNotificationConfiguration = D1 * (MetaData "PutNotificationConfiguration" "Network.AWS.AutoScaling.PutNotificationConfiguration" "amazonka-autoscaling-1.6.0-Cbg5YTxJJyv60SSUTcTsy3" False) (C1 * (MetaCons "PutNotificationConfiguration'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_pncAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_pncTopicARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_pncNotificationTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [Text])))))
type Rs PutNotificationConfiguration Source # 

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.

data PutNotificationConfigurationResponse Source #

See: putNotificationConfigurationResponse smart constructor.

Instances

Eq PutNotificationConfigurationResponse Source # 
Data PutNotificationConfigurationResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PutNotificationConfigurationResponse -> c PutNotificationConfigurationResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PutNotificationConfigurationResponse #

toConstr :: PutNotificationConfigurationResponse -> Constr #

dataTypeOf :: PutNotificationConfigurationResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PutNotificationConfigurationResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PutNotificationConfigurationResponse) #

gmapT :: (forall b. Data b => b -> b) -> PutNotificationConfigurationResponse -> PutNotificationConfigurationResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PutNotificationConfigurationResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PutNotificationConfigurationResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> PutNotificationConfigurationResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PutNotificationConfigurationResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PutNotificationConfigurationResponse -> m PutNotificationConfigurationResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PutNotificationConfigurationResponse -> m PutNotificationConfigurationResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PutNotificationConfigurationResponse -> m PutNotificationConfigurationResponse #

Read PutNotificationConfigurationResponse Source # 
Show PutNotificationConfigurationResponse Source # 
Generic PutNotificationConfigurationResponse Source # 
NFData PutNotificationConfigurationResponse Source # 
type Rep PutNotificationConfigurationResponse Source # 
type Rep PutNotificationConfigurationResponse = D1 * (MetaData "PutNotificationConfigurationResponse" "Network.AWS.AutoScaling.PutNotificationConfiguration" "amazonka-autoscaling-1.6.0-Cbg5YTxJJyv60SSUTcTsy3" False) (C1 * (MetaCons "PutNotificationConfigurationResponse'" PrefixI False) (U1 *))