Mengkueri status Key Management Service (KMS) dalam akun Alibaba Cloud Anda.
Deskripsi operasi
For more information about the access policy required by a RAM user or RAM role to call this API, see Resource Access Management.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
Tidak ada parameter yang diperlukan.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccountStatus |
string |
The status of KMS within your Alibaba cloud account. Valid values:
Catatan
If your Alibaba Cloud account is overdue, top up your account at the earliest opportunity to avoid impacts on your services.
|
Enabled |
| RequestId |
string |
The request ID. |
3ac84333-d64d-4784-a8bc-997834a7ac6c |
Contoh
Respons sukses
JSONformat
{
"AccountStatus": "Enabled",
"RequestId": "3ac84333-d64d-4784-a8bc-997834a7ac6c"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is not valid. | An invalid value is specified for the parameter. |
| 403 | Forbidden.NoPermission | This operation is forbidden by permission system. | |
| 404 | InvalidAccessKeyId.NotFound | The Access Key ID provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.