| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Budgets.UpdateSubscriber
Description
Updates a subscriber.
Synopsis
- updateSubscriber :: Text -> Text -> Notification -> Subscriber -> Subscriber -> UpdateSubscriber
- data UpdateSubscriber
- usAccountId :: Lens' UpdateSubscriber Text
- usBudgetName :: Lens' UpdateSubscriber Text
- usNotification :: Lens' UpdateSubscriber Notification
- usOldSubscriber :: Lens' UpdateSubscriber Subscriber
- usNewSubscriber :: Lens' UpdateSubscriber Subscriber
- updateSubscriberResponse :: Int -> UpdateSubscriberResponse
- data UpdateSubscriberResponse
- usrsResponseStatus :: Lens' UpdateSubscriberResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Notification | |
| -> Subscriber | |
| -> Subscriber | |
| -> UpdateSubscriber |
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- TheaccountIdthat 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
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 #
Arguments
| :: Int | |
| -> UpdateSubscriberResponse |
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:
usrsResponseStatus- -- | The response status code.
data UpdateSubscriberResponse Source #
Response of UpdateSubscriber
See: updateSubscriberResponse smart constructor.
Instances
Response Lenses
usrsResponseStatus :: Lens' UpdateSubscriberResponse Int Source #
- - | The response status code.