@alicloud/esa20240910 2.8.3 → 2.8.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/esa20240910",
3
- "version": "2.8.3",
3
+ "version": "2.8.5",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -11833,108 +11833,6 @@ export class GetEdgeContainerTerminalResponse extends $tea.Model {
11833
11833
  }
11834
11834
  }
11835
11835
 
11836
- export class GetErServiceRequest extends $tea.Model {
11837
- ownerId?: number;
11838
- securityToken?: string;
11839
- static names(): { [key: string]: string } {
11840
- return {
11841
- ownerId: 'OwnerId',
11842
- securityToken: 'SecurityToken',
11843
- };
11844
- }
11845
-
11846
- static types(): { [key: string]: any } {
11847
- return {
11848
- ownerId: 'number',
11849
- securityToken: 'string',
11850
- };
11851
- }
11852
-
11853
- constructor(map?: { [key: string]: any }) {
11854
- super(map);
11855
- }
11856
- }
11857
-
11858
- export class GetErServiceResponseBody extends $tea.Model {
11859
- /**
11860
- * @remarks
11861
- * The billing mode. Valid values:
11862
- *
11863
- * * er_paymode: billed for customers on the China site.
11864
- * * er_freemode: free for customers on the China site.
11865
- * * er_paymodeintl: billed for customers on the International site.
11866
- * * err_freemodeintl: free for customers on the International site
11867
- *
11868
- * @example
11869
- * er_paymode
11870
- */
11871
- planName?: string;
11872
- /**
11873
- * @remarks
11874
- * The request ID.
11875
- *
11876
- * @example
11877
- * CB1A380B-09F0-41BB-A198-72F8FD6DA2FE
11878
- */
11879
- requestId?: string;
11880
- /**
11881
- * @remarks
11882
- * The service status. Valid values:
11883
- *
11884
- * * Creating
11885
- * * Running
11886
- * * NotOpened
11887
- *
11888
- * @example
11889
- * Running
11890
- */
11891
- status?: string;
11892
- static names(): { [key: string]: string } {
11893
- return {
11894
- planName: 'PlanName',
11895
- requestId: 'RequestId',
11896
- status: 'Status',
11897
- };
11898
- }
11899
-
11900
- static types(): { [key: string]: any } {
11901
- return {
11902
- planName: 'string',
11903
- requestId: 'string',
11904
- status: 'string',
11905
- };
11906
- }
11907
-
11908
- constructor(map?: { [key: string]: any }) {
11909
- super(map);
11910
- }
11911
- }
11912
-
11913
- export class GetErServiceResponse extends $tea.Model {
11914
- headers?: { [key: string]: string };
11915
- statusCode?: number;
11916
- body?: GetErServiceResponseBody;
11917
- static names(): { [key: string]: string } {
11918
- return {
11919
- headers: 'headers',
11920
- statusCode: 'statusCode',
11921
- body: 'body',
11922
- };
11923
- }
11924
-
11925
- static types(): { [key: string]: any } {
11926
- return {
11927
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11928
- statusCode: 'number',
11929
- body: GetErServiceResponseBody,
11930
- };
11931
- }
11932
-
11933
- constructor(map?: { [key: string]: any }) {
11934
- super(map);
11935
- }
11936
- }
11937
-
11938
11836
  export class GetKvRequest extends $tea.Model {
11939
11837
  /**
11940
11838
  * @remarks
@@ -12482,6 +12380,8 @@ export class GetOriginProtectionRequest extends $tea.Model {
12482
12380
  * @remarks
12483
12381
  * The website ID. You can call the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation to obtain the ID.
12484
12382
  *
12383
+ * This parameter is required.
12384
+ *
12485
12385
  * @example
12486
12386
  * 123456789****
12487
12387
  */
@@ -23478,173 +23378,6 @@ export class UpdateKvNamespaceResponse extends $tea.Model {
23478
23378
  }
23479
23379
  }
23480
23380
 
