| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Budgets.UpdateSubscriber
Description
Updates a subscriber.
Synopsis
- data UpdateSubscriber = UpdateSubscriber' {}
- newUpdateSubscriber :: Text -> Text -> Notification -> Subscriber -> Subscriber -> UpdateSubscriber
- updateSubscriber_accountId :: Lens' UpdateSubscriber Text
- updateSubscriber_budgetName :: Lens' UpdateSubscriber Text
- updateSubscriber_notification :: Lens' UpdateSubscriber Notification
- updateSubscriber_oldSubscriber :: Lens' UpdateSubscriber Subscriber
- updateSubscriber_newSubscriber :: Lens' UpdateSubscriber Subscriber
- data UpdateSubscriberResponse = UpdateSubscriberResponse' {
- httpStatus :: Int
- newUpdateSubscriberResponse :: Int -> UpdateSubscriberResponse
- updateSubscriberResponse_httpStatus :: Lens' UpdateSubscriberResponse Int
Creating a Request
data UpdateSubscriber Source #
Request of UpdateSubscriber
See: newUpdateSubscriber smart constructor.
Constructors
| UpdateSubscriber' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Notification | |
| -> Subscriber | |
| -> Subscriber | |
| -> UpdateSubscriber |
Create a value of UpdateSubscriber with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountId:UpdateSubscriber', updateSubscriber_accountId - The accountId that is associated with the budget whose subscriber you
want to update.
UpdateSubscriber, updateSubscriber_budgetName - The name of the budget whose subscriber you want to update.
UpdateSubscriber, updateSubscriber_notification - The notification whose subscriber you want to update.
$sel:oldSubscriber:UpdateSubscriber', updateSubscriber_oldSubscriber - The previous subscriber that is associated with a budget notification.
$sel:newSubscriber':UpdateSubscriber', updateSubscriber_newSubscriber - The updated subscriber that is associated with a budget notification.
Request Lenses
updateSubscriber_accountId :: Lens' UpdateSubscriber Text Source #
The accountId that is associated with the budget whose subscriber you
want to update.
updateSubscriber_budgetName :: Lens' UpdateSubscriber Text Source #
The name of the budget whose subscriber you want to update.
updateSubscriber_notification :: Lens' UpdateSubscriber Notification Source #
The notification whose subscriber you want to update.
updateSubscriber_oldSubscriber :: Lens' UpdateSubscriber Subscriber Source #
The previous subscriber that is associated with a budget notification.
updateSubscriber_newSubscriber :: Lens' UpdateSubscriber Subscriber Source #
The updated subscriber that is associated with a budget notification.
Destructuring the Response
data UpdateSubscriberResponse Source #
Response of UpdateSubscriber
See: newUpdateSubscriberResponse smart constructor.
Constructors
| UpdateSubscriberResponse' | |
Fields
| |
Instances
newUpdateSubscriberResponse Source #
Create a value of UpdateSubscriberResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateSubscriberResponse', updateSubscriberResponse_httpStatus - The response's http status code.
Response Lenses
updateSubscriberResponse_httpStatus :: Lens' UpdateSubscriberResponse Int Source #
The response's http status code.