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

UpgradeAccountPlan

The account plan type for the Amazon Web Services account.

Request Syntax

{ "accountPlanType": "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.

accountPlanType

The target account plan type. This makes it explicit about the change and latest value of the accountPlanType.

Type: String

Valid Values: FREE | PAID

Required: Yes

Response Syntax

{ "accountId": "string", "accountPlanStatus": "string", "accountPlanType": "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.

accountId

A unique identifier that identifies the account.

Type: String

Pattern: [0-9]{12}

accountPlanStatus

This indicates the latest state of the account plan within its lifecycle.

Type: String

Valid Values: NOT_STARTED | ACTIVE | EXPIRED

accountPlanType

The type of plan for the account.

Type: String

Valid Values: FREE | PAID

Errors

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

AccessDeniedException

You don't have sufficient access to perform this action.

HTTP Status Code: 400

InternalServerException

An unexpected error occurred during the processing of your request.

HTTP Status Code: 500

ResourceNotFoundException

This exception is thrown when the requested resource cannot be found.

HTTP Status Code: 400

ThrottlingException

The request was denied due to request throttling.

HTTP Status Code: 400

ValidationException

The input fails to satisfy the constraints specified by an Amazon Web Services service.

HTTP Status Code: 400

See Also

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