23481
- export class UpdateListRequest extends $tea.Model {
23482
- /**
23483
- * @remarks
23484
- * The new description of the list.
23485
- *
23486
- * @example
23487
- * a custom list
23488
- */
23489
- description?: string;
23490
- /**
23491
- * @remarks
23492
- * The ID of the custom list, which can be obtained by calling the [ListLists](https://help.aliyun.com/document_detail/2850217.html) operation.
23493
- *
23494
- * This parameter is required.
23495
- *
23496
- * @example
23497
- * 40000001
23498
- */
23499
- id?: number;
23500
- /**
23501
- * @remarks
23502
- * The items in the updated list. The value is a JSON array.
23503
- *
23504
- * @example
23505
- * a custom list
23506
- */
23507
- items?: string[];
23508
- /**
23509
- * @remarks
23510
- * The new name of the list.
23511
- *
23512
- * @example
23513
- * example
23514
- */
23515
- name?: string;
23516
- static names(): { [key: string]: string } {
23517
- return {
23518
- description: 'Description',
23519
- id: 'Id',
23520
- items: 'Items',
23521
- name: 'Name',
23522
- };
23523
- }
23524
-
23525
- static types(): { [key: string]: any } {
23526
- return {
23527
- description: 'string',
23528
- id: 'number',
23529
- items: { 'type': 'array', 'itemType': 'string' },
23530
- name: 'string',
23531
- };
23532
- }
23533
-
23534
- constructor(map?: { [key: string]: any }) {
23535
- super(map);
23536
- }
23537
- }
23538
-
23539
- export class UpdateListShrinkRequest extends $tea.Model {
23540
- /**
23541
- * @remarks
23542
- * The new description of the list.
23543
- *
23544
- * @example
23545
- * a custom list
23546
- */
23547
- description?: string;
23548
- /**
23549
- * @remarks
23550
- * The ID of the custom list, which can be obtained by calling the [ListLists](https://help.aliyun.com/document_detail/2850217.html) operation.
23551
- *
23552
- * This parameter is required.
23553
- *
23554
- * @example
23555
- * 40000001
23556
- */
23557
- id?: number;
23558
- /**
23559
- * @remarks
23560
- * The items in the updated list. The value is a JSON array.
23561
- *
23562
- * @example
23563
- * a custom list
23564
- */
23565
- itemsShrink?: string;
23566
- /**
23567
- * @remarks
23568
- * The new name of the list.
23569
- *
23570
- * @example
23571
- * example
23572
- */
23573
- name?: string;
23574
- static names(): { [key: string]: string } {
23575
- return {
23576
- description: 'Description',
23577
- id: 'Id',
23578
- itemsShrink: 'Items',
23579
- name: 'Name',
23580
- };
23581
- }
23582
-
23583
- static types(): { [key: string]: any } {
23584
- return {
23585
- description: 'string',
23586
- id: 'number',
23587
- itemsShrink: 'string',
23588
- name: 'string',
23589
- };
23590
- }
23591
-
23592
- constructor(map?: { [key: string]: any }) {
23593
- super(map);
23594
- }
23595
- }
23596
-
23597
- export class UpdateListResponseBody extends $tea.Model {
23598
- /**
23599
- * @remarks
23600
- * The request ID.
23601
- *
23602
- * @example
23603
- * 36af3fcc-43d0-441c-86b1-428951dc8225
23604
- */
23605
- requestId?: string;
23606
- static names(): { [key: string]: string } {
23607
- return {
23608
- requestId: 'RequestId',
23609
- };
23610
- }
23611
-
23612
- static types(): { [key: string]: any } {
23613
- return {
23614
- requestId: 'string',
23615
- };
23616
- }
23617
-
23618
- constructor(map?: { [key: string]: any }) {
23619
- super(map);
23620
- }
23621
- }
23622
-
23623
- export class UpdateListResponse extends $tea.Model {
23624
- headers?: { [key: string]: string };
23625
- statusCode?: number;
23626
- body?: UpdateListResponseBody;
23627
- static names(): { [key: string]: string } {
23628
- return {
23629
- headers: 'headers',
23630
- statusCode: 'statusCode',
23631
- body: 'body',
23632
- };
23633
- }
23634
-
23635
- static types(): { [key: string]: any } {
23636
- return {
23637
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
23638
- statusCode: 'number',
23639
- body: UpdateListResponseBody,
23640
- };
23641
- }
23642
-
23643
- constructor(map?: { [key: string]: any }) {
23644
- super(map);
23645
- }
23646
- }
23647
-
23648
23381
  export class UpdateOriginProtectionRequest extends $tea.Model {
23649
23382
  /**
23650
23383
  * @remarks
@@ -43246,44 +42979,6 @@ export default class Client extends OpenApi {
43246
42979
  return await this.getEdgeContainerTerminalWithOptions(request, runtime);
43247
42980
  }
43248
42981
 
43249
- /**
43250
- * Checks the status of Edge Routine.
43251
- *
43252
- * @param request - GetErServiceRequest
43253
- * @param runtime - runtime options for this request RuntimeOptions
43254
- * @returns GetErServiceResponse
43255
- */
43256
- async getErServiceWithOptions(request: GetErServiceRequest, runtime: $Util.RuntimeOptions): Promise<GetErServiceResponse> {
43257
- Util.validateModel(request);
43258
- let query = OpenApiUtil.query(Util.toMap(request));
43259
- let req = new $OpenApi.OpenApiRequest({
43260
- query: OpenApiUtil.query(query),
43261
- });
43262
- let params = new $OpenApi.Params({
43263
- action: "GetErService",
43264
- version: "2024-09-10",
43265
- protocol: "HTTPS",
43266
- pathname: "/",
43267
- method: "GET",
43268
- authType: "AK",
43269
- style: "RPC",
43270
- reqBodyType: "formData",
43271
- bodyType: "json",
43272
- });
43273
- return $tea.cast<GetErServiceResponse>(await this.callApi(params, req, runtime), new GetErServiceResponse({}));
43274
- }
43275
-
43276
- /**
43277
- * Checks the status of Edge Routine.
43278
- *
43279
- * @param request - GetErServiceRequest
43280
- * @returns GetErServiceResponse
43281
- */
43282
- async getErService(request: GetErServiceRequest): Promise<GetErServiceResponse> {
43283
- let runtime = new $Util.RuntimeOptions({ });
43284
- return await this.getErServiceWithOptions(request, runtime);
43285
- }
43286
-
43287
42982
  /**
43288
42983
  * Queries the value of a key in a key-value pair.
43289
42984
  *
@@ -47079,66 +46774,6 @@ export default class Client extends OpenApi {
47079
46774
  return await this.updateKvNamespaceWithOptions(request, runtime);
47080
46775
  }
47081
46776
 
47082
- /**
47083
- * Updates a custom list.
47084
- *
47085
- * @param tmpReq - UpdateListRequest
47086
- * @param runtime - runtime options for this request RuntimeOptions
47087
- * @returns UpdateListResponse
47088
- */
47089
- async updateListWithOptions(tmpReq: UpdateListRequest, runtime: $Util.RuntimeOptions): Promise<UpdateListResponse> {
47090
- Util.validateModel(tmpReq);
47091
- let request = new UpdateListShrinkRequest({ });
47092
- OpenApiUtil.convert(tmpReq, request);
47093
- if (!Util.isUnset(tmpReq.items)) {
47094
- request.itemsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.items, "Items", "json");
47095
- }
47096
-
47097
- let body : {[key: string ]: any} = { };
47098
- if (!Util.isUnset(request.description)) {
47099
- body["Description"] = request.description;
47100
- }
47101
-
47102
- if (!Util.isUnset(request.id)) {
47103
- body["Id"] = request.id;
47104
- }
47105
-
47106
- if (!Util.isUnset(request.itemsShrink)) {
47107
- body["Items"] = request.itemsShrink;
47108
- }
47109
-
47110
- if (!Util.isUnset(request.name)) {
47111
- body["Name"] = request.name;
47112
- }
47113
-
47114
- let req = new $OpenApi.OpenApiRequest({
47115
- body: OpenApiUtil.parseToMap(body),
47116
- });
47117
- let params = new $OpenApi.Params({
47118
- action: "UpdateList",
47119
- version: "2024-09-10",
47120
- protocol: "HTTPS",
47121
- pathname: "/",
47122
- method: "POST",
47123
- authType: "AK",
47124
- style: "RPC",
47125
- reqBodyType: "formData",
47126
- bodyType: "json",
47127
- });
47128
- return $tea.cast<UpdateListResponse>(await this.callApi(params, req, runtime), new UpdateListResponse({}));
47129
- }
47130
-
47131
- /**
47132
- * Updates a custom list.
47133
- *
47134
- * @param request - UpdateListRequest
47135
- * @returns UpdateListResponse
47136
- */
47137
- async updateList(request: UpdateListRequest): Promise<UpdateListResponse> {
47138
- let runtime = new $Util.RuntimeOptions({ });
47139
- return await this.updateListWithOptions(request, runtime);
47140
- }
47141
-
47142
46777
  /**
47143
46778
  * Enables or disables IP convergence.
47144
46779
  *