AWS Cost Explorer Service
Cost Management APIs

DateInterval

The time period that you want the usage and costs for.

Contents

End

The end of the time period that you want the usage and costs for. The end date is exclusive. For example, if end is 2017-05-01, AWS retrieves cost and usage data from the start date up to, but not including, 2017-05-01.

Type: String

Pattern: \d{4}-\d{2}-\d{2}

Required: Yes

Start

The beginning of the time period that you want the usage and costs for. The start date is inclusive. For example, if start is 2017-01-01, AWS retrieves cost and usage data starting at 2017-01-01 up to the end date.

Type: String

Pattern: \d{4}-\d{2}-\d{2}

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: