Queries the protection target of a scenario-specific custom policy.


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 DescribeSceneDefenseObjects

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

PolicyId String Yes 321a-fd31-df51-****

The ID of the policy that you want to query.

Note You can call the DescribeSceneDefensePolicies operation query the IDs of all policies.
RegionId String No cn-hangzhou

The region ID of the instance. Valid values:

  • cn-hangzhou: mainland China, which indicates an Anti-DDoS Pro instance
  • ap-southeast-1: outside mainland China, which indicates an Anti-DDoS Premium instance
ResourceGroupId String No default

The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.

Response parameters

Parameter Type Example Description
Objects Array

Details about the protection target.

Domain String www.aliyun.com

The domain name.

PolicyId String 321a-fd31-df51-****

The ID of the policy.

RequestId String F65DF043-E0EB-4796-9467-23DDCDF92C1D

The ID of the request.

Success Boolean true

Indicates whether the request is successful. Valid values:

  • true: The request is successful.
  • false: The request failed.


Sample requests

http(s)://[Endpoint]/? Action=DescribeSceneDefenseObjects
&<Common request parameters>

Sample success responses

XML format


JSON format

    "Objects": [
            "PolicyId": "321a-fd31-df51-****",
            "Domain": "www.aliyun.com"
    "Success": true,
    "RequestId": "F65DF043-E0EB-4796-9467-23DDCDF92C1D"

Error codes

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