All Products
Search
Document Center

Service Catalog:ListProvisionedProductPlanApprovers

Last Updated:Mar 03, 2024

Queries a list of plan reviewers.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AccessLevelFilterstringNo

The access filter. Valid values:

  • User (default): queries the plans that are created by the current requester.
  • Account: queries the plans that belong to the current Alibaba Cloud account.
  • ResourceDirectory: queries the plans that belong to the current resource directory.
Note You must specify one of the ApprovalFilter and AccessLevelFilter parameters, but not both.
User
Filtersobject []No

An array that consists of filter conditions.

KeystringNo

The name of the filter condition. Valid values:

  • ProvisionedProductPlanApproverName: performs fuzzy match by reviewer name.
ProvisionedProductPlanApproverName
ValuestringNo

The value of the filter condition.

approver
ApprovalFilterstringNo

The access filter of the review dimension. Valid values:

  • AccountRequests: queries all reviewed plans that belong to the current Alibaba Cloud account.
  • ResourceDirectoryRequests: queries all plans that belong to the current resource directory.
Note You must specify one of the ApprovalFilter and AccessLevelFilter parameters, but not both.
AccountRequests

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The ID of the request.

0FEEF92D-4052-5202-87D0-3D8EC16F****
Approversobject []

An array that consists of reviewers.

PrincipalNamestring

The name of the reviewer.

approver-1
PrincipalTypestring

The type of the Resource Access Management (RAM) entity of the reviewer. Valid values:

  • RamUser: a RAM user
  • RamRole: a RAM role
RamUser

Examples

Sample success responses

JSONformat

{
  "RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F****",
  "Approvers": [
    {
      "PrincipalName": "approver-1",
      "PrincipalType": "RamUser"
    }
  ]
}

Error codes

HTTP status codeError codeError message
500InternalErrorA system error occurred.

For a list of error codes, visit the Service error codes.