Difference between revisions of "Template:Aws ce get-cost-and-usage example"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
[[aws ce]] get-cost-and-usage \ | [[aws ce]] get-cost-and-usage \ | ||
− | --time-period 'Start=2023-02- | + | --time-period 'Start=2023-02-14,End=2024-02-14' \ |
--metrics '[[UnblendedCost]]' \ | --metrics '[[UnblendedCost]]' \ | ||
--granularity 'MONTHLY' \ | --granularity 'MONTHLY' \ | ||
--query 'ResultsByTime[*].Total.[UnblendedCost]' \ | --query 'ResultsByTime[*].Total.[UnblendedCost]' \ | ||
--output 'table' | --output 'table' |
Revision as of 10:45, 14 February 2024
aws ce get-cost-and-usage \ --time-period 'Start=2023-02-14,End=2024-02-14' \ --metrics 'UnblendedCost' \ --granularity 'MONTHLY' \ --query 'ResultsByTime[*].Total.[UnblendedCost]' \ --output 'table'
Advertising: