You can call this operation to query details about the permissions granted to the service account of an AnalyticDB for MySQL cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeOperatorPermission

The operation that you want to perform. Set the value to DescribeOperatorPermission.

DBClusterId String Yes rm-uf6wjk5xxxxxxxxxx

The ID of the cluster.

Response parameters

Parameter Type Example Description
CreatedTime String 2019-05-20T05:41:19Z

The time when the authorization takes effect.

DBClusterId String rm-uf6wjk5xxxxxxxxxx

The ID of the cluster.

ExpiredTime String 2019-05-20T07:41:19Z

The time when the authorization expires.

Privileges String Control,Data

The type of authorization. Valid values: Control | Data.

RequestId String 1AD222E9-E606-4A42-BF6D-8A4442913CEF

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DescribeOperatorPermission
&DBClusterId=rm-uf6wjk5xxxxxxxxxx
&<Common request parameters>

Sample success responses

XML format

<CreatedTime>2019-05-20T05:41:19Z</CreatedTime>
<RequestId>1AD222E9-E606-4A42-BF6D-8A4442913CEF</RequestId>
<Privileges>Control,Data</Privileges>
<ExpiredTime>2019-05-20T07:41:19Z</ExpiredTime>
<DBClusterId>rm-uf6wjk5xxxxxxxxxx</DBClusterId>

JSON format

{
    "CreatedTime": "2019-05-20T05:41:19Z",
    "RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF",
    "Privileges": "Control,Data",
    "ExpiredTime": "2019-05-20T07:41:19Z",
    "DBClusterId": "rm-uf6wjk5xxxxxxxxxx"
}

Error codes

For a list of error codes, visit the API Error Center.