amazonka-billingconductor-2.0: Amazon BillingConductor SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

Description

Associates a batch of resources to a percentage custom line item.

Synopsis

Creating a Request

data BatchAssociateResourcesToCustomLineItem Source #

Constructors

BatchAssociateResourcesToCustomLineItem' 

Fields

Instances

Instances details
ToJSON BatchAssociateResourcesToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

ToHeaders BatchAssociateResourcesToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

ToPath BatchAssociateResourcesToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

ToQuery BatchAssociateResourcesToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

AWSRequest BatchAssociateResourcesToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

Generic BatchAssociateResourcesToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

Read BatchAssociateResourcesToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

Show BatchAssociateResourcesToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

NFData BatchAssociateResourcesToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

Eq BatchAssociateResourcesToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

Hashable BatchAssociateResourcesToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

type AWSResponse BatchAssociateResourcesToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

type Rep BatchAssociateResourcesToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

type Rep BatchAssociateResourcesToCustomLineItem = D1 ('MetaData "BatchAssociateResourcesToCustomLineItem" "Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "BatchAssociateResourcesToCustomLineItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "billingPeriodRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomLineItemBillingPeriodRange)) :*: (S1 ('MetaSel ('Just "targetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)))))

Request Lenses

batchAssociateResourcesToCustomLineItem_targetArn :: Lens' BatchAssociateResourcesToCustomLineItem Text Source #

A percentage custom line item ARN to associate the resources to.

Destructuring the Response

data BatchAssociateResourcesToCustomLineItemResponse Source #

Constructors

BatchAssociateResourcesToCustomLineItemResponse' 

Fields

Instances

Instances details
Generic BatchAssociateResourcesToCustomLineItemResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

Read BatchAssociateResourcesToCustomLineItemResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

Show BatchAssociateResourcesToCustomLineItemResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

NFData BatchAssociateResourcesToCustomLineItemResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

Eq BatchAssociateResourcesToCustomLineItemResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

type Rep BatchAssociateResourcesToCustomLineItemResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem

type Rep BatchAssociateResourcesToCustomLineItemResponse = D1 ('MetaData "BatchAssociateResourcesToCustomLineItemResponse" "Amazonka.BillingConductor.BatchAssociateResourcesToCustomLineItem" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "BatchAssociateResourcesToCustomLineItemResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failedAssociatedResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AssociateResourceResponseElement])) :*: (S1 ('MetaSel ('Just "successfullyAssociatedResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AssociateResourceResponseElement])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newBatchAssociateResourcesToCustomLineItemResponse Source #

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.