Documentation
¶
Overview ¶
Package pricing holds the AWS S3 cost tables s3du applies in the UI and CLI. Both list-request pricing (per 1 000 requests) and storage pricing (per GB-month, per storage class) are baked-in constants — refreshed manually from the AWS pricing API; they don't need to be exact, just close enough to give the operator a sense of the cost order of magnitude.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListPerRequest ¶
ListPerRequest returns the per-request price for the given region. Always positive (small) — unknown regions fall back to $0.000005 / req.
func MonthlyStorage ¶
MonthlyStorage returns the per-month storage cost in USD for sizeBytes of an object of the given class in the given region. Unknown region/class combinations fall back to us-east-1 pricing; if even that is missing, 0 is returned.
Types ¶
This section is empty.