Copyright | (c) 2013-2021 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 |
Disassociates the specified budget from the specified resource.
Synopsis
- data DisassociateBudgetFromResource = DisassociateBudgetFromResource' {
- budgetName :: Text
- resourceId :: Text
- newDisassociateBudgetFromResource :: Text -> Text -> DisassociateBudgetFromResource
- disassociateBudgetFromResource_budgetName :: Lens' DisassociateBudgetFromResource Text
- disassociateBudgetFromResource_resourceId :: Lens' DisassociateBudgetFromResource Text
- data DisassociateBudgetFromResourceResponse = DisassociateBudgetFromResourceResponse' {
- httpStatus :: Int
- newDisassociateBudgetFromResourceResponse :: Int -> DisassociateBudgetFromResourceResponse
- disassociateBudgetFromResourceResponse_httpStatus :: Lens' DisassociateBudgetFromResourceResponse Int
Creating a Request
data DisassociateBudgetFromResource Source #
See: newDisassociateBudgetFromResource
smart constructor.
DisassociateBudgetFromResource' | |
|
Instances
newDisassociateBudgetFromResource Source #
Create a value of DisassociateBudgetFromResource
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:budgetName:DisassociateBudgetFromResource'
, disassociateBudgetFromResource_budgetName
- The name of the budget you want to disassociate.
$sel:resourceId:DisassociateBudgetFromResource'
, disassociateBudgetFromResource_resourceId
- The resource identifier you want to disassociate from. Either a
portfolio-id or a product-id.
Request Lenses
disassociateBudgetFromResource_budgetName :: Lens' DisassociateBudgetFromResource Text Source #
The name of the budget you want to disassociate.
disassociateBudgetFromResource_resourceId :: Lens' DisassociateBudgetFromResource Text Source #
The resource identifier you want to disassociate from. Either a portfolio-id or a product-id.
Destructuring the Response
data DisassociateBudgetFromResourceResponse Source #
See: newDisassociateBudgetFromResourceResponse
smart constructor.
DisassociateBudgetFromResourceResponse' | |
|
Instances
Eq DisassociateBudgetFromResourceResponse Source # | |
Read DisassociateBudgetFromResourceResponse Source # | |
Show DisassociateBudgetFromResourceResponse Source # | |
Generic DisassociateBudgetFromResourceResponse Source # | |
Defined in Amazonka.ServiceCatalog.DisassociateBudgetFromResource type Rep DisassociateBudgetFromResourceResponse :: Type -> Type # | |
NFData DisassociateBudgetFromResourceResponse Source # | |
type Rep DisassociateBudgetFromResourceResponse Source # | |
Defined in Amazonka.ServiceCatalog.DisassociateBudgetFromResource type Rep DisassociateBudgetFromResourceResponse = D1 ('MetaData "DisassociateBudgetFromResourceResponse" "Amazonka.ServiceCatalog.DisassociateBudgetFromResource" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "DisassociateBudgetFromResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisassociateBudgetFromResourceResponse Source #
Create a value of DisassociateBudgetFromResourceResponse
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:DisassociateBudgetFromResourceResponse'
, disassociateBudgetFromResourceResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateBudgetFromResourceResponse_httpStatus :: Lens' DisassociateBudgetFromResourceResponse Int Source #
The response's http status code.