@alicloud/cloudapi20160714 2.1.6 → 2.2.1

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/src/client.ts CHANGED
@@ -80,6 +80,75 @@ export class AbolishApiResponse extends $tea.Model {
80
80
  }
81
81
  }
82
82
 
83
+ export class AddAccessControlListEntryRequest extends $tea.Model {
84
+ aclEntrys?: string;
85
+ aclId?: string;
86
+ securityToken?: string;
87
+ static names(): { [key: string]: string } {
88
+ return {
89
+ aclEntrys: 'AclEntrys',
90
+ aclId: 'AclId',
91
+ securityToken: 'SecurityToken',
92
+ };
93
+ }
94
+
95
+ static types(): { [key: string]: any } {
96
+ return {
97
+ aclEntrys: 'string',
98
+ aclId: 'string',
99
+ securityToken: 'string',
100
+ };
101
+ }
102
+
103
+ constructor(map?: { [key: string]: any }) {
104
+ super(map);
105
+ }
106
+ }
107
+
108
+ export class AddAccessControlListEntryResponseBody extends $tea.Model {
109
+ requestId?: string;
110
+ static names(): { [key: string]: string } {
111
+ return {
112
+ requestId: 'RequestId',
113
+ };
114
+ }
115
+
116
+ static types(): { [key: string]: any } {
117
+ return {
118
+ requestId: 'string',
119
+ };
120
+ }
121
+
122
+ constructor(map?: { [key: string]: any }) {
123
+ super(map);
124
+ }
125
+ }
126
+
127
+ export class AddAccessControlListEntryResponse extends $tea.Model {
128
+ headers: { [key: string]: string };
129
+ statusCode: number;
130
+ body: AddAccessControlListEntryResponseBody;
131
+ static names(): { [key: string]: string } {
132
+ return {
133
+ headers: 'headers',
134
+ statusCode: 'statusCode',
135
+ body: 'body',
136
+ };
137
+ }
138
+
139
+ static types(): { [key: string]: any } {
140
+ return {
141
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
142
+ statusCode: 'number',
143
+ body: AddAccessControlListEntryResponseBody,
144
+ };
145
+ }
146
+
147
+ constructor(map?: { [key: string]: any }) {
148
+ super(map);
149
+ }
150
+ }
151
+
83
152
  export class AddIpControlPolicyItemRequest extends $tea.Model {
84
153
  appId?: string;
85
154
  cidrIp?: string;
@@ -452,6 +521,72 @@ export class BatchDeployApisResponse extends $tea.Model {
452
521
  }
453
522
  }
454
523
 
524
+ export class CreateAccessControlListRequest extends $tea.Model {
525
+ aclName?: string;
526
+ securityToken?: string;
527
+ static names(): { [key: string]: string } {
528
+ return {
529
+ aclName: 'AclName',
530
+ securityToken: 'SecurityToken',
531
+ };
532
+ }
533
+
534
+ static types(): { [key: string]: any } {
535
+ return {
536
+ aclName: 'string',
537
+ securityToken: 'string',
538
+ };
539
+ }
540
+
541
+ constructor(map?: { [key: string]: any }) {
542
+ super(map);
543
+ }
544
+ }
545
+
546
+ export class CreateAccessControlListResponseBody extends $tea.Model {
547
+ requestId?: string;
548
+ static names(): { [key: string]: string } {
549
+ return {
550
+ requestId: 'RequestId',
551
+ };
552
+ }
553
+
554
+ static types(): { [key: string]: any } {
555
+ return {
556
+ requestId: 'string',
557
+ };
558
+ }
559
+
560
+ constructor(map?: { [key: string]: any }) {
561
+ super(map);
562
+ }
563
+ }
564
+
565
+ export class CreateAccessControlListResponse extends $tea.Model {
566
+ headers: { [key: string]: string };
567
+ statusCode: number;
568
+ body: CreateAccessControlListResponseBody;
569
+ static names(): { [key: string]: string } {
570
+ return {
571
+ headers: 'headers',
572
+ statusCode: 'statusCode',
573
+ body: 'body',
574
+ };
575
+ }
576
+
577
+ static types(): { [key: string]: any } {
578
+ return {
579
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
580
+ statusCode: 'number',
581
+ body: CreateAccessControlListResponseBody,
582
+ };
583
+ }
584
+
585
+ constructor(map?: { [key: string]: any }) {
586
+ super(map);
587
+ }
588
+ }
589
+
455
590
  export class CreateApiRequest extends $tea.Model {
456
591
  allowSignatureMethod?: string;
457
592
  apiName?: string;
@@ -1748,6 +1883,72 @@ export class CreateTrafficControlResponse extends $tea.Model {
1748
1883
  }
1749
1884
  }
1750
1885
 
1886
+ export class DeleteAccessControlListRequest extends $tea.Model {
1887
+ aclId?: string;
1888
+ securityToken?: string;
1889
+ static names(): { [key: string]: string } {
1890
+ return {
1891
+ aclId: 'AclId',
1892
+ securityToken: 'SecurityToken',
1893
+ };
1894
+ }
1895
+
1896
+ static types(): { [key: string]: any } {
1897
+ return {
1898
+ aclId: 'string',
1899
+ securityToken: 'string',
1900
+ };
1901
+ }
1902
+
1903
+ constructor(map?: { [key: string]: any }) {
1904
+ super(map);
1905
+ }
1906
+ }
1907
+
1908
+ export class DeleteAccessControlListResponseBody extends $tea.Model {
1909
+ requestId?: string;
1910
+ static names(): { [key: string]: string } {
1911
+ return {
1912
+ requestId: 'RequestId',
1913
+ };
1914
+ }
1915
+
1916
+ static types(): { [key: string]: any } {
1917
+ return {
1918
+ requestId: 'string',
1919
+ };
1920
+ }
1921
+
1922
+ constructor(map?: { [key: string]: any }) {
1923
+ super(map);
1924
+ }
1925
+ }
1926
+
1927
+ export class DeleteAccessControlListResponse extends $tea.Model {
1928
+ headers: { [key: string]: string };
1929
+ statusCode: number;
1930
+ body: DeleteAccessControlListResponseBody;
1931
+ static names(): { [key: string]: string } {
1932
+ return {
1933
+ headers: 'headers',
1934
+ statusCode: 'statusCode',
1935
+ body: 'body',
1936
+ };
1937
+ }
1938
+
1939
+ static types(): { [key: string]: any } {
1940
+ return {
1941
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1942
+ statusCode: 'number',
1943
+ body: DeleteAccessControlListResponseBody,
1944
+ };
1945
+ }
1946
+
1947
+ constructor(map?: { [key: string]: any }) {
1948
+ super(map);
1949
+ }
1950
+ }
1951
+
1751
1952
  export class DeleteAllTrafficSpecialControlRequest extends $tea.Model {
1752
1953
  securityToken?: string;
1753
1954
  trafficControlId?: string;
@@ -3125,6 +3326,168 @@ export class DescribeAbolishApiTaskResponse extends $tea.Model {
3125
3326
  }
3126
3327
  }
3127
3328
 
