All Products
Search
Document Center

:ApplyLensService

更新時間:Dec 27, 2023

Enables CloudLens for EBS.

Usage notes

CloudLens for EBS is in invitational preview in China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. If you want to use CloudLens for EBS, submit a ticket.

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

Request parameters

Parameter Type Required Example Description
Action String Yes ApplyLensService

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

Response parameters

Parameter Type Example Description
RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****

The ID of the request.

Examples

Sample requests

http(s)://ebs.cn-hangzhou.aliyuncs.com/?Action=ApplyLensService
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<ApplyLensServiceResponse>
    <RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3****</RequestId>
</ApplyLensServiceResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****"
}

Error codes

HTTP status code Error code Error message Description
404 NoSuchResource The specified resource does not exist. The specified resource is not found.
504 RequestTimeout The request is timeout, please try again later. The request timed out. Try again later.
500 InternalError The request processing has failed due to some unknown error, exception or failure. An internal error occurred.
403 Forbidden User is not authorized to operate. You do not have the permissions to perform this operation on the resource. Check the permissions of your account or contact your Alibaba Cloud account administrator.
403 Forbidden.Action User is not authorized to operate this action. You do not have access to this operation. Check the permissions of your account or contact the administrator of the Alibaba Cloud account.

For a list of error codes, see Service error codes.