libZSservicesZSamazonka-budgetsZSamazonka-budgets
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Budgets.UpdateSubscriber

Description

Updates a subscriber.

Synopsis

Creating a Request

data UpdateSubscriber Source #

Request of UpdateSubscriber

See: newUpdateSubscriber smart constructor.

Constructors

UpdateSubscriber' 

Fields

Instances

Instances details
Eq UpdateSubscriber Source # 
Instance details

Defined in Amazonka.Budgets.UpdateSubscriber

Show UpdateSubscriber Source # 
Instance details

Defined in Amazonka.Budgets.UpdateSubscriber

Generic UpdateSubscriber Source # 
Instance details

Defined in Amazonka.Budgets.UpdateSubscriber

Associated Types

type Rep UpdateSubscriber :: Type -> Type #

NFData UpdateSubscriber Source # 
Instance details

Defined in Amazonka.Budgets.UpdateSubscriber

Methods

rnf :: UpdateSubscriber -> () #

Hashable UpdateSubscriber Source # 
Instance details

Defined in Amazonka.Budgets.UpdateSubscriber

ToJSON UpdateSubscriber Source # 
Instance details

Defined in Amazonka.Budgets.UpdateSubscriber

AWSRequest UpdateSubscriber Source # 
Instance details

Defined in Amazonka.Budgets.UpdateSubscriber

Associated Types

type AWSResponse UpdateSubscriber #

ToHeaders UpdateSubscriber Source # 
Instance details

Defined in Amazonka.Budgets.UpdateSubscriber

ToPath UpdateSubscriber Source # 
Instance details

Defined in Amazonka.Budgets.UpdateSubscriber

ToQuery UpdateSubscriber Source # 
Instance details

Defined in Amazonka.Budgets.UpdateSubscriber

type Rep UpdateSubscriber Source # 
Instance details

Defined in Amazonka.Budgets.UpdateSubscriber

type Rep UpdateSubscriber = D1 ('MetaData "UpdateSubscriber" "Amazonka.Budgets.UpdateSubscriber" "libZSservicesZSamazonka-budgetsZSamazonka-budgets" 'False) (C1 ('MetaCons "UpdateSubscriber'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "budgetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "notification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Notification) :*: (S1 ('MetaSel ('Just "oldSubscriber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Subscriber) :*: S1 ('MetaSel ('Just "newSubscriber'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Subscriber)))))
type AWSResponse UpdateSubscriber Source # 
Instance details

Defined in Amazonka.Budgets.UpdateSubscriber

newUpdateSubscriber Source #

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.

$sel:budgetName:UpdateSubscriber', updateSubscriber_budgetName - The name of the budget whose subscriber you want to update.

$sel:notification: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

Instances details
Eq UpdateSubscriberResponse Source # 
Instance details

Defined in Amazonka.Budgets.UpdateSubscriber

Read UpdateSubscriberResponse Source # 
Instance details

Defined in Amazonka.Budgets.UpdateSubscriber

Show UpdateSubscriberResponse Source # 
Instance details

Defined in Amazonka.Budgets.UpdateSubscriber

Generic UpdateSubscriberResponse Source # 
Instance details

Defined in Amazonka.Budgets.UpdateSubscriber

Associated Types

type Rep UpdateSubscriberResponse :: Type -> Type #

NFData UpdateSubscriberResponse Source # 
Instance details

Defined in Amazonka.Budgets.UpdateSubscriber

type Rep UpdateSubscriberResponse Source # 
Instance details

Defined in Amazonka.Budgets.UpdateSubscriber

type Rep UpdateSubscriberResponse = D1 ('MetaData "UpdateSubscriberResponse" "Amazonka.Budgets.UpdateSubscriber" "libZSservicesZSamazonka-budgetsZSamazonka-budgets" 'False) (C1 ('MetaCons "UpdateSubscriberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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