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.DeleteNotification

Contents

Description

Deletes a notification.

Deleting a notification also deletes the subscribers associated with the notification.

Synopsis

Creating a Request

deleteNotification #

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

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

  • dnAccountId - The accountId that is associated with the budget whose notification you want to delete.
  • dnBudgetName - The name of the budget whose notification you want to delete.
  • dnNotification - The notification that you want to delete.

data DeleteNotification #

Request of DeleteNotification

See: deleteNotification smart constructor.

Instances

Eq DeleteNotification # 
Data DeleteNotification # 

Methods

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

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

toConstr :: DeleteNotification -> Constr #

dataTypeOf :: DeleteNotification -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteNotification # 
Show DeleteNotification # 
Generic DeleteNotification # 
Hashable DeleteNotification # 
ToJSON DeleteNotification # 
NFData DeleteNotification # 

Methods

rnf :: DeleteNotification -> () #

AWSRequest DeleteNotification # 
ToHeaders DeleteNotification # 
ToPath DeleteNotification # 
ToQuery DeleteNotification # 
type Rep DeleteNotification # 
type Rep DeleteNotification = D1 * (MetaData "DeleteNotification" "Network.AWS.Budgets.DeleteNotification" "amazonka-budgets-1.6.0-5YIhfJ7TuLi7CQTig8El9z" False) (C1 * (MetaCons "DeleteNotification'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dnAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_dnBudgetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_dnNotification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Notification)))))
type Rs DeleteNotification # 

Request Lenses

dnAccountId :: Lens' DeleteNotification Text #

The accountId that is associated with the budget whose notification you want to delete.

dnBudgetName :: Lens' DeleteNotification Text #

The name of the budget whose notification you want to delete.

dnNotification :: Lens' DeleteNotification Notification #

The notification that you want to delete.

Destructuring the Response

deleteNotificationResponse #

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

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

data DeleteNotificationResponse #

Response of DeleteNotification

See: deleteNotificationResponse smart constructor.

Instances

Eq DeleteNotificationResponse # 
Data DeleteNotificationResponse # 

Methods

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

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

toConstr :: DeleteNotificationResponse -> Constr #

dataTypeOf :: DeleteNotificationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteNotificationResponse # 
Show DeleteNotificationResponse # 
Generic DeleteNotificationResponse # 
NFData DeleteNotificationResponse # 
type Rep DeleteNotificationResponse # 
type Rep DeleteNotificationResponse = D1 * (MetaData "DeleteNotificationResponse" "Network.AWS.Budgets.DeleteNotification" "amazonka-budgets-1.6.0-5YIhfJ7TuLi7CQTig8El9z" True) (C1 * (MetaCons "DeleteNotificationResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dnrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses

dnrsResponseStatus :: Lens' DeleteNotificationResponse Int #

  • - | The response status code.