Membuat peran terkait layanan (SLR) yang terkait dengan produk tertentu.
Deskripsi operasi
Creates the service-linked role (SLR) that is associated with a specified product.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProductName |
string |
Yes |
Nama layanan cloud atau peran terkait layanan (SLR) yang terkait dengan layanan tersebut.
|
AliyunServiceRoleForEventBridgeSendToMNS |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Message |
string |
The returned message. If the request is successful, `success` is returned. |
success |
| RequestId |
string |
The ID of the request. |
C36345A1-75F3-5A1A-BFCF-33B8271971FA |
| Code |
string |
The status code of the request. `Success` indicates that the request was successful. For more information about error codes, see the Error codes section. |
Success |
| Success |
boolean |
Indicates whether the request was successful. If the request is successful, `true` is returned. |
true |
| HttpCode |
integer |
The HTTP status code. Valid values:
If this parameter is not specified, all HTTP status codes are queried. |
200 |
Contoh
Respons sukses
JSONformat
{
"Message": "success",
"RequestId": "C36345A1-75F3-5A1A-BFCF-33B8271971FA",
"Code": "Success",
"Success": true,
"HttpCode": 200
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | ServiceNotEnable | Service not enable |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.