@alicloud/cloudapi20160714 2.1.7 → 2.2.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 +413 -0
- package/dist/client.js +804 -13
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +981 -22
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;
|
|
@@ -3103,7 +3304,169 @@ export class DescribeAbolishApiTaskResponseBody extends $tea.Model {
|
|
|
3103
3304
|
export class DescribeAbolishApiTaskResponse extends $tea.Model {
|
|
3104
3305
|
headers: { [key: string]: string };
|
|
3105
3306
|
statusCode: number;
|
|
3106
|
-
body: DescribeAbolishApiTaskResponseBody;
|
|
3307
|
+
body: DescribeAbolishApiTaskResponseBody;
|
|
3308
|
+
static names(): { [key: string]: string } {
|
|
3309
|
+
return {
|
|
3310
|
+
headers: 'headers',
|
|
3311
|
+
statusCode: 'statusCode',
|
|
3312
|
+
body: 'body',
|
|
3313
|
+
};
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3316
|
+
static types(): { [key: string]: any } {
|
|
3317
|
+
return {
|
|
3318
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3319
|
+
statusCode: 'number',
|
|
3320
|
+
body: DescribeAbolishApiTaskResponseBody,
|
|
3321
|
+
};
|
|
3322
|
+
}
|
|
3323
|
+
|
|
3324
|
+
constructor(map?: { [key: string]: any }) {
|
|
3325
|
+
super(map);
|
|
3326
|
+
}
|
|
3327
|
+
}
|
|
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;
|
|
3107
3470
|
static names(): { [key: string]: string } {
|
|
3108
3471
|
return {
|
|
3109
3472
|
headers: 'headers',
|
|
@@ -3116,7 +3479,7 @@ export class DescribeAbolishApiTaskResponse extends $tea.Model {
|
|
|
3116
3479
|
return {
|
|
3117
3480
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3118
3481
|
statusCode: 'number',
|
|
3119
|
-
body:
|
|
3482
|
+
body: DescribeAccessControlListsResponseBody,
|
|
3120
3483
|
};
|
|
3121
3484
|
}
|
|
3122
3485
|
|
|
@@ -8294,6 +8657,75 @@ export class DetachPluginResponse extends $tea.Model {
|
|
|
8294
8657
|
}
|
|
8295
8658
|
}
|
|
8296
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
|
+
|
|
8297
8729
|
export class DryRunSwaggerRequest extends $tea.Model {
|
|
8298
8730
|
data?: string;
|
|
8299
8731
|
dataFormat?: string;
|
|
@@ -8421,6 +8853,78 @@ export class DryRunSwaggerResponse extends $tea.Model {
|
|
|
8421
8853
|
}
|
|
8422
8854
|
}
|
|
8423
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
|
+
|
|
8424
8928
|
export class ImportSwaggerRequest extends $tea.Model {
|
|
8425
8929
|
data?: string;
|
|
8426
8930
|
dataFormat?: string;
|
|
@@ -10083,6 +10587,75 @@ export class ReactivateDomainResponse extends $tea.Model {
|
|
|
10083
10587
|
}
|
|
10084
10588
|
}
|
|
10085
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
|
+
|
|
10086
10659
|
export class RemoveApisAuthoritiesRequest extends $tea.Model {
|
|
10087
10660
|
apiIds?: string;
|
|
10088
10661
|
appId?: number;
|
|
@@ -12285,27 +12858,109 @@ export class DescribeAbolishApiTaskResponseBodyApiAbolishResultsApiAbolishResult
|
|
|
12285
12858
|
stageName?: string;
|
|
12286
12859
|
static names(): { [key: string]: string } {
|
|
12287
12860
|
return {
|
|
12288
|
-
abolishStatus: 'AbolishStatus',
|
|
12289
|
-
apiName: 'ApiName',
|
|
12290
|
-
apiUid: 'ApiUid',
|
|
12291
|
-
errorMsg: 'ErrorMsg',
|
|
12292
|
-
groupId: 'GroupId',
|
|
12293
|
-
groupName: 'GroupName',
|
|
12294
|
-
stageId: 'StageId',
|
|
12295
|
-
stageName: 'StageName',
|
|
12861
|
+
abolishStatus: 'AbolishStatus',
|
|
12862
|
+
apiName: 'ApiName',
|
|
12863
|
+
apiUid: 'ApiUid',
|
|
12864
|
+
errorMsg: 'ErrorMsg',
|
|
12865
|
+
groupId: 'GroupId',
|
|
12866
|
+
groupName: 'GroupName',
|
|
12867
|
+
stageId: 'StageId',
|
|
12868
|
+
stageName: 'StageName',
|
|
12869
|
+
};
|
|
12870
|
+
}
|
|
12871
|
+
|
|
12872
|
+
static types(): { [key: string]: any } {
|
|
12873
|
+
return {
|
|
12874
|
+
abolishStatus: 'string',
|
|
12875
|
+
apiName: 'string',
|
|
12876
|
+
apiUid: 'string',
|
|
12877
|
+
errorMsg: 'string',
|
|
12878
|
+
groupId: 'string',
|
|
12879
|
+
groupName: 'string',
|
|
12880
|
+
stageId: 'string',
|
|
12881
|
+
stageName: 'string',
|
|
12882
|
+
};
|
|
12883
|
+
}
|
|
12884
|
+
|
|
12885
|
+
constructor(map?: { [key: string]: any }) {
|
|
12886
|
+
super(map);
|
|
12887
|
+
}
|
|
12888
|
+
}
|
|
12889
|
+
|
|
12890
|
+
export class DescribeAbolishApiTaskResponseBodyApiAbolishResults extends $tea.Model {
|
|
12891
|
+
apiAbolishResult?: DescribeAbolishApiTaskResponseBodyApiAbolishResultsApiAbolishResult[];
|
|
12892
|
+
static names(): { [key: string]: string } {
|
|
12893
|
+
return {
|
|
12894
|
+
apiAbolishResult: 'ApiAbolishResult',
|
|
12895
|
+
};
|
|
12896
|
+
}
|
|
12897
|
+
|
|
12898
|
+
static types(): { [key: string]: any } {
|
|
12899
|
+
return {
|
|
12900
|
+
apiAbolishResult: { 'type': 'array', 'itemType': DescribeAbolishApiTaskResponseBodyApiAbolishResultsApiAbolishResult },
|
|
12901
|
+
};
|
|
12902
|
+
}
|
|
12903
|
+
|
|
12904
|
+
constructor(map?: { [key: string]: any }) {
|
|
12905
|
+
super(map);
|
|
12906
|
+
}
|
|
12907
|
+
}
|
|
12908
|
+
|
|
12909
|
+
export class DescribeAccessControlListAttributeResponseBodyAclEntrysAclEntry extends $tea.Model {
|
|
12910
|
+
aclEntryComment?: string;
|
|
12911
|
+
aclEntryIp?: string;
|
|
12912
|
+
static names(): { [key: string]: string } {
|
|
12913
|
+
return {
|
|
12914
|
+
aclEntryComment: 'AclEntryComment',
|
|
12915
|
+
aclEntryIp: 'AclEntryIp',
|
|
12916
|
+
};
|
|
12917
|
+
}
|
|
12918
|
+
|
|
12919
|
+
static types(): { [key: string]: any } {
|
|
12920
|
+
return {
|
|
12921
|
+
aclEntryComment: 'string',
|
|
12922
|
+
aclEntryIp: 'string',
|
|
12923
|
+
};
|
|
12924
|
+
}
|
|
12925
|
+
|
|
12926
|
+
constructor(map?: { [key: string]: any }) {
|
|
12927
|
+
super(map);
|
|
12928
|
+
}
|
|
12929
|
+
}
|
|
12930
|
+
|
|
12931
|
+
export class DescribeAccessControlListAttributeResponseBodyAclEntrys extends $tea.Model {
|
|
12932
|
+
aclEntry?: DescribeAccessControlListAttributeResponseBodyAclEntrysAclEntry[];
|
|
12933
|
+
static names(): { [key: string]: string } {
|
|
12934
|
+
return {
|
|
12935
|
+
aclEntry: 'AclEntry',
|
|
12936
|
+
};
|
|
12937
|
+
}
|
|
12938
|
+
|
|
12939
|
+
static types(): { [key: string]: any } {
|
|
12940
|
+
return {
|
|
12941
|
+
aclEntry: { 'type': 'array', 'itemType': DescribeAccessControlListAttributeResponseBodyAclEntrysAclEntry },
|
|
12942
|
+
};
|
|
12943
|
+
}
|
|
12944
|
+
|
|
12945
|
+
constructor(map?: { [key: string]: any }) {
|
|
12946
|
+
super(map);
|
|
12947
|
+
}
|
|
12948
|
+
}
|
|
12949
|
+
|
|
12950
|
+
export class DescribeAccessControlListsResponseBodyAclsAcl extends $tea.Model {
|
|
12951
|
+
aclId?: string;
|
|
12952
|
+
aclName?: string;
|
|
12953
|
+
static names(): { [key: string]: string } {
|
|
12954
|
+
return {
|
|
12955
|
+
aclId: 'AclId',
|
|
12956
|
+
aclName: 'AclName',
|
|
12296
12957
|
};
|
|
12297
12958
|
}
|
|
12298
12959
|
|
|
12299
12960
|
static types(): { [key: string]: any } {
|
|
12300
12961
|
return {
|
|
12301
|
-
|
|
12302
|
-
|
|
12303
|
-
apiUid: 'string',
|
|
12304
|
-
errorMsg: 'string',
|
|
12305
|
-
groupId: 'string',
|
|
12306
|
-
groupName: 'string',
|
|
12307
|
-
stageId: 'string',
|
|
12308
|
-
stageName: 'string',
|
|
12962
|
+
aclId: 'string',
|
|
12963
|
+
aclName: 'string',
|
|
12309
12964
|
};
|
|
12310
12965
|
}
|
|
12311
12966
|
|
|
@@ -12314,17 +12969,17 @@ export class DescribeAbolishApiTaskResponseBodyApiAbolishResultsApiAbolishResult
|
|
|
12314
12969
|
}
|
|
12315
12970
|
}
|
|
12316
12971
|
|
|
12317
|
-
export class
|
|
12318
|
-
|
|
12972
|
+
export class DescribeAccessControlListsResponseBodyAcls extends $tea.Model {
|
|
12973
|
+
acl?: DescribeAccessControlListsResponseBodyAclsAcl[];
|
|
12319
12974
|
static names(): { [key: string]: string } {
|
|
12320
12975
|
return {
|
|
12321
|
-
|
|
12976
|
+
acl: 'Acl',
|
|
12322
12977
|
};
|
|
12323
12978
|
}
|
|
12324
12979
|
|
|
12325
12980
|
static types(): { [key: string]: any } {
|
|
12326
12981
|
return {
|
|
12327
|
-
|
|
12982
|
+
acl: { 'type': 'array', 'itemType': DescribeAccessControlListsResponseBodyAclsAcl },
|
|
12328
12983
|
};
|
|
12329
12984
|
}
|
|
12330
12985
|
|
|
@@ -16716,6 +17371,10 @@ export class DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpec
|
|
|
16716
17371
|
}
|
|
16717
17372
|
|
|
16718
17373
|
export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $tea.Model {
|
|
17374
|
+
aclId?: string;
|
|
17375
|
+
aclName?: string;
|
|
17376
|
+
aclStatus?: string;
|
|
17377
|
+
aclType?: string;
|
|
16719
17378
|
classicEgressAddress?: string;
|
|
16720
17379
|
createdTime?: string;
|
|
16721
17380
|
egressIpv6Enable?: boolean;
|
|
@@ -16743,6 +17402,10 @@ export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $te
|
|
|
16743
17402
|
zoneLocalName?: string;
|
|
16744
17403
|
static names(): { [key: string]: string } {
|
|
16745
17404
|
return {
|
|
17405
|
+
aclId: 'AclId',
|
|
17406
|
+
aclName: 'AclName',
|
|
17407
|
+
aclStatus: 'AclStatus',
|
|
17408
|
+
aclType: 'AclType',
|
|
16746
17409
|
classicEgressAddress: 'ClassicEgressAddress',
|
|
16747
17410
|
createdTime: 'CreatedTime',
|
|
16748
17411
|
egressIpv6Enable: 'EgressIpv6Enable',
|
|
@@ -16773,6 +17436,10 @@ export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $te
|
|
|
16773
17436
|
|
|
16774
17437
|
static types(): { [key: string]: any } {
|
|
16775
17438
|
return {
|
|
17439
|
+
aclId: 'string',
|
|
17440
|
+
aclName: 'string',
|
|
17441
|
+
aclStatus: 'string',
|
|
17442
|
+
aclType: 'string',
|
|
16776
17443
|
classicEgressAddress: 'string',
|
|
16777
17444
|
createdTime: 'string',
|
|
16778
17445
|
egressIpv6Enable: 'boolean',
|
|
@@ -18756,6 +19423,43 @@ export default class Client extends OpenApi {
|
|
|
18756
19423
|
return await this.abolishApiWithOptions(request, runtime);
|
|
18757
19424
|
}
|
|
18758
19425
|
|
|
19426
|
+
async addAccessControlListEntryWithOptions(request: AddAccessControlListEntryRequest, runtime: $Util.RuntimeOptions): Promise<AddAccessControlListEntryResponse> {
|
|
19427
|
+
Util.validateModel(request);
|
|
19428
|
+
let query = { };
|
|
19429
|
+
if (!Util.isUnset(request.aclEntrys)) {
|
|
19430
|
+
query["AclEntrys"] = request.aclEntrys;
|
|
19431
|
+
}
|
|
19432
|
+
|
|
19433
|
+
if (!Util.isUnset(request.aclId)) {
|
|
19434
|
+
query["AclId"] = request.aclId;
|
|
19435
|
+
}
|
|
19436
|
+
|
|
19437
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
19438
|
+
query["SecurityToken"] = request.securityToken;
|
|
19439
|
+
}
|
|
19440
|
+
|
|
19441
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
19442
|
+
query: OpenApiUtil.query(query),
|
|
19443
|
+
});
|
|
19444
|
+
let params = new $OpenApi.Params({
|
|
19445
|
+
action: "AddAccessControlListEntry",
|
|
19446
|
+
version: "2016-07-14",
|
|
19447
|
+
protocol: "HTTPS",
|
|
19448
|
+
pathname: "/",
|
|
19449
|
+
method: "POST",
|
|
19450
|
+
authType: "AK",
|
|
19451
|
+
style: "RPC",
|
|
19452
|
+
reqBodyType: "formData",
|
|
19453
|
+
bodyType: "json",
|
|
19454
|
+
});
|
|
19455
|
+
return $tea.cast<AddAccessControlListEntryResponse>(await this.callApi(params, req, runtime), new AddAccessControlListEntryResponse({}));
|
|
19456
|
+
}
|
|
19457
|
+
|
|
19458
|
+
async addAccessControlListEntry(request: AddAccessControlListEntryRequest): Promise<AddAccessControlListEntryResponse> {
|
|
19459
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
19460
|
+
return await this.addAccessControlListEntryWithOptions(request, runtime);
|
|
19461
|
+
}
|
|
19462
|
+
|
|
18759
19463
|
async addIpControlPolicyItemWithOptions(request: AddIpControlPolicyItemRequest, runtime: $Util.RuntimeOptions): Promise<AddIpControlPolicyItemResponse> {
|
|
18760
19464
|
Util.validateModel(request);
|
|
18761
19465
|
let query = { };
|
|
@@ -18965,6 +19669,39 @@ export default class Client extends OpenApi {
|
|
|
18965
19669
|
return await this.batchDeployApisWithOptions(request, runtime);
|
|
18966
19670
|
}
|
|
18967
19671
|
|
|
19672
|
+
async createAccessControlListWithOptions(request: CreateAccessControlListRequest, runtime: $Util.RuntimeOptions): Promise<CreateAccessControlListResponse> {
|
|
19673
|
+
Util.validateModel(request);
|
|
19674
|
+
let query = { };
|
|
19675
|
+
if (!Util.isUnset(request.aclName)) {
|
|
19676
|
+
query["AclName"] = request.aclName;
|
|
19677
|
+
}
|
|
19678
|
+
|
|
19679
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
19680
|
+
query["SecurityToken"] = request.securityToken;
|
|
19681
|
+
}
|
|
19682
|
+
|
|
19683
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
19684
|
+
query: OpenApiUtil.query(query),
|
|
19685
|
+
});
|
|
19686
|
+
let params = new $OpenApi.Params({
|
|
19687
|
+
action: "CreateAccessControlList",
|
|
19688
|
+
version: "2016-07-14",
|
|
19689
|
+
protocol: "HTTPS",
|
|
19690
|
+
pathname: "/",
|
|
19691
|
+
method: "POST",
|
|
19692
|
+
authType: "AK",
|
|
19693
|
+
style: "RPC",
|
|
19694
|
+
reqBodyType: "formData",
|
|
19695
|
+
bodyType: "json",
|
|
19696
|
+
});
|
|
19697
|
+
return $tea.cast<CreateAccessControlListResponse>(await this.callApi(params, req, runtime), new CreateAccessControlListResponse({}));
|
|
19698
|
+
}
|
|
19699
|
+
|
|
19700
|
+
async createAccessControlList(request: CreateAccessControlListRequest): Promise<CreateAccessControlListResponse> {
|
|
19701
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
19702
|
+
return await this.createAccessControlListWithOptions(request, runtime);
|
|
19703
|
+
}
|
|
19704
|
+
|
|
18968
19705
|
async createApiWithOptions(request: CreateApiRequest, runtime: $Util.RuntimeOptions): Promise<CreateApiResponse> {
|
|
18969
19706
|
Util.validateModel(request);
|
|
18970
19707
|
let query = { };
|
|
@@ -19744,6 +20481,39 @@ export default class Client extends OpenApi {
|
|
|
19744
20481
|
return await this.createTrafficControlWithOptions(request, runtime);
|
|
19745
20482
|
}
|
|
19746
20483
|
|
|
20484
|
+
async deleteAccessControlListWithOptions(request: DeleteAccessControlListRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAccessControlListResponse> {
|
|
20485
|
+
Util.validateModel(request);
|
|
20486
|
+
let query = { };
|
|
20487
|
+
if (!Util.isUnset(request.aclId)) {
|
|
20488
|
+
query["AclId"] = request.aclId;
|
|
20489
|
+
}
|
|
20490
|
+
|
|
20491
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
20492
|
+
query["SecurityToken"] = request.securityToken;
|
|
20493
|
+
}
|
|
20494
|
+
|
|
20495
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20496
|
+
query: OpenApiUtil.query(query),
|
|
20497
|
+
});
|
|
20498
|
+
let params = new $OpenApi.Params({
|
|
20499
|
+
action: "DeleteAccessControlList",
|
|
20500
|
+
version: "2016-07-14",
|
|
20501
|
+
protocol: "HTTPS",
|
|
20502
|
+
pathname: "/",
|
|
20503
|
+
method: "POST",
|
|
20504
|
+
authType: "AK",
|
|
20505
|
+
style: "RPC",
|
|
20506
|
+
reqBodyType: "formData",
|
|
20507
|
+
bodyType: "json",
|
|
20508
|
+
});
|
|
20509
|
+
return $tea.cast<DeleteAccessControlListResponse>(await this.callApi(params, req, runtime), new DeleteAccessControlListResponse({}));
|
|
20510
|
+
}
|
|
20511
|
+
|
|
20512
|
+
async deleteAccessControlList(request: DeleteAccessControlListRequest): Promise<DeleteAccessControlListResponse> {
|
|
20513
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
20514
|
+
return await this.deleteAccessControlListWithOptions(request, runtime);
|
|
20515
|
+
}
|
|
20516
|
+
|
|
19747
20517
|
async deleteAllTrafficSpecialControlWithOptions(request: DeleteAllTrafficSpecialControlRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAllTrafficSpecialControlResponse> {
|
|
19748
20518
|
Util.validateModel(request);
|
|
19749
20519
|
let query = { };
|
|
@@ -20472,6 +21242,80 @@ export default class Client extends OpenApi {
|
|
|
20472
21242
|
return await this.describeAbolishApiTaskWithOptions(request, runtime);
|
|
20473
21243
|
}
|
|
20474
21244
|
|
|
21245
|
+
async describeAccessControlListAttributeWithOptions(request: DescribeAccessControlListAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAccessControlListAttributeResponse> {
|
|
21246
|
+
Util.validateModel(request);
|
|
21247
|
+
let query = { };
|
|
21248
|
+
if (!Util.isUnset(request.aclId)) {
|
|
21249
|
+
query["AclId"] = request.aclId;
|
|
21250
|
+
}
|
|
21251
|
+
|
|
21252
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
21253
|
+
query["SecurityToken"] = request.securityToken;
|
|
21254
|
+
}
|
|
21255
|
+
|
|
21256
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21257
|
+
query: OpenApiUtil.query(query),
|
|
21258
|
+
});
|
|
21259
|
+
let params = new $OpenApi.Params({
|
|
21260
|
+
action: "DescribeAccessControlListAttribute",
|
|
21261
|
+
version: "2016-07-14",
|
|
21262
|
+
protocol: "HTTPS",
|
|
21263
|
+
pathname: "/",
|
|
21264
|
+
method: "POST",
|
|
21265
|
+
authType: "AK",
|
|
21266
|
+
style: "RPC",
|
|
21267
|
+
reqBodyType: "formData",
|
|
21268
|
+
bodyType: "json",
|
|
21269
|
+
});
|
|
21270
|
+
return $tea.cast<DescribeAccessControlListAttributeResponse>(await this.callApi(params, req, runtime), new DescribeAccessControlListAttributeResponse({}));
|
|
21271
|
+
}
|
|
21272
|
+
|
|
21273
|
+
async describeAccessControlListAttribute(request: DescribeAccessControlListAttributeRequest): Promise<DescribeAccessControlListAttributeResponse> {
|
|
21274
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21275
|
+
return await this.describeAccessControlListAttributeWithOptions(request, runtime);
|
|
21276
|
+
}
|
|
21277
|
+
|
|
21278
|
+
async describeAccessControlListsWithOptions(request: DescribeAccessControlListsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAccessControlListsResponse> {
|
|
21279
|
+
Util.validateModel(request);
|
|
21280
|
+
let query = { };
|
|
21281
|
+
if (!Util.isUnset(request.aclName)) {
|
|
21282
|
+
query["AclName"] = request.aclName;
|
|
21283
|
+
}
|
|
21284
|
+
|
|
21285
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
21286
|
+
query["PageNumber"] = request.pageNumber;
|
|
21287
|
+
}
|
|
21288
|
+
|
|
21289
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
21290
|
+
query["PageSize"] = request.pageSize;
|
|
21291
|
+
}
|
|
21292
|
+
|
|
21293
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
21294
|
+
query["SecurityToken"] = request.securityToken;
|
|
21295
|
+
}
|
|
21296
|
+
|
|
21297
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21298
|
+
query: OpenApiUtil.query(query),
|
|
21299
|
+
});
|
|
21300
|
+
let params = new $OpenApi.Params({
|
|
21301
|
+
action: "DescribeAccessControlLists",
|
|
21302
|
+
version: "2016-07-14",
|
|
21303
|
+
protocol: "HTTPS",
|
|
21304
|
+
pathname: "/",
|
|
21305
|
+
method: "POST",
|
|
21306
|
+
authType: "AK",
|
|
21307
|
+
style: "RPC",
|
|
21308
|
+
reqBodyType: "formData",
|
|
21309
|
+
bodyType: "json",
|
|
21310
|
+
});
|
|
21311
|
+
return $tea.cast<DescribeAccessControlListsResponse>(await this.callApi(params, req, runtime), new DescribeAccessControlListsResponse({}));
|
|
21312
|
+
}
|
|
21313
|
+
|
|
21314
|
+
async describeAccessControlLists(request: DescribeAccessControlListsRequest): Promise<DescribeAccessControlListsResponse> {
|
|
21315
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21316
|
+
return await this.describeAccessControlListsWithOptions(request, runtime);
|
|
21317
|
+
}
|
|
21318
|
+
|
|
20475
21319
|
async describeApiWithOptions(request: DescribeApiRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiResponse> {
|
|
20476
21320
|
Util.validateModel(request);
|
|
20477
21321
|
let query = { };
|
|
@@ -22977,6 +23821,43 @@ export default class Client extends OpenApi {
|
|
|
22977
23821
|
return await this.detachPluginWithOptions(request, runtime);
|
|
22978
23822
|
}
|
|
22979
23823
|
|
|
23824
|
+
async disableInstanceAccessControlWithOptions(request: DisableInstanceAccessControlRequest, runtime: $Util.RuntimeOptions): Promise<DisableInstanceAccessControlResponse> {
|
|
23825
|
+
Util.validateModel(request);
|
|
23826
|
+
let query = { };
|
|
23827
|
+
if (!Util.isUnset(request.aclId)) {
|
|
23828
|
+
query["AclId"] = request.aclId;
|
|
23829
|
+
}
|
|
23830
|
+
|
|
23831
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
23832
|
+
query["InstanceId"] = request.instanceId;
|
|
23833
|
+
}
|
|
23834
|
+
|
|
23835
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
23836
|
+
query["SecurityToken"] = request.securityToken;
|
|
23837
|
+
}
|
|
23838
|
+
|
|
23839
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
23840
|
+
query: OpenApiUtil.query(query),
|
|
23841
|
+
});
|
|
23842
|
+
let params = new $OpenApi.Params({
|
|
23843
|
+
action: "DisableInstanceAccessControl",
|
|
23844
|
+
version: "2016-07-14",
|
|
23845
|
+
protocol: "HTTPS",
|
|
23846
|
+
pathname: "/",
|
|
23847
|
+
method: "POST",
|
|
23848
|
+
authType: "AK",
|
|
23849
|
+
style: "RPC",
|
|
23850
|
+
reqBodyType: "formData",
|
|
23851
|
+
bodyType: "json",
|
|
23852
|
+
});
|
|
23853
|
+
return $tea.cast<DisableInstanceAccessControlResponse>(await this.callApi(params, req, runtime), new DisableInstanceAccessControlResponse({}));
|
|
23854
|
+
}
|
|
23855
|
+
|
|
23856
|
+
async disableInstanceAccessControl(request: DisableInstanceAccessControlRequest): Promise<DisableInstanceAccessControlResponse> {
|
|
23857
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
23858
|
+
return await this.disableInstanceAccessControlWithOptions(request, runtime);
|
|
23859
|
+
}
|
|
23860
|
+
|
|
22980
23861
|
async dryRunSwaggerWithOptions(tmpReq: DryRunSwaggerRequest, runtime: $Util.RuntimeOptions): Promise<DryRunSwaggerResponse> {
|
|
22981
23862
|
Util.validateModel(tmpReq);
|
|
22982
23863
|
let request = new DryRunSwaggerShrinkRequest({ });
|
|
@@ -23034,6 +23915,47 @@ export default class Client extends OpenApi {
|
|
|
23034
23915
|
return await this.dryRunSwaggerWithOptions(request, runtime);
|
|
23035
23916
|
}
|
|
23036
23917
|
|
|
23918
|
+
async enableInstanceAccessControlWithOptions(request: EnableInstanceAccessControlRequest, runtime: $Util.RuntimeOptions): Promise<EnableInstanceAccessControlResponse> {
|
|
23919
|
+
Util.validateModel(request);
|
|
23920
|
+
let query = { };
|
|
23921
|
+
if (!Util.isUnset(request.aclId)) {
|
|
23922
|
+
query["AclId"] = request.aclId;
|
|
23923
|
+
}
|
|
23924
|
+
|
|
23925
|
+
if (!Util.isUnset(request.aclType)) {
|
|
23926
|
+
query["AclType"] = request.aclType;
|
|
23927
|
+
}
|
|
23928
|
+
|
|
23929
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
23930
|
+
query["InstanceId"] = request.instanceId;
|
|
23931
|
+
}
|
|
23932
|
+
|
|
23933
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
23934
|
+
query["SecurityToken"] = request.securityToken;
|
|
23935
|
+
}
|
|
23936
|
+
|
|
23937
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
23938
|
+
query: OpenApiUtil.query(query),
|
|
23939
|
+
});
|
|
23940
|
+
let params = new $OpenApi.Params({
|
|
23941
|
+
action: "EnableInstanceAccessControl",
|
|
23942
|
+
version: "2016-07-14",
|
|
23943
|
+
protocol: "HTTPS",
|
|
23944
|
+
pathname: "/",
|
|
23945
|
+
method: "POST",
|
|
23946
|
+
authType: "AK",
|
|
23947
|
+
style: "RPC",
|
|
23948
|
+
reqBodyType: "formData",
|
|
23949
|
+
bodyType: "json",
|
|
23950
|
+
});
|
|
23951
|
+
return $tea.cast<EnableInstanceAccessControlResponse>(await this.callApi(params, req, runtime), new EnableInstanceAccessControlResponse({}));
|
|
23952
|
+
}
|
|
23953
|
+
|
|
23954
|
+
async enableInstanceAccessControl(request: EnableInstanceAccessControlRequest): Promise<EnableInstanceAccessControlResponse> {
|
|
23955
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
23956
|
+
return await this.enableInstanceAccessControlWithOptions(request, runtime);
|
|
23957
|
+
}
|
|
23958
|
+
|
|
23037
23959
|
async importSwaggerWithOptions(tmpReq: ImportSwaggerRequest, runtime: $Util.RuntimeOptions): Promise<ImportSwaggerResponse> {
|
|
23038
23960
|
Util.validateModel(tmpReq);
|
|
23039
23961
|
let request = new ImportSwaggerShrinkRequest({ });
|
|
@@ -24121,6 +25043,43 @@ export default class Client extends OpenApi {
|
|
|
24121
25043
|
return await this.reactivateDomainWithOptions(request, runtime);
|
|
24122
25044
|
}
|
|
24123
25045
|
|
|
25046
|
+
async removeAccessControlListEntryWithOptions(request: RemoveAccessControlListEntryRequest, runtime: $Util.RuntimeOptions): Promise<RemoveAccessControlListEntryResponse> {
|
|
25047
|
+
Util.validateModel(request);
|
|
25048
|
+
let query = { };
|
|
25049
|
+
if (!Util.isUnset(request.aclEntrys)) {
|
|
25050
|
+
query["AclEntrys"] = request.aclEntrys;
|
|
25051
|
+
}
|
|
25052
|
+
|
|
25053
|
+
if (!Util.isUnset(request.aclId)) {
|
|
25054
|
+
query["AclId"] = request.aclId;
|
|
25055
|
+
}
|
|
25056
|
+
|
|
25057
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
25058
|
+
query["SecurityToken"] = request.securityToken;
|
|
25059
|
+
}
|
|
25060
|
+
|
|
25061
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
25062
|
+
query: OpenApiUtil.query(query),
|
|
25063
|
+
});
|
|
25064
|
+
let params = new $OpenApi.Params({
|
|
25065
|
+
action: "RemoveAccessControlListEntry",
|
|
25066
|
+
version: "2016-07-14",
|
|
25067
|
+
protocol: "HTTPS",
|
|
25068
|
+
pathname: "/",
|
|
25069
|
+
method: "POST",
|
|
25070
|
+
authType: "AK",
|
|
25071
|
+
style: "RPC",
|
|
25072
|
+
reqBodyType: "formData",
|
|
25073
|
+
bodyType: "json",
|
|
25074
|
+
});
|
|
25075
|
+
return $tea.cast<RemoveAccessControlListEntryResponse>(await this.callApi(params, req, runtime), new RemoveAccessControlListEntryResponse({}));
|
|
25076
|
+
}
|
|
25077
|
+
|
|
25078
|
+
async removeAccessControlListEntry(request: RemoveAccessControlListEntryRequest): Promise<RemoveAccessControlListEntryResponse> {
|
|
25079
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
25080
|
+
return await this.removeAccessControlListEntryWithOptions(request, runtime);
|
|
25081
|
+
}
|
|
25082
|
+
|
|
24124
25083
|
async removeApisAuthoritiesWithOptions(request: RemoveApisAuthoritiesRequest, runtime: $Util.RuntimeOptions): Promise<RemoveApisAuthoritiesResponse> {
|
|
24125
25084
|
Util.validateModel(request);
|
|
24126
25085
|
let query = { };
|