DateInterval - Amazon Billing and Cost Management
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

DateInterval

The time period of the request.

Contents

End

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

Type: String

Length Constraints: Minimum length of 0. Maximum length of 40.

Pattern: (\d{4}-\d{2}-\d{2})(T\d{2}:\d{2}:\d{2}Z)?

Required: Yes

Start

The beginning of the time period. The start date is inclusive. For example, if start is 2017-01-01, Amazon retrieves cost and usage data starting at 2017-01-01 up to the end date. The start date must be equal to or no later than the current date to avoid a validation error.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 40.

Pattern: (\d{4}-\d{2}-\d{2})(T\d{2}:\d{2}:\d{2}Z)?

Required: Yes

See Also

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