Menambahkan perangkat ke blacklist koneksi untuk menonaktifkan koneksi dari perangkat tersebut.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mq:AddCustomAuthConnectBlack |
create |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans ApsaraMQ for MQTT. |
mqtt-cn-i7m26mf**** |
| ClientId |
string |
Yes |
Client ID perangkat yang koneksi-nya ingin Anda nonaktifkan. |
GID_test@@@test |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Objek skema. |
||
| RequestId |
string |
ID permintaan. |
82B9E503-F4A1-4F30-976F-C6999FF9**** |
| Code |
integer |
Kode status HTTP. Nilai 200 menunjukkan bahwa permintaan berhasil. |
200 |
| Success |
boolean |
Menunjukkan apakah operasi berhasil. Nilai yang valid: true dan false. |
True |
| Message |
string |
Pesan yang dikembalikan. |
operation success. |
Contoh
Respons sukses
JSONformat
{
"RequestId": "82B9E503-F4A1-4F30-976F-C6999FF9****",
"Code": 200,
"Success": true,
"Message": "operation success."
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InstancePermissionCheckFailed | An error occurred while validating the permissions of the instance. Please verify the account that created the instance and its permissions settings. | |
| 400 | InvalidParameter.%s | An error occurred while validating the parameter. The parameter may be missing or invalid. | |
| 400 | Customauth.over.capacity | Over custom auth capacity. | User-defined permission quantity capacity exceeds the limit |
| 404 | ApiNotSupport | The specified API is not supported. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.