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 #

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 #

See: putNotificationConfiguration smart constructor.

Instances
Eq PutNotificationConfiguration # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

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

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

Show PutNotificationConfiguration # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

Generic PutNotificationConfiguration # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

Associated Types

type Rep PutNotificationConfiguration :: * -> * #

Hashable PutNotificationConfiguration # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

AWSRequest PutNotificationConfiguration # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

Associated Types

type Rs PutNotificationConfiguration :: * #

ToHeaders PutNotificationConfiguration # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

ToPath PutNotificationConfiguration # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

ToQuery PutNotificationConfiguration # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

NFData PutNotificationConfiguration # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

type Rep PutNotificationConfiguration # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

type Rep PutNotificationConfiguration = D1 (MetaData "PutNotificationConfiguration" "Network.AWS.AutoScaling.PutNotificationConfiguration" "amazonka-autoscaling-1.6.0-DYtPJWRFp2RHFedRQEOKCy" 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 # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

Request Lenses

pncAutoScalingGroupName :: Lens' PutNotificationConfiguration Text #

The name of the Auto Scaling group.

pncTopicARN :: Lens' PutNotificationConfiguration Text #

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

pncNotificationTypes :: Lens' PutNotificationConfiguration [Text] #

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 #

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

data PutNotificationConfigurationResponse #

See: putNotificationConfigurationResponse smart constructor.

Instances
Eq PutNotificationConfigurationResponse # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

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

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

Show PutNotificationConfigurationResponse # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

Generic PutNotificationConfigurationResponse # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

Associated Types

type Rep PutNotificationConfigurationResponse :: * -> * #

NFData PutNotificationConfigurationResponse # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

type Rep PutNotificationConfigurationResponse # 
Instance details

Defined in Network.AWS.AutoScaling.PutNotificationConfiguration

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