@alicloud/cloudfw20171207 6.2.0 → 6.3.0
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 +15 -0
- package/dist/client.js +42 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ModifyCfwInstanceRequest.d.ts +41 -0
- package/dist/models/ModifyCfwInstanceRequest.js +84 -0
- package/dist/models/ModifyCfwInstanceRequest.js.map +1 -0
- package/dist/models/ModifyCfwInstanceResponse.d.ts +19 -0
- package/dist/models/ModifyCfwInstanceResponse.js +69 -0
- package/dist/models/ModifyCfwInstanceResponse.js.map +1 -0
- package/dist/models/ModifyCfwInstanceResponseBody.d.ts +18 -0
- package/dist/models/ModifyCfwInstanceResponseBody.js +58 -0
- package/dist/models/ModifyCfwInstanceResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +25 -17
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +46 -0
- package/src/models/ModifyCfwInstanceRequest.ts +71 -0
- package/src/models/ModifyCfwInstanceResponse.ts +40 -0
- package/src/models/ModifyCfwInstanceResponseBody.ts +31 -0
- package/src/models/model.ts +4 -0
package/dist/client.d.ts
CHANGED
|
@@ -3632,6 +3632,21 @@ export default class Client extends OpenApi {
|
|
|
3632
3632
|
* @returns ModifyAddressBookResponse
|
|
3633
3633
|
*/
|
|
3634
3634
|
modifyAddressBook(request: $_model.ModifyAddressBookRequest): Promise<$_model.ModifyAddressBookResponse>;
|
|
3635
|
+
/**
|
|
3636
|
+
* 更新用户版本信息
|
|
3637
|
+
*
|
|
3638
|
+
* @param request - ModifyCfwInstanceRequest
|
|
3639
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3640
|
+
* @returns ModifyCfwInstanceResponse
|
|
3641
|
+
*/
|
|
3642
|
+
modifyCfwInstanceWithOptions(request: $_model.ModifyCfwInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyCfwInstanceResponse>;
|
|
3643
|
+
/**
|
|
3644
|
+
* 更新用户版本信息
|
|
3645
|
+
*
|
|
3646
|
+
* @param request - ModifyCfwInstanceRequest
|
|
3647
|
+
* @returns ModifyCfwInstanceResponse
|
|
3648
|
+
*/
|
|
3649
|
+
modifyCfwInstance(request: $_model.ModifyCfwInstanceRequest): Promise<$_model.ModifyCfwInstanceResponse>;
|
|
3635
3650
|
/**
|
|
3636
3651
|
* Modifies the configurations of an access control policy.
|
|
3637
3652
|
*
|
package/dist/client.js
CHANGED
|
@@ -11914,6 +11914,48 @@ class Client extends openapi_core_1.default {
|
|
|
11914
11914
|
let runtime = new $dara.RuntimeOptions({});
|
|
11915
11915
|
return await this.modifyAddressBookWithOptions(request, runtime);
|
|
11916
11916
|
}
|
|
11917
|
+
/**
|
|
11918
|
+
* 更新用户版本信息
|
|
11919
|
+
*
|
|
11920
|
+
* @param request - ModifyCfwInstanceRequest
|
|
11921
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11922
|
+
* @returns ModifyCfwInstanceResponse
|
|
11923
|
+
*/
|
|
11924
|
+
async modifyCfwInstanceWithOptions(request, runtime) {
|
|
11925
|
+
request.validate();
|
|
11926
|
+
let query = {};
|
|
11927
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
11928
|
+
query["InstanceId"] = request.instanceId;
|
|
11929
|
+
}
|
|
11930
|
+
if (!$dara.isNull(request.updateList)) {
|
|
11931
|
+
query["UpdateList"] = request.updateList;
|
|
11932
|
+
}
|
|
11933
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11934
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11935
|
+
});
|
|
11936
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11937
|
+
action: "ModifyCfwInstance",
|
|
11938
|
+
version: "2017-12-07",
|
|
11939
|
+
protocol: "HTTPS",
|
|
11940
|
+
pathname: "/",
|
|
11941
|
+
method: "POST",
|
|
11942
|
+
authType: "AK",
|
|
11943
|
+
style: "RPC",
|
|
11944
|
+
reqBodyType: "formData",
|
|
11945
|
+
bodyType: "json",
|
|
11946
|
+
});
|
|
11947
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyCfwInstanceResponse({}));
|
|
11948
|
+
}
|
|
11949
|
+
/**
|
|
11950
|
+
* 更新用户版本信息
|
|
11951
|
+
*
|
|
11952
|
+
* @param request - ModifyCfwInstanceRequest
|
|
11953
|
+
* @returns ModifyCfwInstanceResponse
|
|
11954
|
+
*/
|
|
11955
|
+
async modifyCfwInstance(request) {
|
|
11956
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11957
|
+
return await this.modifyCfwInstanceWithOptions(request, runtime);
|
|
11958
|
+
}
|
|
11917
11959
|
/**
|
|
11918
11960
|
* Modifies the configurations of an access control policy.
|
|
11919
11961
|
*
|