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 |
Associates the specified budget with the specified resource.
Synopsis
- data AssociateBudgetWithResource = AssociateBudgetWithResource' {
- budgetName :: Text
- resourceId :: Text
- newAssociateBudgetWithResource :: Text -> Text -> AssociateBudgetWithResource
- associateBudgetWithResource_budgetName :: Lens' AssociateBudgetWithResource Text
- associateBudgetWithResource_resourceId :: Lens' AssociateBudgetWithResource Text
- data AssociateBudgetWithResourceResponse = AssociateBudgetWithResourceResponse' {
- httpStatus :: Int
- newAssociateBudgetWithResourceResponse :: Int -> AssociateBudgetWithResourceResponse
- associateBudgetWithResourceResponse_httpStatus :: Lens' AssociateBudgetWithResourceResponse Int
Creating a Request
data AssociateBudgetWithResource Source #
See: newAssociateBudgetWithResource
smart constructor.
AssociateBudgetWithResource' | |
|
Instances
newAssociateBudgetWithResource Source #
:: Text | |
-> Text | |
-> AssociateBudgetWithResource |
Create a value of AssociateBudgetWithResource
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:AssociateBudgetWithResource'
, associateBudgetWithResource_budgetName
- The name of the budget you want to associate.
$sel:resourceId:AssociateBudgetWithResource'
, associateBudgetWithResource_resourceId
- The resource identifier. Either a portfolio-id or a product-id.
Request Lenses
associateBudgetWithResource_budgetName :: Lens' AssociateBudgetWithResource Text Source #
The name of the budget you want to associate.
associateBudgetWithResource_resourceId :: Lens' AssociateBudgetWithResource Text Source #
The resource identifier. Either a portfolio-id or a product-id.
Destructuring the Response
data AssociateBudgetWithResourceResponse Source #
See: newAssociateBudgetWithResourceResponse
smart constructor.
AssociateBudgetWithResourceResponse' | |
|
Instances
newAssociateBudgetWithResourceResponse Source #
Create a value of AssociateBudgetWithResourceResponse
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:AssociateBudgetWithResourceResponse'
, associateBudgetWithResourceResponse_httpStatus
- The response's http status code.
Response Lenses
associateBudgetWithResourceResponse_httpStatus :: Lens' AssociateBudgetWithResourceResponse Int Source #
The response's http status code.