Elastic Compute Service
Name | Type | Required | Parameter format | Description |
Name | Type | Required | Parameter format | Description |
Action | String | Yes | [a-zA-Z]+ | The name of the operation, which specifies the operation you want to perform. |
Version | String | Yes | YYYY-MM-DD | The version information of the API. The current version is 2020-04-01. |
X-Expires | Int | No | 300 | The validity period of the signature measured in seconds. Default value: 900. |
Name | Type | Required | Description |
Name | Type | Required | Description |
X-Date | String | Yes | 20201103T104027Z. Use UTC time, accurate to seconds. |
Authorization | String | Yes | HMAC-SHA256 Credential={AccessKey}/{ShortDate}/{Region}/{Service}/request, SignedHeaders={SignedHeaders}, Signature= |
Name | Type | Description |
Name | Type | Description |
AccessKey | String | The AK of the request. |
ShortDate | String | The short date of the request, accurate to days. Use UTC time. Example: 20180201. |
Region | String | The region of the request. For example, China (Beijing): cn-beijing. |
Service | String | The requested service. When you call API operations for instances, images, and Cloud Assistant, set this field to ecs. When you call API operations for volumes and snapshots, set this field to storage_ebs. |
SignedHeaders | String | The headers involved in the signature. Separate multiple headers with semicolons. |
Signature | String | Calculated signature. For more information on the signature calculation method, refer to Signature method. |
Name | Type | Required | The description. |
Name | Type | Required | The description. |
X-Date | String | Yes | 20201103T104027Z. Use UTC time, accurate to seconds. |
X-Algorithm | String | Yes | Fixed value: HMAC-SHA256. This field is used to prepare for future expansion. |
X-Credential | String | Yes | The format is {AccessKey}/{ShortDate}/{Region}/{Service}/request. |
X-SignedHeaders | String | Yes | The headers involved in the signature. Separate multiple headers with semicolons. |
X-Signature | String | Yes | Calculated signature. For more information on the signature calculation method, refer to Signature method. |