amazonka-autoscaling-1.6.1: 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 # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

Data PutNotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

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 # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

Show PutNotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

Generic PutNotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

Associated Types

type Rep PutNotificationConfiguration :: Type -> Type #

Hashable PutNotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

AWSRequest PutNotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

Associated Types

type Rs PutNotificationConfiguration :: Type #

ToHeaders PutNotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

ToPath PutNotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

ToQuery PutNotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

NFData PutNotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

type Rep PutNotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

type Rep PutNotificationConfiguration = D1 (MetaData "PutNotificationConfiguration" "Network.AWS.AutoScaling.PutNotificationConfiguration" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "PutNotificationConfiguration'" PrefixI True) (S1 (MetaSel (Just "_pncAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pncTopicARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pncNotificationTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs PutNotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

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 # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

Data PutNotificationConfigurationResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

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 # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

Show PutNotificationConfigurationResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

Generic PutNotificationConfigurationResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

NFData PutNotificationConfigurationResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

type Rep PutNotificationConfigurationResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

type Rep PutNotificationConfigurationResponse = D1 (MetaData "PutNotificationConfigurationResponse" "Network.AWS.AutoScaling.PutNotificationConfiguration" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "PutNotificationConfigurationResponse'" PrefixI False) (U1 :: Type -> Type))