3329
+ export class DescribeAccessControlListAttributeRequest extends $tea.Model {
3330
+ aclId?: string;
3331
+ securityToken?: string;
3332
+ static names(): { [key: string]: string } {
3333
+ return {
3334
+ aclId: 'AclId',
3335
+ securityToken: 'SecurityToken',
3336
+ };
3337
+ }
3338
+
3339
+ static types(): { [key: string]: any } {
3340
+ return {
3341
+ aclId: 'string',
3342
+ securityToken: 'string',
3343
+ };
3344
+ }
3345
+
3346
+ constructor(map?: { [key: string]: any }) {
3347
+ super(map);
3348
+ }
3349
+ }
3350
+
3351
+ export class DescribeAccessControlListAttributeResponseBody extends $tea.Model {
3352
+ aclEntrys?: DescribeAccessControlListAttributeResponseBodyAclEntrys;
3353
+ aclId?: string;
3354
+ aclName?: string;
3355
+ isUsed?: string;
3356
+ requestId?: string;
3357
+ static names(): { [key: string]: string } {
3358
+ return {
3359
+ aclEntrys: 'AclEntrys',
3360
+ aclId: 'AclId',
3361
+ aclName: 'AclName',
3362
+ isUsed: 'IsUsed',
3363
+ requestId: 'RequestId',
3364
+ };
3365
+ }
3366
+
3367
+ static types(): { [key: string]: any } {
3368
+ return {
3369
+ aclEntrys: DescribeAccessControlListAttributeResponseBodyAclEntrys,
3370
+ aclId: 'string',
3371
+ aclName: 'string',
3372
+ isUsed: 'string',
3373
+ requestId: 'string',
3374
+ };
3375
+ }
3376
+
3377
+ constructor(map?: { [key: string]: any }) {
3378
+ super(map);
3379
+ }
3380
+ }
3381
+
3382
+ export class DescribeAccessControlListAttributeResponse extends $tea.Model {
3383
+ headers: { [key: string]: string };
3384
+ statusCode: number;
3385
+ body: DescribeAccessControlListAttributeResponseBody;
3386
+ static names(): { [key: string]: string } {
3387
+ return {
3388
+ headers: 'headers',
3389
+ statusCode: 'statusCode',
3390
+ body: 'body',
3391
+ };
3392
+ }
3393
+
3394
+ static types(): { [key: string]: any } {
3395
+ return {
3396
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3397
+ statusCode: 'number',
3398
+ body: DescribeAccessControlListAttributeResponseBody,
3399
+ };
3400
+ }
3401
+
3402
+ constructor(map?: { [key: string]: any }) {
3403
+ super(map);
3404
+ }
3405
+ }
3406
+
3407
+ export class DescribeAccessControlListsRequest extends $tea.Model {
3408
+ aclName?: string;
3409
+ pageNumber?: number;
3410
+ pageSize?: number;
3411
+ securityToken?: string;
3412
+ static names(): { [key: string]: string } {
3413
+ return {
3414
+ aclName: 'AclName',
3415
+ pageNumber: 'PageNumber',
3416
+ pageSize: 'PageSize',
3417
+ securityToken: 'SecurityToken',
3418
+ };
3419
+ }
3420
+
3421
+ static types(): { [key: string]: any } {
3422
+ return {
3423
+ aclName: 'string',
3424
+ pageNumber: 'number',
3425
+ pageSize: 'number',
3426
+ securityToken: 'string',
3427
+ };
3428
+ }
3429
+
3430
+ constructor(map?: { [key: string]: any }) {
3431
+ super(map);
3432
+ }
3433
+ }
3434
+
3435
+ export class DescribeAccessControlListsResponseBody extends $tea.Model {
3436
+ acls?: DescribeAccessControlListsResponseBodyAcls;
3437
+ pageNumber?: number;
3438
+ pageSize?: number;
3439
+ requestId?: string;
3440
+ totalCount?: number;
3441
+ static names(): { [key: string]: string } {
3442
+ return {
3443
+ acls: 'Acls',
3444
+ pageNumber: 'PageNumber',
3445
+ pageSize: 'PageSize',
3446
+ requestId: 'RequestId',
3447
+ totalCount: 'TotalCount',
3448
+ };
3449
+ }
3450
+
3451
+ static types(): { [key: string]: any } {
3452
+ return {
3453
+ acls: DescribeAccessControlListsResponseBodyAcls,
3454
+ pageNumber: 'number',
3455
+ pageSize: 'number',
3456
+ requestId: 'string',
3457
+ totalCount: 'number',
3458
+ };
3459
+ }
3460
+
3461
+ constructor(map?: { [key: string]: any }) {
3462
+ super(map);
3463
+ }
3464
+ }
3465
+
3466
+ export class DescribeAccessControlListsResponse extends $tea.Model {
3467
+ headers: { [key: string]: string };
3468
+ statusCode: number;
3469
+ body: DescribeAccessControlListsResponseBody;
3470
+ static names(): { [key: string]: string } {
3471
+ return {
3472
+ headers: 'headers',
3473
+ statusCode: 'statusCode',
3474
+ body: 'body',
3475
+ };
3476
+ }
3477
+
3478
+ static types(): { [key: string]: any } {
3479
+ return {
3480
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3481
+ statusCode: 'number',
3482
+ body: DescribeAccessControlListsResponseBody,
3483
+ };
3484
+ }
3485
+
3486
+ constructor(map?: { [key: string]: any }) {
3487
+ super(map);
3488
+ }
3489
+ }
3490
+
3128
3491
  export class DescribeApiRequest extends $tea.Model {
3129
3492
  apiId?: string;
3130
3493
  groupId?: string;
@@ -4728,6 +5091,7 @@ export class DescribeApisByAppRequest extends $tea.Model {
4728
5091
  apiName?: string;
4729
5092
  apiUid?: string;
4730
5093
  appId?: number;
5094
+ description?: string;
4731
5095
  method?: string;
4732
5096
  pageNumber?: number;
4733
5097
  pageSize?: number;
@@ -4738,6 +5102,7 @@ export class DescribeApisByAppRequest extends $tea.Model {
4738
5102
  apiName: 'ApiName',
4739
5103
  apiUid: 'ApiUid',
4740
5104
  appId: 'AppId',
5105
+ description: 'Description',
4741
5106
  method: 'Method',
4742
5107
  pageNumber: 'PageNumber',
4743
5108
  pageSize: 'PageSize',
@@ -4751,6 +5116,7 @@ export class DescribeApisByAppRequest extends $tea.Model {
4751
5116
  apiName: 'string',
4752
5117
  apiUid: 'string',
4753
5118
  appId: 'number',
5119
+ description: 'string',
4754
5120
  method: 'string',
4755
5121
  pageNumber: 'number',
4756
5122
  pageSize: 'number',
@@ -6309,7 +6675,94 @@ export class DescribeHistoryApisRequest extends $tea.Model {
6309
6675
  pageNumber: 'string',
6310
6676
  pageSize: 'string',
6311
6677
  securityToken: 'string',
6312
- stageName: 'string',
6678
+ stageName: 'string',
6679
+ };
6680
+ }
6681
+
6682
+ constructor(map?: { [key: string]: any }) {
6683
+ super(map);
6684
+ }
6685
+ }
6686
+
6687
+ export class DescribeHistoryApisResponseBody extends $tea.Model {
6688
+ apiHisItems?: DescribeHistoryApisResponseBodyApiHisItems;
6689
+ pageNumber?: number;
6690
+ pageSize?: number;
6691
+ requestId?: string;
6692
+ totalCount?: number;
6693
+ static names(): { [key: string]: string } {
6694
+ return {
6695
+ apiHisItems: 'ApiHisItems',
6696
+ pageNumber: 'PageNumber',
6697
+ pageSize: 'PageSize',
6698
+ requestId: 'RequestId',
6699
+ totalCount: 'TotalCount',
6700
+ };
6701
+ }
6702
+
6703
+ static types(): { [key: string]: any } {
6704
+ return {
6705
+ apiHisItems: DescribeHistoryApisResponseBodyApiHisItems,
6706
+ pageNumber: 'number',
6707
+ pageSize: 'number',
6708
+ requestId: 'string',
6709
+ totalCount: 'number',
6710
+ };
6711
+ }
6712
+
6713
+ constructor(map?: { [key: string]: any }) {
6714
+ super(map);
6715
+ }
6716
+ }
6717
+
6718
+ export class DescribeHistoryApisResponse extends $tea.Model {
6719
+ headers: { [key: string]: string };
6720
+ statusCode: number;
6721
+ body: DescribeHistoryApisResponseBody;
6722
+ static names(): { [key: string]: string } {
6723
+ return {
6724
+ headers: 'headers',
6725
+ statusCode: 'statusCode',
6726
+ body: 'body',
6727
+ };
6728
+ }
6729
+
6730
+ static types(): { [key: string]: any } {
6731
+ return {
6732
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6733
+ statusCode: 'number',
6734
+ body: DescribeHistoryApisResponseBody,
6735
+ };
6736
+ }
6737
+
6738
+ constructor(map?: { [key: string]: any }) {
6739
+ super(map);
6740
+ }
6741
+ }
6742
+
6743
+ export class DescribeInstancesRequest extends $tea.Model {
6744
+ enableTagAuthorization?: boolean;
6745
+ instanceId?: string;
6746
+ language?: string;
6747
+ securityToken?: string;
6748
+ tag?: DescribeInstancesRequestTag[];
6749
+ static names(): { [key: string]: string } {
6750
+ return {
6751
+ enableTagAuthorization: 'EnableTagAuthorization',
6752
+ instanceId: 'InstanceId',
6753
+ language: 'Language',
6754
+ securityToken: 'SecurityToken',
6755
+ tag: 'Tag',
6756
+ };
6757
+ }
6758
+
6759
+ static types(): { [key: string]: any } {
6760
+ return {
6761
+ enableTagAuthorization: 'boolean',
6762
+ instanceId: 'string',
6763
+ language: 'string',
6764
+ securityToken: 'string',
6765
+ tag: { 'type': 'array', 'itemType': DescribeInstancesRequestTag },
6313
6766
  };
6314
6767
  }
6315
6768
 
@@ -6318,15 +6771,15 @@ export class DescribeHistoryApisRequest extends $tea.Model {
6318
6771
  }
6319
6772
  }
6320
6773
 
6321
- export class DescribeHistoryApisResponseBody extends $tea.Model {
6322
- apiHisItems?: DescribeHistoryApisResponseBodyApiHisItems;
6774
+ export class DescribeInstancesResponseBody extends $tea.Model {
6775
+ instances?: DescribeInstancesResponseBodyInstances;
6323
6776
  pageNumber?: number;
6324
6777
  pageSize?: number;
6325
6778
  requestId?: string;
6326
6779
  totalCount?: number;
6327
6780
  static names(): { [key: string]: string } {
6328
6781
  return {
6329
- apiHisItems: 'ApiHisItems',
6782
+ instances: 'Instances',
6330
6783
  pageNumber: 'PageNumber',
6331
6784
  pageSize: 'PageSize',
6332
6785
  requestId: 'RequestId',
@@ -6336,7 +6789,7 @@ export class DescribeHistoryApisResponseBody extends $tea.Model {
6336
6789
 
6337
6790
  static types(): { [key: string]: any } {
6338
6791
  return {
6339
- apiHisItems: DescribeHistoryApisResponseBodyApiHisItems,
6792
+ instances: DescribeInstancesResponseBodyInstances,
6340
6793
  pageNumber: 'number',
6341
6794
  pageSize: 'number',
6342
6795
  requestId: 'string',
@@ -6349,10 +6802,10 @@ export class DescribeHistoryApisResponseBody extends $tea.Model {
6349
6802
  }
6350
6803
  }
6351
6804
 
6352
- export class DescribeHistoryApisResponse extends $tea.Model {
6805
+ export class DescribeInstancesResponse extends $tea.Model {
6353
6806
  headers: { [key: string]: string };
6354
6807
  statusCode: number;
6355
- body: DescribeHistoryApisResponseBody;
6808
+ body: DescribeInstancesResponseBody;
6356
6809
  static names(): { [key: string]: string } {
6357
6810
  return {
6358
6811
  headers: 'headers',
@@ -6365,7 +6818,7 @@ export class DescribeHistoryApisResponse extends $tea.Model {
6365
6818
  return {
6366
6819
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6367
6820
  statusCode: 'number',
6368
- body: DescribeHistoryApisResponseBody,
6821
+ body: DescribeInstancesResponseBody,
6369
6822
  };
6370
6823
  }
6371
6824
 
@@ -8204,6 +8657,75 @@ export class DetachPluginResponse extends $tea.Model {
8204
8657
  }
8205
8658
  }
8206
8659
 
8660
+ export class DisableInstanceAccessControlRequest extends $tea.Model {
8661
+ aclId?: string;
8662
+ instanceId?: string;
8663
+ securityToken?: string;
8664
+ static names(): { [key: string]: string } {
8665
+ return {
8666
+ aclId: 'AclId',
8667
+ instanceId: 'InstanceId',
8668
+ securityToken: 'SecurityToken',
8669
+ };
8670
+ }
8671
+
8672
+ static types(): { [key: string]: any } {
8673
+ return {
8674
+ aclId: 'string',
8675
+ instanceId: 'string',
8676
+ securityToken: 'string',
8677
+ };
8678
+ }
8679
+
8680
+ constructor(map?: { [key: string]: any }) {
8681
+ super(map);
8682
+ }
8683
+ }
8684
+
8685
+ export class DisableInstanceAccessControlResponseBody extends $tea.Model {
8686
+ requestId?: string;
8687
+ static names(): { [key: string]: string } {
8688
+ return {
8689
+ requestId: 'RequestId',
8690
+ };
8691
+ }
8692
+
8693
+ static types(): { [key: string]: any } {
8694
+ return {
8695
+ requestId: 'string',
8696
+ };
8697
+ }
8698
+
8699
+ constructor(map?: { [key: string]: any }) {
8700
+ super(map);
8701
+ }
8702
+ }
8703
+
8704
+ export class DisableInstanceAccessControlResponse extends $tea.Model {
8705
+ headers: { [key: string]: string };
8706
+ statusCode: number;
8707
+ body: DisableInstanceAccessControlResponseBody;
8708
+ static names(): { [key: string]: string } {
8709
+ return {
8710
+ headers: 'headers',
8711
+ statusCode: 'statusCode',
8712
+ body: 'body',
8713
+ };
8714
+ }
8715
+
8716
+ static types(): { [key: string]: any } {
8717
+ return {
8718
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8719
+ statusCode: 'number',
8720
+ body: DisableInstanceAccessControlResponseBody,
8721
+ };
8722
+ }
8723
+
8724
+ constructor(map?: { [key: string]: any }) {
8725
+ super(map);
8726
+ }
8727
+ }
8728
+
8207
8729
  export class DryRunSwaggerRequest extends $tea.Model {
8208
8730
  data?: string;
8209
8731
  dataFormat?: string;
@@ -8331,6 +8853,78 @@ export class DryRunSwaggerResponse extends $tea.Model {
8331
8853
  }
8332
8854
  }
8333
8855
 
8856
+ export class EnableInstanceAccessControlRequest extends $tea.Model {
8857
+ aclId?: string;
8858
+ aclType?: string;
8859
+ instanceId?: string;
8860
+ securityToken?: string;
8861
+ static names(): { [key: string]: string } {
8862
+ return {
8863
+ aclId: 'AclId',
8864
+ aclType: 'AclType',
8865
+ instanceId: 'InstanceId',
8866
+ securityToken: 'SecurityToken',
8867
+ };
8868
+ }
8869
+
8870
+ static types(): { [key: string]: any } {
8871
+ return {
8872
+ aclId: 'string',
8873
+ aclType: 'string',
8874
+ instanceId: 'string',
8875
+ securityToken: 'string',
8876
+ };
8877
+ }
8878
+
8879
+ constructor(map?: { [key: string]: any }) {
8880
+ super(map);
8881
+ }
8882
+ }
8883
+
8884
+ export class EnableInstanceAccessControlResponseBody extends $tea.Model {
8885
+ requestId?: string;
8886
+ static names(): { [key: string]: string } {
8887
+ return {
8888
+ requestId: 'RequestId',
8889
+ };
8890
+ }
8891
+
8892
+ static types(): { [key: string]: any } {
8893
+ return {
8894
+ requestId: 'string',
8895
+ };
8896
+ }
8897
+
8898
+ constructor(map?: { [key: string]: any }) {
8899
+ super(map);
8900
+ }
8901
+ }
8902
+
8903
+ export class EnableInstanceAccessControlResponse extends $tea.Model {
8904
+ headers: { [key: string]: string };
8905
+ statusCode: number;
8906
+ body: EnableInstanceAccessControlResponseBody;
8907
+ static names(): { [key: string]: string } {
8908
+ return {
8909
+ headers: 'headers',
8910
+ statusCode: 'statusCode',
8911
+ body: 'body',
8912
+ };
8913
+ }
8914
+
8915
+ static types(): { [key: string]: any } {
8916
+ return {
8917
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8918
+ statusCode: 'number',
8919
+ body: EnableInstanceAccessControlResponseBody,
8920
+ };
8921
+ }
8922
+
8923
+ constructor(map?: { [key: string]: any }) {
8924
+ super(map);
8925
+ }
8926
+ }
8927
+
8334
8928
  export class ImportSwaggerRequest extends $tea.Model {
8335
8929
  data?: string;
8336
8930
  dataFormat?: string;
@@ -9993,6 +10587,75 @@ export class ReactivateDomainResponse extends $tea.Model {
9993
10587
  }
9994
10588
  }
9995
10589
 
10590
+ export class RemoveAccessControlListEntryRequest extends $tea.Model {
10591
+ aclEntrys?: string;
10592
+ aclId?: string;
10593
+ securityToken?: string;
10594
+ static names(): { [key: string]: string } {
10595
+ return {
10596
+ aclEntrys: 'AclEntrys',
10597
+ aclId: 'AclId',
10598
+ securityToken: 'SecurityToken',
10599
+ };
10600
+ }
10601
+
10602
+ static types(): { [key: string]: any } {
10603
+ return {
10604
+ aclEntrys: 'string',
10605
+ aclId: 'string',
10606
+ securityToken: 'string',
10607
+ };
10608
+ }
10609
+
10610
+ constructor(map?: { [key: string]: any }) {
10611
+ super(map);
10612
+ }
10613
+ }
10614
+
10615
+ export class RemoveAccessControlListEntryResponseBody extends $tea.Model {
10616
+ requestId?: string;
10617
+ static names(): { [key: string]: string } {
10618
+ return {
10619
+ requestId: 'RequestId',
10620
+ };
10621
+ }
10622
+
10623
+ static types(): { [key: string]: any } {
10624
+ return {
10625
+ requestId: 'string',
10626
+ };
10627
+ }
10628
+
10629
+ constructor(map?: { [key: string]: any }) {
10630
+ super(map);
10631
+ }
10632
+ }
10633
+
10634
+ export class RemoveAccessControlListEntryResponse extends $tea.Model {
10635
+ headers: { [key: string]: string };
10636
+ statusCode: number;
10637
+ body: RemoveAccessControlListEntryResponseBody;
10638
+ static names(): { [key: string]: string } {
10639
+ return {
10640
+ headers: 'headers',
10641
+ statusCode: 'statusCode',
10642
+ body: 'body',
10643
+ };
10644
+ }
10645
+
10646
+ static types(): { [key: string]: any } {
10647
+ return {
10648
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10649
+ statusCode: 'number',
10650
+ body: RemoveAccessControlListEntryResponseBody,
10651
+ };
10652
+ }
10653
+
10654
+ constructor(map?: { [key: string]: any }) {
10655
+ super(map);
10656
+ }
10657
+ }
10658
+
9996
10659
  export class RemoveApisAuthoritiesRequest extends $tea.Model {
9997
10660
  apiIds?: string;
9998
10661
  appId?: number;
@@ -10662,19 +11325,88 @@ export class ResetAppCodeResponse extends $tea.Model {
10662
11325
  }
10663
11326
  }
10664
11327
 
10665
- export class ResetAppSecretRequest extends $tea.Model {
10666
- appKey?: string;
11328
+ export class ResetAppSecretRequest extends $tea.Model {
11329
+ appKey?: string;
11330
+ securityToken?: string;
11331
+ static names(): { [key: string]: string } {
11332
+ return {
11333
+ appKey: 'AppKey',
11334
+ securityToken: 'SecurityToken',
11335
+ };
11336
+ }
11337
+
11338
+ static types(): { [key: string]: any } {
11339
+ return {
11340
+ appKey: 'string',
11341
+ securityToken: 'string',
11342
+ };
11343
+ }
11344
+
11345
+ constructor(map?: { [key: string]: any }) {
11346
+ super(map);
11347
+ }
11348
+ }
11349
+
11350
+ export class ResetAppSecretResponseBody extends $tea.Model {
11351
+ requestId?: string;
11352
+ static names(): { [key: string]: string } {
11353
+ return {
11354
+ requestId: 'RequestId',
11355
+ };
11356
+ }
11357
+
11358
+ static types(): { [key: string]: any } {
11359
+ return {
11360
+ requestId: 'string',
11361
+ };
11362
+ }
11363
+
11364
+ constructor(map?: { [key: string]: any }) {
11365
+ super(map);
11366
+ }
11367
+ }
11368
+
11369
+ export class ResetAppSecretResponse extends $tea.Model {
11370
+ headers: { [key: string]: string };
11371
+ statusCode: number;
11372
+ body: ResetAppSecretResponseBody;
11373
+ static names(): { [key: string]: string } {
11374
+ return {
11375
+ headers: 'headers',
11376
+ statusCode: 'statusCode',
11377
+ body: 'body',
11378
+ };
11379
+ }
11380
+
11381
+ static types(): { [key: string]: any } {
11382
+ return {
11383
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11384
+ statusCode: 'number',
11385
+ body: ResetAppSecretResponseBody,
11386
+ };
11387
+ }
11388
+
11389
+ constructor(map?: { [key: string]: any }) {
11390
+ super(map);
11391
+ }
11392
+ }
11393
+
11394
+ export class SdkGenerateByAppRequest extends $tea.Model {
11395
+ appId?: number;
11396
+ language?: string;
10667
11397
  securityToken?: string;
10668
11398
  static names(): { [key: string]: string } {
10669
11399
  return {
10670
- appKey: 'AppKey',
11400
+ appId: 'AppId',
11401
+ language: 'Language',
10671
11402
  securityToken: 'SecurityToken',
10672
11403
  };
10673
11404
  }
10674
11405
 
10675
11406
  static types(): { [key: string]: any } {
10676
11407
  return {
10677
- appKey: 'string',
11408
+ appId: 'number',
11409
+ language: 'string',
10678
11410
  securityToken: 'string',
10679
11411
  };
10680
11412
  }
@@ -10684,16 +11416,19 @@ export class ResetAppSecretRequest extends $tea.Model {
10684
11416
  }
10685
11417
  }
10686
11418
 
10687
- export class ResetAppSecretResponseBody extends $tea.Model {
11419
+ export class SdkGenerateByAppResponseBody extends $tea.Model {
11420
+ downloadLink?: string;
10688
11421
  requestId?: string;
10689
11422
  static names(): { [key: string]: string } {
10690
11423
  return {
11424
+ downloadLink: 'DownloadLink',
10691
11425
  requestId: 'RequestId',
10692
11426
  };
10693
11427
  }
10694
11428
 
10695
11429
  static types(): { [key: string]: any } {
10696
11430
  return {
11431
+ downloadLink: 'string',
10697
11432
  requestId: 'string',
10698
11433
  };
10699
11434
  }
@@ -10703,10 +11438,10 @@ export class ResetAppSecretResponseBody extends $tea.Model {
10703
11438
  }
10704
11439
  }
10705
11440
 
10706
- export class ResetAppSecretResponse extends $tea.Model {
11441
+ export class SdkGenerateByAppResponse extends $tea.Model {
10707
11442
  headers: { [key: string]: string };
10708
11443
  statusCode: number;
10709
- body: ResetAppSecretResponseBody;
11444
+ body: SdkGenerateByAppResponseBody;
10710
11445
  static names(): { [key: string]: string } {
10711
11446
  return {
10712
11447
  headers: 'headers',
@@ -10719,7 +11454,7 @@ export class ResetAppSecretResponse extends $tea.Model {
10719
11454
  return {
10720
11455
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10721
11456
  statusCode: 'number',
10722
- body: ResetAppSecretResponseBody,
11457
+ body: SdkGenerateByAppResponseBody,
10723
11458
  };
10724
11459
  }
10725
11460
 
@@ -10728,7 +11463,7 @@ export class ResetAppSecretResponse extends $tea.Model {
10728
11463
  }
10729
11464
  }
10730
11465
 
10731
- export class SdkGenerateByAppRequest extends $tea.Model {
11466
+ export class SdkGenerateByAppForRegionRequest extends $tea.Model {
10732
11467
  appId?: number;
10733
11468
  language?: string;
10734
11469
  securityToken?: string;
@@ -10753,7 +11488,7 @@ export class SdkGenerateByAppRequest extends $tea.Model {
10753
11488
  }
10754
11489
  }
10755
11490
 
10756
- export class SdkGenerateByAppResponseBody extends $tea.Model {
11491
+ export class SdkGenerateByAppForRegionResponseBody extends $tea.Model {
10757
11492
  downloadLink?: string;
10758
11493
  requestId?: string;
10759
11494
  static names(): { [key: string]: string } {
@@ -10775,10 +11510,10 @@ export class SdkGenerateByAppResponseBody extends $tea.Model {
10775
11510
  }
10776
11511
  }
10777
11512
 
10778
- export class SdkGenerateByAppResponse extends $tea.Model {
11513
+ export class SdkGenerateByAppForRegionResponse extends $tea.Model {
10779
11514
  headers: { [key: string]: string };
10780
11515
  statusCode: number;
10781
- body: SdkGenerateByAppResponseBody;
11516
+ body: SdkGenerateByAppForRegionResponseBody;
10782
11517
  static names(): { [key: string]: string } {
10783
11518
  return {
10784
11519
  headers: 'headers',
@@ -10791,7 +11526,7 @@ export class SdkGenerateByAppResponse extends $tea.Model {
10791
11526
  return {
10792
11527
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10793
11528
  statusCode: 'number',
10794
- body: SdkGenerateByAppResponseBody,
11529
+ body: SdkGenerateByAppForRegionResponseBody,
10795
11530
  };
10796
11531
  }
10797
11532
 
@@ -11040,6 +11775,7 @@ export class SetDomainRequest extends $tea.Model {
11040
11775
  domainName?: string;
11041
11776
  groupId?: string;
11042
11777
  isForce?: boolean;
11778
+ isHttpRedirectToHttps?: boolean;
11043
11779
  static names(): { [key: string]: string } {
11044
11780
  return {
11045
11781
  bindStageName: 'BindStageName',
@@ -11047,6 +11783,7 @@ export class SetDomainRequest extends $tea.Model {
11047
11783
  domainName: 'DomainName',
11048
11784
  groupId: 'GroupId',
11049
11785
  isForce: 'IsForce',
11786
+ isHttpRedirectToHttps: 'IsHttpRedirectToHttps',
11050
11787
  };
11051
11788
  }
11052
11789
 
@@ -11057,6 +11794,7 @@ export class SetDomainRequest extends $tea.Model {
11057
11794
  domainName: 'string',
11058
11795
  groupId: 'string',
11059
11796
  isForce: 'boolean',
11797
+ isHttpRedirectToHttps: 'boolean',
11060
11798
  };
11061
11799
  }
11062
11800
 
@@ -12171,6 +12909,88 @@ export class DescribeAbolishApiTaskResponseBodyApiAbolishResults extends $tea.Mo
12171
12909
  }
12172
12910
  }
12173
12911
 
12912
+ export class DescribeAccessControlListAttributeResponseBodyAclEntrysAclEntry extends $tea.Model {
12913
+ aclEntryComment?: string;
12914
+ aclEntryIp?: string;
12915
+ static names(): { [key: string]: string } {
12916
+ return {
12917
+ aclEntryComment: 'AclEntryComment',
12918
+ aclEntryIp: 'AclEntryIp',
12919
+ };
12920
+ }
12921
+
12922
+ static types(): { [key: string]: any } {
12923
+ return {
12924
+ aclEntryComment: 'string',
12925
+ aclEntryIp: 'string',
12926
+ };
12927
+ }
12928
+
12929
+ constructor(map?: { [key: string]: any }) {
12930
+ super(map);
12931
+ }
12932
+ }
12933
+
12934
+ export class DescribeAccessControlListAttributeResponseBodyAclEntrys extends $tea.Model {
12935
+ aclEntry?: DescribeAccessControlListAttributeResponseBodyAclEntrysAclEntry[];
12936
+ static names(): { [key: string]: string } {
12937
+ return {
12938
+ aclEntry: 'AclEntry',
12939
+ };
12940
+ }
12941
+
12942
+ static types(): { [key: string]: any } {
12943
+ return {
12944
+ aclEntry: { 'type': 'array', 'itemType': DescribeAccessControlListAttributeResponseBodyAclEntrysAclEntry },
12945
+ };
12946
+ }
12947
+
12948
+ constructor(map?: { [key: string]: any }) {
12949
+ super(map);
12950
+ }
12951
+ }
12952
+
12953
+ export class DescribeAccessControlListsResponseBodyAclsAcl extends $tea.Model {
12954
+ aclId?: string;
12955
+ aclName?: string;
12956
+ static names(): { [key: string]: string } {
12957
+ return {
12958
+ aclId: 'AclId',
12959
+ aclName: 'AclName',
12960
+ };
12961
+ }
12962
+
12963
+ static types(): { [key: string]: any } {
12964
+ return {
12965
+ aclId: 'string',
12966
+ aclName: 'string',
12967
+ };
12968
+ }
12969
+
12970
+ constructor(map?: { [key: string]: any }) {
12971
+ super(map);
12972
+ }
12973
+ }
12974
+
12975
+ export class DescribeAccessControlListsResponseBodyAcls extends $tea.Model {
12976
+ acl?: DescribeAccessControlListsResponseBodyAclsAcl[];
12977
+ static names(): { [key: string]: string } {
12978
+ return {
12979
+ acl: 'Acl',
12980
+ };
12981
+ }
12982
+
12983
+ static types(): { [key: string]: any } {
12984
+ return {
12985
+ acl: { 'type': 'array', 'itemType': DescribeAccessControlListsResponseBodyAclsAcl },
12986
+ };
12987
+ }
12988
+
12989
+ constructor(map?: { [key: string]: any }) {
12990
+ super(map);
12991
+ }
12992
+ }
12993
+
12174
12994
  export class DescribeApiResponseBodyBackendConfig extends $tea.Model {
12175
12995
  backendId?: string;
12176
12996
  backendName?: string;
@@ -16490,6 +17310,191 @@ export class DescribeHistoryApisResponseBodyApiHisItems extends $tea.Model {
16490
17310
  }
16491
17311
  }
16492
17312
 
17313
+ export class DescribeInstancesRequestTag extends $tea.Model {
17314
+ key?: string;
17315
+ value?: string;
17316
+ static names(): { [key: string]: string } {
17317
+ return {
17318
+ key: 'Key',
17319
+ value: 'Value',
17320
+ };
17321
+ }
17322
+
17323
+ static types(): { [key: string]: any } {
17324
+ return {
17325
+ key: 'string',
17326
+ value: 'string',
17327
+ };
17328
+ }
17329
+
17330
+ constructor(map?: { [key: string]: any }) {
17331
+ super(map);
17332
+ }
17333
+ }
17334
+
17335
+ export class DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpecAttributesSpecAttribute extends $tea.Model {
17336
+ localName?: string;
17337
+ value?: string;
17338
+ static names(): { [key: string]: string } {
17339
+ return {
17340
+ localName: 'LocalName',
17341
+ value: 'Value',
17342
+ };
17343
+ }
17344
+
17345
+ static types(): { [key: string]: any } {
17346
+ return {
17347
+ localName: 'string',
17348
+ value: 'string',
17349
+ };
17350
+ }
17351
+
17352
+ constructor(map?: { [key: string]: any }) {
17353
+ super(map);
17354
+ }
17355
+ }
17356
+
17357
+ export class DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpecAttributes extends $tea.Model {
17358
+ specAttribute?: DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpecAttributesSpecAttribute[];
17359
+ static names(): { [key: string]: string } {
17360
+ return {
17361
+ specAttribute: 'SpecAttribute',
17362
+ };
17363
+ }
17364
+
17365
+ static types(): { [key: string]: any } {
17366
+ return {
17367
+ specAttribute: { 'type': 'array', 'itemType': DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpecAttributesSpecAttribute },
17368
+ };
17369
+ }
17370
+
17371
+ constructor(map?: { [key: string]: any }) {
17372
+ super(map);
17373
+ }
17374
+ }
17375
+
17376
+ export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $tea.Model {
17377
+ aclId?: string;
17378
+ aclName?: string;
17379
+ aclStatus?: string;
17380
+ aclType?: string;
17381
+ classicEgressAddress?: string;
17382
+ createdTime?: string;
17383
+ egressIpv6Enable?: boolean;
17384
+ expiredTime?: string;
17385
+ httpsPolicies?: string;
17386
+ instanceChargeType?: string;
17387
+ instanceId?: string;
17388
+ instanceName?: string;
17389
+ instanceRpsLimit?: number;
17390
+ instanceSpec?: string;
17391
+ instanceSpecAttributes?: DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpecAttributes;
17392
+ instanceType?: string;
17393
+ internetEgressAddress?: string;
17394
+ regionId?: string;
17395
+ status?: string;
17396
+ supportIpv6?: boolean;
17397
+ userVpcId?: string;
17398
+ userVswitchId?: string;
17399
+ vipTypeList?: string;
17400
+ vpcEgressAddress?: string;
17401
+ vpcIntranetEnable?: boolean;
17402
+ vpcOwnerId?: number;
17403
+ vpcSlbIntranetEnable?: boolean;
17404
+ zoneId?: string;
17405
+ zoneLocalName?: string;
17406
+ static names(): { [key: string]: string } {
17407
+ return {
17408
+ aclId: 'AclId',
17409
+ aclName: 'AclName',
17410
+ aclStatus: 'AclStatus',
17411
+ aclType: 'AclType',
17412
+ classicEgressAddress: 'ClassicEgressAddress',
17413
+ createdTime: 'CreatedTime',
17414
+ egressIpv6Enable: 'EgressIpv6Enable',
17415
+ expiredTime: 'ExpiredTime',
17416
+ httpsPolicies: 'HttpsPolicies',
17417
+ instanceChargeType: 'InstanceChargeType',
17418
+ instanceId: 'InstanceId',
17419
+ instanceName: 'InstanceName',
17420
+ instanceRpsLimit: 'InstanceRpsLimit',
17421
+ instanceSpec: 'InstanceSpec',
17422
+ instanceSpecAttributes: 'InstanceSpecAttributes',
17423
+ instanceType: 'InstanceType',
17424
+ internetEgressAddress: 'InternetEgressAddress',
17425
+ regionId: 'RegionId',
17426
+ status: 'Status',
17427
+ supportIpv6: 'SupportIpv6',
17428
+ userVpcId: 'UserVpcId',
17429
+ userVswitchId: 'UserVswitchId',
17430
+ vipTypeList: 'VipTypeList',
17431
+ vpcEgressAddress: 'VpcEgressAddress',
17432
+ vpcIntranetEnable: 'VpcIntranetEnable',
17433
+ vpcOwnerId: 'VpcOwnerId',
17434
+ vpcSlbIntranetEnable: 'VpcSlbIntranetEnable',
17435
+ zoneId: 'ZoneId',
17436
+ zoneLocalName: 'ZoneLocalName',
17437
+ };
17438
+ }
17439
+
17440
+ static types(): { [key: string]: any } {
17441
+ return {
17442
+ aclId: 'string',
17443
+ aclName: 'string',
17444
+ aclStatus: 'string',
17445
+ aclType: 'string',
17446
+ classicEgressAddress: 'string',
17447
+ createdTime: 'string',
17448
+ egressIpv6Enable: 'boolean',
17449
+ expiredTime: 'string',
17450
+ httpsPolicies: 'string',
17451
+ instanceChargeType: 'string',
17452
+ instanceId: 'string',
17453
+ instanceName: 'string',
17454
+ instanceRpsLimit: 'number',
17455
+ instanceSpec: 'string',
17456
+ instanceSpecAttributes: DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpecAttributes,
17457
+ instanceType: 'string',
17458
+ internetEgressAddress: 'string',
17459
+ regionId: 'string',
17460
+ status: 'string',
17461
+ supportIpv6: 'boolean',
17462
+ userVpcId: 'string',
17463
+ userVswitchId: 'string',
17464
+ vipTypeList: 'string',
17465
+ vpcEgressAddress: 'string',
17466
+ vpcIntranetEnable: 'boolean',
17467
+ vpcOwnerId: 'number',
17468
+ vpcSlbIntranetEnable: 'boolean',
17469
+ zoneId: 'string',
17470
+ zoneLocalName: 'string',
17471
+ };
17472
+ }
17473
+
17474
+ constructor(map?: { [key: string]: any }) {
17475
+ super(map);
17476
+ }
17477
+ }
17478
+
17479
+ export class DescribeInstancesResponseBodyInstances extends $tea.Model {
17480
+ instanceAttribute?: DescribeInstancesResponseBodyInstancesInstanceAttribute[];
17481
+ static names(): { [key: string]: string } {
17482
+ return {
17483
+ instanceAttribute: 'InstanceAttribute',
17484
+ };
17485
+ }
17486
+
17487
+ static types(): { [key: string]: any } {
17488
+ return {
17489
+ instanceAttribute: { 'type': 'array', 'itemType': DescribeInstancesResponseBodyInstancesInstanceAttribute },
17490
+ };
17491
+ }
17492
+
17493
+ constructor(map?: { [key: string]: any }) {
17494
+ super(map);
17495
+ }
17496
+ }
17497
+
16493
17498
  export class DescribeIpControlPolicyItemsResponseBodyIpControlPolicyItemsIpControlPolicyItem extends $tea.Model {
16494
17499
  appId?: string;
16495
17500
  cidrIp?: string;
@@ -18421,6 +19426,43 @@ export default class Client extends OpenApi {
18421
19426
  return await this.abolishApiWithOptions(request, runtime);
18422
19427
  }
18423
19428
 
19429
+ async addAccessControlListEntryWithOptions(request: AddAccessControlListEntryRequest, runtime: $Util.RuntimeOptions): Promise<AddAccessControlListEntryResponse> {
19430
+ Util.validateModel(request);
19431
+ let query = { };
19432
+ if (!Util.isUnset(request.aclEntrys)) {
19433
+ query["AclEntrys"] = request.aclEntrys;
19434
+ }
19435
+
19436
+ if (!Util.isUnset(request.aclId)) {
19437
+ query["AclId"] = request.aclId;
19438
+ }
19439
+
19440
+ if (!Util.isUnset(request.securityToken)) {
19441
+ query["SecurityToken"] = request.securityToken;
19442
+ }
19443
+
19444
+ let req = new $OpenApi.OpenApiRequest({
19445
+ query: OpenApiUtil.query(query),
19446
+ });
19447
+ let params = new $OpenApi.Params({
19448
+ action: "AddAccessControlListEntry",
19449
+ version: "2016-07-14",
19450
+ protocol: "HTTPS",
19451
+ pathname: "/",
19452
+ method: "POST",
19453
+ authType: "AK",
19454
+ style: "RPC",
19455
+ reqBodyType: "formData",
19456
+ bodyType: "json",
19457
+ });
19458
+ return $tea.cast<AddAccessControlListEntryResponse>(await this.callApi(params, req, runtime), new AddAccessControlListEntryResponse({}));
19459
+ }
19460
+
19461
+ async addAccessControlListEntry(request: AddAccessControlListEntryRequest): Promise<AddAccessControlListEntryResponse> {
19462
+ let runtime = new $Util.RuntimeOptions({ });
19463
+ return await this.addAccessControlListEntryWithOptions(request, runtime);
19464
+ }
19465
+
18424
19466
  async addIpControlPolicyItemWithOptions(request: AddIpControlPolicyItemRequest, runtime: $Util.RuntimeOptions): Promise<AddIpControlPolicyItemResponse> {
18425
19467
  Util.validateModel(request);
18426
19468
  let query = { };
@@ -18612,7 +19654,40 @@ export default class Client extends OpenApi {
18612
19654
  query: OpenApiUtil.query(query),
18613
19655
  });
18614
19656
  let params = new $OpenApi.Params({
18615
- action: "BatchDeployApis",
19657
+ action: "BatchDeployApis",
19658
+ version: "2016-07-14",
19659
+ protocol: "HTTPS",
19660
+ pathname: "/",
19661
+ method: "POST",
19662
+ authType: "AK",
19663
+ style: "RPC",
19664
+ reqBodyType: "formData",
19665
+ bodyType: "json",
19666
+ });
19667
+ return $tea.cast<BatchDeployApisResponse>(await this.callApi(params, req, runtime), new BatchDeployApisResponse({}));
19668
+ }
19669
+
19670
+ async batchDeployApis(request: BatchDeployApisRequest): Promise<BatchDeployApisResponse> {
19671
+ let runtime = new $Util.RuntimeOptions({ });
19672
+ return await this.batchDeployApisWithOptions(request, runtime);
19673
+ }
19674
+
19675
+ async createAccessControlListWithOptions(request: CreateAccessControlListRequest, runtime: $Util.RuntimeOptions): Promise<CreateAccessControlListResponse> {
19676
+ Util.validateModel(request);
19677
+ let query = { };
19678
+ if (!Util.isUnset(request.aclName)) {
19679
+ query["AclName"] = request.aclName;
19680
+ }
19681
+
19682
+ if (!Util.isUnset(request.securityToken)) {
19683
+ query["SecurityToken"] = request.securityToken;
19684
+ }
19685
+
19686
+ let req = new $OpenApi.OpenApiRequest({
19687
+ query: OpenApiUtil.query(query),
19688
+ });
19689
+ let params = new $OpenApi.Params({
19690
+ action: "CreateAccessControlList",
18616
19691
  version: "2016-07-14",
18617
19692
  protocol: "HTTPS",
18618
19693
  pathname: "/",
@@ -18622,12 +19697,12 @@ export default class Client extends OpenApi {
18622
19697
  reqBodyType: "formData",
18623
19698
  bodyType: "json",
18624
19699
  });
18625
- return $tea.cast<BatchDeployApisResponse>(await this.callApi(params, req, runtime), new BatchDeployApisResponse({}));
19700
+ return $tea.cast<CreateAccessControlListResponse>(await this.callApi(params, req, runtime), new CreateAccessControlListResponse({}));
18626
19701
  }
18627
19702
 
18628
- async batchDeployApis(request: BatchDeployApisRequest): Promise<BatchDeployApisResponse> {
19703
+ async createAccessControlList(request: CreateAccessControlListRequest): Promise<CreateAccessControlListResponse> {
18629
19704
  let runtime = new $Util.RuntimeOptions({ });
18630
- return await this.batchDeployApisWithOptions(request, runtime);
19705
+ return await this.createAccessControlListWithOptions(request, runtime);
18631
19706
  }
18632
19707
 
18633
19708
  async createApiWithOptions(request: CreateApiRequest, runtime: $Util.RuntimeOptions): Promise<CreateApiResponse> {
@@ -19409,6 +20484,39 @@ export default class Client extends OpenApi {
19409
20484
  return await this.createTrafficControlWithOptions(request, runtime);
19410
20485
  }
19411
20486
 
20487
+ async deleteAccessControlListWithOptions(request: DeleteAccessControlListRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAccessControlListResponse> {
20488
+ Util.validateModel(request);
20489
+ let query = { };
20490
+ if (!Util.isUnset(request.aclId)) {
20491
+ query["AclId"] = request.aclId;
20492
+ }
20493
+
20494
+ if (!Util.isUnset(request.securityToken)) {
20495
+ query["SecurityToken"] = request.securityToken;
20496
+ }
20497
+
20498
+ let req = new $OpenApi.OpenApiRequest({
20499
+ query: OpenApiUtil.query(query),
20500
+ });
20501
+ let params = new $OpenApi.Params({
20502
+ action: "DeleteAccessControlList",
20503
+ version: "2016-07-14",
20504
+ protocol: "HTTPS",
20505
+ pathname: "/",
20506
+ method: "POST",
20507
+ authType: "AK",
20508
+ style: "RPC",
20509
+ reqBodyType: "formData",
20510
+ bodyType: "json",
20511
+ });
20512
+ return $tea.cast<DeleteAccessControlListResponse>(await this.callApi(params, req, runtime), new DeleteAccessControlListResponse({}));
20513
+ }
20514
+
20515
+ async deleteAccessControlList(request: DeleteAccessControlListRequest): Promise<DeleteAccessControlListResponse> {
20516
+ let runtime = new $Util.RuntimeOptions({ });
20517
+ return await this.deleteAccessControlListWithOptions(request, runtime);
20518
+ }
20519
+
19412
20520
  async deleteAllTrafficSpecialControlWithOptions(request: DeleteAllTrafficSpecialControlRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAllTrafficSpecialControlResponse> {
19413
20521
  Util.validateModel(request);
19414
20522
  let query = { };
@@ -20137,6 +21245,80 @@ export default class Client extends OpenApi {
20137
21245
  return await this.describeAbolishApiTaskWithOptions(request, runtime);
20138
21246
  }
20139
21247
 
21248
+ async describeAccessControlListAttributeWithOptions(request: DescribeAccessControlListAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAccessControlListAttributeResponse> {
21249
+ Util.validateModel(request);
21250
+ let query = { };
21251
+ if (!Util.isUnset(request.aclId)) {
21252
+ query["AclId"] = request.aclId;
21253
+ }
21254
+
21255
+ if (!Util.isUnset(request.securityToken)) {
21256
+ query["SecurityToken"] = request.securityToken;
21257
+ }
21258
+
21259
+ let req = new $OpenApi.OpenApiRequest({
21260
+ query: OpenApiUtil.query(query),
21261
+ });
21262
+ let params = new $OpenApi.Params({
21263
+ action: "DescribeAccessControlListAttribute",
21264
+ version: "2016-07-14",
21265
+ protocol: "HTTPS",
21266
+ pathname: "/",
21267
+ method: "POST",
21268
+ authType: "AK",
21269
+ style: "RPC",
21270
+ reqBodyType: "formData",
21271
+ bodyType: "json",
21272
+ });
21273
+ return $tea.cast<DescribeAccessControlListAttributeResponse>(await this.callApi(params, req, runtime), new DescribeAccessControlListAttributeResponse({}));
21274
+ }
21275
+
21276
+ async describeAccessControlListAttribute(request: DescribeAccessControlListAttributeRequest): Promise<DescribeAccessControlListAttributeResponse> {
21277
+ let runtime = new $Util.RuntimeOptions({ });
21278
+ return await this.describeAccessControlListAttributeWithOptions(request, runtime);
21279
+ }
21280
+
21281
+ async describeAccessControlListsWithOptions(request: DescribeAccessControlListsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAccessControlListsResponse> {
21282
+ Util.validateModel(request);
21283
+ let query = { };
21284
+ if (!Util.isUnset(request.aclName)) {
21285
+ query["AclName"] = request.aclName;
21286
+ }
21287
+
21288
+ if (!Util.isUnset(request.pageNumber)) {
21289
+ query["PageNumber"] = request.pageNumber;
21290
+ }
21291
+
21292
+ if (!Util.isUnset(request.pageSize)) {
21293
+ query["PageSize"] = request.pageSize;
21294
+ }
21295
+
21296
+ if (!Util.isUnset(request.securityToken)) {
21297
+ query["SecurityToken"] = request.securityToken;
21298
+ }
21299
+
21300
+ let req = new $OpenApi.OpenApiRequest({
21301
+ query: OpenApiUtil.query(query),
21302
+ });
21303
+ let params = new $OpenApi.Params({
21304
+ action: "DescribeAccessControlLists",
21305
+ version: "2016-07-14",
21306
+ protocol: "HTTPS",
21307
+ pathname: "/",
21308
+ method: "POST",
21309
+ authType: "AK",
21310
+ style: "RPC",
21311
+ reqBodyType: "formData",
21312
+ bodyType: "json",
21313
+ });
21314
+ return $tea.cast<DescribeAccessControlListsResponse>(await this.callApi(params, req, runtime), new DescribeAccessControlListsResponse({}));
21315
+ }
21316
+
21317
+ async describeAccessControlLists(request: DescribeAccessControlListsRequest): Promise<DescribeAccessControlListsResponse> {
21318
+ let runtime = new $Util.RuntimeOptions({ });
21319
+ return await this.describeAccessControlListsWithOptions(request, runtime);
21320
+ }
21321
+
20140
21322
  async describeApiWithOptions(request: DescribeApiRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiResponse> {
20141
21323
  Util.validateModel(request);
20142
21324
  let query = { };
@@ -20855,6 +22037,10 @@ export default class Client extends OpenApi {
20855
22037
  query["AppId"] = request.appId;
20856
22038
  }
20857
22039
 
22040
+ if (!Util.isUnset(request.description)) {
22041
+ query["Description"] = request.description;
22042
+ }
22043
+
20858
22044
  if (!Util.isUnset(request.method)) {
20859
22045
  query["Method"] = request.method;
20860
22046
  }
@@ -21650,6 +22836,51 @@ export default class Client extends OpenApi {
21650
22836
  return await this.describeHistoryApisWithOptions(request, runtime);
21651
22837
  }
21652
22838
 
22839
+ async describeInstancesWithOptions(request: DescribeInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstancesResponse> {
22840
+ Util.validateModel(request);
22841
+ let query = { };
22842
+ if (!Util.isUnset(request.enableTagAuthorization)) {
22843
+ query["EnableTagAuthorization"] = request.enableTagAuthorization;
22844
+ }
22845
+
22846
+ if (!Util.isUnset(request.instanceId)) {
22847
+ query["InstanceId"] = request.instanceId;
22848
+ }
22849
+
22850
+ if (!Util.isUnset(request.language)) {
22851
+ query["Language"] = request.language;
22852
+ }
22853
+
22854
+ if (!Util.isUnset(request.securityToken)) {
22855
+ query["SecurityToken"] = request.securityToken;
22856
+ }
22857
+
22858
+ if (!Util.isUnset(request.tag)) {
22859
+ query["Tag"] = request.tag;
22860
+ }
22861
+
22862
+ let req = new $OpenApi.OpenApiRequest({
22863
+ query: OpenApiUtil.query(query),
22864
+ });
22865
+ let params = new $OpenApi.Params({
22866
+ action: "DescribeInstances",
22867
+ version: "2016-07-14",
22868
+ protocol: "HTTPS",
22869
+ pathname: "/",
22870
+ method: "POST",
22871
+ authType: "AK",
22872
+ style: "RPC",
22873
+ reqBodyType: "formData",
22874
+ bodyType: "json",
22875
+ });
22876
+ return $tea.cast<DescribeInstancesResponse>(await this.callApi(params, req, runtime), new DescribeInstancesResponse({}));
22877
+ }
22878
+
22879
+ async describeInstances(request: DescribeInstancesRequest): Promise<DescribeInstancesResponse> {
22880
+ let runtime = new $Util.RuntimeOptions({ });
22881
+ return await this.describeInstancesWithOptions(request, runtime);
22882
+ }
22883
+
21653
22884
  async describeIpControlPolicyItemsWithOptions(request: DescribeIpControlPolicyItemsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeIpControlPolicyItemsResponse> {
21654
22885
  Util.validateModel(request);
21655
22886
  let query = { };
@@ -22593,6 +23824,43 @@ export default class Client extends OpenApi {
22593
23824
  return await this.detachPluginWithOptions(request, runtime);
22594
23825
  }
22595
23826
 
23827
+ async disableInstanceAccessControlWithOptions(request: DisableInstanceAccessControlRequest, runtime: $Util.RuntimeOptions): Promise<DisableInstanceAccessControlResponse> {
23828
+ Util.validateModel(request);
23829
+ let query = { };
23830
+ if (!Util.isUnset(request.aclId)) {
23831
+ query["AclId"] = request.aclId;
23832
+ }
23833
+
23834
+ if (!Util.isUnset(request.instanceId)) {
23835
+ query["InstanceId"] = request.instanceId;
23836
+ }
23837
+
23838
+ if (!Util.isUnset(request.securityToken)) {
23839
+ query["SecurityToken"] = request.securityToken;
23840
+ }
23841
+
23842
+ let req = new $OpenApi.OpenApiRequest({
23843
+ query: OpenApiUtil.query(query),
23844
+ });
23845
+ let params = new $OpenApi.Params({
23846
+ action: "DisableInstanceAccessControl",
23847
+ version: "2016-07-14",
23848
+ protocol: "HTTPS",
23849
+ pathname: "/",
23850
+ method: "POST",
23851
+ authType: "AK",
23852
+ style: "RPC",
23853
+ reqBodyType: "formData",
23854
+ bodyType: "json",
23855
+ });
23856
+ return $tea.cast<DisableInstanceAccessControlResponse>(await this.callApi(params, req, runtime), new DisableInstanceAccessControlResponse({}));
23857
+ }
23858
+
23859
+ async disableInstanceAccessControl(request: DisableInstanceAccessControlRequest): Promise<DisableInstanceAccessControlResponse> {
23860
+ let runtime = new $Util.RuntimeOptions({ });
23861
+ return await this.disableInstanceAccessControlWithOptions(request, runtime);
23862
+ }
23863
+
22596
23864
  async dryRunSwaggerWithOptions(tmpReq: DryRunSwaggerRequest, runtime: $Util.RuntimeOptions): Promise<DryRunSwaggerResponse> {
22597
23865
  Util.validateModel(tmpReq);
22598
23866
  let request = new DryRunSwaggerShrinkRequest({ });
@@ -22650,6 +23918,47 @@ export default class Client extends OpenApi {
22650
23918
  return await this.dryRunSwaggerWithOptions(request, runtime);
22651
23919
  }
22652
23920
 
23921
+ async enableInstanceAccessControlWithOptions(request: EnableInstanceAccessControlRequest, runtime: $Util.RuntimeOptions): Promise<EnableInstanceAccessControlResponse> {
23922
+ Util.validateModel(request);
23923
+ let query = { };
23924
+ if (!Util.isUnset(request.aclId)) {
23925
+ query["AclId"] = request.aclId;
23926
+ }
23927
+
23928
+ if (!Util.isUnset(request.aclType)) {
23929
+ query["AclType"] = request.aclType;
23930
+ }
23931
+
23932
+ if (!Util.isUnset(request.instanceId)) {
23933
+ query["InstanceId"] = request.instanceId;
23934
+ }
23935
+
23936
+ if (!Util.isUnset(request.securityToken)) {
23937
+ query["SecurityToken"] = request.securityToken;
23938
+ }
23939
+
23940
+ let req = new $OpenApi.OpenApiRequest({
23941
+ query: OpenApiUtil.query(query),
23942
+ });
23943
+ let params = new $OpenApi.Params({
23944
+ action: "EnableInstanceAccessControl",
23945
+ version: "2016-07-14",
23946
+ protocol: "HTTPS",
23947
+ pathname: "/",
23948
+ method: "POST",
23949
+ authType: "AK",
23950
+ style: "RPC",
23951
+ reqBodyType: "formData",
23952
+ bodyType: "json",
23953
+ });
23954
+ return $tea.cast<EnableInstanceAccessControlResponse>(await this.callApi(params, req, runtime), new EnableInstanceAccessControlResponse({}));
23955
+ }
23956
+
23957
+ async enableInstanceAccessControl(request: EnableInstanceAccessControlRequest): Promise<EnableInstanceAccessControlResponse> {
23958
+ let runtime = new $Util.RuntimeOptions({ });
23959
+ return await this.enableInstanceAccessControlWithOptions(request, runtime);
23960
+ }
23961
+
22653
23962
  async importSwaggerWithOptions(tmpReq: ImportSwaggerRequest, runtime: $Util.RuntimeOptions): Promise<ImportSwaggerResponse> {
22654
23963
  Util.validateModel(tmpReq);
22655
23964
  let request = new ImportSwaggerShrinkRequest({ });
@@ -23737,6 +25046,43 @@ export default class Client extends OpenApi {
23737
25046
  return await this.reactivateDomainWithOptions(request, runtime);
23738
25047
  }
23739
25048
 
25049
+ async removeAccessControlListEntryWithOptions(request: RemoveAccessControlListEntryRequest, runtime: $Util.RuntimeOptions): Promise<RemoveAccessControlListEntryResponse> {
25050
+ Util.validateModel(request);
25051
+ let query = { };
25052
+ if (!Util.isUnset(request.aclEntrys)) {
25053
+ query["AclEntrys"] = request.aclEntrys;
25054
+ }
25055
+
25056
+ if (!Util.isUnset(request.aclId)) {
25057
+ query["AclId"] = request.aclId;
25058
+ }
25059
+
25060
+ if (!Util.isUnset(request.securityToken)) {
25061
+ query["SecurityToken"] = request.securityToken;
25062
+ }
25063
+
25064
+ let req = new $OpenApi.OpenApiRequest({
25065
+ query: OpenApiUtil.query(query),
25066
+ });
25067
+ let params = new $OpenApi.Params({
25068
+ action: "RemoveAccessControlListEntry",
25069
+ version: "2016-07-14",
25070
+ protocol: "HTTPS",
25071
+ pathname: "/",
25072
+ method: "POST",
25073
+ authType: "AK",
25074
+ style: "RPC",
25075
+ reqBodyType: "formData",
25076
+ bodyType: "json",
25077
+ });
25078
+ return $tea.cast<RemoveAccessControlListEntryResponse>(await this.callApi(params, req, runtime), new RemoveAccessControlListEntryResponse({}));
25079
+ }
25080
+
25081
+ async removeAccessControlListEntry(request: RemoveAccessControlListEntryRequest): Promise<RemoveAccessControlListEntryResponse> {
25082
+ let runtime = new $Util.RuntimeOptions({ });
25083
+ return await this.removeAccessControlListEntryWithOptions(request, runtime);
25084
+ }
25085
+
23740
25086
  async removeApisAuthoritiesWithOptions(request: RemoveApisAuthoritiesRequest, runtime: $Util.RuntimeOptions): Promise<RemoveApisAuthoritiesResponse> {
23741
25087
  Util.validateModel(request);
23742
25088
  let query = { };
@@ -24196,6 +25542,43 @@ export default class Client extends OpenApi {
24196
25542
  return await this.sdkGenerateByAppWithOptions(request, runtime);
24197
25543
  }
24198
25544
 
25545
+ async sdkGenerateByAppForRegionWithOptions(request: SdkGenerateByAppForRegionRequest, runtime: $Util.RuntimeOptions): Promise<SdkGenerateByAppForRegionResponse> {
25546
+ Util.validateModel(request);
25547
+ let query = { };
25548
+ if (!Util.isUnset(request.appId)) {
25549
+ query["AppId"] = request.appId;
25550
+ }
25551
+
25552
+ if (!Util.isUnset(request.language)) {
25553
+ query["Language"] = request.language;
25554
+ }
25555
+
25556
+ if (!Util.isUnset(request.securityToken)) {
25557
+ query["SecurityToken"] = request.securityToken;
25558
+ }
25559
+
25560
+ let req = new $OpenApi.OpenApiRequest({
25561
+ query: OpenApiUtil.query(query),
25562
+ });
25563
+ let params = new $OpenApi.Params({
25564
+ action: "SdkGenerateByAppForRegion",
25565
+ version: "2016-07-14",
25566
+ protocol: "HTTPS",
25567
+ pathname: "/",
25568
+ method: "POST",
25569
+ authType: "AK",
25570
+ style: "RPC",
25571
+ reqBodyType: "formData",
25572
+ bodyType: "json",
25573
+ });
25574
+ return $tea.cast<SdkGenerateByAppForRegionResponse>(await this.callApi(params, req, runtime), new SdkGenerateByAppForRegionResponse({}));
25575
+ }
25576
+
25577
+ async sdkGenerateByAppForRegion(request: SdkGenerateByAppForRegionRequest): Promise<SdkGenerateByAppForRegionResponse> {
25578
+ let runtime = new $Util.RuntimeOptions({ });
25579
+ return await this.sdkGenerateByAppForRegionWithOptions(request, runtime);
25580
+ }
25581
+
24199
25582
  async sdkGenerateByGroupWithOptions(request: SdkGenerateByGroupRequest, runtime: $Util.RuntimeOptions): Promise<SdkGenerateByGroupResponse> {
24200
25583
  Util.validateModel(request);
24201
25584
  let query = { };
@@ -24362,6 +25745,10 @@ export default class Client extends OpenApi {
24362
25745
  query["IsForce"] = request.isForce;
24363
25746
  }
24364
25747
 
25748
+ if (!Util.isUnset(request.isHttpRedirectToHttps)) {
25749
+ query["IsHttpRedirectToHttps"] = request.isHttpRedirectToHttps;
25750
+ }
25751
+
24365
25752
  let req = new $OpenApi.OpenApiRequest({
24366
25753
  query: OpenApiUtil.query(query),
24367
25754
  });