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 |
Associates a batch of resources to a percentage custom line item.
Synopsis
- data BatchAssociateResourcesToCustomLineItem = BatchAssociateResourcesToCustomLineItem' {}
- newBatchAssociateResourcesToCustomLineItem :: Text -> NonEmpty Text -> BatchAssociateResourcesToCustomLineItem
- batchAssociateResourcesToCustomLineItem_billingPeriodRange :: Lens' BatchAssociateResourcesToCustomLineItem (Maybe CustomLineItemBillingPeriodRange)
- batchAssociateResourcesToCustomLineItem_targetArn :: Lens' BatchAssociateResourcesToCustomLineItem Text
- batchAssociateResourcesToCustomLineItem_resourceArns :: Lens' BatchAssociateResourcesToCustomLineItem (NonEmpty Text)
- data BatchAssociateResourcesToCustomLineItemResponse = BatchAssociateResourcesToCustomLineItemResponse' {}
- newBatchAssociateResourcesToCustomLineItemResponse :: Int -> BatchAssociateResourcesToCustomLineItemResponse
- batchAssociateResourcesToCustomLineItemResponse_failedAssociatedResources :: Lens' BatchAssociateResourcesToCustomLineItemResponse (Maybe [AssociateResourceResponseElement])
- batchAssociateResourcesToCustomLineItemResponse_successfullyAssociatedResources :: Lens' BatchAssociateResourcesToCustomLineItemResponse (Maybe [AssociateResourceResponseElement])
- batchAssociateResourcesToCustomLineItemResponse_httpStatus :: Lens' BatchAssociateResourcesToCustomLineItemResponse Int
Creating a Request
data BatchAssociateResourcesToCustomLineItem Source #
See: newBatchAssociateResourcesToCustomLineItem
smart constructor.
BatchAssociateResourcesToCustomLineItem' | |
|
Instances
newBatchAssociateResourcesToCustomLineItem Source #
Create a value of BatchAssociateResourcesToCustomLineItem
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:
BatchAssociateResourcesToCustomLineItem
, batchAssociateResourcesToCustomLineItem_billingPeriodRange
- Undocumented member.
$sel:targetArn:BatchAssociateResourcesToCustomLineItem'
, batchAssociateResourcesToCustomLineItem_targetArn
- A percentage custom line item ARN to associate the resources to.
$sel:resourceArns:BatchAssociateResourcesToCustomLineItem'
, batchAssociateResourcesToCustomLineItem_resourceArns
- A list containing the ARNs of the resources to be associated.
Request Lenses
batchAssociateResourcesToCustomLineItem_billingPeriodRange :: Lens' BatchAssociateResourcesToCustomLineItem (Maybe CustomLineItemBillingPeriodRange) Source #
Undocumented member.
batchAssociateResourcesToCustomLineItem_targetArn :: Lens' BatchAssociateResourcesToCustomLineItem Text Source #
A percentage custom line item ARN to associate the resources to.
batchAssociateResourcesToCustomLineItem_resourceArns :: Lens' BatchAssociateResourcesToCustomLineItem (NonEmpty Text) Source #
A list containing the ARNs of the resources to be associated.
Destructuring the Response
data BatchAssociateResourcesToCustomLineItemResponse Source #
See: newBatchAssociateResourcesToCustomLineItemResponse
smart constructor.
BatchAssociateResourcesToCustomLineItemResponse' | |
|
Instances
newBatchAssociateResourcesToCustomLineItemResponse Source #
:: Int |
|
-> BatchAssociateResourcesToCustomLineItemResponse |
Create a value of BatchAssociateResourcesToCustomLineItemResponse
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:failedAssociatedResources:BatchAssociateResourcesToCustomLineItemResponse'
, batchAssociateResourcesToCustomLineItemResponse_failedAssociatedResources
- A list of AssociateResourceResponseElement
for each resource that
failed association to a percentage custom line item.
$sel:successfullyAssociatedResources:BatchAssociateResourcesToCustomLineItemResponse'
, batchAssociateResourcesToCustomLineItemResponse_successfullyAssociatedResources
- A list of AssociateResourceResponseElement
for each resource that's
been associated to a percentage custom line item successfully.
$sel:httpStatus:BatchAssociateResourcesToCustomLineItemResponse'
, batchAssociateResourcesToCustomLineItemResponse_httpStatus
- The response's http status code.
Response Lenses
batchAssociateResourcesToCustomLineItemResponse_failedAssociatedResources :: Lens' BatchAssociateResourcesToCustomLineItemResponse (Maybe [AssociateResourceResponseElement]) Source #
A list of AssociateResourceResponseElement
for each resource that
failed association to a percentage custom line item.
batchAssociateResourcesToCustomLineItemResponse_successfullyAssociatedResources :: Lens' BatchAssociateResourcesToCustomLineItemResponse (Maybe [AssociateResourceResponseElement]) Source #
A list of AssociateResourceResponseElement
for each resource that's
been associated to a percentage custom line item successfully.
batchAssociateResourcesToCustomLineItemResponse_httpStatus :: Lens' BatchAssociateResourcesToCustomLineItemResponse Int Source #
The response's http status code.