Enables traffic mirroring.

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 a sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes OpenTrafficMirrorService

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

Response parameters

Parameter Type Example Description
OrderId String 123412341234123

The ID of the order.

RequestId String 4FCCF008-4C13-4231-BE77-D5203801A9E2

The ID of the request.

Examples

Sample requests

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

Sample success responses

XML format

<OpenTrafficMirrorServiceResponse>
  <RequestId>4FCCF008-4C13-4231-BE77-D5203801A9E2</RequestId>
  <OrderId>123412341234123</OrderId>
</OpenTrafficMirrorServiceResponse>

JSON format

{
    "RequestId": "4FCCF008-4C13-4231-BE77-D5203801A9E2",
    "OrderId": 123412341234123
}

Error codes

HttpCode Error code Error message Description
400 OperationFailed.ExceedPurchaseLimit You have reached the limit of purchase quantity. The error message returned because you have reached the maximum units allowed for purchase.
400 OperationDenied.AccountTypeRestricted The operation is denied because your account type is not supported. The error message returned because your account type does not support this transaction.

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