Queries a list of drivers that are bound to an edge instance.

Limits

A single Alibaba Cloud account can run a maximum of 10 queries per second (QPS).

Note RAM users share the quota of the Alibaba Cloud account.

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 QueryEdgeInstanceDriver

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

CurrentPage Integer Yes 1

The number of the page from which the results are displayed. The minimum value is 1. If you specify a value smaller than 1, the system uses 1.

InstanceId String Yes F3APY0tPLhmgGtx0****

The ID of the edge instance.

PageSize Integer Yes 10

The number of entries to return on each page. Maximum value: 30. Default value: 10. If you specify a value smaller than 1, the system uses 10.

IotInstanceId String No iot_instc_pu****_c*-v64********

The ID of the Internet of Things (IoT) service instance. This parameter is not required for public instances. However, this parameter is required for the instances that you have purchased.

In addition to the preceding exclusive request parameters, you must specify common request parameters when calling this API operation. For more information about common request parameters, see Common parameters.

Response parameters

Parameter Type Example Description
RequestId String 77F540BC-A0EF-46A4-ABDE-18644C69AAF5

The ID of the request.

Success Boolean true

Indicates whether the call was successful. true: indicates that the call was successful. false: indicates that the call failed.

Code String Success

The error code. Success indicates that the call was successful. Other values indicate that specific errors occurred. For more information, see Error codes.

ErrorMessage String request parameter error

The error message returned if the call failed.

Data Struct

The data returned if the call was successful.

Total Integer 1

The number of drivers.

PageSize Integer 30

The number of entries returned per page.

CurrentPage Integer 1

The page number of the returned page.

DriverList Array

The list of drivers.

DriverId String 9c1ae7bd59f1469abbdccc959228****

The ID of the driver.

DriverVersion String 1.0.0

The version of the driver.

OrderId String 11123458765423

The ID of the order.

GmtCreate String 2019-06-26 17:22:25

The time when the driver was created.

GmtModified String 2019-06-26 17:22:25

The time when the driver was last modified.

Examples

Sample requests

http(s)://iot.cn-shanghai.aliyuncs.com/? Action=QueryEdgeInstanceDriver
&PageSize=30
&InstanceId=F3APY0tPLhmgGtx0****
&CurrentPage=1
&<Common request parameters>

Sample success responses

XML format

<QueryEdgeInstanceDriverResponse>
    <RequestId>77F540BC-A0EF-46A4-ABDE-18644C69AAF5</RequestId>
    <Data>
        <PageSize>30</PageSize>
        <CurrentPage>1</CurrentPage>
        <Total>1</Total>
        <DriverList>
            <Driver>
                <GmtCreate>2019-06-26 17:22:25</GmtCreate>
                <DriverId>9c1ae7bd59f1469abbdccc959228****</DriverId>
                <GmtModified>2019-06-26 17:22:25</GmtModified>
            </Driver>
        </DriverList>
    </Data>
    <Code>Success</Code>
    <Success>true</Success>
</QueryEdgeInstanceDriverResponse>

JSON format

{
  "RequestId": "77F540BC-A0EF-46A4-ABDE-18644C69AAF5",
  "Data": {
    "PageSize": 30,
    "CurrentPage": 1,
    "Total": 1,
    "DriverList": [
      {
        "GmtCreate": "2019-06-26 17:22:25",
        "DriverId": "9c1ae7bd59f1469abbdccc959228****",
        "GmtModified": "2019-06-26 17:22:25"
      }
    ]
  },
  "Code": "Success",
  "Success": true
}

Error codes

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