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 |
Disassociates a batch of resources from a percentage custom line item.
Synopsis
- data BatchDisassociateResourcesFromCustomLineItem = BatchDisassociateResourcesFromCustomLineItem' {}
- newBatchDisassociateResourcesFromCustomLineItem :: Text -> NonEmpty Text -> BatchDisassociateResourcesFromCustomLineItem
- batchDisassociateResourcesFromCustomLineItem_billingPeriodRange :: Lens' BatchDisassociateResourcesFromCustomLineItem (Maybe CustomLineItemBillingPeriodRange)
- batchDisassociateResourcesFromCustomLineItem_targetArn :: Lens' BatchDisassociateResourcesFromCustomLineItem Text
- batchDisassociateResourcesFromCustomLineItem_resourceArns :: Lens' BatchDisassociateResourcesFromCustomLineItem (NonEmpty Text)
- data BatchDisassociateResourcesFromCustomLineItemResponse = BatchDisassociateResourcesFromCustomLineItemResponse' {}
- newBatchDisassociateResourcesFromCustomLineItemResponse :: Int -> BatchDisassociateResourcesFromCustomLineItemResponse
- batchDisassociateResourcesFromCustomLineItemResponse_failedDisassociatedResources :: Lens' BatchDisassociateResourcesFromCustomLineItemResponse (Maybe [DisassociateResourceResponseElement])
- batchDisassociateResourcesFromCustomLineItemResponse_successfullyDisassociatedResources :: Lens' BatchDisassociateResourcesFromCustomLineItemResponse (Maybe [DisassociateResourceResponseElement])
- batchDisassociateResourcesFromCustomLineItemResponse_httpStatus :: Lens' BatchDisassociateResourcesFromCustomLineItemResponse Int
Creating a Request
data BatchDisassociateResourcesFromCustomLineItem Source #
See: newBatchDisassociateResourcesFromCustomLineItem
smart constructor.
BatchDisassociateResourcesFromCustomLineItem' | |
|
Instances
newBatchDisassociateResourcesFromCustomLineItem Source #
:: Text |
|
-> NonEmpty Text |
|
-> BatchDisassociateResourcesFromCustomLineItem |
Create a value of BatchDisassociateResourcesFromCustomLineItem
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:
BatchDisassociateResourcesFromCustomLineItem
, batchDisassociateResourcesFromCustomLineItem_billingPeriodRange
- Undocumented member.
$sel:targetArn:BatchDisassociateResourcesFromCustomLineItem'
, batchDisassociateResourcesFromCustomLineItem_targetArn
- A percentage custom line item ARN to disassociate the resources from.
$sel:resourceArns:BatchDisassociateResourcesFromCustomLineItem'
, batchDisassociateResourcesFromCustomLineItem_resourceArns
- A list containing the ARNs of resources to be disassociated.
Request Lenses
batchDisassociateResourcesFromCustomLineItem_billingPeriodRange :: Lens' BatchDisassociateResourcesFromCustomLineItem (Maybe CustomLineItemBillingPeriodRange) Source #
Undocumented member.
batchDisassociateResourcesFromCustomLineItem_targetArn :: Lens' BatchDisassociateResourcesFromCustomLineItem Text Source #
A percentage custom line item ARN to disassociate the resources from.
batchDisassociateResourcesFromCustomLineItem_resourceArns :: Lens' BatchDisassociateResourcesFromCustomLineItem (NonEmpty Text) Source #
A list containing the ARNs of resources to be disassociated.
Destructuring the Response
data BatchDisassociateResourcesFromCustomLineItemResponse Source #
See: newBatchDisassociateResourcesFromCustomLineItemResponse
smart constructor.
BatchDisassociateResourcesFromCustomLineItemResponse' | |
|
Instances
newBatchDisassociateResourcesFromCustomLineItemResponse Source #
:: Int |
|
-> BatchDisassociateResourcesFromCustomLineItemResponse |
Create a value of BatchDisassociateResourcesFromCustomLineItemResponse
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:failedDisassociatedResources:BatchDisassociateResourcesFromCustomLineItemResponse'
, batchDisassociateResourcesFromCustomLineItemResponse_failedDisassociatedResources
- A list of DisassociateResourceResponseElement
for each resource that
failed disassociation from a percentage custom line item.
$sel:successfullyDisassociatedResources:BatchDisassociateResourcesFromCustomLineItemResponse'
, batchDisassociateResourcesFromCustomLineItemResponse_successfullyDisassociatedResources
- A list of DisassociateResourceResponseElement
for each resource
that's been disassociated from a percentage custom line item
successfully.
$sel:httpStatus:BatchDisassociateResourcesFromCustomLineItemResponse'
, batchDisassociateResourcesFromCustomLineItemResponse_httpStatus
- The response's http status code.
Response Lenses
batchDisassociateResourcesFromCustomLineItemResponse_failedDisassociatedResources :: Lens' BatchDisassociateResourcesFromCustomLineItemResponse (Maybe [DisassociateResourceResponseElement]) Source #
A list of DisassociateResourceResponseElement
for each resource that
failed disassociation from a percentage custom line item.
batchDisassociateResourcesFromCustomLineItemResponse_successfullyDisassociatedResources :: Lens' BatchDisassociateResourcesFromCustomLineItemResponse (Maybe [DisassociateResourceResponseElement]) Source #
A list of DisassociateResourceResponseElement
for each resource
that's been disassociated from a percentage custom line item
successfully.
batchDisassociateResourcesFromCustomLineItemResponse_httpStatus :: Lens' BatchDisassociateResourcesFromCustomLineItemResponse Int Source #
The response's http status code.