AWS Billing and Cost Management Gets New ListBillingViewSegments API
AWS just dropped the ListBillingViewSegments API, letting you query your account's billing context across any time period you specify—perfect for tracking how your accounts move through the billing hierarchy and which payer settings apply at each stage. The API handles mid-period changes by splitting your requested timeframe into segments, so you can see exactly when your billing setup shifted, and it's available everywhere AWS operates at zero extra cost.
source: [aws/whats-new]