All Products
Search
Document Center

Auto Scaling:API usage notes

Last Updated:Nov 17, 2023

Before you call Auto Scaling API in OpenAPI Explorer, read the usage notes described in this topic to make successful calls.

Prerequisites

Before you call Auto Scaling API in OpenAPI Explorer, you must activate Auto Scaling and make sure that Auto Scaling and Resource Access Management (RAM) users have the required permissions. The following requirements must be met:

Errors

Auto Scaling leverages RAM to obtain the permissions on ECS API and Elastic Container Instance API to scale ECS instances and elastic container instances. If Auto Scaling does not obtain the required permissions, the errors that are described in the following table are reported.

HTTP status code

Error code

Error message

Description

403

Forbidden.Unsubscribed

Do not have permission to access this API.

You have not activated Auto Scaling and are not authorized to call this API operation.

403

Forbidden.Unauthorized

A required authorization for the specified action is not supplied.

Auto Scaling is not authorized to call the operation.