@alicloud/cas20200407 3.2.13 → 3.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +294 -36
- package/dist/client.js +567 -38
- package/dist/client.js.map +1 -1
- package/dist/models/CreateContactRequest.d.ts +1 -1
- package/dist/models/CreateRollbackTaskRequest.d.ts +33 -0
- package/dist/models/CreateRollbackTaskRequest.js +60 -0
- package/dist/models/CreateRollbackTaskRequest.js.map +1 -0
- package/dist/models/CreateRollbackTaskResponse.d.ts +19 -0
- package/dist/models/CreateRollbackTaskResponse.js +69 -0
- package/dist/models/CreateRollbackTaskResponse.js.map +1 -0
- package/dist/models/CreateRollbackTaskResponseBody.d.ts +29 -0
- package/dist/models/CreateRollbackTaskResponseBody.js +60 -0
- package/dist/models/CreateRollbackTaskResponseBody.js.map +1 -0
- package/dist/models/CreateWarehouseRequest.d.ts +3 -3
- package/dist/models/CreateWarehouseResponseBody.d.ts +1 -1
- package/dist/models/DeleteInstanceRequest.d.ts +8 -0
- package/dist/models/DeleteInstanceRequest.js +2 -0
- package/dist/models/DeleteInstanceRequest.js.map +1 -1
- package/dist/models/DeleteUserCertificateRequest.d.ts +9 -2
- package/dist/models/DeleteUserCertificateRequest.js +2 -0
- package/dist/models/DeleteUserCertificateRequest.js.map +1 -1
- package/dist/models/GetCertificateDetailResponseBody.d.ts +63 -51
- package/dist/models/GetCertificateDetailResponseBody.js +2 -0
- package/dist/models/GetCertificateDetailResponseBody.js.map +1 -1
- package/dist/models/GetCertificatePackageCountRequest.d.ts +13 -0
- package/dist/models/GetCertificatePackageCountRequest.js +54 -0
- package/dist/models/GetCertificatePackageCountRequest.js.map +1 -0
- package/dist/models/GetCertificatePackageCountResponse.d.ts +19 -0
- package/dist/models/GetCertificatePackageCountResponse.js +69 -0
- package/dist/models/GetCertificatePackageCountResponse.js.map +1 -0
- package/dist/models/GetCertificatePackageCountResponseBody.d.ts +72 -0
- package/dist/models/GetCertificatePackageCountResponseBody.js +68 -0
- package/dist/models/GetCertificatePackageCountResponseBody.js.map +1 -0
- package/dist/models/GetContactRequest.d.ts +2 -0
- package/dist/models/GetContactRequest.js.map +1 -1
- package/dist/models/GetInstanceDetailResponseBody.d.ts +152 -63
- package/dist/models/GetInstanceDetailResponseBody.js +18 -0
- package/dist/models/GetInstanceDetailResponseBody.js.map +1 -1
- package/dist/models/ListCertWarehouseRequest.d.ts +7 -13
- package/dist/models/ListCertWarehouseRequest.js.map +1 -1
- package/dist/models/ListCertWarehouseResponseBody.d.ts +16 -23
- package/dist/models/ListCertWarehouseResponseBody.js.map +1 -1
- package/dist/models/ListCertificatesRequest.d.ts +12 -19
- package/dist/models/ListCertificatesRequest.js.map +1 -1
- package/dist/models/ListCertificatesResponseBody.d.ts +54 -50
- package/dist/models/ListCertificatesResponseBody.js +2 -0
- package/dist/models/ListCertificatesResponseBody.js.map +1 -1
- package/dist/models/ListInstancesRequest.d.ts +33 -9
- package/dist/models/ListInstancesRequest.js +6 -0
- package/dist/models/ListInstancesRequest.js.map +1 -1
- package/dist/models/ListInstancesResponseBody.d.ts +45 -23
- package/dist/models/ListInstancesResponseBody.js +6 -0
- package/dist/models/ListInstancesResponseBody.js.map +1 -1
- package/dist/models/ListTagKeysRequest.d.ts +73 -0
- package/dist/models/ListTagKeysRequest.js +70 -0
- package/dist/models/ListTagKeysRequest.js.map +1 -0
- package/dist/models/ListTagKeysResponse.d.ts +19 -0
- package/dist/models/ListTagKeysResponse.js +69 -0
- package/dist/models/ListTagKeysResponse.js.map +1 -0
- package/dist/models/ListTagKeysResponseBody.d.ts +94 -0
- package/dist/models/ListTagKeysResponseBody.js +94 -0
- package/dist/models/ListTagKeysResponseBody.js.map +1 -0
- package/dist/models/ListTagResourcesRequest.d.ts +87 -0
- package/dist/models/ListTagResourcesRequest.js +95 -0
- package/dist/models/ListTagResourcesRequest.js.map +1 -0
- package/dist/models/ListTagResourcesResponse.d.ts +19 -0
- package/dist/models/ListTagResourcesResponse.js +69 -0
- package/dist/models/ListTagResourcesResponse.js.map +1 -0
- package/dist/models/ListTagResourcesResponseBody.d.ts +67 -0
- package/dist/models/ListTagResourcesResponseBody.js +114 -0
- package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
- package/dist/models/ListTrusteeOrderRequest.d.ts +45 -0
- package/dist/models/ListTrusteeOrderRequest.js +64 -0
- package/dist/models/ListTrusteeOrderRequest.js.map +1 -0
- package/dist/models/ListTrusteeOrderResponse.d.ts +19 -0
- package/dist/models/ListTrusteeOrderResponse.js +69 -0
- package/dist/models/ListTrusteeOrderResponse.js.map +1 -0
- package/dist/models/ListTrusteeOrderResponseBody.d.ts +85 -0
- package/dist/models/ListTrusteeOrderResponseBody.js +66 -0
- package/dist/models/ListTrusteeOrderResponseBody.js.map +1 -0
- package/dist/models/RevokeCertificateRequest.d.ts +4 -1
- package/dist/models/RevokeCertificateRequest.js.map +1 -1
- package/dist/models/RevokeCertificateResponseBody.d.ts +1 -1
- package/dist/models/ShareCertificateRequest.d.ts +33 -0
- package/dist/models/ShareCertificateRequest.js +60 -0
- package/dist/models/ShareCertificateRequest.js.map +1 -0
- package/dist/models/ShareCertificateResponse.d.ts +19 -0
- package/dist/models/ShareCertificateResponse.js +69 -0
- package/dist/models/ShareCertificateResponse.js.map +1 -0
- package/dist/models/ShareCertificateResponseBody.d.ts +21 -0
- package/dist/models/ShareCertificateResponseBody.js +58 -0
- package/dist/models/ShareCertificateResponseBody.js.map +1 -0
- package/dist/models/TagResourcesRequest.d.ts +73 -0
- package/dist/models/TagResourcesRequest.js +91 -0
- package/dist/models/TagResourcesRequest.js.map +1 -0
- package/dist/models/TagResourcesResponse.d.ts +19 -0
- package/dist/models/TagResourcesResponse.js +69 -0
- package/dist/models/TagResourcesResponse.js.map +1 -0
- package/dist/models/TagResourcesResponseBody.d.ts +21 -0
- package/dist/models/TagResourcesResponseBody.js +58 -0
- package/dist/models/TagResourcesResponseBody.js.map +1 -0
- package/dist/models/UntagResourcesRequest.d.ts +57 -0
- package/dist/models/UntagResourcesRequest.js +72 -0
- package/dist/models/UntagResourcesRequest.js.map +1 -0
- package/dist/models/UntagResourcesResponse.d.ts +19 -0
- package/dist/models/UntagResourcesResponse.js +69 -0
- package/dist/models/UntagResourcesResponse.js.map +1 -0
- package/dist/models/UntagResourcesResponseBody.d.ts +21 -0
- package/dist/models/UntagResourcesResponseBody.js +58 -0
- package/dist/models/UntagResourcesResponseBody.js.map +1 -0
- package/dist/models/UpdateCsrRequest.d.ts +2 -2
- package/dist/models/UpdateCsrResponseBody.d.ts +1 -1
- package/dist/models/UpdateInstanceRequest.d.ts +27 -39
- package/dist/models/UpdateInstanceRequest.js.map +1 -1
- package/dist/models/UpdateInstanceResponseBody.d.ts +1 -1
- package/dist/models/UpdateWorkerResourceStatusRequest.d.ts +3 -7
- package/dist/models/UpdateWorkerResourceStatusRequest.js.map +1 -1
- package/dist/models/UpdateWorkerResourceStatusResponseBody.d.ts +2 -2
- package/dist/models/UploadPcacertRequest.d.ts +5 -6
- package/dist/models/UploadPcacertRequest.js.map +1 -1
- package/dist/models/UploadPcacertResponseBody.d.ts +2 -2
- package/dist/models/UploadUserCertificateRequest.d.ts +19 -12
- package/dist/models/UploadUserCertificateRequest.js +2 -0
- package/dist/models/UploadUserCertificateRequest.js.map +1 -1
- package/dist/models/UploadUserCertificateResponseBody.d.ts +3 -3
- package/dist/models/model.d.ts +29 -0
- package/dist/models/model.js +64 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +619 -38
- package/src/models/CreateContactRequest.ts +1 -1
- package/src/models/CreateRollbackTaskRequest.ts +48 -0
- package/src/models/CreateRollbackTaskResponse.ts +40 -0
- package/src/models/CreateRollbackTaskResponseBody.ts +44 -0
- package/src/models/CreateWarehouseRequest.ts +3 -3
- package/src/models/CreateWarehouseResponseBody.ts +1 -1
- package/src/models/DeleteInstanceRequest.ts +10 -0
- package/src/models/DeleteUserCertificateRequest.ts +11 -2
- package/src/models/GetCertificateDetailResponseBody.ts +65 -51
- package/src/models/GetCertificatePackageCountRequest.ts +24 -0
- package/src/models/GetCertificatePackageCountResponse.ts +40 -0
- package/src/models/GetCertificatePackageCountResponseBody.ts +95 -0
- package/src/models/GetContactRequest.ts +2 -0
- package/src/models/GetInstanceDetailResponseBody.ts +170 -63
- package/src/models/ListCertWarehouseRequest.ts +7 -13
- package/src/models/ListCertWarehouseResponseBody.ts +16 -23
- package/src/models/ListCertificatesRequest.ts +12 -19
- package/src/models/ListCertificatesResponseBody.ts +56 -50
- package/src/models/ListInstancesRequest.ts +39 -9
- package/src/models/ListInstancesResponseBody.ts +51 -23
- package/src/models/ListTagKeysRequest.ts +98 -0
- package/src/models/ListTagKeysResponse.ts +40 -0
- package/src/models/ListTagKeysResponseBody.ts +134 -0
- package/src/models/ListTagResourcesRequest.ts +128 -0
- package/src/models/ListTagResourcesResponse.ts +40 -0
- package/src/models/ListTagResourcesResponseBody.ts +118 -0
- package/src/models/ListTrusteeOrderRequest.ts +64 -0
- package/src/models/ListTrusteeOrderResponse.ts +40 -0
- package/src/models/ListTrusteeOrderResponseBody.ts +106 -0
- package/src/models/RevokeCertificateRequest.ts +4 -1
- package/src/models/RevokeCertificateResponseBody.ts +1 -1
- package/src/models/ShareCertificateRequest.ts +48 -0
- package/src/models/ShareCertificateResponse.ts +40 -0
- package/src/models/ShareCertificateResponseBody.ts +34 -0
- package/src/models/TagResourcesRequest.ts +110 -0
- package/src/models/TagResourcesResponse.ts +40 -0
- package/src/models/TagResourcesResponseBody.ts +34 -0
- package/src/models/UntagResourcesRequest.ts +84 -0
- package/src/models/UntagResourcesResponse.ts +40 -0
- package/src/models/UntagResourcesResponseBody.ts +34 -0
- package/src/models/UpdateCsrRequest.ts +2 -2
- package/src/models/UpdateCsrResponseBody.ts +1 -1
- package/src/models/UpdateInstanceRequest.ts +28 -40
- package/src/models/UpdateInstanceResponseBody.ts +1 -1
- package/src/models/UpdateWorkerResourceStatusRequest.ts +3 -7
- package/src/models/UpdateWorkerResourceStatusResponseBody.ts +2 -2
- package/src/models/UploadPcacertRequest.ts +5 -6
- package/src/models/UploadPcacertResponseBody.ts +2 -2
- package/src/models/UploadUserCertificateRequest.ts +21 -12
- package/src/models/UploadUserCertificateResponseBody.ts +3 -3
- package/src/models/model.ts +29 -0
package/dist/client.js
CHANGED
|
@@ -101,8 +101,6 @@ class Client extends openapi_core_1.default {
|
|
|
101
101
|
'rus-west-1-pop': "cas.aliyuncs.com",
|
|
102
102
|
'us-east-1': "cas.aliyuncs.com",
|
|
103
103
|
'us-west-1': "cas.aliyuncs.com",
|
|
104
|
-
'eu-central-1': "cas.eu-central-1.aliyuncs.com",
|
|
105
|
-
'ap-southeast-1': "cas.ap-southeast-1.aliyuncs.com",
|
|
106
104
|
};
|
|
107
105
|
this.checkConfig(config);
|
|
108
106
|
this._endpoint = this.getEndpoint("cas", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -858,6 +856,48 @@ class Client extends openapi_core_1.default {
|
|
|
858
856
|
let runtime = new $dara.RuntimeOptions({});
|
|
859
857
|
return await this.createDeploymentJobWithOptions(request, runtime);
|
|
860
858
|
}
|
|
859
|
+
/**
|
|
860
|
+
* Rolls back a deployment.
|
|
861
|
+
*
|
|
862
|
+
* @param request - CreateRollbackTaskRequest
|
|
863
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
864
|
+
* @returns CreateRollbackTaskResponse
|
|
865
|
+
*/
|
|
866
|
+
async createRollbackTaskWithOptions(request, runtime) {
|
|
867
|
+
request.validate();
|
|
868
|
+
let query = {};
|
|
869
|
+
if (!$dara.isNull(request.jobId)) {
|
|
870
|
+
query["JobId"] = request.jobId;
|
|
871
|
+
}
|
|
872
|
+
if (!$dara.isNull(request.workerId)) {
|
|
873
|
+
query["WorkerId"] = request.workerId;
|
|
874
|
+
}
|
|
875
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
876
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
877
|
+
});
|
|
878
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
879
|
+
action: "CreateRollbackTask",
|
|
880
|
+
version: "2020-04-07",
|
|
881
|
+
protocol: "HTTPS",
|
|
882
|
+
pathname: "/",
|
|
883
|
+
method: "POST",
|
|
884
|
+
authType: "AK",
|
|
885
|
+
style: "RPC",
|
|
886
|
+
reqBodyType: "formData",
|
|
887
|
+
bodyType: "json",
|
|
888
|
+
});
|
|
889
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateRollbackTaskResponse({}));
|
|
890
|
+
}
|
|
891
|
+
/**
|
|
892
|
+
* Rolls back a deployment.
|
|
893
|
+
*
|
|
894
|
+
* @param request - CreateRollbackTaskRequest
|
|
895
|
+
* @returns CreateRollbackTaskResponse
|
|
896
|
+
*/
|
|
897
|
+
async createRollbackTask(request) {
|
|
898
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
899
|
+
return await this.createRollbackTaskWithOptions(request, runtime);
|
|
900
|
+
}
|
|
861
901
|
/**
|
|
862
902
|
* Issues a single client certificate from the general user certificate repository.
|
|
863
903
|
*
|
|
@@ -952,7 +992,12 @@ class Client extends openapi_core_1.default {
|
|
|
952
992
|
return await this.createWHClientCertificateWithOptions(request, runtime);
|
|
953
993
|
}
|
|
954
994
|
/**
|
|
955
|
-
* Creates a certificate
|
|
995
|
+
* Creates a certificate repository.
|
|
996
|
+
*
|
|
997
|
+
* @remarks
|
|
998
|
+
* This operation is used to query the list of certificate repositories.
|
|
999
|
+
* ### QPS limit
|
|
1000
|
+
* The China single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API call is throttled, which may affect your business. Call this operation appropriately.
|
|
956
1001
|
*
|
|
957
1002
|
* @param request - CreateWarehouseRequest
|
|
958
1003
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -987,7 +1032,12 @@ class Client extends openapi_core_1.default {
|
|
|
987
1032
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateWarehouseResponse({}));
|
|
988
1033
|
}
|
|
989
1034
|
/**
|
|
990
|
-
* Creates a certificate
|
|
1035
|
+
* Creates a certificate repository.
|
|
1036
|
+
*
|
|
1037
|
+
* @remarks
|
|
1038
|
+
* This operation is used to query the list of certificate repositories.
|
|
1039
|
+
* ### QPS limit
|
|
1040
|
+
* The China single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API call is throttled, which may affect your business. Call this operation appropriately.
|
|
991
1041
|
*
|
|
992
1042
|
* @param request - CreateWarehouseRequest
|
|
993
1043
|
* @returns CreateWarehouseResponse
|
|
@@ -1307,7 +1357,13 @@ class Client extends openapi_core_1.default {
|
|
|
1307
1357
|
return await this.deleteDeploymentJobWithOptions(request, runtime);
|
|
1308
1358
|
}
|
|
1309
1359
|
/**
|
|
1310
|
-
* Deletes
|
|
1360
|
+
* Deletes an instance.
|
|
1361
|
+
*
|
|
1362
|
+
* @remarks
|
|
1363
|
+
* Queries the status information of a private Certificate Authority (CA) instance that you purchased in the SSL Certificate console by using the ID of the private CA instance. For example, you can query the status of the CA instance, the number of certificates included, and the number of certificates issued.
|
|
1364
|
+
* Before you invoke this operation, you must have purchased a private CA in the [Certificate Management Service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
1365
|
+
* ## QPS limit
|
|
1366
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Invoke this operation as needed.
|
|
1311
1367
|
*
|
|
1312
1368
|
* @param request - DeleteInstanceRequest
|
|
1313
1369
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1316,6 +1372,9 @@ class Client extends openapi_core_1.default {
|
|
|
1316
1372
|
async deleteInstanceWithOptions(request, runtime) {
|
|
1317
1373
|
request.validate();
|
|
1318
1374
|
let query = {};
|
|
1375
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
1376
|
+
query["ClientToken"] = request.clientToken;
|
|
1377
|
+
}
|
|
1319
1378
|
if (!$dara.isNull(request.instanceId)) {
|
|
1320
1379
|
query["InstanceId"] = request.instanceId;
|
|
1321
1380
|
}
|
|
@@ -1336,7 +1395,13 @@ class Client extends openapi_core_1.default {
|
|
|
1336
1395
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteInstanceResponse({}));
|
|
1337
1396
|
}
|
|
1338
1397
|
/**
|
|
1339
|
-
* Deletes
|
|
1398
|
+
* Deletes an instance.
|
|
1399
|
+
*
|
|
1400
|
+
* @remarks
|
|
1401
|
+
* Queries the status information of a private Certificate Authority (CA) instance that you purchased in the SSL Certificate console by using the ID of the private CA instance. For example, you can query the status of the CA instance, the number of certificates included, and the number of certificates issued.
|
|
1402
|
+
* Before you invoke this operation, you must have purchased a private CA in the [Certificate Management Service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
1403
|
+
* ## QPS limit
|
|
1404
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Invoke this operation as needed.
|
|
1340
1405
|
*
|
|
1341
1406
|
* @param request - DeleteInstanceRequest
|
|
1342
1407
|
* @returns DeleteInstanceResponse
|
|
@@ -1395,10 +1460,10 @@ class Client extends openapi_core_1.default {
|
|
|
1395
1460
|
return await this.deletePCACertWithOptions(request, runtime);
|
|
1396
1461
|
}
|
|
1397
1462
|
/**
|
|
1398
|
-
* Deletes an expired, revoked, or
|
|
1463
|
+
* Deletes an expired, revoked, or uploaded certificate.
|
|
1399
1464
|
*
|
|
1400
1465
|
* @remarks
|
|
1401
|
-
*
|
|
1466
|
+
* The China single-user queries per second (QPS) limit for this operation is 100. If this limit is exceeded, the API call is throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
1402
1467
|
*
|
|
1403
1468
|
* @param request - DeleteUserCertificateRequest
|
|
1404
1469
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1410,6 +1475,9 @@ class Client extends openapi_core_1.default {
|
|
|
1410
1475
|
if (!$dara.isNull(request.certId)) {
|
|
1411
1476
|
query["CertId"] = request.certId;
|
|
1412
1477
|
}
|
|
1478
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
1479
|
+
query["ClientToken"] = request.clientToken;
|
|
1480
|
+
}
|
|
1413
1481
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1414
1482
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1415
1483
|
});
|
|
@@ -1427,10 +1495,10 @@ class Client extends openapi_core_1.default {
|
|
|
1427
1495
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteUserCertificateResponse({}));
|
|
1428
1496
|
}
|
|
1429
1497
|
/**
|
|
1430
|
-
* Deletes an expired, revoked, or
|
|
1498
|
+
* Deletes an expired, revoked, or uploaded certificate.
|
|
1431
1499
|
*
|
|
1432
1500
|
* @remarks
|
|
1433
|
-
*
|
|
1501
|
+
* The China single-user queries per second (QPS) limit for this operation is 100. If this limit is exceeded, the API call is throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
1434
1502
|
*
|
|
1435
1503
|
* @param request - DeleteUserCertificateRequest
|
|
1436
1504
|
* @returns DeleteUserCertificateResponse
|
|
@@ -1911,7 +1979,10 @@ class Client extends openapi_core_1.default {
|
|
|
1911
1979
|
return await this.getCertWarehouseQuotaWithOptions(runtime);
|
|
1912
1980
|
}
|
|
1913
1981
|
/**
|
|
1914
|
-
*
|
|
1982
|
+
* Queries the details of a certificate. The certificate content and private key content are not returned.
|
|
1983
|
+
*
|
|
1984
|
+
* @remarks
|
|
1985
|
+
* The per-user queries per second (QPS) limit for this operation is 100. If this limit is exceeded, the API calls are throttled, which may affect your business. Use this operation as appropriate.
|
|
1915
1986
|
*
|
|
1916
1987
|
* @param request - GetCertificateDetailRequest
|
|
1917
1988
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1940,7 +2011,10 @@ class Client extends openapi_core_1.default {
|
|
|
1940
2011
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCertificateDetailResponse({}));
|
|
1941
2012
|
}
|
|
1942
2013
|
/**
|
|
1943
|
-
*
|
|
2014
|
+
* Queries the details of a certificate. The certificate content and private key content are not returned.
|
|
2015
|
+
*
|
|
2016
|
+
* @remarks
|
|
2017
|
+
* The per-user queries per second (QPS) limit for this operation is 100. If this limit is exceeded, the API calls are throttled, which may affect your business. Use this operation as appropriate.
|
|
1944
2018
|
*
|
|
1945
2019
|
* @param request - GetCertificateDetailRequest
|
|
1946
2020
|
* @returns GetCertificateDetailResponse
|
|
@@ -1949,6 +2023,49 @@ class Client extends openapi_core_1.default {
|
|
|
1949
2023
|
let runtime = new $dara.RuntimeOptions({});
|
|
1950
2024
|
return await this.getCertificateDetailWithOptions(request, runtime);
|
|
1951
2025
|
}
|
|
2026
|
+
/**
|
|
2027
|
+
* Retrieves the number of certificate resource plans.
|
|
2028
|
+
*
|
|
2029
|
+
* @remarks
|
|
2030
|
+
* Queries the number of CA certificates (including root CA certificates and subordinate CA certificates) that you have created.
|
|
2031
|
+
* ## QPS limit
|
|
2032
|
+
* The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API call is throttled, which may affect your business. Call this operation as needed.
|
|
2033
|
+
*
|
|
2034
|
+
* @param request - GetCertificatePackageCountRequest
|
|
2035
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2036
|
+
* @returns GetCertificatePackageCountResponse
|
|
2037
|
+
*/
|
|
2038
|
+
async getCertificatePackageCountWithOptions(request, runtime) {
|
|
2039
|
+
request.validate();
|
|
2040
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({});
|
|
2041
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2042
|
+
action: "GetCertificatePackageCount",
|
|
2043
|
+
version: "2020-04-07",
|
|
2044
|
+
protocol: "HTTPS",
|
|
2045
|
+
pathname: "/",
|
|
2046
|
+
method: "POST",
|
|
2047
|
+
authType: "AK",
|
|
2048
|
+
style: "RPC",
|
|
2049
|
+
reqBodyType: "formData",
|
|
2050
|
+
bodyType: "json",
|
|
2051
|
+
});
|
|
2052
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCertificatePackageCountResponse({}));
|
|
2053
|
+
}
|
|
2054
|
+
/**
|
|
2055
|
+
* Retrieves the number of certificate resource plans.
|
|
2056
|
+
*
|
|
2057
|
+
* @remarks
|
|
2058
|
+
* Queries the number of CA certificates (including root CA certificates and subordinate CA certificates) that you have created.
|
|
2059
|
+
* ## QPS limit
|
|
2060
|
+
* The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API call is throttled, which may affect your business. Call this operation as needed.
|
|
2061
|
+
*
|
|
2062
|
+
* @param request - GetCertificatePackageCountRequest
|
|
2063
|
+
* @returns GetCertificatePackageCountResponse
|
|
2064
|
+
*/
|
|
2065
|
+
async getCertificatePackageCount(request) {
|
|
2066
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2067
|
+
return await this.getCertificatePackageCountWithOptions(request, runtime);
|
|
2068
|
+
}
|
|
1952
2069
|
/**
|
|
1953
2070
|
* Retrieves the details of a company.
|
|
1954
2071
|
*
|
|
@@ -2069,6 +2186,12 @@ class Client extends openapi_core_1.default {
|
|
|
2069
2186
|
/**
|
|
2070
2187
|
* Queries the details of an instance.
|
|
2071
2188
|
*
|
|
2189
|
+
* @remarks
|
|
2190
|
+
* Queries the status information of a Private Certificate Authority (PCA) instance that you purchased through the SSL Certificate Service console by using the instance ID. The information includes the instance status, the total number of certificates, and the number of issued certificates.
|
|
2191
|
+
* Before you invoke this operation, you must purchase a private CA through the [digital certificate management service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
2192
|
+
* ## QPS limit
|
|
2193
|
+
* The QPS limit for a single user is 10 invocations per second. If the limit is exceeded, API invocations are throttled, which may affect your services. Invoke this operation at a reasonable frequency.
|
|
2194
|
+
*
|
|
2072
2195
|
* @param request - GetInstanceDetailRequest
|
|
2073
2196
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2074
2197
|
* @returns GetInstanceDetailResponse
|
|
@@ -2098,6 +2221,12 @@ class Client extends openapi_core_1.default {
|
|
|
2098
2221
|
/**
|
|
2099
2222
|
* Queries the details of an instance.
|
|
2100
2223
|
*
|
|
2224
|
+
* @remarks
|
|
2225
|
+
* Queries the status information of a Private Certificate Authority (PCA) instance that you purchased through the SSL Certificate Service console by using the instance ID. The information includes the instance status, the total number of certificates, and the number of issued certificates.
|
|
2226
|
+
* Before you invoke this operation, you must purchase a private CA through the [digital certificate management service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
2227
|
+
* ## QPS limit
|
|
2228
|
+
* The QPS limit for a single user is 10 invocations per second. If the limit is exceeded, API invocations are throttled, which may affect your services. Invoke this operation at a reasonable frequency.
|
|
2229
|
+
*
|
|
2101
2230
|
* @param request - GetInstanceDetailRequest
|
|
2102
2231
|
* @returns GetInstanceDetailResponse
|
|
2103
2232
|
*/
|
|
@@ -2458,12 +2587,12 @@ class Client extends openapi_core_1.default {
|
|
|
2458
2587
|
return await this.listCertWithOptions(request, runtime);
|
|
2459
2588
|
}
|
|
2460
2589
|
/**
|
|
2461
|
-
* Queries the certificate
|
|
2590
|
+
* Queries the list of certificate repositories.
|
|
2462
2591
|
*
|
|
2463
2592
|
* @remarks
|
|
2464
|
-
*
|
|
2465
|
-
* ###
|
|
2466
|
-
*
|
|
2593
|
+
* Queries the list of certificate repositories.
|
|
2594
|
+
* ### QPS limit
|
|
2595
|
+
* The single-user QPS limit for this API is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this API appropriately.
|
|
2467
2596
|
*
|
|
2468
2597
|
* @param request - ListCertWarehouseRequest
|
|
2469
2598
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2504,12 +2633,12 @@ class Client extends openapi_core_1.default {
|
|
|
2504
2633
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCertWarehouseResponse({}));
|
|
2505
2634
|
}
|
|
2506
2635
|
/**
|
|
2507
|
-
* Queries the certificate
|
|
2636
|
+
* Queries the list of certificate repositories.
|
|
2508
2637
|
*
|
|
2509
2638
|
* @remarks
|
|
2510
|
-
*
|
|
2511
|
-
* ###
|
|
2512
|
-
*
|
|
2639
|
+
* Queries the list of certificate repositories.
|
|
2640
|
+
* ### QPS limit
|
|
2641
|
+
* The single-user QPS limit for this API is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this API appropriately.
|
|
2513
2642
|
*
|
|
2514
2643
|
* @param request - ListCertWarehouseRequest
|
|
2515
2644
|
* @returns ListCertWarehouseResponse
|
|
@@ -2519,7 +2648,11 @@ class Client extends openapi_core_1.default {
|
|
|
2519
2648
|
return await this.listCertWarehouseWithOptions(request, runtime);
|
|
2520
2649
|
}
|
|
2521
2650
|
/**
|
|
2522
|
-
*
|
|
2651
|
+
* Retrieves a list of certificates.
|
|
2652
|
+
*
|
|
2653
|
+
* @remarks
|
|
2654
|
+
* Queries the operation logs of CA certificates, including root CA certificates and subordinate CA certificates. For example, you can query the creation logs and status change logs of CA certificates.
|
|
2655
|
+
* The per-user queries per second (QPS) limit for this operation is 10. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
2523
2656
|
*
|
|
2524
2657
|
* @param request - ListCertificatesRequest
|
|
2525
2658
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2566,7 +2699,11 @@ class Client extends openapi_core_1.default {
|
|
|
2566
2699
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCertificatesResponse({}));
|
|
2567
2700
|
}
|
|
2568
2701
|
/**
|
|
2569
|
-
*
|
|
2702
|
+
* Retrieves a list of certificates.
|
|
2703
|
+
*
|
|
2704
|
+
* @remarks
|
|
2705
|
+
* Queries the operation logs of CA certificates, including root CA certificates and subordinate CA certificates. For example, you can query the creation logs and status change logs of CA certificates.
|
|
2706
|
+
* The per-user queries per second (QPS) limit for this operation is 10. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
2570
2707
|
*
|
|
2571
2708
|
* @param request - ListCertificatesRequest
|
|
2572
2709
|
* @returns ListCertificatesResponse
|
|
@@ -2955,6 +3092,12 @@ class Client extends openapi_core_1.default {
|
|
|
2955
3092
|
/**
|
|
2956
3093
|
* Retrieves a list of instances.
|
|
2957
3094
|
*
|
|
3095
|
+
* @remarks
|
|
3096
|
+
* Queries the status information of Private Certificate Authority (PCA) instances that you purchased through the SSL Certificate console by specifying the IDs of the private CA instances. For example, you can query the status of a CA instance, the number of digital certificates included, and the number of digital certificates issued.
|
|
3097
|
+
* Before invoking this operation, you must have purchased a private CA through the [Certificate Management Service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
3098
|
+
* ## QPS limit
|
|
3099
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API invoke is throttled, which may affect your business. Invoke this operation as needed.
|
|
3100
|
+
*
|
|
2958
3101
|
* @param request - ListInstancesRequest
|
|
2959
3102
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2960
3103
|
* @returns ListInstancesResponse
|
|
@@ -2962,6 +3105,9 @@ class Client extends openapi_core_1.default {
|
|
|
2962
3105
|
async listInstancesWithOptions(request, runtime) {
|
|
2963
3106
|
request.validate();
|
|
2964
3107
|
let query = {};
|
|
3108
|
+
if (!$dara.isNull(request.autoReissueFlag)) {
|
|
3109
|
+
query["AutoReissueFlag"] = request.autoReissueFlag;
|
|
3110
|
+
}
|
|
2965
3111
|
if (!$dara.isNull(request.brand)) {
|
|
2966
3112
|
query["Brand"] = request.brand;
|
|
2967
3113
|
}
|
|
@@ -2983,12 +3129,18 @@ class Client extends openapi_core_1.default {
|
|
|
2983
3129
|
if (!$dara.isNull(request.resourceGroupId)) {
|
|
2984
3130
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
2985
3131
|
}
|
|
3132
|
+
if (!$dara.isNull(request.serverDeployFlag)) {
|
|
3133
|
+
query["ServerDeployFlag"] = request.serverDeployFlag;
|
|
3134
|
+
}
|
|
2986
3135
|
if (!$dara.isNull(request.showSize)) {
|
|
2987
3136
|
query["ShowSize"] = request.showSize;
|
|
2988
3137
|
}
|
|
2989
3138
|
if (!$dara.isNull(request.status)) {
|
|
2990
3139
|
query["Status"] = request.status;
|
|
2991
3140
|
}
|
|
3141
|
+
if (!$dara.isNull(request.versionType)) {
|
|
3142
|
+
query["VersionType"] = request.versionType;
|
|
3143
|
+
}
|
|
2992
3144
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2993
3145
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2994
3146
|
});
|
|
@@ -3008,6 +3160,12 @@ class Client extends openapi_core_1.default {
|
|
|
3008
3160
|
/**
|
|
3009
3161
|
* Retrieves a list of instances.
|
|
3010
3162
|
*
|
|
3163
|
+
* @remarks
|
|
3164
|
+
* Queries the status information of Private Certificate Authority (PCA) instances that you purchased through the SSL Certificate console by specifying the IDs of the private CA instances. For example, you can query the status of a CA instance, the number of digital certificates included, and the number of digital certificates issued.
|
|
3165
|
+
* Before invoking this operation, you must have purchased a private CA through the [Certificate Management Service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
3166
|
+
* ## QPS limit
|
|
3167
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API invoke is throttled, which may affect your business. Invoke this operation as needed.
|
|
3168
|
+
*
|
|
3011
3169
|
* @param request - ListInstancesRequest
|
|
3012
3170
|
* @returns ListInstancesResponse
|
|
3013
3171
|
*/
|
|
@@ -3015,6 +3173,199 @@ class Client extends openapi_core_1.default {
|
|
|
3015
3173
|
let runtime = new $dara.RuntimeOptions({});
|
|
3016
3174
|
return await this.listInstancesWithOptions(request, runtime);
|
|
3017
3175
|
}
|
|
3176
|
+
/**
|
|
3177
|
+
* Retrieves a list of tag keys and values.
|
|
3178
|
+
*
|
|
3179
|
+
* @remarks
|
|
3180
|
+
* Queries the status information of a private Certificate Authority (CA) instance that you purchased in the SSL Certificate console by using the ID of the private CA instance. For example, you can query the status of the CA instance, the number of certificates included, and the number of certificates issued.
|
|
3181
|
+
* Before you invoke this operation, you must have purchased a private CA in the [Certificate Management Service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
3182
|
+
* ## QPS limit
|
|
3183
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Invoke this operation as appropriate.
|
|
3184
|
+
*
|
|
3185
|
+
* @param request - ListTagKeysRequest
|
|
3186
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3187
|
+
* @returns ListTagKeysResponse
|
|
3188
|
+
*/
|
|
3189
|
+
async listTagKeysWithOptions(request, runtime) {
|
|
3190
|
+
request.validate();
|
|
3191
|
+
let query = {};
|
|
3192
|
+
if (!$dara.isNull(request.currentPage)) {
|
|
3193
|
+
query["CurrentPage"] = request.currentPage;
|
|
3194
|
+
}
|
|
3195
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
3196
|
+
query["MaxResults"] = request.maxResults;
|
|
3197
|
+
}
|
|
3198
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
3199
|
+
query["NextToken"] = request.nextToken;
|
|
3200
|
+
}
|
|
3201
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
3202
|
+
query["PageSize"] = request.pageSize;
|
|
3203
|
+
}
|
|
3204
|
+
if (!$dara.isNull(request.regionId)) {
|
|
3205
|
+
query["RegionId"] = request.regionId;
|
|
3206
|
+
}
|
|
3207
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
3208
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
3209
|
+
}
|
|
3210
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
3211
|
+
query["ResourceType"] = request.resourceType;
|
|
3212
|
+
}
|
|
3213
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3214
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3215
|
+
});
|
|
3216
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3217
|
+
action: "ListTagKeys",
|
|
3218
|
+
version: "2020-04-07",
|
|
3219
|
+
protocol: "HTTPS",
|
|
3220
|
+
pathname: "/",
|
|
3221
|
+
method: "POST",
|
|
3222
|
+
authType: "AK",
|
|
3223
|
+
style: "RPC",
|
|
3224
|
+
reqBodyType: "formData",
|
|
3225
|
+
bodyType: "json",
|
|
3226
|
+
});
|
|
3227
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTagKeysResponse({}));
|
|
3228
|
+
}
|
|
3229
|
+
/**
|
|
3230
|
+
* Retrieves a list of tag keys and values.
|
|
3231
|
+
*
|
|
3232
|
+
* @remarks
|
|
3233
|
+
* Queries the status information of a private Certificate Authority (CA) instance that you purchased in the SSL Certificate console by using the ID of the private CA instance. For example, you can query the status of the CA instance, the number of certificates included, and the number of certificates issued.
|
|
3234
|
+
* Before you invoke this operation, you must have purchased a private CA in the [Certificate Management Service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
3235
|
+
* ## QPS limit
|
|
3236
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Invoke this operation as appropriate.
|
|
3237
|
+
*
|
|
3238
|
+
* @param request - ListTagKeysRequest
|
|
3239
|
+
* @returns ListTagKeysResponse
|
|
3240
|
+
*/
|
|
3241
|
+
async listTagKeys(request) {
|
|
3242
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3243
|
+
return await this.listTagKeysWithOptions(request, runtime);
|
|
3244
|
+
}
|
|
3245
|
+
/**
|
|
3246
|
+
* Retrieves the tags associated with a resource.
|
|
3247
|
+
*
|
|
3248
|
+
* @remarks
|
|
3249
|
+
* This operation queries the status information of a private Certificate Authority (CA) instance that you purchased through the SSL Certificate console by using the ID of the private CA instance. For example, you can query the status of the CA instance, the number of digital certificates included, and the number of digital certificates issued.
|
|
3250
|
+
* Before you invoke this operation, you must have purchased a private CA through the [Certificate Management Service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
3251
|
+
* ## QPS limit
|
|
3252
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Invoke this operation appropriately.
|
|
3253
|
+
*
|
|
3254
|
+
* @param request - ListTagResourcesRequest
|
|
3255
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3256
|
+
* @returns ListTagResourcesResponse
|
|
3257
|
+
*/
|
|
3258
|
+
async listTagResourcesWithOptions(request, runtime) {
|
|
3259
|
+
request.validate();
|
|
3260
|
+
let query = {};
|
|
3261
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
3262
|
+
query["MaxResults"] = request.maxResults;
|
|
3263
|
+
}
|
|
3264
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
3265
|
+
query["NextToken"] = request.nextToken;
|
|
3266
|
+
}
|
|
3267
|
+
if (!$dara.isNull(request.regionId)) {
|
|
3268
|
+
query["RegionId"] = request.regionId;
|
|
3269
|
+
}
|
|
3270
|
+
if (!$dara.isNull(request.resourceId)) {
|
|
3271
|
+
query["ResourceId"] = request.resourceId;
|
|
3272
|
+
}
|
|
3273
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
3274
|
+
query["ResourceType"] = request.resourceType;
|
|
3275
|
+
}
|
|
3276
|
+
if (!$dara.isNull(request.tag)) {
|
|
3277
|
+
query["Tag"] = request.tag;
|
|
3278
|
+
}
|
|
3279
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3280
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3281
|
+
});
|
|
3282
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3283
|
+
action: "ListTagResources",
|
|
3284
|
+
version: "2020-04-07",
|
|
3285
|
+
protocol: "HTTPS",
|
|
3286
|
+
pathname: "/",
|
|
3287
|
+
method: "POST",
|
|
3288
|
+
authType: "AK",
|
|
3289
|
+
style: "RPC",
|
|
3290
|
+
reqBodyType: "formData",
|
|
3291
|
+
bodyType: "json",
|
|
3292
|
+
});
|
|
3293
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTagResourcesResponse({}));
|
|
3294
|
+
}
|
|
3295
|
+
/**
|
|
3296
|
+
* Retrieves the tags associated with a resource.
|
|
3297
|
+
*
|
|
3298
|
+
* @remarks
|
|
3299
|
+
* This operation queries the status information of a private Certificate Authority (CA) instance that you purchased through the SSL Certificate console by using the ID of the private CA instance. For example, you can query the status of the CA instance, the number of digital certificates included, and the number of digital certificates issued.
|
|
3300
|
+
* Before you invoke this operation, you must have purchased a private CA through the [Certificate Management Service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
3301
|
+
* ## QPS limit
|
|
3302
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Invoke this operation appropriately.
|
|
3303
|
+
*
|
|
3304
|
+
* @param request - ListTagResourcesRequest
|
|
3305
|
+
* @returns ListTagResourcesResponse
|
|
3306
|
+
*/
|
|
3307
|
+
async listTagResources(request) {
|
|
3308
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3309
|
+
return await this.listTagResourcesWithOptions(request, runtime);
|
|
3310
|
+
}
|
|
3311
|
+
/**
|
|
3312
|
+
* Retrieves the list of managed orders.
|
|
3313
|
+
*
|
|
3314
|
+
* @remarks
|
|
3315
|
+
* Queries the managed orders for a certificate or order.
|
|
3316
|
+
* ## QPS limit
|
|
3317
|
+
* The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API call is throttled, which may affect your business. Call this operation appropriately.
|
|
3318
|
+
*
|
|
3319
|
+
* @param request - ListTrusteeOrderRequest
|
|
3320
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3321
|
+
* @returns ListTrusteeOrderResponse
|
|
3322
|
+
*/
|
|
3323
|
+
async listTrusteeOrderWithOptions(request, runtime) {
|
|
3324
|
+
request.validate();
|
|
3325
|
+
let query = {};
|
|
3326
|
+
if (!$dara.isNull(request.certificateId)) {
|
|
3327
|
+
query["CertificateId"] = request.certificateId;
|
|
3328
|
+
}
|
|
3329
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
3330
|
+
query["MaxResults"] = request.maxResults;
|
|
3331
|
+
}
|
|
3332
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
3333
|
+
query["NextToken"] = request.nextToken;
|
|
3334
|
+
}
|
|
3335
|
+
if (!$dara.isNull(request.orderId)) {
|
|
3336
|
+
query["OrderId"] = request.orderId;
|
|
3337
|
+
}
|
|
3338
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3339
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3340
|
+
});
|
|
3341
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3342
|
+
action: "ListTrusteeOrder",
|
|
3343
|
+
version: "2020-04-07",
|
|
3344
|
+
protocol: "HTTPS",
|
|
3345
|
+
pathname: "/",
|
|
3346
|
+
method: "POST",
|
|
3347
|
+
authType: "AK",
|
|
3348
|
+
style: "RPC",
|
|
3349
|
+
reqBodyType: "formData",
|
|
3350
|
+
bodyType: "json",
|
|
3351
|
+
});
|
|
3352
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTrusteeOrderResponse({}));
|
|
3353
|
+
}
|
|
3354
|
+
/**
|
|
3355
|
+
* Retrieves the list of managed orders.
|
|
3356
|
+
*
|
|
3357
|
+
* @remarks
|
|
3358
|
+
* Queries the managed orders for a certificate or order.
|
|
3359
|
+
* ## QPS limit
|
|
3360
|
+
* The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API call is throttled, which may affect your business. Call this operation appropriately.
|
|
3361
|
+
*
|
|
3362
|
+
* @param request - ListTrusteeOrderRequest
|
|
3363
|
+
* @returns ListTrusteeOrderResponse
|
|
3364
|
+
*/
|
|
3365
|
+
async listTrusteeOrder(request) {
|
|
3366
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3367
|
+
return await this.listTrusteeOrderWithOptions(request, runtime);
|
|
3368
|
+
}
|
|
3018
3369
|
/**
|
|
3019
3370
|
* Queries the list of user certificates or orders.
|
|
3020
3371
|
*
|
|
@@ -3339,6 +3690,11 @@ class Client extends openapi_core_1.default {
|
|
|
3339
3690
|
/**
|
|
3340
3691
|
* Revokes a certificate.
|
|
3341
3692
|
*
|
|
3693
|
+
* @remarks
|
|
3694
|
+
* Invokes this operation to query the details of all revoked client certificates and server certificates by paging. The details include the unique identifier, serial number, and revocation date of each certificate.
|
|
3695
|
+
* ## QPS limit
|
|
3696
|
+
* The queries per second (QPS) limit for a single user for this operation is 10. If the limit is exceeded, API calls are throttled, which may affect your business. Invoke this operation at an appropriate frequency.
|
|
3697
|
+
*
|
|
3342
3698
|
* @param request - RevokeCertificateRequest
|
|
3343
3699
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3344
3700
|
* @returns RevokeCertificateResponse
|
|
@@ -3371,6 +3727,11 @@ class Client extends openapi_core_1.default {
|
|
|
3371
3727
|
/**
|
|
3372
3728
|
* Revokes a certificate.
|
|
3373
3729
|
*
|
|
3730
|
+
* @remarks
|
|
3731
|
+
* Invokes this operation to query the details of all revoked client certificates and server certificates by paging. The details include the unique identifier, serial number, and revocation date of each certificate.
|
|
3732
|
+
* ## QPS limit
|
|
3733
|
+
* The queries per second (QPS) limit for a single user for this operation is 10. If the limit is exceeded, API calls are throttled, which may affect your business. Invoke this operation at an appropriate frequency.
|
|
3734
|
+
*
|
|
3374
3735
|
* @param request - RevokeCertificateRequest
|
|
3375
3736
|
* @returns RevokeCertificateResponse
|
|
3376
3737
|
*/
|
|
@@ -3423,6 +3784,48 @@ class Client extends openapi_core_1.default {
|
|
|
3423
3784
|
let runtime = new $dara.RuntimeOptions({});
|
|
3424
3785
|
return await this.revokeWHClientCertificateWithOptions(request, runtime);
|
|
3425
3786
|
}
|
|
3787
|
+
/**
|
|
3788
|
+
* Shares a certificate.
|
|
3789
|
+
*
|
|
3790
|
+
* @param request - ShareCertificateRequest
|
|
3791
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3792
|
+
* @returns ShareCertificateResponse
|
|
3793
|
+
*/
|
|
3794
|
+
async shareCertificateWithOptions(request, runtime) {
|
|
3795
|
+
request.validate();
|
|
3796
|
+
let query = {};
|
|
3797
|
+
if (!$dara.isNull(request.certificateId)) {
|
|
3798
|
+
query["CertificateId"] = request.certificateId;
|
|
3799
|
+
}
|
|
3800
|
+
if (!$dara.isNull(request.targetUserId)) {
|
|
3801
|
+
query["TargetUserId"] = request.targetUserId;
|
|
3802
|
+
}
|
|
3803
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3804
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3805
|
+
});
|
|
3806
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3807
|
+
action: "ShareCertificate",
|
|
3808
|
+
version: "2020-04-07",
|
|
3809
|
+
protocol: "HTTPS",
|
|
3810
|
+
pathname: "/",
|
|
3811
|
+
method: "POST",
|
|
3812
|
+
authType: "AK",
|
|
3813
|
+
style: "RPC",
|
|
3814
|
+
reqBodyType: "formData",
|
|
3815
|
+
bodyType: "json",
|
|
3816
|
+
});
|
|
3817
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ShareCertificateResponse({}));
|
|
3818
|
+
}
|
|
3819
|
+
/**
|
|
3820
|
+
* Shares a certificate.
|
|
3821
|
+
*
|
|
3822
|
+
* @param request - ShareCertificateRequest
|
|
3823
|
+
* @returns ShareCertificateResponse
|
|
3824
|
+
*/
|
|
3825
|
+
async shareCertificate(request) {
|
|
3826
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3827
|
+
return await this.shareCertificateWithOptions(request, runtime);
|
|
3828
|
+
}
|
|
3426
3829
|
/**
|
|
3427
3830
|
* This operation creates a digital signature with a PCA certificate from a certificate repository.
|
|
3428
3831
|
*
|
|
@@ -3487,6 +3890,129 @@ class Client extends openapi_core_1.default {
|
|
|
3487
3890
|
let runtime = new $dara.RuntimeOptions({});
|
|
3488
3891
|
return await this.signWithOptions(request, runtime);
|
|
3489
3892
|
}
|
|
3893
|
+
/**
|
|
3894
|
+
* Adds resource tags.
|
|
3895
|
+
*
|
|
3896
|
+
* @remarks
|
|
3897
|
+
* Queries the status information of a private Certificate Authority (CA) instance that you purchased in the Certificate Service console by using the ID of the private CA instance. For example, you can query the status of the CA instance, the number of SSL certificates included, and the number of SSL certificates issued.
|
|
3898
|
+
* Before you invoke this operation, you must have purchased a private CA in the [digital certificate management service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
3899
|
+
* ## QPS limit
|
|
3900
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Invoke this operation as needed.
|
|
3901
|
+
*
|
|
3902
|
+
* @param request - TagResourcesRequest
|
|
3903
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3904
|
+
* @returns TagResourcesResponse
|
|
3905
|
+
*/
|
|
3906
|
+
async tagResourcesWithOptions(request, runtime) {
|
|
3907
|
+
request.validate();
|
|
3908
|
+
let query = {};
|
|
3909
|
+
if (!$dara.isNull(request.regionId)) {
|
|
3910
|
+
query["RegionId"] = request.regionId;
|
|
3911
|
+
}
|
|
3912
|
+
if (!$dara.isNull(request.resourceId)) {
|
|
3913
|
+
query["ResourceId"] = request.resourceId;
|
|
3914
|
+
}
|
|
3915
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
3916
|
+
query["ResourceType"] = request.resourceType;
|
|
3917
|
+
}
|
|
3918
|
+
if (!$dara.isNull(request.tag)) {
|
|
3919
|
+
query["Tag"] = request.tag;
|
|
3920
|
+
}
|
|
3921
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3922
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3923
|
+
});
|
|
3924
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3925
|
+
action: "TagResources",
|
|
3926
|
+
version: "2020-04-07",
|
|
3927
|
+
protocol: "HTTPS",
|
|
3928
|
+
pathname: "/",
|
|
3929
|
+
method: "POST",
|
|
3930
|
+
authType: "AK",
|
|
3931
|
+
style: "RPC",
|
|
3932
|
+
reqBodyType: "formData",
|
|
3933
|
+
bodyType: "json",
|
|
3934
|
+
});
|
|
3935
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TagResourcesResponse({}));
|
|
3936
|
+
}
|
|
3937
|
+
/**
|
|
3938
|
+
* Adds resource tags.
|
|
3939
|
+
*
|
|
3940
|
+
* @remarks
|
|
3941
|
+
* Queries the status information of a private Certificate Authority (CA) instance that you purchased in the Certificate Service console by using the ID of the private CA instance. For example, you can query the status of the CA instance, the number of SSL certificates included, and the number of SSL certificates issued.
|
|
3942
|
+
* Before you invoke this operation, you must have purchased a private CA in the [digital certificate management service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
3943
|
+
* ## QPS limit
|
|
3944
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Invoke this operation as needed.
|
|
3945
|
+
*
|
|
3946
|
+
* @param request - TagResourcesRequest
|
|
3947
|
+
* @returns TagResourcesResponse
|
|
3948
|
+
*/
|
|
3949
|
+
async tagResources(request) {
|
|
3950
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3951
|
+
return await this.tagResourcesWithOptions(request, runtime);
|
|
3952
|
+
}
|
|
3953
|
+
/**
|
|
3954
|
+
* Removes tags.
|
|
3955
|
+
*
|
|
3956
|
+
* @remarks
|
|
3957
|
+
* Queries the status information of a private Certificate Authority (CA) instance that you purchased through the SSL Certificate console by using the ID of the private CA instance. The status information includes the CA instance status, the number of digital certificates included, and the number of digital certificates issued.
|
|
3958
|
+
* Before you invoke this operation, you must have purchased a private CA through the [Certificate Management Service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
3959
|
+
* ## QPS limit
|
|
3960
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Invoke this operation as needed.
|
|
3961
|
+
*
|
|
3962
|
+
* @param request - UntagResourcesRequest
|
|
3963
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3964
|
+
* @returns UntagResourcesResponse
|
|
3965
|
+
*/
|
|
3966
|
+
async untagResourcesWithOptions(request, runtime) {
|
|
3967
|
+
request.validate();
|
|
3968
|
+
let query = {};
|
|
3969
|
+
if (!$dara.isNull(request.all)) {
|
|
3970
|
+
query["All"] = request.all;
|
|
3971
|
+
}
|
|
3972
|
+
if (!$dara.isNull(request.regionId)) {
|
|
3973
|
+
query["RegionId"] = request.regionId;
|
|
3974
|
+
}
|
|
3975
|
+
if (!$dara.isNull(request.resourceId)) {
|
|
3976
|
+
query["ResourceId"] = request.resourceId;
|
|
3977
|
+
}
|
|
3978
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
3979
|
+
query["ResourceType"] = request.resourceType;
|
|
3980
|
+
}
|
|
3981
|
+
if (!$dara.isNull(request.tagKey)) {
|
|
3982
|
+
query["TagKey"] = request.tagKey;
|
|
3983
|
+
}
|
|
3984
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3985
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3986
|
+
});
|
|
3987
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3988
|
+
action: "UntagResources",
|
|
3989
|
+
version: "2020-04-07",
|
|
3990
|
+
protocol: "HTTPS",
|
|
3991
|
+
pathname: "/",
|
|
3992
|
+
method: "POST",
|
|
3993
|
+
authType: "AK",
|
|
3994
|
+
style: "RPC",
|
|
3995
|
+
reqBodyType: "formData",
|
|
3996
|
+
bodyType: "json",
|
|
3997
|
+
});
|
|
3998
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UntagResourcesResponse({}));
|
|
3999
|
+
}
|
|
4000
|
+
/**
|
|
4001
|
+
* Removes tags.
|
|
4002
|
+
*
|
|
4003
|
+
* @remarks
|
|
4004
|
+
* Queries the status information of a private Certificate Authority (CA) instance that you purchased through the SSL Certificate console by using the ID of the private CA instance. The status information includes the CA instance status, the number of digital certificates included, and the number of digital certificates issued.
|
|
4005
|
+
* Before you invoke this operation, you must have purchased a private CA through the [Certificate Management Service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
4006
|
+
* ## QPS limit
|
|
4007
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Invoke this operation as needed.
|
|
4008
|
+
*
|
|
4009
|
+
* @param request - UntagResourcesRequest
|
|
4010
|
+
* @returns UntagResourcesResponse
|
|
4011
|
+
*/
|
|
4012
|
+
async untagResources(request) {
|
|
4013
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4014
|
+
return await this.untagResourcesWithOptions(request, runtime);
|
|
4015
|
+
}
|
|
3490
4016
|
/**
|
|
3491
4017
|
* Updates company information.
|
|
3492
4018
|
*
|
|
@@ -3617,7 +4143,7 @@ class Client extends openapi_core_1.default {
|
|
|
3617
4143
|
return await this.updateContactWithOptions(request, runtime);
|
|
3618
4144
|
}
|
|
3619
4145
|
/**
|
|
3620
|
-
* Uploads the private key corresponding to a CSR if the private key
|
|
4146
|
+
* Uploads the private key corresponding to a CSR if you did not provide the CSR private key when uploading the local CSR.
|
|
3621
4147
|
*
|
|
3622
4148
|
* @param request - UpdateCsrRequest
|
|
3623
4149
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3649,7 +4175,7 @@ class Client extends openapi_core_1.default {
|
|
|
3649
4175
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateCsrResponse({}));
|
|
3650
4176
|
}
|
|
3651
4177
|
/**
|
|
3652
|
-
* Uploads the private key corresponding to a CSR if the private key
|
|
4178
|
+
* Uploads the private key corresponding to a CSR if you did not provide the CSR private key when uploading the local CSR.
|
|
3653
4179
|
*
|
|
3654
4180
|
* @param request - UpdateCsrRequest
|
|
3655
4181
|
* @returns UpdateCsrResponse
|
|
@@ -3755,7 +4281,7 @@ class Client extends openapi_core_1.default {
|
|
|
3755
4281
|
return await this.updateDeploymentJobStatusWithOptions(request, runtime);
|
|
3756
4282
|
}
|
|
3757
4283
|
/**
|
|
3758
|
-
* Updates
|
|
4284
|
+
* Updates an instance.
|
|
3759
4285
|
*
|
|
3760
4286
|
* @param request - UpdateInstanceRequest
|
|
3761
4287
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3826,7 +4352,7 @@ class Client extends openapi_core_1.default {
|
|
|
3826
4352
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateInstanceResponse({}));
|
|
3827
4353
|
}
|
|
3828
4354
|
/**
|
|
3829
|
-
* Updates
|
|
4355
|
+
* Updates an instance.
|
|
3830
4356
|
*
|
|
3831
4357
|
* @param request - UpdateInstanceRequest
|
|
3832
4358
|
* @returns UpdateInstanceResponse
|
|
@@ -3836,7 +4362,7 @@ class Client extends openapi_core_1.default {
|
|
|
3836
4362
|
return await this.updateInstanceWithOptions(request, runtime);
|
|
3837
4363
|
}
|
|
3838
4364
|
/**
|
|
3839
|
-
*
|
|
4365
|
+
* Updates the status of a worker task in a deployment task.
|
|
3840
4366
|
*
|
|
3841
4367
|
* @param request - UpdateWorkerResourceStatusRequest
|
|
3842
4368
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3871,7 +4397,7 @@ class Client extends openapi_core_1.default {
|
|
|
3871
4397
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateWorkerResourceStatusResponse({}));
|
|
3872
4398
|
}
|
|
3873
4399
|
/**
|
|
3874
|
-
*
|
|
4400
|
+
* Updates the status of a worker task in a deployment task.
|
|
3875
4401
|
*
|
|
3876
4402
|
* @param request - UpdateWorkerResourceStatusRequest
|
|
3877
4403
|
* @returns UpdateWorkerResourceStatusResponse
|
|
@@ -3926,12 +4452,12 @@ class Client extends openapi_core_1.default {
|
|
|
3926
4452
|
return await this.uploadCsrWithOptions(request, runtime);
|
|
3927
4453
|
}
|
|
3928
4454
|
/**
|
|
3929
|
-
* Uploads a PCA certificate to a certificate
|
|
4455
|
+
* Uploads a PCA certificate to a certificate repository.
|
|
3930
4456
|
*
|
|
3931
4457
|
* @remarks
|
|
3932
|
-
*
|
|
4458
|
+
* Uploads a PCA certificate to a certificate repository.
|
|
3933
4459
|
* ## QPS limit
|
|
3934
|
-
* The QPS limit for this
|
|
4460
|
+
* The single-user QPS limit for this API is 10 calls per second. If this limit is exceeded, the API call is throttled, which may affect your business. Call this operation as needed.
|
|
3935
4461
|
*
|
|
3936
4462
|
* @param request - UploadPCACertRequest
|
|
3937
4463
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3969,12 +4495,12 @@ class Client extends openapi_core_1.default {
|
|
|
3969
4495
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UploadPCACertResponse({}));
|
|
3970
4496
|
}
|
|
3971
4497
|
/**
|
|
3972
|
-
* Uploads a PCA certificate to a certificate
|
|
4498
|
+
* Uploads a PCA certificate to a certificate repository.
|
|
3973
4499
|
*
|
|
3974
4500
|
* @remarks
|
|
3975
|
-
*
|
|
4501
|
+
* Uploads a PCA certificate to a certificate repository.
|
|
3976
4502
|
* ## QPS limit
|
|
3977
|
-
* The QPS limit for this
|
|
4503
|
+
* The single-user QPS limit for this API is 10 calls per second. If this limit is exceeded, the API call is throttled, which may affect your business. Call this operation as needed.
|
|
3978
4504
|
*
|
|
3979
4505
|
* @param request - UploadPCACertRequest
|
|
3980
4506
|
* @returns UploadPCACertResponse
|
|
@@ -3984,10 +4510,10 @@ class Client extends openapi_core_1.default {
|
|
|
3984
4510
|
return await this.uploadPCACertWithOptions(request, runtime);
|
|
3985
4511
|
}
|
|
3986
4512
|
/**
|
|
3987
|
-
* Uploads a certificate
|
|
4513
|
+
* Uploads a certificate, including a standard SM certificate or a non-SM certificate.
|
|
3988
4514
|
*
|
|
3989
4515
|
* @remarks
|
|
3990
|
-
* The
|
|
4516
|
+
* The maximum number of calls per user is 100 per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
3991
4517
|
*
|
|
3992
4518
|
* @param request - UploadUserCertificateRequest
|
|
3993
4519
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3999,6 +4525,9 @@ class Client extends openapi_core_1.default {
|
|
|
3999
4525
|
if (!$dara.isNull(request.cert)) {
|
|
4000
4526
|
query["Cert"] = request.cert;
|
|
4001
4527
|
}
|
|
4528
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
4529
|
+
query["ClientToken"] = request.clientToken;
|
|
4530
|
+
}
|
|
4002
4531
|
if (!$dara.isNull(request.encryptCert)) {
|
|
4003
4532
|
query["EncryptCert"] = request.encryptCert;
|
|
4004
4533
|
}
|
|
@@ -4040,10 +4569,10 @@ class Client extends openapi_core_1.default {
|
|
|
4040
4569
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UploadUserCertificateResponse({}));
|
|
4041
4570
|
}
|
|
4042
4571
|
/**
|
|
4043
|
-
* Uploads a certificate
|
|
4572
|
+
* Uploads a certificate, including a standard SM certificate or a non-SM certificate.
|
|
4044
4573
|
*
|
|
4045
4574
|
* @remarks
|
|
4046
|
-
* The
|
|
4575
|
+
* The maximum number of calls per user is 100 per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
4047
4576
|
*
|
|
4048
4577
|
* @param request - UploadUserCertificateRequest
|
|
4049
4578
|
* @returns UploadUserCertificateResponse
|