billingconductor.d.ts 80 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939
  1. import {Request} from '../lib/request';
  2. import {Response} from '../lib/response';
  3. import {AWSError} from '../lib/error';
  4. import {Service} from '../lib/service';
  5. import {ServiceConfigurationOptions} from '../lib/service';
  6. import {ConfigBase as Config} from '../lib/config-base';
  7. interface Blob {}
  8. declare class Billingconductor extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: Billingconductor.Types.ClientConfiguration)
  13. config: Config & Billingconductor.Types.ClientConfiguration;
  14. /**
  15. * Connects an array of account IDs in a consolidated billing family to a predefined billing group. The account IDs must be a part of the consolidated billing family during the current month, and not already associated with another billing group. The maximum number of accounts that can be associated in one call is 30.
  16. */
  17. associateAccounts(params: Billingconductor.Types.AssociateAccountsInput, callback?: (err: AWSError, data: Billingconductor.Types.AssociateAccountsOutput) => void): Request<Billingconductor.Types.AssociateAccountsOutput, AWSError>;
  18. /**
  19. * Connects an array of account IDs in a consolidated billing family to a predefined billing group. The account IDs must be a part of the consolidated billing family during the current month, and not already associated with another billing group. The maximum number of accounts that can be associated in one call is 30.
  20. */
  21. associateAccounts(callback?: (err: AWSError, data: Billingconductor.Types.AssociateAccountsOutput) => void): Request<Billingconductor.Types.AssociateAccountsOutput, AWSError>;
  22. /**
  23. * Connects an array of PricingRuleArns to a defined PricingPlan. The maximum number PricingRuleArn that can be associated in one call is 30.
  24. */
  25. associatePricingRules(params: Billingconductor.Types.AssociatePricingRulesInput, callback?: (err: AWSError, data: Billingconductor.Types.AssociatePricingRulesOutput) => void): Request<Billingconductor.Types.AssociatePricingRulesOutput, AWSError>;
  26. /**
  27. * Connects an array of PricingRuleArns to a defined PricingPlan. The maximum number PricingRuleArn that can be associated in one call is 30.
  28. */
  29. associatePricingRules(callback?: (err: AWSError, data: Billingconductor.Types.AssociatePricingRulesOutput) => void): Request<Billingconductor.Types.AssociatePricingRulesOutput, AWSError>;
  30. /**
  31. * Associates a batch of resources to a percentage custom line item.
  32. */
  33. batchAssociateResourcesToCustomLineItem(params: Billingconductor.Types.BatchAssociateResourcesToCustomLineItemInput, callback?: (err: AWSError, data: Billingconductor.Types.BatchAssociateResourcesToCustomLineItemOutput) => void): Request<Billingconductor.Types.BatchAssociateResourcesToCustomLineItemOutput, AWSError>;
  34. /**
  35. * Associates a batch of resources to a percentage custom line item.
  36. */
  37. batchAssociateResourcesToCustomLineItem(callback?: (err: AWSError, data: Billingconductor.Types.BatchAssociateResourcesToCustomLineItemOutput) => void): Request<Billingconductor.Types.BatchAssociateResourcesToCustomLineItemOutput, AWSError>;
  38. /**
  39. * Disassociates a batch of resources from a percentage custom line item.
  40. */
  41. batchDisassociateResourcesFromCustomLineItem(params: Billingconductor.Types.BatchDisassociateResourcesFromCustomLineItemInput, callback?: (err: AWSError, data: Billingconductor.Types.BatchDisassociateResourcesFromCustomLineItemOutput) => void): Request<Billingconductor.Types.BatchDisassociateResourcesFromCustomLineItemOutput, AWSError>;
  42. /**
  43. * Disassociates a batch of resources from a percentage custom line item.
  44. */
  45. batchDisassociateResourcesFromCustomLineItem(callback?: (err: AWSError, data: Billingconductor.Types.BatchDisassociateResourcesFromCustomLineItemOutput) => void): Request<Billingconductor.Types.BatchDisassociateResourcesFromCustomLineItemOutput, AWSError>;
  46. /**
  47. * Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.
  48. */
  49. createBillingGroup(params: Billingconductor.Types.CreateBillingGroupInput, callback?: (err: AWSError, data: Billingconductor.Types.CreateBillingGroupOutput) => void): Request<Billingconductor.Types.CreateBillingGroupOutput, AWSError>;
  50. /**
  51. * Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.
  52. */
  53. createBillingGroup(callback?: (err: AWSError, data: Billingconductor.Types.CreateBillingGroupOutput) => void): Request<Billingconductor.Types.CreateBillingGroupOutput, AWSError>;
  54. /**
  55. * Creates a custom line item that can be used to create a one-time fixed charge that can be applied to a single billing group for the current or previous billing period. The one-time fixed charge is either a fee or discount.
  56. */
  57. createCustomLineItem(params: Billingconductor.Types.CreateCustomLineItemInput, callback?: (err: AWSError, data: Billingconductor.Types.CreateCustomLineItemOutput) => void): Request<Billingconductor.Types.CreateCustomLineItemOutput, AWSError>;
  58. /**
  59. * Creates a custom line item that can be used to create a one-time fixed charge that can be applied to a single billing group for the current or previous billing period. The one-time fixed charge is either a fee or discount.
  60. */
  61. createCustomLineItem(callback?: (err: AWSError, data: Billingconductor.Types.CreateCustomLineItemOutput) => void): Request<Billingconductor.Types.CreateCustomLineItemOutput, AWSError>;
  62. /**
  63. * Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.
  64. */
  65. createPricingPlan(params: Billingconductor.Types.CreatePricingPlanInput, callback?: (err: AWSError, data: Billingconductor.Types.CreatePricingPlanOutput) => void): Request<Billingconductor.Types.CreatePricingPlanOutput, AWSError>;
  66. /**
  67. * Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.
  68. */
  69. createPricingPlan(callback?: (err: AWSError, data: Billingconductor.Types.CreatePricingPlanOutput) => void): Request<Billingconductor.Types.CreatePricingPlanOutput, AWSError>;
  70. /**
  71. * Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.
  72. */
  73. createPricingRule(params: Billingconductor.Types.CreatePricingRuleInput, callback?: (err: AWSError, data: Billingconductor.Types.CreatePricingRuleOutput) => void): Request<Billingconductor.Types.CreatePricingRuleOutput, AWSError>;
  74. /**
  75. * Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.
  76. */
  77. createPricingRule(callback?: (err: AWSError, data: Billingconductor.Types.CreatePricingRuleOutput) => void): Request<Billingconductor.Types.CreatePricingRuleOutput, AWSError>;
  78. /**
  79. * Deletes a billing group.
  80. */
  81. deleteBillingGroup(params: Billingconductor.Types.DeleteBillingGroupInput, callback?: (err: AWSError, data: Billingconductor.Types.DeleteBillingGroupOutput) => void): Request<Billingconductor.Types.DeleteBillingGroupOutput, AWSError>;
  82. /**
  83. * Deletes a billing group.
  84. */
  85. deleteBillingGroup(callback?: (err: AWSError, data: Billingconductor.Types.DeleteBillingGroupOutput) => void): Request<Billingconductor.Types.DeleteBillingGroupOutput, AWSError>;
  86. /**
  87. * Deletes the custom line item identified by the given ARN in the current, or previous billing period.
  88. */
  89. deleteCustomLineItem(params: Billingconductor.Types.DeleteCustomLineItemInput, callback?: (err: AWSError, data: Billingconductor.Types.DeleteCustomLineItemOutput) => void): Request<Billingconductor.Types.DeleteCustomLineItemOutput, AWSError>;
  90. /**
  91. * Deletes the custom line item identified by the given ARN in the current, or previous billing period.
  92. */
  93. deleteCustomLineItem(callback?: (err: AWSError, data: Billingconductor.Types.DeleteCustomLineItemOutput) => void): Request<Billingconductor.Types.DeleteCustomLineItemOutput, AWSError>;
  94. /**
  95. * Deletes a pricing plan. The pricing plan must not be associated with any billing groups to delete successfully.
  96. */
  97. deletePricingPlan(params: Billingconductor.Types.DeletePricingPlanInput, callback?: (err: AWSError, data: Billingconductor.Types.DeletePricingPlanOutput) => void): Request<Billingconductor.Types.DeletePricingPlanOutput, AWSError>;
  98. /**
  99. * Deletes a pricing plan. The pricing plan must not be associated with any billing groups to delete successfully.
  100. */
  101. deletePricingPlan(callback?: (err: AWSError, data: Billingconductor.Types.DeletePricingPlanOutput) => void): Request<Billingconductor.Types.DeletePricingPlanOutput, AWSError>;
  102. /**
  103. * Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).
  104. */
  105. deletePricingRule(params: Billingconductor.Types.DeletePricingRuleInput, callback?: (err: AWSError, data: Billingconductor.Types.DeletePricingRuleOutput) => void): Request<Billingconductor.Types.DeletePricingRuleOutput, AWSError>;
  106. /**
  107. * Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).
  108. */
  109. deletePricingRule(callback?: (err: AWSError, data: Billingconductor.Types.DeletePricingRuleOutput) => void): Request<Billingconductor.Types.DeletePricingRuleOutput, AWSError>;
  110. /**
  111. * Removes the specified list of account IDs from the given billing group.
  112. */
  113. disassociateAccounts(params: Billingconductor.Types.DisassociateAccountsInput, callback?: (err: AWSError, data: Billingconductor.Types.DisassociateAccountsOutput) => void): Request<Billingconductor.Types.DisassociateAccountsOutput, AWSError>;
  114. /**
  115. * Removes the specified list of account IDs from the given billing group.
  116. */
  117. disassociateAccounts(callback?: (err: AWSError, data: Billingconductor.Types.DisassociateAccountsOutput) => void): Request<Billingconductor.Types.DisassociateAccountsOutput, AWSError>;
  118. /**
  119. * Disassociates a list of pricing rules from a pricing plan.
  120. */
  121. disassociatePricingRules(params: Billingconductor.Types.DisassociatePricingRulesInput, callback?: (err: AWSError, data: Billingconductor.Types.DisassociatePricingRulesOutput) => void): Request<Billingconductor.Types.DisassociatePricingRulesOutput, AWSError>;
  122. /**
  123. * Disassociates a list of pricing rules from a pricing plan.
  124. */
  125. disassociatePricingRules(callback?: (err: AWSError, data: Billingconductor.Types.DisassociatePricingRulesOutput) => void): Request<Billingconductor.Types.DisassociatePricingRulesOutput, AWSError>;
  126. /**
  127. * Retrieves the margin summary report, which includes the Amazon Web Services cost and charged amount (pro forma cost) by Amazon Web Service for a specific billing group.
  128. */
  129. getBillingGroupCostReport(params: Billingconductor.Types.GetBillingGroupCostReportInput, callback?: (err: AWSError, data: Billingconductor.Types.GetBillingGroupCostReportOutput) => void): Request<Billingconductor.Types.GetBillingGroupCostReportOutput, AWSError>;
  130. /**
  131. * Retrieves the margin summary report, which includes the Amazon Web Services cost and charged amount (pro forma cost) by Amazon Web Service for a specific billing group.
  132. */
  133. getBillingGroupCostReport(callback?: (err: AWSError, data: Billingconductor.Types.GetBillingGroupCostReportOutput) => void): Request<Billingconductor.Types.GetBillingGroupCostReportOutput, AWSError>;
  134. /**
  135. * This is a paginated call to list linked accounts that are linked to the payer account for the specified time period. If no information is provided, the current billing period is used. The response will optionally include the billing group that's associated with the linked account.
  136. */
  137. listAccountAssociations(params: Billingconductor.Types.ListAccountAssociationsInput, callback?: (err: AWSError, data: Billingconductor.Types.ListAccountAssociationsOutput) => void): Request<Billingconductor.Types.ListAccountAssociationsOutput, AWSError>;
  138. /**
  139. * This is a paginated call to list linked accounts that are linked to the payer account for the specified time period. If no information is provided, the current billing period is used. The response will optionally include the billing group that's associated with the linked account.
  140. */
  141. listAccountAssociations(callback?: (err: AWSError, data: Billingconductor.Types.ListAccountAssociationsOutput) => void): Request<Billingconductor.Types.ListAccountAssociationsOutput, AWSError>;
  142. /**
  143. * A paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated Amazon Web Services charges based on the associated pricing plan of a billing group.
  144. */
  145. listBillingGroupCostReports(params: Billingconductor.Types.ListBillingGroupCostReportsInput, callback?: (err: AWSError, data: Billingconductor.Types.ListBillingGroupCostReportsOutput) => void): Request<Billingconductor.Types.ListBillingGroupCostReportsOutput, AWSError>;
  146. /**
  147. * A paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated Amazon Web Services charges based on the associated pricing plan of a billing group.
  148. */
  149. listBillingGroupCostReports(callback?: (err: AWSError, data: Billingconductor.Types.ListBillingGroupCostReportsOutput) => void): Request<Billingconductor.Types.ListBillingGroupCostReportsOutput, AWSError>;
  150. /**
  151. * A paginated call to retrieve a list of billing groups for the given billing period. If you don't provide a billing group, the current billing period is used.
  152. */
  153. listBillingGroups(params: Billingconductor.Types.ListBillingGroupsInput, callback?: (err: AWSError, data: Billingconductor.Types.ListBillingGroupsOutput) => void): Request<Billingconductor.Types.ListBillingGroupsOutput, AWSError>;
  154. /**
  155. * A paginated call to retrieve a list of billing groups for the given billing period. If you don't provide a billing group, the current billing period is used.
  156. */
  157. listBillingGroups(callback?: (err: AWSError, data: Billingconductor.Types.ListBillingGroupsOutput) => void): Request<Billingconductor.Types.ListBillingGroupsOutput, AWSError>;
  158. /**
  159. * A paginated call to get a list of all custom line item versions.
  160. */
  161. listCustomLineItemVersions(params: Billingconductor.Types.ListCustomLineItemVersionsInput, callback?: (err: AWSError, data: Billingconductor.Types.ListCustomLineItemVersionsOutput) => void): Request<Billingconductor.Types.ListCustomLineItemVersionsOutput, AWSError>;
  162. /**
  163. * A paginated call to get a list of all custom line item versions.
  164. */
  165. listCustomLineItemVersions(callback?: (err: AWSError, data: Billingconductor.Types.ListCustomLineItemVersionsOutput) => void): Request<Billingconductor.Types.ListCustomLineItemVersionsOutput, AWSError>;
  166. /**
  167. * A paginated call to get a list of all custom line items (FFLIs) for the given billing period. If you don't provide a billing period, the current billing period is used.
  168. */
  169. listCustomLineItems(params: Billingconductor.Types.ListCustomLineItemsInput, callback?: (err: AWSError, data: Billingconductor.Types.ListCustomLineItemsOutput) => void): Request<Billingconductor.Types.ListCustomLineItemsOutput, AWSError>;
  170. /**
  171. * A paginated call to get a list of all custom line items (FFLIs) for the given billing period. If you don't provide a billing period, the current billing period is used.
  172. */
  173. listCustomLineItems(callback?: (err: AWSError, data: Billingconductor.Types.ListCustomLineItemsOutput) => void): Request<Billingconductor.Types.ListCustomLineItemsOutput, AWSError>;
  174. /**
  175. * A paginated call to get pricing plans for the given billing period. If you don't provide a billing period, the current billing period is used.
  176. */
  177. listPricingPlans(params: Billingconductor.Types.ListPricingPlansInput, callback?: (err: AWSError, data: Billingconductor.Types.ListPricingPlansOutput) => void): Request<Billingconductor.Types.ListPricingPlansOutput, AWSError>;
  178. /**
  179. * A paginated call to get pricing plans for the given billing period. If you don't provide a billing period, the current billing period is used.
  180. */
  181. listPricingPlans(callback?: (err: AWSError, data: Billingconductor.Types.ListPricingPlansOutput) => void): Request<Billingconductor.Types.ListPricingPlansOutput, AWSError>;
  182. /**
  183. * A list of the pricing plans that are associated with a pricing rule.
  184. */
  185. listPricingPlansAssociatedWithPricingRule(params: Billingconductor.Types.ListPricingPlansAssociatedWithPricingRuleInput, callback?: (err: AWSError, data: Billingconductor.Types.ListPricingPlansAssociatedWithPricingRuleOutput) => void): Request<Billingconductor.Types.ListPricingPlansAssociatedWithPricingRuleOutput, AWSError>;
  186. /**
  187. * A list of the pricing plans that are associated with a pricing rule.
  188. */
  189. listPricingPlansAssociatedWithPricingRule(callback?: (err: AWSError, data: Billingconductor.Types.ListPricingPlansAssociatedWithPricingRuleOutput) => void): Request<Billingconductor.Types.ListPricingPlansAssociatedWithPricingRuleOutput, AWSError>;
  190. /**
  191. * Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.
  192. */
  193. listPricingRules(params: Billingconductor.Types.ListPricingRulesInput, callback?: (err: AWSError, data: Billingconductor.Types.ListPricingRulesOutput) => void): Request<Billingconductor.Types.ListPricingRulesOutput, AWSError>;
  194. /**
  195. * Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.
  196. */
  197. listPricingRules(callback?: (err: AWSError, data: Billingconductor.Types.ListPricingRulesOutput) => void): Request<Billingconductor.Types.ListPricingRulesOutput, AWSError>;
  198. /**
  199. * Lists the pricing rules that are associated with a pricing plan.
  200. */
  201. listPricingRulesAssociatedToPricingPlan(params: Billingconductor.Types.ListPricingRulesAssociatedToPricingPlanInput, callback?: (err: AWSError, data: Billingconductor.Types.ListPricingRulesAssociatedToPricingPlanOutput) => void): Request<Billingconductor.Types.ListPricingRulesAssociatedToPricingPlanOutput, AWSError>;
  202. /**
  203. * Lists the pricing rules that are associated with a pricing plan.
  204. */
  205. listPricingRulesAssociatedToPricingPlan(callback?: (err: AWSError, data: Billingconductor.Types.ListPricingRulesAssociatedToPricingPlanOutput) => void): Request<Billingconductor.Types.ListPricingRulesAssociatedToPricingPlanOutput, AWSError>;
  206. /**
  207. * List the resources that are associated to a custom line item.
  208. */
  209. listResourcesAssociatedToCustomLineItem(params: Billingconductor.Types.ListResourcesAssociatedToCustomLineItemInput, callback?: (err: AWSError, data: Billingconductor.Types.ListResourcesAssociatedToCustomLineItemOutput) => void): Request<Billingconductor.Types.ListResourcesAssociatedToCustomLineItemOutput, AWSError>;
  210. /**
  211. * List the resources that are associated to a custom line item.
  212. */
  213. listResourcesAssociatedToCustomLineItem(callback?: (err: AWSError, data: Billingconductor.Types.ListResourcesAssociatedToCustomLineItemOutput) => void): Request<Billingconductor.Types.ListResourcesAssociatedToCustomLineItemOutput, AWSError>;
  214. /**
  215. * A list the tags for a resource.
  216. */
  217. listTagsForResource(params: Billingconductor.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Billingconductor.Types.ListTagsForResourceResponse) => void): Request<Billingconductor.Types.ListTagsForResourceResponse, AWSError>;
  218. /**
  219. * A list the tags for a resource.
  220. */
  221. listTagsForResource(callback?: (err: AWSError, data: Billingconductor.Types.ListTagsForResourceResponse) => void): Request<Billingconductor.Types.ListTagsForResourceResponse, AWSError>;
  222. /**
  223. * Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed.
  224. */
  225. tagResource(params: Billingconductor.Types.TagResourceRequest, callback?: (err: AWSError, data: Billingconductor.Types.TagResourceResponse) => void): Request<Billingconductor.Types.TagResourceResponse, AWSError>;
  226. /**
  227. * Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed.
  228. */
  229. tagResource(callback?: (err: AWSError, data: Billingconductor.Types.TagResourceResponse) => void): Request<Billingconductor.Types.TagResourceResponse, AWSError>;
  230. /**
  231. * Deletes specified tags from a resource.
  232. */
  233. untagResource(params: Billingconductor.Types.UntagResourceRequest, callback?: (err: AWSError, data: Billingconductor.Types.UntagResourceResponse) => void): Request<Billingconductor.Types.UntagResourceResponse, AWSError>;
  234. /**
  235. * Deletes specified tags from a resource.
  236. */
  237. untagResource(callback?: (err: AWSError, data: Billingconductor.Types.UntagResourceResponse) => void): Request<Billingconductor.Types.UntagResourceResponse, AWSError>;
  238. /**
  239. * This updates an existing billing group.
  240. */
  241. updateBillingGroup(params: Billingconductor.Types.UpdateBillingGroupInput, callback?: (err: AWSError, data: Billingconductor.Types.UpdateBillingGroupOutput) => void): Request<Billingconductor.Types.UpdateBillingGroupOutput, AWSError>;
  242. /**
  243. * This updates an existing billing group.
  244. */
  245. updateBillingGroup(callback?: (err: AWSError, data: Billingconductor.Types.UpdateBillingGroupOutput) => void): Request<Billingconductor.Types.UpdateBillingGroupOutput, AWSError>;
  246. /**
  247. * Update an existing custom line item in the current or previous billing period.
  248. */
  249. updateCustomLineItem(params: Billingconductor.Types.UpdateCustomLineItemInput, callback?: (err: AWSError, data: Billingconductor.Types.UpdateCustomLineItemOutput) => void): Request<Billingconductor.Types.UpdateCustomLineItemOutput, AWSError>;
  250. /**
  251. * Update an existing custom line item in the current or previous billing period.
  252. */
  253. updateCustomLineItem(callback?: (err: AWSError, data: Billingconductor.Types.UpdateCustomLineItemOutput) => void): Request<Billingconductor.Types.UpdateCustomLineItemOutput, AWSError>;
  254. /**
  255. * This updates an existing pricing plan.
  256. */
  257. updatePricingPlan(params: Billingconductor.Types.UpdatePricingPlanInput, callback?: (err: AWSError, data: Billingconductor.Types.UpdatePricingPlanOutput) => void): Request<Billingconductor.Types.UpdatePricingPlanOutput, AWSError>;
  258. /**
  259. * This updates an existing pricing plan.
  260. */
  261. updatePricingPlan(callback?: (err: AWSError, data: Billingconductor.Types.UpdatePricingPlanOutput) => void): Request<Billingconductor.Types.UpdatePricingPlanOutput, AWSError>;
  262. /**
  263. * Updates an existing pricing rule.
  264. */
  265. updatePricingRule(params: Billingconductor.Types.UpdatePricingRuleInput, callback?: (err: AWSError, data: Billingconductor.Types.UpdatePricingRuleOutput) => void): Request<Billingconductor.Types.UpdatePricingRuleOutput, AWSError>;
  266. /**
  267. * Updates an existing pricing rule.
  268. */
  269. updatePricingRule(callback?: (err: AWSError, data: Billingconductor.Types.UpdatePricingRuleOutput) => void): Request<Billingconductor.Types.UpdatePricingRuleOutput, AWSError>;
  270. }
  271. declare namespace Billingconductor {
  272. export type AWSCost = string;
  273. export type AccountAssociationsList = AccountAssociationsListElement[];
  274. export interface AccountAssociationsListElement {
  275. /**
  276. * The associating array of account IDs.
  277. */
  278. AccountId?: AccountId;
  279. /**
  280. * The Billing Group Arn that the linked account is associated to.
  281. */
  282. BillingGroupArn?: BillingGroupArn;
  283. /**
  284. * The Amazon Web Services account name.
  285. */
  286. AccountName?: AccountName;
  287. /**
  288. * The Amazon Web Services account email.
  289. */
  290. AccountEmail?: AccountEmail;
  291. }
  292. export type AccountEmail = string;
  293. export interface AccountGrouping {
  294. /**
  295. * The account IDs that make up the billing group. Account IDs must be a part of the consolidated billing family, and not associated with another billing group.
  296. */
  297. LinkedAccountIds: AccountIdList;
  298. /**
  299. * Specifies if this billing group will automatically associate newly added Amazon Web Services accounts that join your consolidated billing family.
  300. */
  301. AutoAssociate?: Boolean;
  302. }
  303. export type AccountId = string;
  304. export type AccountIdFilterList = AccountId[];
  305. export type AccountIdList = AccountId[];
  306. export type AccountName = string;
  307. export type Arn = string;
  308. export interface AssociateAccountsInput {
  309. /**
  310. * The Amazon Resource Name (ARN) of the billing group that associates the array of account IDs.
  311. */
  312. Arn: BillingGroupArn;
  313. /**
  314. * The associating array of account IDs.
  315. */
  316. AccountIds: AccountIdList;
  317. }
  318. export interface AssociateAccountsOutput {
  319. /**
  320. * The Amazon Resource Name (ARN) of the billing group that associates the array of account IDs.
  321. */
  322. Arn?: BillingGroupArn;
  323. }
  324. export interface AssociatePricingRulesInput {
  325. /**
  326. * The PricingPlanArn that the PricingRuleArns are associated with.
  327. */
  328. Arn: PricingPlanArn;
  329. /**
  330. * The PricingRuleArns that are associated with the Pricing Plan.
  331. */
  332. PricingRuleArns: PricingRuleArnsNonEmptyInput;
  333. }
  334. export interface AssociatePricingRulesOutput {
  335. /**
  336. * The PricingPlanArn that the PricingRuleArns are associated with.
  337. */
  338. Arn?: PricingPlanArn;
  339. }
  340. export interface AssociateResourceError {
  341. /**
  342. * The reason why the resource association failed.
  343. */
  344. Message?: String;
  345. /**
  346. * A static error code that's used to classify the type of failure.
  347. */
  348. Reason?: AssociateResourceErrorReason;
  349. }
  350. export type AssociateResourceErrorReason = "INVALID_ARN"|"SERVICE_LIMIT_EXCEEDED"|"ILLEGAL_CUSTOMLINEITEM"|"INTERNAL_SERVER_EXCEPTION"|"INVALID_BILLING_PERIOD_RANGE"|string;
  351. export interface AssociateResourceResponseElement {
  352. /**
  353. * The resource ARN that was associated to the custom line item.
  354. */
  355. Arn?: CustomLineItemAssociationElement;
  356. /**
  357. * An AssociateResourceError that will populate if the resource association fails.
  358. */
  359. Error?: AssociateResourceError;
  360. }
  361. export type AssociateResourcesResponseList = AssociateResourceResponseElement[];
  362. export type Association = string;
  363. export interface Attribute {
  364. /**
  365. * The key in a key-value pair that describes the margin summary.
  366. */
  367. Key?: String;
  368. /**
  369. * The value in a key-value pair that describes the margin summary.
  370. */
  371. Value?: String;
  372. }
  373. export type AttributesList = Attribute[];
  374. export interface BatchAssociateResourcesToCustomLineItemInput {
  375. /**
  376. * A percentage custom line item ARN to associate the resources to.
  377. */
  378. TargetArn: CustomLineItemArn;
  379. /**
  380. * A list containing the ARNs of the resources to be associated.
  381. */
  382. ResourceArns: CustomLineItemBatchAssociationsList;
  383. BillingPeriodRange?: CustomLineItemBillingPeriodRange;
  384. }
  385. export interface BatchAssociateResourcesToCustomLineItemOutput {
  386. /**
  387. * A list of AssociateResourceResponseElement for each resource that's been associated to a percentage custom line item successfully.
  388. */
  389. SuccessfullyAssociatedResources?: AssociateResourcesResponseList;
  390. /**
  391. * A list of AssociateResourceResponseElement for each resource that failed association to a percentage custom line item.
  392. */
  393. FailedAssociatedResources?: AssociateResourcesResponseList;
  394. }
  395. export interface BatchDisassociateResourcesFromCustomLineItemInput {
  396. /**
  397. * A percentage custom line item ARN to disassociate the resources from.
  398. */
  399. TargetArn: CustomLineItemArn;
  400. /**
  401. * A list containing the ARNs of resources to be disassociated.
  402. */
  403. ResourceArns: CustomLineItemBatchDisassociationsList;
  404. BillingPeriodRange?: CustomLineItemBillingPeriodRange;
  405. }
  406. export interface BatchDisassociateResourcesFromCustomLineItemOutput {
  407. /**
  408. * A list of DisassociateResourceResponseElement for each resource that's been disassociated from a percentage custom line item successfully.
  409. */
  410. SuccessfullyDisassociatedResources?: DisassociateResourcesResponseList;
  411. /**
  412. * A list of DisassociateResourceResponseElement for each resource that failed disassociation from a percentage custom line item.
  413. */
  414. FailedDisassociatedResources?: DisassociateResourcesResponseList;
  415. }
  416. export type BillingEntity = string;
  417. export type BillingGroupArn = string;
  418. export type BillingGroupArnList = BillingGroupArn[];
  419. export interface BillingGroupCostReportElement {
  420. /**
  421. * The Amazon Resource Name (ARN) of a billing group.
  422. */
  423. Arn?: BillingGroupArn;
  424. /**
  425. * The actual Amazon Web Services charges for the billing group.
  426. */
  427. AWSCost?: AWSCost;
  428. /**
  429. * The hypothetical Amazon Web Services charges based on the associated pricing plan of a billing group.
  430. */
  431. ProformaCost?: ProformaCost;
  432. /**
  433. * The billing group margin.
  434. */
  435. Margin?: Margin;
  436. /**
  437. * The percentage of billing group margin.
  438. */
  439. MarginPercentage?: MarginPercentage;
  440. /**
  441. * The displayed currency.
  442. */
  443. Currency?: Currency;
  444. }
  445. export type BillingGroupCostReportList = BillingGroupCostReportElement[];
  446. export interface BillingGroupCostReportResultElement {
  447. /**
  448. * The Amazon Resource Number (ARN) that uniquely identifies the billing group.
  449. */
  450. Arn?: BillingGroupArn;
  451. /**
  452. * The actual Amazon Web Services charges for the billing group.
  453. */
  454. AWSCost?: AWSCost;
  455. /**
  456. * The hypothetical Amazon Web Services charges based on the associated pricing plan of a billing group.
  457. */
  458. ProformaCost?: ProformaCost;
  459. /**
  460. * The billing group margin.
  461. */
  462. Margin?: Margin;
  463. /**
  464. * The percentage of the billing group margin.
  465. */
  466. MarginPercentage?: MarginPercentage;
  467. /**
  468. * The displayed currency.
  469. */
  470. Currency?: Currency;
  471. /**
  472. * The list of key-value pairs that represent the attributes by which the BillingGroupCostReportResults are grouped. For example, if you want the Amazon S3 service-level breakdown of a billing group for November 2023, the attributes list will contain a key-value pair of "PRODUCT_NAME" and "S3" and a key-value pair of "BILLING_PERIOD" and "Nov 2023".
  473. */
  474. Attributes?: AttributesList;
  475. }
  476. export type BillingGroupCostReportResultsList = BillingGroupCostReportResultElement[];
  477. export type BillingGroupDescription = string;
  478. export type BillingGroupFullArn = string;
  479. export type BillingGroupList = BillingGroupListElement[];
  480. export interface BillingGroupListElement {
  481. /**
  482. * The name of the billing group.
  483. */
  484. Name?: BillingGroupName;
  485. /**
  486. * The Amazon Resource Number (ARN) that can be used to uniquely identify the billing group.
  487. */
  488. Arn?: BillingGroupArn;
  489. /**
  490. * The description of the billing group.
  491. */
  492. Description?: BillingGroupDescription;
  493. /**
  494. * The account ID that serves as the main account in a billing group.
  495. */
  496. PrimaryAccountId?: AccountId;
  497. ComputationPreference?: ComputationPreference;
  498. /**
  499. * The number of accounts in the particular billing group.
  500. */
  501. Size?: NumberOfAccounts;
  502. /**
  503. * The time when the billing group was created.
  504. */
  505. CreationTime?: Instant;
  506. /**
  507. * The most recent time when the billing group was modified.
  508. */
  509. LastModifiedTime?: Instant;
  510. /**
  511. * The billing group status. Only one of the valid values can be used.
  512. */
  513. Status?: BillingGroupStatus;
  514. /**
  515. * The reason why the billing group is in its current status.
  516. */
  517. StatusReason?: BillingGroupStatusReason;
  518. /**
  519. * Specifies if the billing group has automatic account association (AutoAssociate) enabled.
  520. */
  521. AccountGrouping?: ListBillingGroupAccountGrouping;
  522. }
  523. export type BillingGroupName = string;
  524. export type BillingGroupStatus = "ACTIVE"|"PRIMARY_ACCOUNT_MISSING"|string;
  525. export type BillingGroupStatusList = BillingGroupStatus[];
  526. export type BillingGroupStatusReason = string;
  527. export type BillingPeriod = string;
  528. export interface BillingPeriodRange {
  529. /**
  530. * The inclusive start billing period that defines a billing period range for the margin summary.
  531. */
  532. InclusiveStartBillingPeriod: BillingPeriod;
  533. /**
  534. * The exclusive end billing period that defines a billing period range for the margin summary. For example, if you choose a billing period that starts in October 2023 and ends in December 2023, the margin summary will only include data from October 2023 and November 2023.
  535. */
  536. ExclusiveEndBillingPeriod: BillingPeriod;
  537. }
  538. export type Boolean = boolean;
  539. export type ClientToken = string;
  540. export interface ComputationPreference {
  541. /**
  542. * The Amazon Resource Name (ARN) of the pricing plan that's used to compute the Amazon Web Services charges for a billing group.
  543. */
  544. PricingPlanArn: PricingPlanFullArn;
  545. }
  546. export interface CreateBillingGroupInput {
  547. /**
  548. * The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
  549. */
  550. ClientToken?: ClientToken;
  551. /**
  552. * The billing group name. The names must be unique.
  553. */
  554. Name: BillingGroupName;
  555. /**
  556. * The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts in a consolidated billing family.
  557. */
  558. AccountGrouping: AccountGrouping;
  559. /**
  560. * The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
  561. */
  562. ComputationPreference: ComputationPreference;
  563. /**
  564. * The account ID that serves as the main account in a billing group.
  565. */
  566. PrimaryAccountId?: AccountId;
  567. /**
  568. * The description of the billing group.
  569. */
  570. Description?: BillingGroupDescription;
  571. /**
  572. * A map that contains tag keys and tag values that are attached to a billing group. This feature isn't available during the beta.
  573. */
  574. Tags?: TagMap;
  575. }
  576. export interface CreateBillingGroupOutput {
  577. /**
  578. * The Amazon Resource Name (ARN) of the created billing group.
  579. */
  580. Arn?: BillingGroupArn;
  581. }
  582. export interface CreateCustomLineItemInput {
  583. /**
  584. * The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
  585. */
  586. ClientToken?: ClientToken;
  587. /**
  588. * The name of the custom line item.
  589. */
  590. Name: CustomLineItemName;
  591. /**
  592. * The description of the custom line item. This is shown on the Bills page in association with the charge value.
  593. */
  594. Description: CustomLineItemDescription;
  595. /**
  596. * The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
  597. */
  598. BillingGroupArn: BillingGroupArn;
  599. /**
  600. * A time range for which the custom line item is effective.
  601. */
  602. BillingPeriodRange?: CustomLineItemBillingPeriodRange;
  603. /**
  604. * A map that contains tag keys and tag values that are attached to a custom line item.
  605. */
  606. Tags?: TagMap;
  607. /**
  608. * A CustomLineItemChargeDetails that describes the charge details for a custom line item.
  609. */
  610. ChargeDetails: CustomLineItemChargeDetails;
  611. /**
  612. * The Amazon Web Services account in which this custom line item will be applied to.
  613. */
  614. AccountId?: AccountId;
  615. }
  616. export interface CreateCustomLineItemOutput {
  617. /**
  618. * The Amazon Resource Name (ARN) of the created custom line item.
  619. */
  620. Arn?: CustomLineItemArn;
  621. }
  622. export interface CreateFreeTierConfig {
  623. /**
  624. * Activate or deactivate Amazon Web Services Free Tier.
  625. */
  626. Activated: TieringActivated;
  627. }
  628. export interface CreatePricingPlanInput {
  629. /**
  630. * The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
  631. */
  632. ClientToken?: ClientToken;
  633. /**
  634. * The name of the pricing plan. The names must be unique to each pricing plan.
  635. */
  636. Name: PricingPlanName;
  637. /**
  638. * The description of the pricing plan.
  639. */
  640. Description?: PricingPlanDescription;
  641. /**
  642. * A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.
  643. */
  644. PricingRuleArns?: PricingRuleArnsInput;
  645. /**
  646. * A map that contains tag keys and tag values that are attached to a pricing plan.
  647. */
  648. Tags?: TagMap;
  649. }
  650. export interface CreatePricingPlanOutput {
  651. /**
  652. * The Amazon Resource Name (ARN) of the created pricing plan.
  653. */
  654. Arn?: PricingPlanArn;
  655. }
  656. export interface CreatePricingRuleInput {
  657. /**
  658. * The token that's needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
  659. */
  660. ClientToken?: ClientToken;
  661. /**
  662. * The pricing rule name. The names must be unique to each pricing rule.
  663. */
  664. Name: PricingRuleName;
  665. /**
  666. * The pricing rule description.
  667. */
  668. Description?: PricingRuleDescription;
  669. /**
  670. * The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.
  671. */
  672. Scope: PricingRuleScope;
  673. /**
  674. * The type of pricing rule.
  675. */
  676. Type: PricingRuleType;
  677. /**
  678. * A percentage modifier that's applied on the public pricing rates.
  679. */
  680. ModifierPercentage?: ModifierPercentage;
  681. /**
  682. * If the Scope attribute is set to SERVICE or SKU, the attribute indicates which service the PricingRule is applicable for.
  683. */
  684. Service?: Service;
  685. /**
  686. * A map that contains tag keys and tag values that are attached to a pricing rule.
  687. */
  688. Tags?: TagMap;
  689. /**
  690. * The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.
  691. */
  692. BillingEntity?: BillingEntity;
  693. /**
  694. * The set of tiering configurations for the pricing rule.
  695. */
  696. Tiering?: CreateTieringInput;
  697. /**
  698. * Usage type is the unit that each service uses to measure the usage of a specific type of resource. If the Scope attribute is set to SKU, this attribute indicates which usage type the PricingRule is modifying. For example, USW2-BoxUsage:m2.2xlarge describes an M2 High Memory Double Extra Large instance in the US West (Oregon) Region. &lt;/p&gt;
  699. */
  700. UsageType?: UsageType;
  701. /**
  702. * Operation is the specific Amazon Web Services action covered by this line item. This describes the specific usage of the line item. If the Scope attribute is set to SKU, this attribute indicates which operation the PricingRule is modifying. For example, a value of RunInstances:0202 indicates the operation of running an Amazon EC2 instance.
  703. */
  704. Operation?: Operation;
  705. }
  706. export interface CreatePricingRuleOutput {
  707. /**
  708. * The Amazon Resource Name (ARN) of the created pricing rule.
  709. */
  710. Arn?: PricingRuleArn;
  711. }
  712. export interface CreateTieringInput {
  713. /**
  714. * The possible Amazon Web Services Free Tier configurations.
  715. */
  716. FreeTier: CreateFreeTierConfig;
  717. }
  718. export type Currency = string;
  719. export type CurrencyCode = "USD"|"CNY"|string;
  720. export type CustomLineItemArn = string;
  721. export type CustomLineItemArns = CustomLineItemArn[];
  722. export type CustomLineItemAssociationElement = string;
  723. export type CustomLineItemAssociationsList = CustomLineItemAssociationElement[];
  724. export type CustomLineItemBatchAssociationsList = CustomLineItemAssociationElement[];
  725. export type CustomLineItemBatchDisassociationsList = CustomLineItemAssociationElement[];
  726. export interface CustomLineItemBillingPeriodRange {
  727. /**
  728. * The inclusive start billing period that defines a billing period range where a custom line is applied.
  729. */
  730. InclusiveStartBillingPeriod: BillingPeriod;
  731. /**
  732. * The inclusive end billing period that defines a billing period range where a custom line is applied.
  733. */
  734. ExclusiveEndBillingPeriod?: BillingPeriod;
  735. }
  736. export interface CustomLineItemChargeDetails {
  737. /**
  738. * A CustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item.
  739. */
  740. Flat?: CustomLineItemFlatChargeDetails;
  741. /**
  742. * A CustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom line item.
  743. */
  744. Percentage?: CustomLineItemPercentageChargeDetails;
  745. /**
  746. * The type of the custom line item that indicates whether the charge is a fee or credit.
  747. */
  748. Type: CustomLineItemType;
  749. /**
  750. * A representation of the line item filter.
  751. */
  752. LineItemFilters?: LineItemFiltersList;
  753. }
  754. export type CustomLineItemChargeValue = number;
  755. export type CustomLineItemDescription = string;
  756. export interface CustomLineItemFlatChargeDetails {
  757. /**
  758. * The custom line item's fixed charge value in USD.
  759. */
  760. ChargeValue: CustomLineItemChargeValue;
  761. }
  762. export type CustomLineItemList = CustomLineItemListElement[];
  763. export interface CustomLineItemListElement {
  764. /**
  765. * The Amazon Resource Names (ARNs) for custom line items.
  766. */
  767. Arn?: CustomLineItemArn;
  768. /**
  769. * The custom line item's name.
  770. */
  771. Name?: CustomLineItemName;
  772. /**
  773. * A ListCustomLineItemChargeDetails that describes the charge details of a custom line item.
  774. */
  775. ChargeDetails?: ListCustomLineItemChargeDetails;
  776. /**
  777. * The custom line item's charge value currency. Only one of the valid values can be used.
  778. */
  779. CurrencyCode?: CurrencyCode;
  780. /**
  781. * The custom line item's description. This is shown on the Bills page in association with the charge value.
  782. */
  783. Description?: CustomLineItemDescription;
  784. /**
  785. * The product code that's associated with the custom line item.
  786. */
  787. ProductCode?: CustomLineItemProductCode;
  788. /**
  789. * The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
  790. */
  791. BillingGroupArn?: BillingGroupArn;
  792. /**
  793. * The time created.
  794. */
  795. CreationTime?: Instant;
  796. /**
  797. * The most recent time when the custom line item was modified.
  798. */
  799. LastModifiedTime?: Instant;
  800. /**
  801. * The number of resources that are associated to the custom line item.
  802. */
  803. AssociationSize?: NumberOfAssociations;
  804. /**
  805. * The Amazon Web Services account in which this custom line item will be applied to.
  806. */
  807. AccountId?: AccountId;
  808. }
  809. export type CustomLineItemName = string;
  810. export type CustomLineItemNameList = CustomLineItemName[];
  811. export interface CustomLineItemPercentageChargeDetails {
  812. /**
  813. * The custom line item's percentage value. This will be multiplied against the combined value of its associated resources to determine its charge value.
  814. */
  815. PercentageValue: CustomLineItemPercentageChargeValue;
  816. /**
  817. * A list of resource ARNs to associate to the percentage custom line item.
  818. */
  819. AssociatedValues?: CustomLineItemAssociationsList;
  820. }
  821. export type CustomLineItemPercentageChargeValue = number;
  822. export type CustomLineItemProductCode = string;
  823. export type CustomLineItemRelationship = "PARENT"|"CHILD"|string;
  824. export type CustomLineItemType = "CREDIT"|"FEE"|string;
  825. export type CustomLineItemVersionList = CustomLineItemVersionListElement[];
  826. export interface CustomLineItemVersionListElement {
  827. /**
  828. * The name of the custom line item.
  829. */
  830. Name?: CustomLineItemName;
  831. ChargeDetails?: ListCustomLineItemChargeDetails;
  832. /**
  833. * The charge value currency of the custom line item.
  834. */
  835. CurrencyCode?: CurrencyCode;
  836. /**
  837. * The description of the custom line item.
  838. */
  839. Description?: CustomLineItemDescription;
  840. /**
  841. * The product code that’s associated with the custom line item.
  842. */
  843. ProductCode?: CustomLineItemProductCode;
  844. /**
  845. * The Amazon Resource Name (ARN) of the billing group that the custom line item applies to.
  846. */
  847. BillingGroupArn?: BillingGroupArn;
  848. /**
  849. * The time when the custom line item version was created.
  850. */
  851. CreationTime?: Instant;
  852. /**
  853. * The most recent time that the custom line item version was modified.
  854. */
  855. LastModifiedTime?: Instant;
  856. /**
  857. * The number of resources that are associated with the custom line item.
  858. */
  859. AssociationSize?: NumberOfAssociations;
  860. /**
  861. * The start billing period of the custom line item version.
  862. */
  863. StartBillingPeriod?: BillingPeriod;
  864. /**
  865. * The end billing period of the custom line item version.
  866. */
  867. EndBillingPeriod?: BillingPeriod;
  868. /**
  869. * A list of custom line item Amazon Resource Names (ARNs) to retrieve information.
  870. */
  871. Arn?: CustomLineItemArn;
  872. /**
  873. * The inclusive start time.
  874. */
  875. StartTime?: Instant;
  876. /**
  877. * The Amazon Web Services account in which this custom line item will be applied to.
  878. */
  879. AccountId?: AccountId;
  880. }
  881. export interface DeleteBillingGroupInput {
  882. /**
  883. * The Amazon Resource Name (ARN) of the billing group that you're deleting.
  884. */
  885. Arn: BillingGroupArn;
  886. }
  887. export interface DeleteBillingGroupOutput {
  888. /**
  889. * The Amazon Resource Name (ARN) of the deleted billing group.
  890. */
  891. Arn?: BillingGroupArn;
  892. }
  893. export interface DeleteCustomLineItemInput {
  894. /**
  895. * The ARN of the custom line item to be deleted.
  896. */
  897. Arn: CustomLineItemArn;
  898. BillingPeriodRange?: CustomLineItemBillingPeriodRange;
  899. }
  900. export interface DeleteCustomLineItemOutput {
  901. /**
  902. * The ARN of the deleted custom line item.
  903. */
  904. Arn?: CustomLineItemArn;
  905. }
  906. export interface DeletePricingPlanInput {
  907. /**
  908. * The Amazon Resource Name (ARN) of the pricing plan that you're deleting.
  909. */
  910. Arn: PricingPlanArn;
  911. }
  912. export interface DeletePricingPlanOutput {
  913. /**
  914. * The Amazon Resource Name (ARN) of the deleted pricing plan.
  915. */
  916. Arn?: PricingPlanArn;
  917. }
  918. export interface DeletePricingRuleInput {
  919. /**
  920. * The Amazon Resource Name (ARN) of the pricing rule that you are deleting.
  921. */
  922. Arn: PricingRuleArn;
  923. }
  924. export interface DeletePricingRuleOutput {
  925. /**
  926. * The Amazon Resource Name (ARN) of the deleted pricing rule.
  927. */
  928. Arn?: PricingRuleArn;
  929. }
  930. export interface DisassociateAccountsInput {
  931. /**
  932. * The Amazon Resource Name (ARN) of the billing group that the array of account IDs will disassociate from.
  933. */
  934. Arn: BillingGroupArn;
  935. /**
  936. * The array of account IDs to disassociate.
  937. */
  938. AccountIds: AccountIdList;
  939. }
  940. export interface DisassociateAccountsOutput {
  941. /**
  942. * The Amazon Resource Name (ARN) of the billing group that the array of account IDs is disassociated from.
  943. */
  944. Arn?: BillingGroupArn;
  945. }
  946. export interface DisassociatePricingRulesInput {
  947. /**
  948. * The pricing plan Amazon Resource Name (ARN) to disassociate pricing rules from.
  949. */
  950. Arn: PricingPlanArn;
  951. /**
  952. * A list containing the Amazon Resource Name (ARN) of the pricing rules that will be disassociated.
  953. */
  954. PricingRuleArns: PricingRuleArnsNonEmptyInput;
  955. }
  956. export interface DisassociatePricingRulesOutput {
  957. /**
  958. * The Amazon Resource Name (ARN) of the pricing plan that the pricing rules successfully disassociated from.
  959. */
  960. Arn?: PricingPlanArn;
  961. }
  962. export interface DisassociateResourceResponseElement {
  963. /**
  964. * The resource ARN that was disassociated from the custom line item.
  965. */
  966. Arn?: CustomLineItemAssociationElement;
  967. /**
  968. * An AssociateResourceError that's shown if the resource disassociation fails.
  969. */
  970. Error?: AssociateResourceError;
  971. }
  972. export type DisassociateResourcesResponseList = DisassociateResourceResponseElement[];
  973. export interface FreeTierConfig {
  974. /**
  975. * Activate or deactivate Amazon Web Services Free Tier application.
  976. */
  977. Activated: TieringActivated;
  978. }
  979. export interface GetBillingGroupCostReportInput {
  980. /**
  981. * The Amazon Resource Number (ARN) that uniquely identifies the billing group.
  982. */
  983. Arn: BillingGroupArn;
  984. /**
  985. * A time range for which the margin summary is effective. You can specify up to 12 months.
  986. */
  987. BillingPeriodRange?: BillingPeriodRange;
  988. /**
  989. * A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.
  990. */
  991. GroupBy?: GroupByAttributesList;
  992. /**
  993. * The maximum number of margin summary reports to retrieve.
  994. */
  995. MaxResults?: MaxBillingGroupCostReportResults;
  996. /**
  997. * The pagination token used on subsequent calls to get reports.
  998. */
  999. NextToken?: Token;
  1000. }
  1001. export interface GetBillingGroupCostReportOutput {
  1002. /**
  1003. * The list of margin summary reports.
  1004. */
  1005. BillingGroupCostReportResults?: BillingGroupCostReportResultsList;
  1006. /**
  1007. * The pagination token used on subsequent calls to get reports.
  1008. */
  1009. NextToken?: Token;
  1010. }
  1011. export type GroupByAttributeName = "PRODUCT_NAME"|"BILLING_PERIOD"|string;
  1012. export type GroupByAttributesList = GroupByAttributeName[];
  1013. export type Instant = number;
  1014. export interface LineItemFilter {
  1015. /**
  1016. * The attribute of the line item filter. This specifies what attribute that you can filter on.
  1017. */
  1018. Attribute: LineItemFilterAttributeName;
  1019. /**
  1020. * The match criteria of the line item filter. This parameter specifies whether not to include the resource value from the billing group total cost.
  1021. */
  1022. MatchOption: MatchOption;
  1023. /**
  1024. * The values of the line item filter. This specifies the values to filter on. Currently, you can only exclude Savings Plan discounts.
  1025. */
  1026. Values: LineItemFilterValuesList;
  1027. }
  1028. export type LineItemFilterAttributeName = "LINE_ITEM_TYPE"|string;
  1029. export type LineItemFilterValue = "SAVINGS_PLAN_NEGATION"|string;
  1030. export type LineItemFilterValuesList = LineItemFilterValue[];
  1031. export type LineItemFiltersList = LineItemFilter[];
  1032. export interface ListAccountAssociationsFilter {
  1033. /**
  1034. * MONITORED: linked accounts that are associated to billing groups. UNMONITORED: linked accounts that are not associated to billing groups. Billing Group Arn: linked accounts that are associated to the provided Billing Group Arn.
  1035. */
  1036. Association?: Association;
  1037. /**
  1038. * The Amazon Web Services account ID to filter on.
  1039. */
  1040. AccountId?: AccountId;
  1041. /**
  1042. * The list of Amazon Web Services IDs to retrieve their associated billing group for a given time range.
  1043. */
  1044. AccountIds?: AccountIdFilterList;
  1045. }
  1046. export interface ListAccountAssociationsInput {
  1047. /**
  1048. * The preferred billing period to get account associations.
  1049. */
  1050. BillingPeriod?: BillingPeriod;
  1051. /**
  1052. * The filter on the account ID of the linked account, or any of the following: MONITORED: linked accounts that are associated to billing groups. UNMONITORED: linked accounts that aren't associated to billing groups. Billing Group Arn: linked accounts that are associated to the provided billing group Arn.
  1053. */
  1054. Filters?: ListAccountAssociationsFilter;
  1055. /**
  1056. * The pagination token that's used on subsequent calls to retrieve accounts.
  1057. */
  1058. NextToken?: Token;
  1059. }
  1060. export interface ListAccountAssociationsOutput {
  1061. /**
  1062. * The list of linked accounts in the payer account.
  1063. */
  1064. LinkedAccounts?: AccountAssociationsList;
  1065. /**
  1066. * The pagination token that's used on subsequent calls to get accounts.
  1067. */
  1068. NextToken?: Token;
  1069. }
  1070. export interface ListBillingGroupAccountGrouping {
  1071. /**
  1072. * Specifies if this billing group will automatically associate newly added Amazon Web Services accounts that join your consolidated billing family.
  1073. */
  1074. AutoAssociate?: Boolean;
  1075. }
  1076. export interface ListBillingGroupCostReportsFilter {
  1077. /**
  1078. * The list of Amazon Resource Names (ARNs) used to filter billing groups to retrieve reports.
  1079. */
  1080. BillingGroupArns?: BillingGroupArnList;
  1081. }
  1082. export interface ListBillingGroupCostReportsInput {
  1083. /**
  1084. * The preferred billing period for your report.
  1085. */
  1086. BillingPeriod?: BillingPeriod;
  1087. /**
  1088. * The maximum number of reports to retrieve.
  1089. */
  1090. MaxResults?: MaxBillingGroupResults;
  1091. /**
  1092. * The pagination token that's used on subsequent calls to get reports.
  1093. */
  1094. NextToken?: Token;
  1095. /**
  1096. * A ListBillingGroupCostReportsFilter to specify billing groups to retrieve reports from.
  1097. */
  1098. Filters?: ListBillingGroupCostReportsFilter;
  1099. }
  1100. export interface ListBillingGroupCostReportsOutput {
  1101. /**
  1102. * A list of BillingGroupCostReportElement retrieved.
  1103. */
  1104. BillingGroupCostReports?: BillingGroupCostReportList;
  1105. /**
  1106. * The pagination token that's used on subsequent calls to get reports.
  1107. */
  1108. NextToken?: Token;
  1109. }
  1110. export interface ListBillingGroupsFilter {
  1111. /**
  1112. * The list of billing group Amazon Resource Names (ARNs) to retrieve information.
  1113. */
  1114. Arns?: BillingGroupArnList;
  1115. /**
  1116. * The pricing plan Amazon Resource Names (ARNs) to retrieve information.
  1117. */
  1118. PricingPlan?: PricingPlanFullArn;
  1119. /**
  1120. * A list of billing groups to retrieve their current status for a specific time range
  1121. */
  1122. Statuses?: BillingGroupStatusList;
  1123. /**
  1124. * Specifies if this billing group will automatically associate newly added Amazon Web Services accounts that join your consolidated billing family.
  1125. */
  1126. AutoAssociate?: Boolean;
  1127. }
  1128. export interface ListBillingGroupsInput {
  1129. /**
  1130. * The preferred billing period to get billing groups.
  1131. */
  1132. BillingPeriod?: BillingPeriod;
  1133. /**
  1134. * The maximum number of billing groups to retrieve.
  1135. */
  1136. MaxResults?: MaxBillingGroupResults;
  1137. /**
  1138. * The pagination token that's used on subsequent calls to get billing groups.
  1139. */
  1140. NextToken?: Token;
  1141. /**
  1142. * A ListBillingGroupsFilter that specifies the billing group and pricing plan to retrieve billing group information.
  1143. */
  1144. Filters?: ListBillingGroupsFilter;
  1145. }
  1146. export interface ListBillingGroupsOutput {
  1147. /**
  1148. * A list of BillingGroupListElement retrieved.
  1149. */
  1150. BillingGroups?: BillingGroupList;
  1151. /**
  1152. * The pagination token that's used on subsequent calls to get billing groups.
  1153. */
  1154. NextToken?: Token;
  1155. }
  1156. export interface ListCustomLineItemChargeDetails {
  1157. /**
  1158. * A ListCustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item.
  1159. */
  1160. Flat?: ListCustomLineItemFlatChargeDetails;
  1161. /**
  1162. * A ListCustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom line item.
  1163. */
  1164. Percentage?: ListCustomLineItemPercentageChargeDetails;
  1165. /**
  1166. * The type of the custom line item that indicates whether the charge is a fee or credit.
  1167. */
  1168. Type: CustomLineItemType;
  1169. /**
  1170. * A representation of the line item filter.
  1171. */
  1172. LineItemFilters?: LineItemFiltersList;
  1173. }
  1174. export interface ListCustomLineItemFlatChargeDetails {
  1175. /**
  1176. * The custom line item's fixed charge value in USD.
  1177. */
  1178. ChargeValue: CustomLineItemChargeValue;
  1179. }
  1180. export interface ListCustomLineItemPercentageChargeDetails {
  1181. /**
  1182. * The custom line item's percentage value. This will be multiplied against the combined value of its associated resources to determine its charge value.
  1183. */
  1184. PercentageValue: CustomLineItemPercentageChargeValue;
  1185. }
  1186. export interface ListCustomLineItemVersionsBillingPeriodRangeFilter {
  1187. /**
  1188. * The inclusive start billing period that defines a billing period range where a custom line item version is applied.
  1189. */
  1190. StartBillingPeriod?: BillingPeriod;
  1191. /**
  1192. * The exclusive end billing period that defines a billing period range where a custom line item version is applied.
  1193. */
  1194. EndBillingPeriod?: BillingPeriod;
  1195. }
  1196. export interface ListCustomLineItemVersionsFilter {
  1197. /**
  1198. * The billing period range in which the custom line item version is applied.
  1199. */
  1200. BillingPeriodRange?: ListCustomLineItemVersionsBillingPeriodRangeFilter;
  1201. }
  1202. export interface ListCustomLineItemVersionsInput {
  1203. /**
  1204. * The Amazon Resource Name (ARN) for the custom line item.
  1205. */
  1206. Arn: CustomLineItemArn;
  1207. /**
  1208. * The maximum number of custom line item versions to retrieve.
  1209. */
  1210. MaxResults?: MaxCustomLineItemResults;
  1211. /**
  1212. * The pagination token that's used on subsequent calls to retrieve custom line item versions.
  1213. */
  1214. NextToken?: Token;
  1215. /**
  1216. * A ListCustomLineItemVersionsFilter that specifies the billing period range in which the custom line item versions are applied.
  1217. */
  1218. Filters?: ListCustomLineItemVersionsFilter;
  1219. }
  1220. export interface ListCustomLineItemVersionsOutput {
  1221. /**
  1222. * A list of CustomLineItemVersionListElements that are received.
  1223. */
  1224. CustomLineItemVersions?: CustomLineItemVersionList;
  1225. /**
  1226. * The pagination token that's used on subsequent calls to retrieve custom line item versions.
  1227. */
  1228. NextToken?: Token;
  1229. }
  1230. export interface ListCustomLineItemsFilter {
  1231. /**
  1232. * A list of custom line items to retrieve information.
  1233. */
  1234. Names?: CustomLineItemNameList;
  1235. /**
  1236. * The billing group Amazon Resource Names (ARNs) to retrieve information.
  1237. */
  1238. BillingGroups?: BillingGroupArnList;
  1239. /**
  1240. * A list of custom line item ARNs to retrieve information.
  1241. */
  1242. Arns?: CustomLineItemArns;
  1243. /**
  1244. * The Amazon Web Services accounts in which this custom line item will be applied to.
  1245. */
  1246. AccountIds?: AccountIdList;
  1247. }
  1248. export interface ListCustomLineItemsInput {
  1249. /**
  1250. * The preferred billing period to get custom line items (FFLIs).
  1251. */
  1252. BillingPeriod?: BillingPeriod;
  1253. /**
  1254. * The maximum number of billing groups to retrieve.
  1255. */
  1256. MaxResults?: MaxCustomLineItemResults;
  1257. /**
  1258. * The pagination token that's used on subsequent calls to get custom line items (FFLIs).
  1259. */
  1260. NextToken?: Token;
  1261. /**
  1262. * A ListCustomLineItemsFilter that specifies the custom line item names and/or billing group Amazon Resource Names (ARNs) to retrieve FFLI information.
  1263. */
  1264. Filters?: ListCustomLineItemsFilter;
  1265. }
  1266. export interface ListCustomLineItemsOutput {
  1267. /**
  1268. * A list of FreeFormLineItemListElements received.
  1269. */
  1270. CustomLineItems?: CustomLineItemList;
  1271. /**
  1272. * The pagination token that's used on subsequent calls to get custom line items (FFLIs).
  1273. */
  1274. NextToken?: Token;
  1275. }
  1276. export interface ListPricingPlansAssociatedWithPricingRuleInput {
  1277. /**
  1278. * The pricing plan billing period for which associations will be listed.
  1279. */
  1280. BillingPeriod?: BillingPeriod;
  1281. /**
  1282. * The pricing rule Amazon Resource Name (ARN) for which associations will be listed.
  1283. */
  1284. PricingRuleArn: PricingRuleArn;
  1285. /**
  1286. * The optional maximum number of pricing rule associations to retrieve.
  1287. */
  1288. MaxResults?: MaxPricingRuleResults;
  1289. /**
  1290. * The optional pagination token returned by a previous call.
  1291. */
  1292. NextToken?: Token;
  1293. }
  1294. export interface ListPricingPlansAssociatedWithPricingRuleOutput {
  1295. /**
  1296. * The pricing plan billing period for which associations will be listed.
  1297. */
  1298. BillingPeriod?: BillingPeriod;
  1299. /**
  1300. * The pricing rule Amazon Resource Name (ARN) for which associations will be listed.
  1301. */
  1302. PricingRuleArn?: PricingRuleArn;
  1303. /**
  1304. * The list containing pricing plans that are associated with the requested pricing rule.
  1305. */
  1306. PricingPlanArns?: PricingPlanArns;
  1307. /**
  1308. * The pagination token to be used on subsequent calls.
  1309. */
  1310. NextToken?: Token;
  1311. }
  1312. export interface ListPricingPlansFilter {
  1313. /**
  1314. * A list of pricing plan Amazon Resource Names (ARNs) to retrieve information.
  1315. */
  1316. Arns?: PricingPlanArns;
  1317. }
  1318. export interface ListPricingPlansInput {
  1319. /**
  1320. * The preferred billing period to get pricing plan.
  1321. */
  1322. BillingPeriod?: BillingPeriod;
  1323. /**
  1324. * A ListPricingPlansFilter that specifies the Amazon Resource Name (ARNs) of pricing plans to retrieve pricing plans information.
  1325. */
  1326. Filters?: ListPricingPlansFilter;
  1327. /**
  1328. * The maximum number of pricing plans to retrieve.
  1329. */
  1330. MaxResults?: MaxPricingPlanResults;
  1331. /**
  1332. * The pagination token that's used on subsequent call to get pricing plans.
  1333. */
  1334. NextToken?: Token;
  1335. }
  1336. export interface ListPricingPlansOutput {
  1337. /**
  1338. * The billing period for which the described pricing plans are applicable.
  1339. */
  1340. BillingPeriod?: BillingPeriod;
  1341. /**
  1342. * A list of PricingPlanListElement retrieved.
  1343. */
  1344. PricingPlans?: PricingPlanList;
  1345. /**
  1346. * The pagination token that's used on subsequent calls to get pricing plans.
  1347. */
  1348. NextToken?: Token;
  1349. }
  1350. export interface ListPricingRulesAssociatedToPricingPlanInput {
  1351. /**
  1352. * The billing period for which the pricing rule associations are to be listed.
  1353. */
  1354. BillingPeriod?: BillingPeriod;
  1355. /**
  1356. * The Amazon Resource Name (ARN) of the pricing plan for which associations are to be listed.
  1357. */
  1358. PricingPlanArn: PricingPlanArn;
  1359. /**
  1360. * The optional maximum number of pricing rule associations to retrieve.
  1361. */
  1362. MaxResults?: MaxPricingPlanResults;
  1363. /**
  1364. * The optional pagination token returned by a previous call.
  1365. */
  1366. NextToken?: Token;
  1367. }
  1368. export interface ListPricingRulesAssociatedToPricingPlanOutput {
  1369. /**
  1370. * The billing period for which the pricing rule associations are listed.
  1371. */
  1372. BillingPeriod?: BillingPeriod;
  1373. /**
  1374. * The Amazon Resource Name (ARN) of the pricing plan for which associations are listed.
  1375. */
  1376. PricingPlanArn?: PricingPlanArn;
  1377. /**
  1378. * A list containing pricing rules that are associated with the requested pricing plan.
  1379. */
  1380. PricingRuleArns?: PricingRuleArns;
  1381. /**
  1382. * The pagination token to be used on subsequent calls.
  1383. */
  1384. NextToken?: Token;
  1385. }
  1386. export interface ListPricingRulesFilter {
  1387. /**
  1388. * A list containing the pricing rule Amazon Resource Names (ARNs) to include in the API response.
  1389. */
  1390. Arns?: PricingRuleArns;
  1391. }
  1392. export interface ListPricingRulesInput {
  1393. /**
  1394. * The preferred billing period to get the pricing plan.
  1395. */
  1396. BillingPeriod?: BillingPeriod;
  1397. /**
  1398. * A DescribePricingRuleFilter that specifies the Amazon Resource Name (ARNs) of pricing rules to retrieve pricing rules information.
  1399. */
  1400. Filters?: ListPricingRulesFilter;
  1401. /**
  1402. * The maximum number of pricing rules to retrieve.
  1403. */
  1404. MaxResults?: MaxPricingRuleResults;
  1405. /**
  1406. * The pagination token that's used on subsequent call to get pricing rules.
  1407. */
  1408. NextToken?: Token;
  1409. }
  1410. export interface ListPricingRulesOutput {
  1411. /**
  1412. * The billing period for which the described pricing rules are applicable.
  1413. */
  1414. BillingPeriod?: BillingPeriod;
  1415. /**
  1416. * A list containing the described pricing rules.
  1417. */
  1418. PricingRules?: PricingRuleList;
  1419. /**
  1420. * The pagination token that's used on subsequent calls to get pricing rules.
  1421. */
  1422. NextToken?: Token;
  1423. }
  1424. export interface ListResourcesAssociatedToCustomLineItemFilter {
  1425. /**
  1426. * The type of relationship between the custom line item and the associated resource.
  1427. */
  1428. Relationship?: CustomLineItemRelationship;
  1429. }
  1430. export interface ListResourcesAssociatedToCustomLineItemInput {
  1431. /**
  1432. * The billing period for which the resource associations will be listed.
  1433. */
  1434. BillingPeriod?: BillingPeriod;
  1435. /**
  1436. * The ARN of the custom line item for which the resource associations will be listed.
  1437. */
  1438. Arn: CustomLineItemArn;
  1439. /**
  1440. * (Optional) The maximum number of resource associations to be retrieved.
  1441. */
  1442. MaxResults?: MaxCustomLineItemResults;
  1443. /**
  1444. * (Optional) The pagination token that's returned by a previous request.
  1445. */
  1446. NextToken?: Token;
  1447. /**
  1448. * (Optional) A ListResourcesAssociatedToCustomLineItemFilter that can specify the types of resources that should be retrieved.
  1449. */
  1450. Filters?: ListResourcesAssociatedToCustomLineItemFilter;
  1451. }
  1452. export interface ListResourcesAssociatedToCustomLineItemOutput {
  1453. /**
  1454. * The custom line item ARN for which the resource associations are listed.
  1455. */
  1456. Arn?: CustomLineItemArn;
  1457. /**
  1458. * A list of ListResourcesAssociatedToCustomLineItemResponseElement for each resource association retrieved.
  1459. */
  1460. AssociatedResources?: ListResourcesAssociatedToCustomLineItemResponseList;
  1461. /**
  1462. * The pagination token to be used in subsequent requests to retrieve additional results.
  1463. */
  1464. NextToken?: Token;
  1465. }
  1466. export interface ListResourcesAssociatedToCustomLineItemResponseElement {
  1467. /**
  1468. * The ARN of the associated resource.
  1469. */
  1470. Arn?: CustomLineItemAssociationElement;
  1471. /**
  1472. * The type of relationship between the custom line item and the associated resource.
  1473. */
  1474. Relationship?: CustomLineItemRelationship;
  1475. /**
  1476. * The end billing period of the associated resource.
  1477. */
  1478. EndBillingPeriod?: BillingPeriod;
  1479. }
  1480. export type ListResourcesAssociatedToCustomLineItemResponseList = ListResourcesAssociatedToCustomLineItemResponseElement[];
  1481. export interface ListTagsForResourceRequest {
  1482. /**
  1483. * The Amazon Resource Name (ARN) that identifies the resource to list the tags.
  1484. */
  1485. ResourceArn: Arn;
  1486. }
  1487. export interface ListTagsForResourceResponse {
  1488. /**
  1489. * The tags for the resource.
  1490. */
  1491. Tags?: TagMap;
  1492. }
  1493. export type Margin = string;
  1494. export type MarginPercentage = string;
  1495. export type MatchOption = "NOT_EQUAL"|string;
  1496. export type MaxBillingGroupCostReportResults = number;
  1497. export type MaxBillingGroupResults = number;
  1498. export type MaxCustomLineItemResults = number;
  1499. export type MaxPricingPlanResults = number;
  1500. export type MaxPricingRuleResults = number;
  1501. export type ModifierPercentage = number;
  1502. export type NumberOfAccounts = number;
  1503. export type NumberOfAssociatedPricingRules = number;
  1504. export type NumberOfAssociations = number;
  1505. export type NumberOfPricingPlansAssociatedWith = number;
  1506. export type Operation = string;
  1507. export type PricingPlanArn = string;
  1508. export type PricingPlanArns = PricingPlanArn[];
  1509. export type PricingPlanDescription = string;
  1510. export type PricingPlanFullArn = string;
  1511. export type PricingPlanList = PricingPlanListElement[];
  1512. export interface PricingPlanListElement {
  1513. /**
  1514. * The name of a pricing plan.
  1515. */
  1516. Name?: PricingPlanName;
  1517. /**
  1518. * The pricing plan Amazon Resource Names (ARN). This can be used to uniquely identify a pricing plan.
  1519. */
  1520. Arn?: PricingPlanArn;
  1521. /**
  1522. * The pricing plan description.
  1523. */
  1524. Description?: PricingPlanDescription;
  1525. /**
  1526. * The pricing rules count that's currently associated with this pricing plan list element.
  1527. */
  1528. Size?: NumberOfAssociatedPricingRules;
  1529. /**
  1530. * The time when the pricing plan was created.
  1531. */
  1532. CreationTime?: Instant;
  1533. /**
  1534. * The most recent time when the pricing plan was modified.
  1535. */
  1536. LastModifiedTime?: Instant;
  1537. }
  1538. export type PricingPlanName = string;
  1539. export type PricingRuleArn = string;
  1540. export type PricingRuleArns = PricingRuleArn[];
  1541. export type PricingRuleArnsInput = PricingRuleArn[];
  1542. export type PricingRuleArnsNonEmptyInput = PricingRuleArn[];
  1543. export type PricingRuleDescription = string;
  1544. export type PricingRuleList = PricingRuleListElement[];
  1545. export interface PricingRuleListElement {
  1546. /**
  1547. * The name of a pricing rule.
  1548. */
  1549. Name?: PricingRuleName;
  1550. /**
  1551. * The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.
  1552. */
  1553. Arn?: PricingRuleArn;
  1554. /**
  1555. * The pricing rule description.
  1556. */
  1557. Description?: PricingRuleDescription;
  1558. /**
  1559. * The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
  1560. */
  1561. Scope?: PricingRuleScope;
  1562. /**
  1563. * The type of pricing rule.
  1564. */
  1565. Type?: PricingRuleType;
  1566. /**
  1567. * A percentage modifier applied on the public pricing rates.
  1568. */
  1569. ModifierPercentage?: ModifierPercentage;
  1570. /**
  1571. * If the Scope attribute is SERVICE, this attribute indicates which service the PricingRule is applicable for.
  1572. */
  1573. Service?: Service;
  1574. /**
  1575. * The pricing plans count that this pricing rule is associated with.
  1576. */
  1577. AssociatedPricingPlanCount?: NumberOfPricingPlansAssociatedWith;
  1578. /**
  1579. * The time when the pricing rule was created.
  1580. */
  1581. CreationTime?: Instant;
  1582. /**
  1583. * The most recent time when the pricing rule was modified.
  1584. */
  1585. LastModifiedTime?: Instant;
  1586. /**
  1587. * The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.
  1588. */
  1589. BillingEntity?: BillingEntity;
  1590. /**
  1591. * The set of tiering configurations for the pricing rule.
  1592. */
  1593. Tiering?: Tiering;
  1594. /**
  1595. * Usage type is the unit that each service uses to measure the usage of a specific type of resource. If the Scope attribute is set to SKU, this attribute indicates which usage type the PricingRule is modifying. For example, USW2-BoxUsage:m2.2xlarge describes an M2 High Memory Double Extra Large instance in the US West (Oregon) Region. &lt;/p&gt;
  1596. */
  1597. UsageType?: UsageType;
  1598. /**
  1599. * Operation is the specific Amazon Web Services action covered by this line item. This describes the specific usage of the line item. If the Scope attribute is set to SKU, this attribute indicates which operation the PricingRule is modifying. For example, a value of RunInstances:0202 indicates the operation of running an Amazon EC2 instance.
  1600. */
  1601. Operation?: Operation;
  1602. }
  1603. export type PricingRuleName = string;
  1604. export type PricingRuleScope = "GLOBAL"|"SERVICE"|"BILLING_ENTITY"|"SKU"|string;
  1605. export type PricingRuleType = "MARKUP"|"DISCOUNT"|"TIERING"|string;
  1606. export type ProformaCost = string;
  1607. export type Service = string;
  1608. export type String = string;
  1609. export type TagKey = string;
  1610. export type TagKeyList = TagKey[];
  1611. export type TagMap = {[key: string]: TagValue};
  1612. export interface TagResourceRequest {
  1613. /**
  1614. * The Amazon Resource Name (ARN) of the resource to which to add tags.
  1615. */
  1616. ResourceArn: Arn;
  1617. /**
  1618. * The tags to add to the resource as a list of key-value pairs.
  1619. */
  1620. Tags: TagMap;
  1621. }
  1622. export interface TagResourceResponse {
  1623. }
  1624. export type TagValue = string;
  1625. export interface Tiering {
  1626. /**
  1627. * The possible Amazon Web Services Free Tier configurations.
  1628. */
  1629. FreeTier: FreeTierConfig;
  1630. }
  1631. export type TieringActivated = boolean;
  1632. export type Token = string;
  1633. export interface UntagResourceRequest {
  1634. /**
  1635. * The Amazon Resource Name (ARN) of the resource to which to delete tags.
  1636. */
  1637. ResourceArn: Arn;
  1638. /**
  1639. * The tags to delete from the resource as a list of key-value pairs.
  1640. */
  1641. TagKeys: TagKeyList;
  1642. }
  1643. export interface UntagResourceResponse {
  1644. }
  1645. export interface UpdateBillingGroupAccountGrouping {
  1646. /**
  1647. * Specifies if this billing group will automatically associate newly added Amazon Web Services accounts that join your consolidated billing family.
  1648. */
  1649. AutoAssociate?: Boolean;
  1650. }
  1651. export interface UpdateBillingGroupInput {
  1652. /**
  1653. * The Amazon Resource Name (ARN) of the billing group being updated.
  1654. */
  1655. Arn: BillingGroupArn;
  1656. /**
  1657. * The name of the billing group. The names must be unique to each billing group.
  1658. */
  1659. Name?: BillingGroupName;
  1660. /**
  1661. * The status of the billing group. Only one of the valid values can be used.
  1662. */
  1663. Status?: BillingGroupStatus;
  1664. /**
  1665. * The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
  1666. */
  1667. ComputationPreference?: ComputationPreference;
  1668. /**
  1669. * A description of the billing group.
  1670. */
  1671. Description?: BillingGroupDescription;
  1672. /**
  1673. * Specifies if the billing group has automatic account association (AutoAssociate) enabled.
  1674. */
  1675. AccountGrouping?: UpdateBillingGroupAccountGrouping;
  1676. }
  1677. export interface UpdateBillingGroupOutput {
  1678. /**
  1679. * The Amazon Resource Name (ARN) of the billing group that was updated.
  1680. */
  1681. Arn?: BillingGroupArn;
  1682. /**
  1683. * The name of the billing group. The names must be unique to each billing group.
  1684. */
  1685. Name?: BillingGroupName;
  1686. /**
  1687. * A description of the billing group.
  1688. */
  1689. Description?: BillingGroupDescription;
  1690. /**
  1691. * The account ID that serves as the main account in a billing group.
  1692. */
  1693. PrimaryAccountId?: AccountId;
  1694. /**
  1695. * The Amazon Resource Name (ARN) of the pricing plan to compute Amazon Web Services charges for the billing group.
  1696. */
  1697. PricingPlanArn?: PricingPlanArn;
  1698. /**
  1699. * The number of accounts in the particular billing group.
  1700. */
  1701. Size?: NumberOfAccounts;
  1702. /**
  1703. * The most recent time when the billing group was modified.
  1704. */
  1705. LastModifiedTime?: Instant;
  1706. /**
  1707. * The status of the billing group. Only one of the valid values can be used.
  1708. */
  1709. Status?: BillingGroupStatus;
  1710. /**
  1711. * The reason why the billing group is in its current status.
  1712. */
  1713. StatusReason?: BillingGroupStatusReason;
  1714. /**
  1715. * Specifies if the billing group has automatic account association (AutoAssociate) enabled.
  1716. */
  1717. AccountGrouping?: UpdateBillingGroupAccountGrouping;
  1718. }
  1719. export interface UpdateCustomLineItemChargeDetails {
  1720. /**
  1721. * An UpdateCustomLineItemFlatChargeDetails that describes the new charge details of a flat custom line item.
  1722. */
  1723. Flat?: UpdateCustomLineItemFlatChargeDetails;
  1724. /**
  1725. * An UpdateCustomLineItemPercentageChargeDetails that describes the new charge details of a percentage custom line item.
  1726. */
  1727. Percentage?: UpdateCustomLineItemPercentageChargeDetails;
  1728. /**
  1729. * A representation of the line item filter.
  1730. */
  1731. LineItemFilters?: LineItemFiltersList;
  1732. }
  1733. export interface UpdateCustomLineItemFlatChargeDetails {
  1734. /**
  1735. * The custom line item's new fixed charge value in USD.
  1736. */
  1737. ChargeValue: CustomLineItemChargeValue;
  1738. }
  1739. export interface UpdateCustomLineItemInput {
  1740. /**
  1741. * The ARN of the custom line item to be updated.
  1742. */
  1743. Arn: CustomLineItemArn;
  1744. /**
  1745. * The new name for the custom line item.
  1746. */
  1747. Name?: CustomLineItemName;
  1748. /**
  1749. * The new line item description of the custom line item.
  1750. */
  1751. Description?: CustomLineItemDescription;
  1752. /**
  1753. * A ListCustomLineItemChargeDetails containing the new charge details for the custom line item.
  1754. */
  1755. ChargeDetails?: UpdateCustomLineItemChargeDetails;
  1756. BillingPeriodRange?: CustomLineItemBillingPeriodRange;
  1757. }
  1758. export interface UpdateCustomLineItemOutput {
  1759. /**
  1760. * The ARN of the successfully updated custom line item.
  1761. */
  1762. Arn?: CustomLineItemArn;
  1763. /**
  1764. * The ARN of the billing group that the custom line item is applied to.
  1765. */
  1766. BillingGroupArn?: BillingGroupFullArn;
  1767. /**
  1768. * The name of the successfully updated custom line item.
  1769. */
  1770. Name?: CustomLineItemName;
  1771. /**
  1772. * The description of the successfully updated custom line item.
  1773. */
  1774. Description?: CustomLineItemDescription;
  1775. /**
  1776. * A ListCustomLineItemChargeDetails containing the charge details of the successfully updated custom line item.
  1777. */
  1778. ChargeDetails?: ListCustomLineItemChargeDetails;
  1779. /**
  1780. * The most recent time when the custom line item was modified.
  1781. */
  1782. LastModifiedTime?: Instant;
  1783. /**
  1784. * The number of resources that are associated to the custom line item.
  1785. */
  1786. AssociationSize?: NumberOfAssociations;
  1787. }
  1788. export interface UpdateCustomLineItemPercentageChargeDetails {
  1789. /**
  1790. * The custom line item's new percentage value. This will be multiplied against the combined value of its associated resources to determine its charge value.
  1791. */
  1792. PercentageValue: CustomLineItemPercentageChargeValue;
  1793. }
  1794. export interface UpdateFreeTierConfig {
  1795. /**
  1796. * Activate or deactivate application of Amazon Web Services Free Tier.
  1797. */
  1798. Activated: TieringActivated;
  1799. }
  1800. export interface UpdatePricingPlanInput {
  1801. /**
  1802. * The Amazon Resource Name (ARN) of the pricing plan that you're updating.
  1803. */
  1804. Arn: PricingPlanArn;
  1805. /**
  1806. * The name of the pricing plan. The name must be unique to each pricing plan.
  1807. */
  1808. Name?: PricingPlanName;
  1809. /**
  1810. * The description of the pricing plan.
  1811. */
  1812. Description?: PricingPlanDescription;
  1813. }
  1814. export interface UpdatePricingPlanOutput {
  1815. /**
  1816. * The Amazon Resource Name (ARN) of the updated pricing plan.
  1817. */
  1818. Arn?: PricingPlanArn;
  1819. /**
  1820. * The name of the pricing plan. The name must be unique to each pricing plan.
  1821. */
  1822. Name?: PricingPlanName;
  1823. /**
  1824. * The new description for the pricing rule.
  1825. */
  1826. Description?: PricingPlanDescription;
  1827. /**
  1828. * The pricing rules count that's currently associated with this pricing plan list.
  1829. */
  1830. Size?: NumberOfAssociatedPricingRules;
  1831. /**
  1832. * The most recent time when the pricing plan was modified.
  1833. */
  1834. LastModifiedTime?: Instant;
  1835. }
  1836. export interface UpdatePricingRuleInput {
  1837. /**
  1838. * The Amazon Resource Name (ARN) of the pricing rule to update.
  1839. */
  1840. Arn: PricingRuleArn;
  1841. /**
  1842. * The new name of the pricing rule. The name must be unique to each pricing rule.
  1843. */
  1844. Name?: PricingRuleName;
  1845. /**
  1846. * The new description for the pricing rule.
  1847. */
  1848. Description?: PricingRuleDescription;
  1849. /**
  1850. * The new pricing rule type.
  1851. */
  1852. Type?: PricingRuleType;
  1853. /**
  1854. * The new modifier to show pricing plan rates as a percentage.
  1855. */
  1856. ModifierPercentage?: ModifierPercentage;
  1857. /**
  1858. * The set of tiering configurations for the pricing rule.
  1859. */
  1860. Tiering?: UpdateTieringInput;
  1861. }
  1862. export interface UpdatePricingRuleOutput {
  1863. /**
  1864. * The Amazon Resource Name (ARN) of the successfully updated pricing rule.
  1865. */
  1866. Arn?: PricingRuleArn;
  1867. /**
  1868. * The new name of the pricing rule. The name must be unique to each pricing rule.
  1869. */
  1870. Name?: PricingRuleName;
  1871. /**
  1872. * The new description for the pricing rule.
  1873. */
  1874. Description?: PricingRuleDescription;
  1875. /**
  1876. * The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.
  1877. */
  1878. Scope?: PricingRuleScope;
  1879. /**
  1880. * The new pricing rule type.
  1881. */
  1882. Type?: PricingRuleType;
  1883. /**
  1884. * The new modifier to show pricing plan rates as a percentage.
  1885. */
  1886. ModifierPercentage?: ModifierPercentage;
  1887. /**
  1888. * If the Scope attribute is set to SERVICE, the attribute indicates which service the PricingRule is applicable for.
  1889. */
  1890. Service?: Service;
  1891. /**
  1892. * The pricing plans count that this pricing rule is associated with.
  1893. */
  1894. AssociatedPricingPlanCount?: NumberOfPricingPlansAssociatedWith;
  1895. /**
  1896. * The most recent time the pricing rule was modified.
  1897. */
  1898. LastModifiedTime?: Instant;
  1899. /**
  1900. * The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.
  1901. */
  1902. BillingEntity?: BillingEntity;
  1903. /**
  1904. * The set of tiering configurations for the pricing rule.
  1905. */
  1906. Tiering?: UpdateTieringInput;
  1907. /**
  1908. * Usage type is the unit that each service uses to measure the usage of a specific type of resource. If the Scope attribute is set to SKU, this attribute indicates which usage type the PricingRule is modifying. For example, USW2-BoxUsage:m2.2xlarge describes an M2 High Memory Double Extra Large instance in the US West (Oregon) Region.
  1909. */
  1910. UsageType?: UsageType;
  1911. /**
  1912. * Operation refers to the specific Amazon Web Services covered by this line item. This describes the specific usage of the line item. If the Scope attribute is set to SKU, this attribute indicates which operation the PricingRule is modifying. For example, a value of RunInstances:0202 indicates the operation of running an Amazon EC2 instance.
  1913. */
  1914. Operation?: Operation;
  1915. }
  1916. export interface UpdateTieringInput {
  1917. /**
  1918. * The possible Amazon Web Services Free Tier configurations.
  1919. */
  1920. FreeTier: UpdateFreeTierConfig;
  1921. }
  1922. export type UsageType = string;
  1923. /**
  1924. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  1925. */
  1926. export type apiVersion = "2021-07-30"|"latest"|string;
  1927. export interface ClientApiVersions {
  1928. /**
  1929. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  1930. */
  1931. apiVersion?: apiVersion;
  1932. }
  1933. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  1934. /**
  1935. * Contains interfaces for use with the Billingconductor client.
  1936. */
  1937. export import Types = Billingconductor;
  1938. }
  1939. export = Billingconductor;