Creates a service-linked role for your cloud service.
Operation description
You can call this API operation to create a service-linked role for your cloud service.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProductName | string | Yes | The name of the cloud service or the name of the service-linked role with which the cloud service is associated. | AliyunServiceRoleForEventBridgeSendToMNS |
Response parameters
Examples
Sample success responses
JSON
format
{
"Message": "success",
"RequestId": "C36345A1-75F3-5A1A-BFCF-33B8271971FA",
"Code": "Success",
"Success": true
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
403 | ServiceNotEnable | Service not enable |
For a list of error codes, visit the Service error codes.