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 |
Lists all the budgets associated to the specified resource.
Synopsis
- data ListBudgetsForResource = ListBudgetsForResource' {}
- newListBudgetsForResource :: Text -> ListBudgetsForResource
- listBudgetsForResource_acceptLanguage :: Lens' ListBudgetsForResource (Maybe Text)
- listBudgetsForResource_pageToken :: Lens' ListBudgetsForResource (Maybe Text)
- listBudgetsForResource_pageSize :: Lens' ListBudgetsForResource (Maybe Natural)
- listBudgetsForResource_resourceId :: Lens' ListBudgetsForResource Text
- data ListBudgetsForResourceResponse = ListBudgetsForResourceResponse' {
- nextPageToken :: Maybe Text
- budgets :: Maybe [BudgetDetail]
- httpStatus :: Int
- newListBudgetsForResourceResponse :: Int -> ListBudgetsForResourceResponse
- listBudgetsForResourceResponse_nextPageToken :: Lens' ListBudgetsForResourceResponse (Maybe Text)
- listBudgetsForResourceResponse_budgets :: Lens' ListBudgetsForResourceResponse (Maybe [BudgetDetail])
- listBudgetsForResourceResponse_httpStatus :: Lens' ListBudgetsForResourceResponse Int
Creating a Request
data ListBudgetsForResource Source #
See: newListBudgetsForResource
smart constructor.
ListBudgetsForResource' | |
|
Instances
newListBudgetsForResource Source #
Create a value of ListBudgetsForResource
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:acceptLanguage:ListBudgetsForResource'
, listBudgetsForResource_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:pageToken:ListBudgetsForResource'
, listBudgetsForResource_pageToken
- The page token for the next set of results. To retrieve the first set of
results, use null.
$sel:pageSize:ListBudgetsForResource'
, listBudgetsForResource_pageSize
- The maximum number of items to return with this call.
$sel:resourceId:ListBudgetsForResource'
, listBudgetsForResource_resourceId
- The resource identifier.
Request Lenses
listBudgetsForResource_acceptLanguage :: Lens' ListBudgetsForResource (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
listBudgetsForResource_pageToken :: Lens' ListBudgetsForResource (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
listBudgetsForResource_pageSize :: Lens' ListBudgetsForResource (Maybe Natural) Source #
The maximum number of items to return with this call.
listBudgetsForResource_resourceId :: Lens' ListBudgetsForResource Text Source #
The resource identifier.
Destructuring the Response
data ListBudgetsForResourceResponse Source #
See: newListBudgetsForResourceResponse
smart constructor.
ListBudgetsForResourceResponse' | |
|
Instances
newListBudgetsForResourceResponse Source #
Create a value of ListBudgetsForResourceResponse
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:nextPageToken:ListBudgetsForResourceResponse'
, listBudgetsForResourceResponse_nextPageToken
- The page token to use to retrieve the next set of results. If there are
no additional results, this value is null.
$sel:budgets:ListBudgetsForResourceResponse'
, listBudgetsForResourceResponse_budgets
- Information about the associated budgets.
$sel:httpStatus:ListBudgetsForResourceResponse'
, listBudgetsForResourceResponse_httpStatus
- The response's http status code.
Response Lenses
listBudgetsForResourceResponse_nextPageToken :: Lens' ListBudgetsForResourceResponse (Maybe Text) Source #
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
listBudgetsForResourceResponse_budgets :: Lens' ListBudgetsForResourceResponse (Maybe [BudgetDetail]) Source #
Information about the associated budgets.
listBudgetsForResourceResponse_httpStatus :: Lens' ListBudgetsForResourceResponse Int Source #
The response's http status code.