ListCostAllocationTagBackfillHistory - 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).

ListCostAllocationTagBackfillHistory

Retrieves a list of your historical cost allocation tag backfill requests.

Request Syntax

{ "MaxResults": number, "NextToken": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

MaxResults

The maximum number of objects that are returned for this request.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 1000.

Required: No

NextToken

The token to retrieve the next set of results. Amazon provides the token when the response from a previous call has more results than the maximum page size.

Type: String

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

Pattern: [\S\s]*

Required: No

Response Syntax

{ "BackfillRequests": [ { "BackfillFrom": "string", "BackfillStatus": "string", "CompletedAt": "string", "LastUpdatedAt": "string", "RequestedAt": "string" } ], "NextToken": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

BackfillRequests

The list of historical cost allocation tag backfill requests.

Type: Array of CostAllocationTagBackfillRequest objects

Array Members: Minimum number of 0 items. Maximum number of 1000 items.

NextToken

The token to retrieve the next set of results. Amazon provides the token when the response from a previous call has more results than the maximum page size.

Type: String

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

Pattern: [\S\s]*

Errors

For information about the errors that are common to all actions, see Common Errors.

InvalidNextTokenException

The pagination token is invalid. Try again without a pagination token.

HTTP Status Code: 400

LimitExceededException

You made too many calls in a short period of time. Try again later.

HTTP Status Code: 400

Examples

The following are sample requests and responses of the ListCostAllocationTagBackfillHistory operations.

Example 1: List the latest cost allocation tag backfill request

This example illustrates one usage of ListCostAllocationTagBackfillHistory.

Sample Request

{ "MaxResults": 1 }

Sample Response

{ "BackfillRequests": [ { "BackfillFrom":"2024-02-01T00:00:00Z", "BackfillStatus":"PROCESSING", "RequestedAt":"2024-03-01T09:16:23Z", "LastUpdatedAt":"2024-03-01T09:16:23Z" } ], "NextToken": null }

See Also

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