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

Description

Deletes a budget. You can delete your budget at any time.

Deleting a budget also deletes the notifications and subscribers that are associated with that budget.

Synopsis

Creating a Request

data DeleteBudget Source #

Request of DeleteBudget

See: newDeleteBudget smart constructor.

Constructors

DeleteBudget' 

Fields

  • accountId :: Text

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

  • budgetName :: Text

    The name of the budget that you want to delete.

Instances

Instances details
Eq DeleteBudget Source # 
Instance details

Defined in Amazonka.Budgets.DeleteBudget

Read DeleteBudget Source # 
Instance details

Defined in Amazonka.Budgets.DeleteBudget

Show DeleteBudget Source # 
Instance details

Defined in Amazonka.Budgets.DeleteBudget

Generic DeleteBudget Source # 
Instance details

Defined in Amazonka.Budgets.DeleteBudget

Associated Types

type Rep DeleteBudget :: Type -> Type #

NFData DeleteBudget Source # 
Instance details

Defined in Amazonka.Budgets.DeleteBudget

Methods

rnf :: DeleteBudget -> () #

Hashable DeleteBudget Source # 
Instance details

Defined in Amazonka.Budgets.DeleteBudget

ToJSON DeleteBudget Source # 
Instance details

Defined in Amazonka.Budgets.DeleteBudget

AWSRequest DeleteBudget Source # 
Instance details

Defined in Amazonka.Budgets.DeleteBudget

Associated Types

type AWSResponse DeleteBudget #

ToHeaders DeleteBudget Source # 
Instance details

Defined in Amazonka.Budgets.DeleteBudget

ToPath DeleteBudget Source # 
Instance details

Defined in Amazonka.Budgets.DeleteBudget

ToQuery DeleteBudget Source # 
Instance details

Defined in Amazonka.Budgets.DeleteBudget

type Rep DeleteBudget Source # 
Instance details

Defined in Amazonka.Budgets.DeleteBudget

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

Defined in Amazonka.Budgets.DeleteBudget

newDeleteBudget Source #

Create a value of DeleteBudget 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:DeleteBudget', deleteBudget_accountId - The accountId that is associated with the budget that you want to delete.

$sel:budgetName:DeleteBudget', deleteBudget_budgetName - The name of the budget that you want to delete.

Request Lenses

deleteBudget_accountId :: Lens' DeleteBudget Text Source #

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

deleteBudget_budgetName :: Lens' DeleteBudget Text Source #

The name of the budget that you want to delete.

Destructuring the Response

data DeleteBudgetResponse Source #

Response of DeleteBudget

See: newDeleteBudgetResponse smart constructor.

Constructors

DeleteBudgetResponse' 

Fields

Instances

Instances details
Eq DeleteBudgetResponse Source # 
Instance details

Defined in Amazonka.Budgets.DeleteBudget

Read DeleteBudgetResponse Source # 
Instance details

Defined in Amazonka.Budgets.DeleteBudget

Show DeleteBudgetResponse Source # 
Instance details

Defined in Amazonka.Budgets.DeleteBudget

Generic DeleteBudgetResponse Source # 
Instance details

Defined in Amazonka.Budgets.DeleteBudget

Associated Types

type Rep DeleteBudgetResponse :: Type -> Type #

NFData DeleteBudgetResponse Source # 
Instance details

Defined in Amazonka.Budgets.DeleteBudget

Methods

rnf :: DeleteBudgetResponse -> () #

type Rep DeleteBudgetResponse Source # 
Instance details

Defined in Amazonka.Budgets.DeleteBudget

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

newDeleteBudgetResponse Source #

Create a value of DeleteBudgetResponse 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:DeleteBudgetResponse', deleteBudgetResponse_httpStatus - The response's http status code.

Response Lenses