amazonka-ses-1.6.0: Amazon Simple Email Service 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.SES.UpdateConfigurationSetSendingEnabled

Contents

Description

Enables or disables email sending for messages sent using a specific configuration set. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email sending for a configuration set when the reputation metrics for that configuration set (such as your bounce on complaint rate) reach certain thresholds.

You can execute this operation no more than once per second.

Synopsis

Creating a Request

updateConfigurationSetSendingEnabled #

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

Use one of the following lenses to modify other fields as desired:

data UpdateConfigurationSetSendingEnabled #

Represents a request to enable or disable the email sending capabilities for a specific configuration set.

See: updateConfigurationSetSendingEnabled smart constructor.

Instances

Eq UpdateConfigurationSetSendingEnabled # 
Data UpdateConfigurationSetSendingEnabled # 

Methods

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

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

toConstr :: UpdateConfigurationSetSendingEnabled -> Constr #

dataTypeOf :: UpdateConfigurationSetSendingEnabled -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateConfigurationSetSendingEnabled # 
Show UpdateConfigurationSetSendingEnabled # 
Generic UpdateConfigurationSetSendingEnabled # 
Hashable UpdateConfigurationSetSendingEnabled # 
NFData UpdateConfigurationSetSendingEnabled # 
AWSRequest UpdateConfigurationSetSendingEnabled # 
ToHeaders UpdateConfigurationSetSendingEnabled # 
ToPath UpdateConfigurationSetSendingEnabled # 
ToQuery UpdateConfigurationSetSendingEnabled # 
type Rep UpdateConfigurationSetSendingEnabled # 
type Rep UpdateConfigurationSetSendingEnabled = D1 * (MetaData "UpdateConfigurationSetSendingEnabled" "Network.AWS.SES.UpdateConfigurationSetSendingEnabled" "amazonka-ses-1.6.0-5nUPGbFUhEuKgCCmp7O4es" False) (C1 * (MetaCons "UpdateConfigurationSetSendingEnabled'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ucsseConfigurationSetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_ucsseEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Bool))))
type Rs UpdateConfigurationSetSendingEnabled # 

Request Lenses

ucsseConfigurationSetName :: Lens' UpdateConfigurationSetSendingEnabled Text #

The name of the configuration set that you want to update.

ucsseEnabled :: Lens' UpdateConfigurationSetSendingEnabled Bool #

Describes whether email sending is enabled or disabled for the configuration set.

Destructuring the Response

data UpdateConfigurationSetSendingEnabledResponse #

Instances

Eq UpdateConfigurationSetSendingEnabledResponse # 
Data UpdateConfigurationSetSendingEnabledResponse # 

Methods

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

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

toConstr :: UpdateConfigurationSetSendingEnabledResponse -> Constr #

dataTypeOf :: UpdateConfigurationSetSendingEnabledResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateConfigurationSetSendingEnabledResponse # 
Show UpdateConfigurationSetSendingEnabledResponse # 
Generic UpdateConfigurationSetSendingEnabledResponse # 
NFData UpdateConfigurationSetSendingEnabledResponse # 
type Rep UpdateConfigurationSetSendingEnabledResponse # 
type Rep UpdateConfigurationSetSendingEnabledResponse = D1 * (MetaData "UpdateConfigurationSetSendingEnabledResponse" "Network.AWS.SES.UpdateConfigurationSetSendingEnabled" "amazonka-ses-1.6.0-5nUPGbFUhEuKgCCmp7O4es" False) (C1 * (MetaCons "UpdateConfigurationSetSendingEnabledResponse'" PrefixI False) (U1 *))