amazonka-budgets-1.6.0: Amazon Budgets 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.Budgets.UpdateSubscriber

Contents

Description

Updates a subscriber.

Synopsis

Creating a Request

updateSubscriber Source #

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

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

  • usAccountId - The accountId that is associated with the budget whose subscriber you want to update.
  • usBudgetName - The name of the budget whose subscriber you want to update.
  • usNotification - The notification whose subscriber you want to update.
  • usOldSubscriber - The previous subscriber associated with a budget notification.
  • usNewSubscriber - The updated subscriber associated with a budget notification.

data UpdateSubscriber Source #

Request of UpdateSubscriber

See: updateSubscriber smart constructor.

Instances

Eq UpdateSubscriber Source # 
Data UpdateSubscriber Source # 

Methods

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

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

toConstr :: UpdateSubscriber -> Constr #

dataTypeOf :: UpdateSubscriber -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateSubscriber Source # 
Show UpdateSubscriber Source # 
Generic UpdateSubscriber Source # 
Hashable UpdateSubscriber Source # 
ToJSON UpdateSubscriber Source # 
NFData UpdateSubscriber Source # 

Methods

rnf :: UpdateSubscriber -> () #

AWSRequest UpdateSubscriber Source # 
ToHeaders UpdateSubscriber Source # 
ToPath UpdateSubscriber Source # 
ToQuery UpdateSubscriber Source # 
type Rep UpdateSubscriber Source # 
type Rep UpdateSubscriber = D1 * (MetaData "UpdateSubscriber" "Network.AWS.Budgets.UpdateSubscriber" "amazonka-budgets-1.6.0-14CyUEdTAnlAUnGAOMHs8t" False) (C1 * (MetaCons "UpdateSubscriber'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_usAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_usBudgetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_usNotification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Notification)) ((:*:) * (S1 * (MetaSel (Just Symbol "_usOldSubscriber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Subscriber)) (S1 * (MetaSel (Just Symbol "_usNewSubscriber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Subscriber))))))
type Rs UpdateSubscriber Source # 

Request Lenses

usAccountId :: Lens' UpdateSubscriber Text Source #

The accountId that is associated with the budget whose subscriber you want to update.

usBudgetName :: Lens' UpdateSubscriber Text Source #

The name of the budget whose subscriber you want to update.

usNotification :: Lens' UpdateSubscriber Notification Source #

The notification whose subscriber you want to update.

usOldSubscriber :: Lens' UpdateSubscriber Subscriber Source #

The previous subscriber associated with a budget notification.

usNewSubscriber :: Lens' UpdateSubscriber Subscriber Source #

The updated subscriber associated with a budget notification.

Destructuring the Response

updateSubscriberResponse Source #

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

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

data UpdateSubscriberResponse Source #

Response of UpdateSubscriber

See: updateSubscriberResponse smart constructor.

Instances

Eq UpdateSubscriberResponse Source # 
Data UpdateSubscriberResponse Source # 

Methods

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

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

toConstr :: UpdateSubscriberResponse -> Constr #

dataTypeOf :: UpdateSubscriberResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateSubscriberResponse Source # 
Show UpdateSubscriberResponse Source # 
Generic UpdateSubscriberResponse Source # 
NFData UpdateSubscriberResponse Source # 
type Rep UpdateSubscriberResponse Source # 
type Rep UpdateSubscriberResponse = D1 * (MetaData "UpdateSubscriberResponse" "Network.AWS.Budgets.UpdateSubscriber" "amazonka-budgets-1.6.0-14CyUEdTAnlAUnGAOMHs8t" True) (C1 * (MetaCons "UpdateSubscriberResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_usrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses