aws billing
You can use the Billing API to programatically list the billing views available to you for a given time period. AWS CLI reference
32 commands Its page in the AWS CLI reference
Commands
associate-contractPrivate Pricing contracts let eligible payer accounts manage private pricing agreements with Amazon Web Services.associate-source-viewsAssociates one or more source billing views with an existing billing view.cancel-contractual-investment-attestationCancels a contractual investment attestation.create-billing-viewCreates a billing view with the specified billing view attributes.create-contractual-investment-attestationCreates an attestation that claims an investment award for a completed milestone or outcome within a private pricing contract.delete-billing-viewDeletes the specified billing view.disassociate-contractRemoves the association between a private pricing contract and your Amazon Web Services account.disassociate-source-viewsRemoves the association between one or more source billing views and an existing billing view.get-billing-preferencesRetrieves billing preferences for the specified feature.get-billing-viewReturns the metadata associated to the specified billing view ARN.get-contract-informationReturns information about a specific private pricing contract, including its term (duration), eligible payer accounts, investment accounts, and legal entities.get-credit-allocation-historyReturns the per-billing-month allocation history for credits applied to an Amazon Web Services account's bills.get-creditsReturns the list of Amazon Web Services account credits for the specified account.get-enterprise-support-charge-summaryReturns a summary of Enterprise Support data aggregated across all accounts in the Enterprise Support profile.get-enterprise-support-contract-detailsReturns Enterprise Support contract details.get-resource-policyReturns the resource-based policy document attached to the resource in JSON format.list-billing-view-segmentsLists the segments of a billing view over a given time period.list-billing-viewsLists the billing views available for a given time period.list-business-support-account-chargesReturns Business Support charges broken down at the linked account level for a given billing month.list-business-support-subscription-historyReturns the history of Business Support subscription contracts across accounts.list-contractsLists the private pricing contracts that your Amazon Web Services account is an eligible payer account of.list-contractual-investment-attestationsLists the investment attestations submitted under a specific private pricing contract.list-contractual-investment-summariesLists the investment summaries within a specific private pricing contract.list-contractual-investmentsLists the investments within a specific investment summary.list-enterprise-support-linked-account-chargesReturns Support-eligible spend broken down at linked account level.list-source-views-for-billing-viewLists the source views (managed Amazon Web Services billing views) associated with the billing view.list-tags-for-resourceLists tags associated with the billing view resource.redeem-creditsRedeems an Amazon Web Services promotional credit code on behalf of the calling account.tag-resourceAn API operation for adding one or more tags (key-value pairs) to a resource.untag-resourceRemoves one or more tags from a resource.update-billing-preferencesUpdates billing preferences for the specified feature.update-billing-viewAn API to update the attributes of the billing view.