Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Updates status for cost allocation tags in bulk, with maximum batch size of 20. If the tag status that's updated is the same as the existing tag status, the request doesn't fail. Instead, it doesn't have any effect on the tag status (for example, activating the active tag).
Synopsis
- data UpdateCostAllocationTagsStatus = UpdateCostAllocationTagsStatus' {}
- newUpdateCostAllocationTagsStatus :: NonEmpty CostAllocationTagStatusEntry -> UpdateCostAllocationTagsStatus
- updateCostAllocationTagsStatus_costAllocationTagsStatus :: Lens' UpdateCostAllocationTagsStatus (NonEmpty CostAllocationTagStatusEntry)
- data UpdateCostAllocationTagsStatusResponse = UpdateCostAllocationTagsStatusResponse' {}
- newUpdateCostAllocationTagsStatusResponse :: Int -> UpdateCostAllocationTagsStatusResponse
- updateCostAllocationTagsStatusResponse_errors :: Lens' UpdateCostAllocationTagsStatusResponse (Maybe [UpdateCostAllocationTagsStatusError])
- updateCostAllocationTagsStatusResponse_httpStatus :: Lens' UpdateCostAllocationTagsStatusResponse Int
Creating a Request
data UpdateCostAllocationTagsStatus Source #
See: newUpdateCostAllocationTagsStatus
smart constructor.
UpdateCostAllocationTagsStatus' | |
|
Instances
newUpdateCostAllocationTagsStatus Source #
:: NonEmpty CostAllocationTagStatusEntry |
|
-> UpdateCostAllocationTagsStatus |
Create a value of UpdateCostAllocationTagsStatus
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:costAllocationTagsStatus:UpdateCostAllocationTagsStatus'
, updateCostAllocationTagsStatus_costAllocationTagsStatus
- The list of CostAllocationTagStatusEntry
objects that are used to
update cost allocation tags status for this request.
Request Lenses
updateCostAllocationTagsStatus_costAllocationTagsStatus :: Lens' UpdateCostAllocationTagsStatus (NonEmpty CostAllocationTagStatusEntry) Source #
The list of CostAllocationTagStatusEntry
objects that are used to
update cost allocation tags status for this request.
Destructuring the Response
data UpdateCostAllocationTagsStatusResponse Source #
See: newUpdateCostAllocationTagsStatusResponse
smart constructor.
UpdateCostAllocationTagsStatusResponse' | |
|
Instances
newUpdateCostAllocationTagsStatusResponse Source #
Create a value of UpdateCostAllocationTagsStatusResponse
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:errors:UpdateCostAllocationTagsStatusResponse'
, updateCostAllocationTagsStatusResponse_errors
- A list of UpdateCostAllocationTagsStatusError
objects with error
details about each cost allocation tag that can't be updated. If
there's no failure, an empty array returns.
$sel:httpStatus:UpdateCostAllocationTagsStatusResponse'
, updateCostAllocationTagsStatusResponse_httpStatus
- The response's http status code.
Response Lenses
updateCostAllocationTagsStatusResponse_errors :: Lens' UpdateCostAllocationTagsStatusResponse (Maybe [UpdateCostAllocationTagsStatusError]) Source #
A list of UpdateCostAllocationTagsStatusError
objects with error
details about each cost allocation tag that can't be updated. If
there's no failure, an empty array returns.
updateCostAllocationTagsStatusResponse_httpStatus :: Lens' UpdateCostAllocationTagsStatusResponse Int Source #
The response's http status code.