All Products
Search
Document Center

DescribeOperatorPermission

Last Updated: May 29, 2020

Queries details about the permissions granted to the service account of an AnalyticDB for MySQL cluster.

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
<Common response parameters> String - For more information, see Common parameters.
RequestIdString1AD222E9-E606-4A42-BF6D-8A4442913CEFThe ID of the request.
CreatedTimeString2019-05-20T05:41:19ZThe time when the permissions took effect.
ExpiredTimeString2019-05-20T07:41:19ZThe time when the permissions expired.
PrivilegesStringControl,DataThe permissions granted to the service account. Example: Control|Data

Examples

Sample requests

  1. http(s)://[Endpoint]/?Action=DescribeOperatorPermission
  2. &DBClusterId=am-xxxxxxxxxx
  3. &<Common request parameters>

Sample success responses

XML format

  1. <DescribeOperatorPermissionResponse>
  2. <RequestId>7E7DC2C1-7BF6-46F8-B16B-9B0606D7176A</RequestId>
  3. <CreatedTime>2019-05-19T15:34:06Z</CreatedTime>
  4. <Privileges>Control,Data</Privileges>
  5. <ExpiredTime>2019-05-20T05:41:19Z</ExpiredTime>
  6. </DescribeOperatorPermissionResponse>

JSON format

  1. {
  2. "RequestId":"7E7DC2C1-7BF6-46F8-B16B-9B0606D7176A",
  3. "CreatedTime":"2019-05-19T15:34:06Z",
  4. "Privileges":"Control,Data",
  5. "ExpiredTime":"2019-05-20T05:41:19Z"
  6. }