tencent cloud

文档反馈

DescribeDDoSAttackEventDetail

最后更新时间:2022-11-28 16:50:42
This document is currently invalid. Please refer to the documentation page of the product.

1. API Description

Domain name for API request: teo.tencentcloudapi.com.

This API is used to query the details of a DDoS attack event.

A maximum of 100 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeDDoSAttackEventDetail.
Version Yes String Common Params. The value used for this API: 2022-09-01.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
EventId Yes String The event ID to be queried.
Area No String Data storage region. Values:
  • overseas: Global (outside the Chinese mainland);
  • mainland: Chinese mainland.
  • If this field is not specified, the data storage region will be determined based on the user’s location.

    3. Output Parameters

    Parameter Name Type Description
    Data DDoSAttackEventDetailData The details of a DDoS attack event.
    RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

    4. Example

    Example1 Querying the details of a DDoS attack event

    Input Example

    POST / HTTP/1.1
    Host: teo.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: DescribeDDoSAttackEventDetail
    <Common request parameters>
    
    {
        "EventId": "12314451244512",
        "Area": "overseas"
    }
    

    Output Example

    {
        "Response": {
            "Data": {
                "EventId": "12314451244512",
                "PacketMaxRate": 10,
                "AttackType": "UDPFLOOD",
                "PolicyId": 1705,
                "StartTime": 1660010100,
                "EndTime": 1660010160,
                "AttackStatus": 1
            },
            "RequestId": "dd54b175-5594-4acc-a230-75d8ae19b5bf"
        }
    }
    

    5. Developer Resources

    SDK

    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

    The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

    Error Code Description
    UnauthorizedOperation.CamUnauthorized CAM is not authorized.