@alicloud/cloudapi20160714 2.1.7 → 2.2.3
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 +465 -0
- package/dist/client.js +947 -31
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1160 -43
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;
|
|
@@ -780,14 +915,20 @@ export class CreateApiStageVariableResponse extends $tea.Model {
|
|
|
780
915
|
}
|
|
781
916
|
|
|
782
917
|
export class CreateAppRequest extends $tea.Model {
|
|
918
|
+
appCode?: string;
|
|
919
|
+
appKey?: string;
|
|
783
920
|
appName?: string;
|
|
921
|
+
appSecret?: string;
|
|
784
922
|
description?: string;
|
|
785
923
|
securityToken?: string;
|
|
786
924
|
source?: string;
|
|
787
925
|
tag?: CreateAppRequestTag[];
|
|
788
926
|
static names(): { [key: string]: string } {
|
|
789
927
|
return {
|
|
928
|
+
appCode: 'AppCode',
|
|
929
|
+
appKey: 'AppKey',
|
|
790
930
|
appName: 'AppName',
|
|
931
|
+
appSecret: 'AppSecret',
|
|
791
932
|
description: 'Description',
|
|
792
933
|
securityToken: 'SecurityToken',
|
|
793
934
|
source: 'Source',
|
|
@@ -797,7 +938,10 @@ export class CreateAppRequest extends $tea.Model {
|
|
|
797
938
|
|
|
798
939
|
static types(): { [key: string]: any } {
|
|
799
940
|
return {
|
|
941
|
+
appCode: 'string',
|
|
942
|
+
appKey: 'string',
|
|
800
943
|
appName: 'string',
|
|
944
|
+
appSecret: 'string',
|
|
801
945
|
description: 'string',
|
|
802
946
|
securityToken: 'string',
|
|
803
947
|
source: 'string',
|
|
@@ -1748,6 +1892,72 @@ export class CreateTrafficControlResponse extends $tea.Model {
|
|
|
1748
1892
|
}
|
|
1749
1893
|
}
|
|
1750
1894
|
|
|
1895
|
+
export class DeleteAccessControlListRequest extends $tea.Model {
|
|
1896
|
+
aclId?: string;
|
|
1897
|
+
securityToken?: string;
|
|
1898
|
+
static names(): { [key: string]: string } {
|
|
1899
|
+
return {
|
|
1900
|
+
aclId: 'AclId',
|
|
1901
|
+
securityToken: 'SecurityToken',
|
|
1902
|
+
};
|
|
1903
|
+
}
|
|
1904
|
+
|
|
1905
|
+
static types(): { [key: string]: any } {
|
|
1906
|
+
return {
|
|
1907
|
+
aclId: 'string',
|
|
1908
|
+
securityToken: 'string',
|
|
1909
|
+
};
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
constructor(map?: { [key: string]: any }) {
|
|
1913
|
+
super(map);
|
|
1914
|
+
}
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
export class DeleteAccessControlListResponseBody extends $tea.Model {
|
|
1918
|
+
requestId?: string;
|
|
1919
|
+
static names(): { [key: string]: string } {
|
|
1920
|
+
return {
|
|
1921
|
+
requestId: 'RequestId',
|
|
1922
|
+
};
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
static types(): { [key: string]: any } {
|
|
1926
|
+
return {
|
|
1927
|
+
requestId: 'string',
|
|
1928
|
+
};
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
constructor(map?: { [key: string]: any }) {
|
|
1932
|
+
super(map);
|
|
1933
|
+
}
|
|
1934
|
+
}
|
|
1935
|
+
|
|
1936
|
+
export class DeleteAccessControlListResponse extends $tea.Model {
|
|
1937
|
+
headers: { [key: string]: string };
|
|
1938
|
+
statusCode: number;
|
|
1939
|
+
body: DeleteAccessControlListResponseBody;
|
|
1940
|
+
static names(): { [key: string]: string } {
|
|
1941
|
+
return {
|
|
1942
|
+
headers: 'headers',
|
|
1943
|
+
statusCode: 'statusCode',
|
|
1944
|
+
body: 'body',
|
|
1945
|
+
};
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
static types(): { [key: string]: any } {
|
|
1949
|
+
return {
|
|
1950
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1951
|
+
statusCode: 'number',
|
|
1952
|
+
body: DeleteAccessControlListResponseBody,
|
|
1953
|
+
};
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
constructor(map?: { [key: string]: any }) {
|
|
1957
|
+
super(map);
|
|
1958
|
+
}
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1751
1961
|
export class DeleteAllTrafficSpecialControlRequest extends $tea.Model {
|
|
1752
1962
|
securityToken?: string;
|
|
1753
1963
|
trafficControlId?: string;
|
|
@@ -3125,6 +3335,168 @@ export class DescribeAbolishApiTaskResponse extends $tea.Model {
|
|
|
3125
3335
|
}
|
|
3126
3336
|
}
|
|
3127
3337
|
|
|
3338
|
+
export class DescribeAccessControlListAttributeRequest extends $tea.Model {
|
|
3339
|
+
aclId?: string;
|
|
3340
|
+
securityToken?: string;
|
|
3341
|
+
static names(): { [key: string]: string } {
|
|
3342
|
+
return {
|
|
3343
|
+
aclId: 'AclId',
|
|
3344
|
+
securityToken: 'SecurityToken',
|
|
3345
|
+
};
|
|
3346
|
+
}
|
|
3347
|
+
|
|
3348
|
+
static types(): { [key: string]: any } {
|
|
3349
|
+
return {
|
|
3350
|
+
aclId: 'string',
|
|
3351
|
+
securityToken: 'string',
|
|
3352
|
+
};
|
|
3353
|
+
}
|
|
3354
|
+
|
|
3355
|
+
constructor(map?: { [key: string]: any }) {
|
|
3356
|
+
super(map);
|
|
3357
|
+
}
|
|
3358
|
+
}
|
|
3359
|
+
|
|
3360
|
+
export class DescribeAccessControlListAttributeResponseBody extends $tea.Model {
|
|
3361
|
+
aclEntrys?: DescribeAccessControlListAttributeResponseBodyAclEntrys;
|
|
3362
|
+
aclId?: string;
|
|
3363
|
+
aclName?: string;
|
|
3364
|
+
isUsed?: string;
|
|
3365
|
+
requestId?: string;
|
|
3366
|
+
static names(): { [key: string]: string } {
|
|
3367
|
+
return {
|
|
3368
|
+
aclEntrys: 'AclEntrys',
|
|
3369
|
+
aclId: 'AclId',
|
|
3370
|
+
aclName: 'AclName',
|
|
3371
|
+
isUsed: 'IsUsed',
|
|
3372
|
+
requestId: 'RequestId',
|
|
3373
|
+
};
|
|
3374
|
+
}
|
|
3375
|
+
|
|
3376
|
+
static types(): { [key: string]: any } {
|
|
3377
|
+
return {
|
|
3378
|
+
aclEntrys: DescribeAccessControlListAttributeResponseBodyAclEntrys,
|
|
3379
|
+
aclId: 'string',
|
|
3380
|
+
aclName: 'string',
|
|
3381
|
+
isUsed: 'string',
|
|
3382
|
+
requestId: 'string',
|
|
3383
|
+
};
|
|
3384
|
+
}
|
|
3385
|
+
|
|
3386
|
+
constructor(map?: { [key: string]: any }) {
|
|
3387
|
+
super(map);
|
|
3388
|
+
}
|
|
3389
|
+
}
|
|
3390
|
+
|
|
3391
|
+
export class DescribeAccessControlListAttributeResponse extends $tea.Model {
|
|
3392
|
+
headers: { [key: string]: string };
|
|
3393
|
+
statusCode: number;
|
|
3394
|
+
body: DescribeAccessControlListAttributeResponseBody;
|
|
3395
|
+
static names(): { [key: string]: string } {
|
|
3396
|
+
return {
|
|
3397
|
+
headers: 'headers',
|
|
3398
|
+
statusCode: 'statusCode',
|
|
3399
|
+
body: 'body',
|
|
3400
|
+
};
|
|
3401
|
+
}
|
|
3402
|
+
|
|
3403
|
+
static types(): { [key: string]: any } {
|
|
3404
|
+
return {
|
|
3405
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3406
|
+
statusCode: 'number',
|
|
3407
|
+
body: DescribeAccessControlListAttributeResponseBody,
|
|
3408
|
+
};
|
|
3409
|
+
}
|
|
3410
|
+
|
|
3411
|
+
constructor(map?: { [key: string]: any }) {
|
|
3412
|
+
super(map);
|
|
3413
|
+
}
|
|
3414
|
+
}
|
|
3415
|
+
|
|
3416
|
+
export class DescribeAccessControlListsRequest extends $tea.Model {
|
|
3417
|
+
aclName?: string;
|
|
3418
|
+
pageNumber?: number;
|
|
3419
|
+
pageSize?: number;
|
|
3420
|
+
securityToken?: string;
|
|
3421
|
+
static names(): { [key: string]: string } {
|
|
3422
|
+
return {
|
|
3423
|
+
aclName: 'AclName',
|
|
3424
|
+
pageNumber: 'PageNumber',
|
|
3425
|
+
pageSize: 'PageSize',
|
|
3426
|
+
securityToken: 'SecurityToken',
|
|
3427
|
+
};
|
|
3428
|
+
}
|
|
3429
|
+
|
|
3430
|
+
static types(): { [key: string]: any } {
|
|
3431
|
+
return {
|
|
3432
|
+
aclName: 'string',
|
|
3433
|
+
pageNumber: 'number',
|
|
3434
|
+
pageSize: 'number',
|
|
3435
|
+
securityToken: 'string',
|
|
3436
|
+
};
|
|
3437
|
+
}
|
|
3438
|
+
|
|
3439
|
+
constructor(map?: { [key: string]: any }) {
|
|
3440
|
+
super(map);
|
|
3441
|
+
}
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
export class DescribeAccessControlListsResponseBody extends $tea.Model {
|
|
3445
|
+
acls?: DescribeAccessControlListsResponseBodyAcls;
|
|
3446
|
+
pageNumber?: number;
|
|
3447
|
+
pageSize?: number;
|
|
3448
|
+
requestId?: string;
|
|
3449
|
+
totalCount?: number;
|
|
3450
|
+
static names(): { [key: string]: string } {
|
|
3451
|
+
return {
|
|
3452
|
+
acls: 'Acls',
|
|
3453
|
+
pageNumber: 'PageNumber',
|
|
3454
|
+
pageSize: 'PageSize',
|
|
3455
|
+
requestId: 'RequestId',
|
|
3456
|
+
totalCount: 'TotalCount',
|
|
3457
|
+
};
|
|
3458
|
+
}
|
|
3459
|
+
|
|
3460
|
+
static types(): { [key: string]: any } {
|
|
3461
|
+
return {
|
|
3462
|
+
acls: DescribeAccessControlListsResponseBodyAcls,
|
|
3463
|
+
pageNumber: 'number',
|
|
3464
|
+
pageSize: 'number',
|
|
3465
|
+
requestId: 'string',
|
|
3466
|
+
totalCount: 'number',
|
|
3467
|
+
};
|
|
3468
|
+
}
|
|
3469
|
+
|
|
3470
|
+
constructor(map?: { [key: string]: any }) {
|
|
3471
|
+
super(map);
|
|
3472
|
+
}
|
|
3473
|
+
}
|
|
3474
|
+
|
|
3475
|
+
export class DescribeAccessControlListsResponse extends $tea.Model {
|
|
3476
|
+
headers: { [key: string]: string };
|
|
3477
|
+
statusCode: number;
|
|
3478
|
+
body: DescribeAccessControlListsResponseBody;
|
|
3479
|
+
static names(): { [key: string]: string } {
|
|
3480
|
+
return {
|
|
3481
|
+
headers: 'headers',
|
|
3482
|
+
statusCode: 'statusCode',
|
|
3483
|
+
body: 'body',
|
|
3484
|
+
};
|
|
3485
|
+
}
|
|
3486
|
+
|
|
3487
|
+
static types(): { [key: string]: any } {
|
|
3488
|
+
return {
|
|
3489
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3490
|
+
statusCode: 'number',
|
|
3491
|
+
body: DescribeAccessControlListsResponseBody,
|
|
3492
|
+
};
|
|
3493
|
+
}
|
|
3494
|
+
|
|
3495
|
+
constructor(map?: { [key: string]: any }) {
|
|
3496
|
+
super(map);
|
|
3497
|
+
}
|
|
3498
|
+
}
|
|
3499
|
+
|
|
3128
3500
|
export class DescribeApiRequest extends $tea.Model {
|
|
3129
3501
|
apiId?: string;
|
|
3130
3502
|
groupId?: string;
|
|
@@ -8294,6 +8666,75 @@ export class DetachPluginResponse extends $tea.Model {
|
|
|
8294
8666
|
}
|
|
8295
8667
|
}
|
|
8296
8668
|
|
|
8669
|
+
export class DisableInstanceAccessControlRequest extends $tea.Model {
|
|
8670
|
+
aclId?: string;
|
|
8671
|
+
instanceId?: string;
|
|
8672
|
+
securityToken?: string;
|
|
8673
|
+
static names(): { [key: string]: string } {
|
|
8674
|
+
return {
|
|
8675
|
+
aclId: 'AclId',
|
|
8676
|
+
instanceId: 'InstanceId',
|
|
8677
|
+
securityToken: 'SecurityToken',
|
|
8678
|
+
};
|
|
8679
|
+
}
|
|
8680
|
+
|
|
8681
|
+
static types(): { [key: string]: any } {
|
|
8682
|
+
return {
|
|
8683
|
+
aclId: 'string',
|
|
8684
|
+
instanceId: 'string',
|
|
8685
|
+
securityToken: 'string',
|
|
8686
|
+
};
|
|
8687
|
+
}
|
|
8688
|
+
|
|
8689
|
+
constructor(map?: { [key: string]: any }) {
|
|
8690
|
+
super(map);
|
|
8691
|
+
}
|
|
8692
|
+
}
|
|
8693
|
+
|
|
8694
|
+
export class DisableInstanceAccessControlResponseBody extends $tea.Model {
|
|
8695
|
+
requestId?: string;
|
|
8696
|
+
static names(): { [key: string]: string } {
|
|
8697
|
+
return {
|
|
8698
|
+
requestId: 'RequestId',
|
|
8699
|
+
};
|
|
8700
|
+
}
|
|
8701
|
+
|
|
8702
|
+
static types(): { [key: string]: any } {
|
|
8703
|
+
return {
|
|
8704
|
+
requestId: 'string',
|
|
8705
|
+
};
|
|
8706
|
+
}
|
|
8707
|
+
|
|
8708
|
+
constructor(map?: { [key: string]: any }) {
|
|
8709
|
+
super(map);
|
|
8710
|
+
}
|
|
8711
|
+
}
|
|
8712
|
+
|
|
8713
|
+
export class DisableInstanceAccessControlResponse extends $tea.Model {
|
|
8714
|
+
headers: { [key: string]: string };
|
|
8715
|
+
statusCode: number;
|
|
8716
|
+
body: DisableInstanceAccessControlResponseBody;
|
|
8717
|
+
static names(): { [key: string]: string } {
|
|
8718
|
+
return {
|
|
8719
|
+
headers: 'headers',
|
|
8720
|
+
statusCode: 'statusCode',
|
|
8721
|
+
body: 'body',
|
|
8722
|
+
};
|
|
8723
|
+
}
|
|
8724
|
+
|
|
8725
|
+
static types(): { [key: string]: any } {
|
|
8726
|
+
return {
|
|
8727
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8728
|
+
statusCode: 'number',
|
|
8729
|
+
body: DisableInstanceAccessControlResponseBody,
|
|
8730
|
+
};
|
|
8731
|
+
}
|
|
8732
|
+
|
|
8733
|
+
constructor(map?: { [key: string]: any }) {
|
|
8734
|
+
super(map);
|
|
8735
|
+
}
|
|
8736
|
+
}
|
|
8737
|
+
|
|
8297
8738
|
export class DryRunSwaggerRequest extends $tea.Model {
|
|
8298
8739
|
data?: string;
|
|
8299
8740
|
dataFormat?: string;
|
|
@@ -8328,31 +8769,118 @@ export class DryRunSwaggerRequest extends $tea.Model {
|
|
|
8328
8769
|
}
|
|
8329
8770
|
}
|
|
8330
8771
|
|
|
8331
|
-
export class DryRunSwaggerShrinkRequest extends $tea.Model {
|
|
8332
|
-
data?: string;
|
|
8333
|
-
dataFormat?: string;
|
|
8334
|
-
globalConditionShrink?: string;
|
|
8335
|
-
groupId?: string;
|
|
8336
|
-
overwrite?: boolean;
|
|
8772
|
+
export class DryRunSwaggerShrinkRequest extends $tea.Model {
|
|
8773
|
+
data?: string;
|
|
8774
|
+
dataFormat?: string;
|
|
8775
|
+
globalConditionShrink?: string;
|
|
8776
|
+
groupId?: string;
|
|
8777
|
+
overwrite?: boolean;
|
|
8778
|
+
securityToken?: string;
|
|
8779
|
+
static names(): { [key: string]: string } {
|
|
8780
|
+
return {
|
|
8781
|
+
data: 'Data',
|
|
8782
|
+
dataFormat: 'DataFormat',
|
|
8783
|
+
globalConditionShrink: 'GlobalCondition',
|
|
8784
|
+
groupId: 'GroupId',
|
|
8785
|
+
overwrite: 'Overwrite',
|
|
8786
|
+
securityToken: 'SecurityToken',
|
|
8787
|
+
};
|
|
8788
|
+
}
|
|
8789
|
+
|
|
8790
|
+
static types(): { [key: string]: any } {
|
|
8791
|
+
return {
|
|
8792
|
+
data: 'string',
|
|
8793
|
+
dataFormat: 'string',
|
|
8794
|
+
globalConditionShrink: 'string',
|
|
8795
|
+
groupId: 'string',
|
|
8796
|
+
overwrite: 'boolean',
|
|
8797
|
+
securityToken: 'string',
|
|
8798
|
+
};
|
|
8799
|
+
}
|
|
8800
|
+
|
|
8801
|
+
constructor(map?: { [key: string]: any }) {
|
|
8802
|
+
super(map);
|
|
8803
|
+
}
|
|
8804
|
+
}
|
|
8805
|
+
|
|
8806
|
+
export class DryRunSwaggerResponseBody extends $tea.Model {
|
|
8807
|
+
failed?: DryRunSwaggerResponseBodyFailed;
|
|
8808
|
+
globalCondition?: string;
|
|
8809
|
+
modelFailed?: DryRunSwaggerResponseBodyModelFailed;
|
|
8810
|
+
modelSuccess?: DryRunSwaggerResponseBodyModelSuccess;
|
|
8811
|
+
requestId?: string;
|
|
8812
|
+
success?: DryRunSwaggerResponseBodySuccess;
|
|
8813
|
+
static names(): { [key: string]: string } {
|
|
8814
|
+
return {
|
|
8815
|
+
failed: 'Failed',
|
|
8816
|
+
globalCondition: 'GlobalCondition',
|
|
8817
|
+
modelFailed: 'ModelFailed',
|
|
8818
|
+
modelSuccess: 'ModelSuccess',
|
|
8819
|
+
requestId: 'RequestId',
|
|
8820
|
+
success: 'Success',
|
|
8821
|
+
};
|
|
8822
|
+
}
|
|
8823
|
+
|
|
8824
|
+
static types(): { [key: string]: any } {
|
|
8825
|
+
return {
|
|
8826
|
+
failed: DryRunSwaggerResponseBodyFailed,
|
|
8827
|
+
globalCondition: 'string',
|
|
8828
|
+
modelFailed: DryRunSwaggerResponseBodyModelFailed,
|
|
8829
|
+
modelSuccess: DryRunSwaggerResponseBodyModelSuccess,
|
|
8830
|
+
requestId: 'string',
|
|
8831
|
+
success: DryRunSwaggerResponseBodySuccess,
|
|
8832
|
+
};
|
|
8833
|
+
}
|
|
8834
|
+
|
|
8835
|
+
constructor(map?: { [key: string]: any }) {
|
|
8836
|
+
super(map);
|
|
8837
|
+
}
|
|
8838
|
+
}
|
|
8839
|
+
|
|
8840
|
+
export class DryRunSwaggerResponse extends $tea.Model {
|
|
8841
|
+
headers: { [key: string]: string };
|
|
8842
|
+
statusCode: number;
|
|
8843
|
+
body: DryRunSwaggerResponseBody;
|
|
8844
|
+
static names(): { [key: string]: string } {
|
|
8845
|
+
return {
|
|
8846
|
+
headers: 'headers',
|
|
8847
|
+
statusCode: 'statusCode',
|
|
8848
|
+
body: 'body',
|
|
8849
|
+
};
|
|
8850
|
+
}
|
|
8851
|
+
|
|
8852
|
+
static types(): { [key: string]: any } {
|
|
8853
|
+
return {
|
|
8854
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8855
|
+
statusCode: 'number',
|
|
8856
|
+
body: DryRunSwaggerResponseBody,
|
|
8857
|
+
};
|
|
8858
|
+
}
|
|
8859
|
+
|
|
8860
|
+
constructor(map?: { [key: string]: any }) {
|
|
8861
|
+
super(map);
|
|
8862
|
+
}
|
|
8863
|
+
}
|
|
8864
|
+
|
|
8865
|
+
export class EnableInstanceAccessControlRequest extends $tea.Model {
|
|
8866
|
+
aclId?: string;
|
|
8867
|
+
aclType?: string;
|
|
8868
|
+
instanceId?: string;
|
|
8337
8869
|
securityToken?: string;
|
|
8338
8870
|
static names(): { [key: string]: string } {
|
|
8339
8871
|
return {
|
|
8340
|
-
|
|
8341
|
-
|
|
8342
|
-
|
|
8343
|
-
groupId: 'GroupId',
|
|
8344
|
-
overwrite: 'Overwrite',
|
|
8872
|
+
aclId: 'AclId',
|
|
8873
|
+
aclType: 'AclType',
|
|
8874
|
+
instanceId: 'InstanceId',
|
|
8345
8875
|
securityToken: 'SecurityToken',
|
|
8346
8876
|
};
|
|
8347
8877
|
}
|
|
8348
8878
|
|
|
8349
8879
|
static types(): { [key: string]: any } {
|
|
8350
8880
|
return {
|
|
8351
|
-
|
|
8352
|
-
|
|
8353
|
-
|
|
8354
|
-
groupId: 'string',
|
|
8355
|
-
overwrite: 'boolean',
|
|
8881
|
+
aclId: 'string',
|
|
8882
|
+
aclType: 'string',
|
|
8883
|
+
instanceId: 'string',
|
|
8356
8884
|
securityToken: 'string',
|
|
8357
8885
|
};
|
|
8358
8886
|
}
|
|
@@ -8362,32 +8890,17 @@ export class DryRunSwaggerShrinkRequest extends $tea.Model {
|
|
|
8362
8890
|
}
|
|
8363
8891
|
}
|
|
8364
8892
|
|
|
8365
|
-
export class
|
|
8366
|
-
failed?: DryRunSwaggerResponseBodyFailed;
|
|
8367
|
-
globalCondition?: string;
|
|
8368
|
-
modelFailed?: DryRunSwaggerResponseBodyModelFailed;
|
|
8369
|
-
modelSuccess?: DryRunSwaggerResponseBodyModelSuccess;
|
|
8893
|
+
export class EnableInstanceAccessControlResponseBody extends $tea.Model {
|
|
8370
8894
|
requestId?: string;
|
|
8371
|
-
success?: DryRunSwaggerResponseBodySuccess;
|
|
8372
8895
|
static names(): { [key: string]: string } {
|
|
8373
8896
|
return {
|
|
8374
|
-
failed: 'Failed',
|
|
8375
|
-
globalCondition: 'GlobalCondition',
|
|
8376
|
-
modelFailed: 'ModelFailed',
|
|
8377
|
-
modelSuccess: 'ModelSuccess',
|
|
8378
8897
|
requestId: 'RequestId',
|
|
8379
|
-
success: 'Success',
|
|
8380
8898
|
};
|
|
8381
8899
|
}
|
|
8382
8900
|
|
|
8383
8901
|
static types(): { [key: string]: any } {
|
|
8384
8902
|
return {
|
|
8385
|
-
failed: DryRunSwaggerResponseBodyFailed,
|
|
8386
|
-
globalCondition: 'string',
|
|
8387
|
-
modelFailed: DryRunSwaggerResponseBodyModelFailed,
|
|
8388
|
-
modelSuccess: DryRunSwaggerResponseBodyModelSuccess,
|
|
8389
8903
|
requestId: 'string',
|
|
8390
|
-
success: DryRunSwaggerResponseBodySuccess,
|
|
8391
8904
|
};
|
|
8392
8905
|
}
|
|
8393
8906
|
|
|
@@ -8396,10 +8909,10 @@ export class DryRunSwaggerResponseBody extends $tea.Model {
|
|
|
8396
8909
|
}
|
|
8397
8910
|
}
|
|
8398
8911
|
|
|
8399
|
-
export class
|
|
8912
|
+
export class EnableInstanceAccessControlResponse extends $tea.Model {
|
|
8400
8913
|
headers: { [key: string]: string };
|
|
8401
8914
|
statusCode: number;
|
|
8402
|
-
body:
|
|
8915
|
+
body: EnableInstanceAccessControlResponseBody;
|
|
8403
8916
|
static names(): { [key: string]: string } {
|
|
8404
8917
|
return {
|
|
8405
8918
|
headers: 'headers',
|
|
@@ -8412,7 +8925,7 @@ export class DryRunSwaggerResponse extends $tea.Model {
|
|
|
8412
8925
|
return {
|
|
8413
8926
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8414
8927
|
statusCode: 'number',
|
|
8415
|
-
body:
|
|
8928
|
+
body: EnableInstanceAccessControlResponseBody,
|
|
8416
8929
|
};
|
|
8417
8930
|
}
|
|
8418
8931
|
|
|
@@ -9362,12 +9875,14 @@ export class ModifyInstanceSpecRequest extends $tea.Model {
|
|
|
9362
9875
|
autoPay?: boolean;
|
|
9363
9876
|
instanceId?: string;
|
|
9364
9877
|
instanceSpec?: string;
|
|
9878
|
+
modifyAction?: string;
|
|
9365
9879
|
token?: string;
|
|
9366
9880
|
static names(): { [key: string]: string } {
|
|
9367
9881
|
return {
|
|
9368
9882
|
autoPay: 'AutoPay',
|
|
9369
9883
|
instanceId: 'InstanceId',
|
|
9370
9884
|
instanceSpec: 'InstanceSpec',
|
|
9885
|
+
modifyAction: 'ModifyAction',
|
|
9371
9886
|
token: 'Token',
|
|
9372
9887
|
};
|
|
9373
9888
|
}
|
|
@@ -9377,6 +9892,7 @@ export class ModifyInstanceSpecRequest extends $tea.Model {
|
|
|
9377
9892
|
autoPay: 'boolean',
|
|
9378
9893
|
instanceId: 'string',
|
|
9379
9894
|
instanceSpec: 'string',
|
|
9895
|
+
modifyAction: 'string',
|
|
9380
9896
|
token: 'string',
|
|
9381
9897
|
};
|
|
9382
9898
|
}
|
|
@@ -10083,6 +10599,75 @@ export class ReactivateDomainResponse extends $tea.Model {
|
|
|
10083
10599
|
}
|
|
10084
10600
|
}
|
|
10085
10601
|
|
|
10602
|
+
export class RemoveAccessControlListEntryRequest extends $tea.Model {
|
|
10603
|
+
aclEntrys?: string;
|
|
10604
|
+
aclId?: string;
|
|
10605
|
+
securityToken?: string;
|
|
10606
|
+
static names(): { [key: string]: string } {
|
|
10607
|
+
return {
|
|
10608
|
+
aclEntrys: 'AclEntrys',
|
|
10609
|
+
aclId: 'AclId',
|
|
10610
|
+
securityToken: 'SecurityToken',
|
|
10611
|
+
};
|
|
10612
|
+
}
|
|
10613
|
+
|
|
10614
|
+
static types(): { [key: string]: any } {
|
|
10615
|
+
return {
|
|
10616
|
+
aclEntrys: 'string',
|
|
10617
|
+
aclId: 'string',
|
|
10618
|
+
securityToken: 'string',
|
|
10619
|
+
};
|
|
10620
|
+
}
|
|
10621
|
+
|
|
10622
|
+
constructor(map?: { [key: string]: any }) {
|
|
10623
|
+
super(map);
|
|
10624
|
+
}
|
|
10625
|
+
}
|
|
10626
|
+
|
|
10627
|
+
export class RemoveAccessControlListEntryResponseBody extends $tea.Model {
|
|
10628
|
+
requestId?: string;
|
|
10629
|
+
static names(): { [key: string]: string } {
|
|
10630
|
+
return {
|
|
10631
|
+
requestId: 'RequestId',
|
|
10632
|
+
};
|
|
10633
|
+
}
|
|
10634
|
+
|
|
10635
|
+
static types(): { [key: string]: any } {
|
|
10636
|
+
return {
|
|
10637
|
+
requestId: 'string',
|
|
10638
|
+
};
|
|
10639
|
+
}
|
|
10640
|
+
|
|
10641
|
+
constructor(map?: { [key: string]: any }) {
|
|
10642
|
+
super(map);
|
|
10643
|
+
}
|
|
10644
|
+
}
|
|
10645
|
+
|
|
10646
|
+
export class RemoveAccessControlListEntryResponse extends $tea.Model {
|
|
10647
|
+
headers: { [key: string]: string };
|
|
10648
|
+
statusCode: number;
|
|
10649
|
+
body: RemoveAccessControlListEntryResponseBody;
|
|
10650
|
+
static names(): { [key: string]: string } {
|
|
10651
|
+
return {
|
|
10652
|
+
headers: 'headers',
|
|
10653
|
+
statusCode: 'statusCode',
|
|
10654
|
+
body: 'body',
|
|
10655
|
+
};
|
|
10656
|
+
}
|
|
10657
|
+
|
|
10658
|
+
static types(): { [key: string]: any } {
|
|
10659
|
+
return {
|
|
10660
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10661
|
+
statusCode: 'number',
|
|
10662
|
+
body: RemoveAccessControlListEntryResponseBody,
|
|
10663
|
+
};
|
|
10664
|
+
}
|
|
10665
|
+
|
|
10666
|
+
constructor(map?: { [key: string]: any }) {
|
|
10667
|
+
super(map);
|
|
10668
|
+
}
|
|
10669
|
+
}
|
|
10670
|
+
|
|
10086
10671
|
export class RemoveApisAuthoritiesRequest extends $tea.Model {
|
|
10087
10672
|
apiIds?: string;
|
|
10088
10673
|
appId?: number;
|
|
@@ -10688,10 +11273,12 @@ export class RemoveVpcAccessAndAbolishApisResponse extends $tea.Model {
|
|
|
10688
11273
|
|
|
10689
11274
|
export class ResetAppCodeRequest extends $tea.Model {
|
|
10690
11275
|
appCode?: string;
|
|
11276
|
+
newAppCode?: string;
|
|
10691
11277
|
securityToken?: string;
|
|
10692
11278
|
static names(): { [key: string]: string } {
|
|
10693
11279
|
return {
|
|
10694
11280
|
appCode: 'AppCode',
|
|
11281
|
+
newAppCode: 'NewAppCode',
|
|
10695
11282
|
securityToken: 'SecurityToken',
|
|
10696
11283
|
};
|
|
10697
11284
|
}
|
|
@@ -10699,6 +11286,7 @@ export class ResetAppCodeRequest extends $tea.Model {
|
|
|
10699
11286
|
static types(): { [key: string]: any } {
|
|
10700
11287
|
return {
|
|
10701
11288
|
appCode: 'string',
|
|
11289
|
+
newAppCode: 'string',
|
|
10702
11290
|
securityToken: 'string',
|
|
10703
11291
|
};
|
|
10704
11292
|
}
|
|
@@ -10754,10 +11342,12 @@ export class ResetAppCodeResponse extends $tea.Model {
|
|
|
10754
11342
|
|
|
10755
11343
|
export class ResetAppSecretRequest extends $tea.Model {
|
|
10756
11344
|
appKey?: string;
|
|
11345
|
+
newAppSecret?: string;
|
|
10757
11346
|
securityToken?: string;
|
|
10758
11347
|
static names(): { [key: string]: string } {
|
|
10759
11348
|
return {
|
|
10760
11349
|
appKey: 'AppKey',
|
|
11350
|
+
newAppSecret: 'NewAppSecret',
|
|
10761
11351
|
securityToken: 'SecurityToken',
|
|
10762
11352
|
};
|
|
10763
11353
|
}
|
|
@@ -10765,6 +11355,7 @@ export class ResetAppSecretRequest extends $tea.Model {
|
|
|
10765
11355
|
static types(): { [key: string]: any } {
|
|
10766
11356
|
return {
|
|
10767
11357
|
appKey: 'string',
|
|
11358
|
+
newAppSecret: 'string',
|
|
10768
11359
|
securityToken: 'string',
|
|
10769
11360
|
};
|
|
10770
11361
|
}
|
|
@@ -11034,6 +11625,75 @@ export class SdkGenerateByGroupResponse extends $tea.Model {
|
|
|
11034
11625
|
}
|
|
11035
11626
|
}
|
|
11036
11627
|
|
|
11628
|
+
export class SetAccessControlListAttributeRequest extends $tea.Model {
|
|
11629
|
+
aclId?: string;
|
|
11630
|
+
aclName?: string;
|
|
11631
|
+
securityToken?: string;
|
|
11632
|
+
static names(): { [key: string]: string } {
|
|
11633
|
+
return {
|
|
11634
|
+
aclId: 'AclId',
|
|
11635
|
+
aclName: 'AclName',
|
|
11636
|
+
securityToken: 'SecurityToken',
|
|
11637
|
+
};
|
|
11638
|
+
}
|
|
11639
|
+
|
|
11640
|
+
static types(): { [key: string]: any } {
|
|
11641
|
+
return {
|
|
11642
|
+
aclId: 'string',
|
|
11643
|
+
aclName: 'string',
|
|
11644
|
+
securityToken: 'string',
|
|
11645
|
+
};
|
|
11646
|
+
}
|
|
11647
|
+
|
|
11648
|
+
constructor(map?: { [key: string]: any }) {
|
|
11649
|
+
super(map);
|
|
11650
|
+
}
|
|
11651
|
+
}
|
|
11652
|
+
|
|
11653
|
+
export class SetAccessControlListAttributeResponseBody extends $tea.Model {
|
|
11654
|
+
requestId?: string;
|
|
11655
|
+
static names(): { [key: string]: string } {
|
|
11656
|
+
return {
|
|
11657
|
+
requestId: 'RequestId',
|
|
11658
|
+
};
|
|
11659
|
+
}
|
|
11660
|
+
|
|
11661
|
+
static types(): { [key: string]: any } {
|
|
11662
|
+
return {
|
|
11663
|
+
requestId: 'string',
|
|
11664
|
+
};
|
|
11665
|
+
}
|
|
11666
|
+
|
|
11667
|
+
constructor(map?: { [key: string]: any }) {
|
|
11668
|
+
super(map);
|
|
11669
|
+
}
|
|
11670
|
+
}
|
|
11671
|
+
|
|
11672
|
+
export class SetAccessControlListAttributeResponse extends $tea.Model {
|
|
11673
|
+
headers: { [key: string]: string };
|
|
11674
|
+
statusCode: number;
|
|
11675
|
+
body: SetAccessControlListAttributeResponseBody;
|
|
11676
|
+
static names(): { [key: string]: string } {
|
|
11677
|
+
return {
|
|
11678
|
+
headers: 'headers',
|
|
11679
|
+
statusCode: 'statusCode',
|
|
11680
|
+
body: 'body',
|
|
11681
|
+
};
|
|
11682
|
+
}
|
|
11683
|
+
|
|
11684
|
+
static types(): { [key: string]: any } {
|
|
11685
|
+
return {
|
|
11686
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
11687
|
+
statusCode: 'number',
|
|
11688
|
+
body: SetAccessControlListAttributeResponseBody,
|
|
11689
|
+
};
|
|
11690
|
+
}
|
|
11691
|
+
|
|
11692
|
+
constructor(map?: { [key: string]: any }) {
|
|
11693
|
+
super(map);
|
|
11694
|
+
}
|
|
11695
|
+
}
|
|
11696
|
+
|
|
11037
11697
|
export class SetApisAuthoritiesRequest extends $tea.Model {
|
|
11038
11698
|
apiIds?: string;
|
|
11039
11699
|
appId?: number;
|
|
@@ -11202,6 +11862,7 @@ export class SetDomainRequest extends $tea.Model {
|
|
|
11202
11862
|
domainName?: string;
|
|
11203
11863
|
groupId?: string;
|
|
11204
11864
|
isForce?: boolean;
|
|
11865
|
+
isHttpRedirectToHttps?: boolean;
|
|
11205
11866
|
static names(): { [key: string]: string } {
|
|
11206
11867
|
return {
|
|
11207
11868
|
bindStageName: 'BindStageName',
|
|
@@ -11209,6 +11870,7 @@ export class SetDomainRequest extends $tea.Model {
|
|
|
11209
11870
|
domainName: 'DomainName',
|
|
11210
11871
|
groupId: 'GroupId',
|
|
11211
11872
|
isForce: 'IsForce',
|
|
11873
|
+
isHttpRedirectToHttps: 'IsHttpRedirectToHttps',
|
|
11212
11874
|
};
|
|
11213
11875
|
}
|
|
11214
11876
|
|
|
@@ -11219,6 +11881,7 @@ export class SetDomainRequest extends $tea.Model {
|
|
|
11219
11881
|
domainName: 'string',
|
|
11220
11882
|
groupId: 'string',
|
|
11221
11883
|
isForce: 'boolean',
|
|
11884
|
+
isHttpRedirectToHttps: 'boolean',
|
|
11222
11885
|
};
|
|
11223
11886
|
}
|
|
11224
11887
|
|
|
@@ -12333,6 +12996,88 @@ export class DescribeAbolishApiTaskResponseBodyApiAbolishResults extends $tea.Mo
|
|
|
12333
12996
|
}
|
|
12334
12997
|
}
|
|
12335
12998
|
|
|
12999
|
+
export class DescribeAccessControlListAttributeResponseBodyAclEntrysAclEntry extends $tea.Model {
|
|
13000
|
+
aclEntryComment?: string;
|
|
13001
|
+
aclEntryIp?: string;
|
|
13002
|
+
static names(): { [key: string]: string } {
|
|
13003
|
+
return {
|
|
13004
|
+
aclEntryComment: 'AclEntryComment',
|
|
13005
|
+
aclEntryIp: 'AclEntryIp',
|
|
13006
|
+
};
|
|
13007
|
+
}
|
|
13008
|
+
|
|
13009
|
+
static types(): { [key: string]: any } {
|
|
13010
|
+
return {
|
|
13011
|
+
aclEntryComment: 'string',
|
|
13012
|
+
aclEntryIp: 'string',
|
|
13013
|
+
};
|
|
13014
|
+
}
|
|
13015
|
+
|
|
13016
|
+
constructor(map?: { [key: string]: any }) {
|
|
13017
|
+
super(map);
|
|
13018
|
+
}
|
|
13019
|
+
}
|
|
13020
|
+
|
|
13021
|
+
export class DescribeAccessControlListAttributeResponseBodyAclEntrys extends $tea.Model {
|
|
13022
|
+
aclEntry?: DescribeAccessControlListAttributeResponseBodyAclEntrysAclEntry[];
|
|
13023
|
+
static names(): { [key: string]: string } {
|
|
13024
|
+
return {
|
|
13025
|
+
aclEntry: 'AclEntry',
|
|
13026
|
+
};
|
|
13027
|
+
}
|
|
13028
|
+
|
|
13029
|
+
static types(): { [key: string]: any } {
|
|
13030
|
+
return {
|
|
13031
|
+
aclEntry: { 'type': 'array', 'itemType': DescribeAccessControlListAttributeResponseBodyAclEntrysAclEntry },
|
|
13032
|
+
};
|
|
13033
|
+
}
|
|
13034
|
+
|
|
13035
|
+
constructor(map?: { [key: string]: any }) {
|
|
13036
|
+
super(map);
|
|
13037
|
+
}
|
|
13038
|
+
}
|
|
13039
|
+
|
|
13040
|
+
export class DescribeAccessControlListsResponseBodyAclsAcl extends $tea.Model {
|
|
13041
|
+
aclId?: string;
|
|
13042
|
+
aclName?: string;
|
|
13043
|
+
static names(): { [key: string]: string } {
|
|
13044
|
+
return {
|
|
13045
|
+
aclId: 'AclId',
|
|
13046
|
+
aclName: 'AclName',
|
|
13047
|
+
};
|
|
13048
|
+
}
|
|
13049
|
+
|
|
13050
|
+
static types(): { [key: string]: any } {
|
|
13051
|
+
return {
|
|
13052
|
+
aclId: 'string',
|
|
13053
|
+
aclName: 'string',
|
|
13054
|
+
};
|
|
13055
|
+
}
|
|
13056
|
+
|
|
13057
|
+
constructor(map?: { [key: string]: any }) {
|
|
13058
|
+
super(map);
|
|
13059
|
+
}
|
|
13060
|
+
}
|
|
13061
|
+
|
|
13062
|
+
export class DescribeAccessControlListsResponseBodyAcls extends $tea.Model {
|
|
13063
|
+
acl?: DescribeAccessControlListsResponseBodyAclsAcl[];
|
|
13064
|
+
static names(): { [key: string]: string } {
|
|
13065
|
+
return {
|
|
13066
|
+
acl: 'Acl',
|
|
13067
|
+
};
|
|
13068
|
+
}
|
|
13069
|
+
|
|
13070
|
+
static types(): { [key: string]: any } {
|
|
13071
|
+
return {
|
|
13072
|
+
acl: { 'type': 'array', 'itemType': DescribeAccessControlListsResponseBodyAclsAcl },
|
|
13073
|
+
};
|
|
13074
|
+
}
|
|
13075
|
+
|
|
13076
|
+
constructor(map?: { [key: string]: any }) {
|
|
13077
|
+
super(map);
|
|
13078
|
+
}
|
|
13079
|
+
}
|
|
13080
|
+
|
|
12336
13081
|
export class DescribeApiResponseBodyBackendConfig extends $tea.Model {
|
|
12337
13082
|
backendId?: string;
|
|
12338
13083
|
backendName?: string;
|
|
@@ -13394,6 +14139,7 @@ export class DescribeApiGroupResponseBodyCustomDomainsDomainItem extends $tea.Mo
|
|
|
13394
14139
|
domainName?: string;
|
|
13395
14140
|
domainRemark?: string;
|
|
13396
14141
|
domainWebSocketStatus?: string;
|
|
14142
|
+
isHttpRedirectToHttps?: boolean;
|
|
13397
14143
|
wildcardDomainPatterns?: string;
|
|
13398
14144
|
static names(): { [key: string]: string } {
|
|
13399
14145
|
return {
|
|
@@ -13407,6 +14153,7 @@ export class DescribeApiGroupResponseBodyCustomDomainsDomainItem extends $tea.Mo
|
|
|
13407
14153
|
domainName: 'DomainName',
|
|
13408
14154
|
domainRemark: 'DomainRemark',
|
|
13409
14155
|
domainWebSocketStatus: 'DomainWebSocketStatus',
|
|
14156
|
+
isHttpRedirectToHttps: 'IsHttpRedirectToHttps',
|
|
13410
14157
|
wildcardDomainPatterns: 'WildcardDomainPatterns',
|
|
13411
14158
|
};
|
|
13412
14159
|
}
|
|
@@ -13423,6 +14170,7 @@ export class DescribeApiGroupResponseBodyCustomDomainsDomainItem extends $tea.Mo
|
|
|
13423
14170
|
domainName: 'string',
|
|
13424
14171
|
domainRemark: 'string',
|
|
13425
14172
|
domainWebSocketStatus: 'string',
|
|
14173
|
+
isHttpRedirectToHttps: 'boolean',
|
|
13426
14174
|
wildcardDomainPatterns: 'string',
|
|
13427
14175
|
};
|
|
13428
14176
|
}
|
|
@@ -16716,6 +17464,10 @@ export class DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpec
|
|
|
16716
17464
|
}
|
|
16717
17465
|
|
|
16718
17466
|
export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $tea.Model {
|
|
17467
|
+
aclId?: string;
|
|
17468
|
+
aclName?: string;
|
|
17469
|
+
aclStatus?: string;
|
|
17470
|
+
aclType?: string;
|
|
16719
17471
|
classicEgressAddress?: string;
|
|
16720
17472
|
createdTime?: string;
|
|
16721
17473
|
egressIpv6Enable?: boolean;
|
|
@@ -16743,6 +17495,10 @@ export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $te
|
|
|
16743
17495
|
zoneLocalName?: string;
|
|
16744
17496
|
static names(): { [key: string]: string } {
|
|
16745
17497
|
return {
|
|
17498
|
+
aclId: 'AclId',
|
|
17499
|
+
aclName: 'AclName',
|
|
17500
|
+
aclStatus: 'AclStatus',
|
|
17501
|
+
aclType: 'AclType',
|
|
16746
17502
|
classicEgressAddress: 'ClassicEgressAddress',
|
|
16747
17503
|
createdTime: 'CreatedTime',
|
|
16748
17504
|
egressIpv6Enable: 'EgressIpv6Enable',
|
|
@@ -16773,6 +17529,10 @@ export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $te
|
|
|
16773
17529
|
|
|
16774
17530
|
static types(): { [key: string]: any } {
|
|
16775
17531
|
return {
|
|
17532
|
+
aclId: 'string',
|
|
17533
|
+
aclName: 'string',
|
|
17534
|
+
aclStatus: 'string',
|
|
17535
|
+
aclType: 'string',
|
|
16776
17536
|
classicEgressAddress: 'string',
|
|
16777
17537
|
createdTime: 'string',
|
|
16778
17538
|
egressIpv6Enable: 'boolean',
|
|
@@ -18730,15 +19490,52 @@ export default class Client extends OpenApi {
|
|
|
18730
19490
|
query["SecurityToken"] = request.securityToken;
|
|
18731
19491
|
}
|
|
18732
19492
|
|
|
18733
|
-
if (!Util.isUnset(request.stageName)) {
|
|
18734
|
-
query["StageName"] = request.stageName;
|
|
18735
|
-
}
|
|
18736
|
-
|
|
19493
|
+
if (!Util.isUnset(request.stageName)) {
|
|
19494
|
+
query["StageName"] = request.stageName;
|
|
19495
|
+
}
|
|
19496
|
+
|
|
19497
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
19498
|
+
query: OpenApiUtil.query(query),
|
|
19499
|
+
});
|
|
19500
|
+
let params = new $OpenApi.Params({
|
|
19501
|
+
action: "AbolishApi",
|
|
19502
|
+
version: "2016-07-14",
|
|
19503
|
+
protocol: "HTTPS",
|
|
19504
|
+
pathname: "/",
|
|
19505
|
+
method: "POST",
|
|
19506
|
+
authType: "AK",
|
|
19507
|
+
style: "RPC",
|
|
19508
|
+
reqBodyType: "formData",
|
|
19509
|
+
bodyType: "json",
|
|
19510
|
+
});
|
|
19511
|
+
return $tea.cast<AbolishApiResponse>(await this.callApi(params, req, runtime), new AbolishApiResponse({}));
|
|
19512
|
+
}
|
|
19513
|
+
|
|
19514
|
+
async abolishApi(request: AbolishApiRequest): Promise<AbolishApiResponse> {
|
|
19515
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
19516
|
+
return await this.abolishApiWithOptions(request, runtime);
|
|
19517
|
+
}
|
|
19518
|
+
|
|
19519
|
+
async addAccessControlListEntryWithOptions(request: AddAccessControlListEntryRequest, runtime: $Util.RuntimeOptions): Promise<AddAccessControlListEntryResponse> {
|
|
19520
|
+
Util.validateModel(request);
|
|
19521
|
+
let query = { };
|
|
19522
|
+
if (!Util.isUnset(request.aclEntrys)) {
|
|
19523
|
+
query["AclEntrys"] = request.aclEntrys;
|
|
19524
|
+
}
|
|
19525
|
+
|
|
19526
|
+
if (!Util.isUnset(request.aclId)) {
|
|
19527
|
+
query["AclId"] = request.aclId;
|
|
19528
|
+
}
|
|
19529
|
+
|
|
19530
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
19531
|
+
query["SecurityToken"] = request.securityToken;
|
|
19532
|
+
}
|
|
19533
|
+
|
|
18737
19534
|
let req = new $OpenApi.OpenApiRequest({
|
|
18738
19535
|
query: OpenApiUtil.query(query),
|
|
18739
19536
|
});
|
|
18740
19537
|
let params = new $OpenApi.Params({
|
|
18741
|
-
action: "
|
|
19538
|
+
action: "AddAccessControlListEntry",
|
|
18742
19539
|
version: "2016-07-14",
|
|
18743
19540
|
protocol: "HTTPS",
|
|
18744
19541
|
pathname: "/",
|
|
@@ -18748,12 +19545,12 @@ export default class Client extends OpenApi {
|
|
|
18748
19545
|
reqBodyType: "formData",
|
|
18749
19546
|
bodyType: "json",
|
|
18750
19547
|
});
|
|
18751
|
-
return $tea.cast<
|
|
19548
|
+
return $tea.cast<AddAccessControlListEntryResponse>(await this.callApi(params, req, runtime), new AddAccessControlListEntryResponse({}));
|
|
18752
19549
|
}
|
|
18753
19550
|
|
|
18754
|
-
async
|
|
19551
|
+
async addAccessControlListEntry(request: AddAccessControlListEntryRequest): Promise<AddAccessControlListEntryResponse> {
|
|
18755
19552
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18756
|
-
return await this.
|
|
19553
|
+
return await this.addAccessControlListEntryWithOptions(request, runtime);
|
|
18757
19554
|
}
|
|
18758
19555
|
|
|
18759
19556
|
async addIpControlPolicyItemWithOptions(request: AddIpControlPolicyItemRequest, runtime: $Util.RuntimeOptions): Promise<AddIpControlPolicyItemResponse> {
|
|
@@ -18965,6 +19762,39 @@ export default class Client extends OpenApi {
|
|
|
18965
19762
|
return await this.batchDeployApisWithOptions(request, runtime);
|
|
18966
19763
|
}
|
|
18967
19764
|
|
|
19765
|
+
async createAccessControlListWithOptions(request: CreateAccessControlListRequest, runtime: $Util.RuntimeOptions): Promise<CreateAccessControlListResponse> {
|
|
19766
|
+
Util.validateModel(request);
|
|
19767
|
+
let query = { };
|
|
19768
|
+
if (!Util.isUnset(request.aclName)) {
|
|
19769
|
+
query["AclName"] = request.aclName;
|
|
19770
|
+
}
|
|
19771
|
+
|
|
19772
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
19773
|
+
query["SecurityToken"] = request.securityToken;
|
|
19774
|
+
}
|
|
19775
|
+
|
|
19776
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
19777
|
+
query: OpenApiUtil.query(query),
|
|
19778
|
+
});
|
|
19779
|
+
let params = new $OpenApi.Params({
|
|
19780
|
+
action: "CreateAccessControlList",
|
|
19781
|
+
version: "2016-07-14",
|
|
19782
|
+
protocol: "HTTPS",
|
|
19783
|
+
pathname: "/",
|
|
19784
|
+
method: "POST",
|
|
19785
|
+
authType: "AK",
|
|
19786
|
+
style: "RPC",
|
|
19787
|
+
reqBodyType: "formData",
|
|
19788
|
+
bodyType: "json",
|
|
19789
|
+
});
|
|
19790
|
+
return $tea.cast<CreateAccessControlListResponse>(await this.callApi(params, req, runtime), new CreateAccessControlListResponse({}));
|
|
19791
|
+
}
|
|
19792
|
+
|
|
19793
|
+
async createAccessControlList(request: CreateAccessControlListRequest): Promise<CreateAccessControlListResponse> {
|
|
19794
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
19795
|
+
return await this.createAccessControlListWithOptions(request, runtime);
|
|
19796
|
+
}
|
|
19797
|
+
|
|
18968
19798
|
async createApiWithOptions(request: CreateApiRequest, runtime: $Util.RuntimeOptions): Promise<CreateApiResponse> {
|
|
18969
19799
|
Util.validateModel(request);
|
|
18970
19800
|
let query = { };
|
|
@@ -19203,10 +20033,22 @@ export default class Client extends OpenApi {
|
|
|
19203
20033
|
async createAppWithOptions(request: CreateAppRequest, runtime: $Util.RuntimeOptions): Promise<CreateAppResponse> {
|
|
19204
20034
|
Util.validateModel(request);
|
|
19205
20035
|
let query = { };
|
|
20036
|
+
if (!Util.isUnset(request.appCode)) {
|
|
20037
|
+
query["AppCode"] = request.appCode;
|
|
20038
|
+
}
|
|
20039
|
+
|
|
20040
|
+
if (!Util.isUnset(request.appKey)) {
|
|
20041
|
+
query["AppKey"] = request.appKey;
|
|
20042
|
+
}
|
|
20043
|
+
|
|
19206
20044
|
if (!Util.isUnset(request.appName)) {
|
|
19207
20045
|
query["AppName"] = request.appName;
|
|
19208
20046
|
}
|
|
19209
20047
|
|
|
20048
|
+
if (!Util.isUnset(request.appSecret)) {
|
|
20049
|
+
query["AppSecret"] = request.appSecret;
|
|
20050
|
+
}
|
|
20051
|
+
|
|
19210
20052
|
if (!Util.isUnset(request.description)) {
|
|
19211
20053
|
query["Description"] = request.description;
|
|
19212
20054
|
}
|
|
@@ -19744,6 +20586,39 @@ export default class Client extends OpenApi {
|
|
|
19744
20586
|
return await this.createTrafficControlWithOptions(request, runtime);
|
|
19745
20587
|
}
|
|
19746
20588
|
|
|
20589
|
+
async deleteAccessControlListWithOptions(request: DeleteAccessControlListRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAccessControlListResponse> {
|
|
20590
|
+
Util.validateModel(request);
|
|
20591
|
+
let query = { };
|
|
20592
|
+
if (!Util.isUnset(request.aclId)) {
|
|
20593
|
+
query["AclId"] = request.aclId;
|
|
20594
|
+
}
|
|
20595
|
+
|
|
20596
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
20597
|
+
query["SecurityToken"] = request.securityToken;
|
|
20598
|
+
}
|
|
20599
|
+
|
|
20600
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20601
|
+
query: OpenApiUtil.query(query),
|
|
20602
|
+
});
|
|
20603
|
+
let params = new $OpenApi.Params({
|
|
20604
|
+
action: "DeleteAccessControlList",
|
|
20605
|
+
version: "2016-07-14",
|
|
20606
|
+
protocol: "HTTPS",
|
|
20607
|
+
pathname: "/",
|
|
20608
|
+
method: "POST",
|
|
20609
|
+
authType: "AK",
|
|
20610
|
+
style: "RPC",
|
|
20611
|
+
reqBodyType: "formData",
|
|
20612
|
+
bodyType: "json",
|
|
20613
|
+
});
|
|
20614
|
+
return $tea.cast<DeleteAccessControlListResponse>(await this.callApi(params, req, runtime), new DeleteAccessControlListResponse({}));
|
|
20615
|
+
}
|
|
20616
|
+
|
|
20617
|
+
async deleteAccessControlList(request: DeleteAccessControlListRequest): Promise<DeleteAccessControlListResponse> {
|
|
20618
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
20619
|
+
return await this.deleteAccessControlListWithOptions(request, runtime);
|
|
20620
|
+
}
|
|
20621
|
+
|
|
19747
20622
|
async deleteAllTrafficSpecialControlWithOptions(request: DeleteAllTrafficSpecialControlRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAllTrafficSpecialControlResponse> {
|
|
19748
20623
|
Util.validateModel(request);
|
|
19749
20624
|
let query = { };
|
|
@@ -20472,6 +21347,80 @@ export default class Client extends OpenApi {
|
|
|
20472
21347
|
return await this.describeAbolishApiTaskWithOptions(request, runtime);
|
|
20473
21348
|
}
|
|
20474
21349
|
|
|
21350
|
+
async describeAccessControlListAttributeWithOptions(request: DescribeAccessControlListAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAccessControlListAttributeResponse> {
|
|
21351
|
+
Util.validateModel(request);
|
|
21352
|
+
let query = { };
|
|
21353
|
+
if (!Util.isUnset(request.aclId)) {
|
|
21354
|
+
query["AclId"] = request.aclId;
|
|
21355
|
+
}
|
|
21356
|
+
|
|
21357
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
21358
|
+
query["SecurityToken"] = request.securityToken;
|
|
21359
|
+
}
|
|
21360
|
+
|
|
21361
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21362
|
+
query: OpenApiUtil.query(query),
|
|
21363
|
+
});
|
|
21364
|
+
let params = new $OpenApi.Params({
|
|
21365
|
+
action: "DescribeAccessControlListAttribute",
|
|
21366
|
+
version: "2016-07-14",
|
|
21367
|
+
protocol: "HTTPS",
|
|
21368
|
+
pathname: "/",
|
|
21369
|
+
method: "POST",
|
|
21370
|
+
authType: "AK",
|
|
21371
|
+
style: "RPC",
|
|
21372
|
+
reqBodyType: "formData",
|
|
21373
|
+
bodyType: "json",
|
|
21374
|
+
});
|
|
21375
|
+
return $tea.cast<DescribeAccessControlListAttributeResponse>(await this.callApi(params, req, runtime), new DescribeAccessControlListAttributeResponse({}));
|
|
21376
|
+
}
|
|
21377
|
+
|
|
21378
|
+
async describeAccessControlListAttribute(request: DescribeAccessControlListAttributeRequest): Promise<DescribeAccessControlListAttributeResponse> {
|
|
21379
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21380
|
+
return await this.describeAccessControlListAttributeWithOptions(request, runtime);
|
|
21381
|
+
}
|
|
21382
|
+
|
|
21383
|
+
async describeAccessControlListsWithOptions(request: DescribeAccessControlListsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAccessControlListsResponse> {
|
|
21384
|
+
Util.validateModel(request);
|
|
21385
|
+
let query = { };
|
|
21386
|
+
if (!Util.isUnset(request.aclName)) {
|
|
21387
|
+
query["AclName"] = request.aclName;
|
|
21388
|
+
}
|
|
21389
|
+
|
|
21390
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
21391
|
+
query["PageNumber"] = request.pageNumber;
|
|
21392
|
+
}
|
|
21393
|
+
|
|
21394
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
21395
|
+
query["PageSize"] = request.pageSize;
|
|
21396
|
+
}
|
|
21397
|
+
|
|
21398
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
21399
|
+
query["SecurityToken"] = request.securityToken;
|
|
21400
|
+
}
|
|
21401
|
+
|
|
21402
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21403
|
+
query: OpenApiUtil.query(query),
|
|
21404
|
+
});
|
|
21405
|
+
let params = new $OpenApi.Params({
|
|
21406
|
+
action: "DescribeAccessControlLists",
|
|
21407
|
+
version: "2016-07-14",
|
|
21408
|
+
protocol: "HTTPS",
|
|
21409
|
+
pathname: "/",
|
|
21410
|
+
method: "POST",
|
|
21411
|
+
authType: "AK",
|
|
21412
|
+
style: "RPC",
|
|
21413
|
+
reqBodyType: "formData",
|
|
21414
|
+
bodyType: "json",
|
|
21415
|
+
});
|
|
21416
|
+
return $tea.cast<DescribeAccessControlListsResponse>(await this.callApi(params, req, runtime), new DescribeAccessControlListsResponse({}));
|
|
21417
|
+
}
|
|
21418
|
+
|
|
21419
|
+
async describeAccessControlLists(request: DescribeAccessControlListsRequest): Promise<DescribeAccessControlListsResponse> {
|
|
21420
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21421
|
+
return await this.describeAccessControlListsWithOptions(request, runtime);
|
|
21422
|
+
}
|
|
21423
|
+
|
|
20475
21424
|
async describeApiWithOptions(request: DescribeApiRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiResponse> {
|
|
20476
21425
|
Util.validateModel(request);
|
|
20477
21426
|
let query = { };
|
|
@@ -22977,6 +23926,43 @@ export default class Client extends OpenApi {
|
|
|
22977
23926
|
return await this.detachPluginWithOptions(request, runtime);
|
|
22978
23927
|
}
|
|
22979
23928
|
|
|
23929
|
+
async disableInstanceAccessControlWithOptions(request: DisableInstanceAccessControlRequest, runtime: $Util.RuntimeOptions): Promise<DisableInstanceAccessControlResponse> {
|
|
23930
|
+
Util.validateModel(request);
|
|
23931
|
+
let query = { };
|
|
23932
|
+
if (!Util.isUnset(request.aclId)) {
|
|
23933
|
+
query["AclId"] = request.aclId;
|
|
23934
|
+
}
|
|
23935
|
+
|
|
23936
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
23937
|
+
query["InstanceId"] = request.instanceId;
|
|
23938
|
+
}
|
|
23939
|
+
|
|
23940
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
23941
|
+
query["SecurityToken"] = request.securityToken;
|
|
23942
|
+
}
|
|
23943
|
+
|
|
23944
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
23945
|
+
query: OpenApiUtil.query(query),
|
|
23946
|
+
});
|
|
23947
|
+
let params = new $OpenApi.Params({
|
|
23948
|
+
action: "DisableInstanceAccessControl",
|
|
23949
|
+
version: "2016-07-14",
|
|
23950
|
+
protocol: "HTTPS",
|
|
23951
|
+
pathname: "/",
|
|
23952
|
+
method: "POST",
|
|
23953
|
+
authType: "AK",
|
|
23954
|
+
style: "RPC",
|
|
23955
|
+
reqBodyType: "formData",
|
|
23956
|
+
bodyType: "json",
|
|
23957
|
+
});
|
|
23958
|
+
return $tea.cast<DisableInstanceAccessControlResponse>(await this.callApi(params, req, runtime), new DisableInstanceAccessControlResponse({}));
|
|
23959
|
+
}
|
|
23960
|
+
|
|
23961
|
+
async disableInstanceAccessControl(request: DisableInstanceAccessControlRequest): Promise<DisableInstanceAccessControlResponse> {
|
|
23962
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
23963
|
+
return await this.disableInstanceAccessControlWithOptions(request, runtime);
|
|
23964
|
+
}
|
|
23965
|
+
|
|
22980
23966
|
async dryRunSwaggerWithOptions(tmpReq: DryRunSwaggerRequest, runtime: $Util.RuntimeOptions): Promise<DryRunSwaggerResponse> {
|
|
22981
23967
|
Util.validateModel(tmpReq);
|
|
22982
23968
|
let request = new DryRunSwaggerShrinkRequest({ });
|
|
@@ -23034,6 +24020,47 @@ export default class Client extends OpenApi {
|
|
|
23034
24020
|
return await this.dryRunSwaggerWithOptions(request, runtime);
|
|
23035
24021
|
}
|
|
23036
24022
|
|
|
24023
|
+
async enableInstanceAccessControlWithOptions(request: EnableInstanceAccessControlRequest, runtime: $Util.RuntimeOptions): Promise<EnableInstanceAccessControlResponse> {
|
|
24024
|
+
Util.validateModel(request);
|
|
24025
|
+
let query = { };
|
|
24026
|
+
if (!Util.isUnset(request.aclId)) {
|
|
24027
|
+
query["AclId"] = request.aclId;
|
|
24028
|
+
}
|
|
24029
|
+
|
|
24030
|
+
if (!Util.isUnset(request.aclType)) {
|
|
24031
|
+
query["AclType"] = request.aclType;
|
|
24032
|
+
}
|
|
24033
|
+
|
|
24034
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
24035
|
+
query["InstanceId"] = request.instanceId;
|
|
24036
|
+
}
|
|
24037
|
+
|
|
24038
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
24039
|
+
query["SecurityToken"] = request.securityToken;
|
|
24040
|
+
}
|
|
24041
|
+
|
|
24042
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
24043
|
+
query: OpenApiUtil.query(query),
|
|
24044
|
+
});
|
|
24045
|
+
let params = new $OpenApi.Params({
|
|
24046
|
+
action: "EnableInstanceAccessControl",
|
|
24047
|
+
version: "2016-07-14",
|
|
24048
|
+
protocol: "HTTPS",
|
|
24049
|
+
pathname: "/",
|
|
24050
|
+
method: "POST",
|
|
24051
|
+
authType: "AK",
|
|
24052
|
+
style: "RPC",
|
|
24053
|
+
reqBodyType: "formData",
|
|
24054
|
+
bodyType: "json",
|
|
24055
|
+
});
|
|
24056
|
+
return $tea.cast<EnableInstanceAccessControlResponse>(await this.callApi(params, req, runtime), new EnableInstanceAccessControlResponse({}));
|
|
24057
|
+
}
|
|
24058
|
+
|
|
24059
|
+
async enableInstanceAccessControl(request: EnableInstanceAccessControlRequest): Promise<EnableInstanceAccessControlResponse> {
|
|
24060
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
24061
|
+
return await this.enableInstanceAccessControlWithOptions(request, runtime);
|
|
24062
|
+
}
|
|
24063
|
+
|
|
23037
24064
|
async importSwaggerWithOptions(tmpReq: ImportSwaggerRequest, runtime: $Util.RuntimeOptions): Promise<ImportSwaggerResponse> {
|
|
23038
24065
|
Util.validateModel(tmpReq);
|
|
23039
24066
|
let request = new ImportSwaggerShrinkRequest({ });
|
|
@@ -23714,6 +24741,10 @@ export default class Client extends OpenApi {
|
|
|
23714
24741
|
query["InstanceSpec"] = request.instanceSpec;
|
|
23715
24742
|
}
|
|
23716
24743
|
|
|
24744
|
+
if (!Util.isUnset(request.modifyAction)) {
|
|
24745
|
+
query["ModifyAction"] = request.modifyAction;
|
|
24746
|
+
}
|
|
24747
|
+
|
|
23717
24748
|
if (!Util.isUnset(request.token)) {
|
|
23718
24749
|
query["Token"] = request.token;
|
|
23719
24750
|
}
|
|
@@ -24121,6 +25152,43 @@ export default class Client extends OpenApi {
|
|
|
24121
25152
|
return await this.reactivateDomainWithOptions(request, runtime);
|
|
24122
25153
|
}
|
|
24123
25154
|
|
|
25155
|
+
async removeAccessControlListEntryWithOptions(request: RemoveAccessControlListEntryRequest, runtime: $Util.RuntimeOptions): Promise<RemoveAccessControlListEntryResponse> {
|
|
25156
|
+
Util.validateModel(request);
|
|
25157
|
+
let query = { };
|
|
25158
|
+
if (!Util.isUnset(request.aclEntrys)) {
|
|
25159
|
+
query["AclEntrys"] = request.aclEntrys;
|
|
25160
|
+
}
|
|
25161
|
+
|
|
25162
|
+
if (!Util.isUnset(request.aclId)) {
|
|
25163
|
+
query["AclId"] = request.aclId;
|
|
25164
|
+
}
|
|
25165
|
+
|
|
25166
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
25167
|
+
query["SecurityToken"] = request.securityToken;
|
|
25168
|
+
}
|
|
25169
|
+
|
|
25170
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
25171
|
+
query: OpenApiUtil.query(query),
|
|
25172
|
+
});
|
|
25173
|
+
let params = new $OpenApi.Params({
|
|
25174
|
+
action: "RemoveAccessControlListEntry",
|
|
25175
|
+
version: "2016-07-14",
|
|
25176
|
+
protocol: "HTTPS",
|
|
25177
|
+
pathname: "/",
|
|
25178
|
+
method: "POST",
|
|
25179
|
+
authType: "AK",
|
|
25180
|
+
style: "RPC",
|
|
25181
|
+
reqBodyType: "formData",
|
|
25182
|
+
bodyType: "json",
|
|
25183
|
+
});
|
|
25184
|
+
return $tea.cast<RemoveAccessControlListEntryResponse>(await this.callApi(params, req, runtime), new RemoveAccessControlListEntryResponse({}));
|
|
25185
|
+
}
|
|
25186
|
+
|
|
25187
|
+
async removeAccessControlListEntry(request: RemoveAccessControlListEntryRequest): Promise<RemoveAccessControlListEntryResponse> {
|
|
25188
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
25189
|
+
return await this.removeAccessControlListEntryWithOptions(request, runtime);
|
|
25190
|
+
}
|
|
25191
|
+
|
|
24124
25192
|
async removeApisAuthoritiesWithOptions(request: RemoveApisAuthoritiesRequest, runtime: $Util.RuntimeOptions): Promise<RemoveApisAuthoritiesResponse> {
|
|
24125
25193
|
Util.validateModel(request);
|
|
24126
25194
|
let query = { };
|
|
@@ -24484,6 +25552,10 @@ export default class Client extends OpenApi {
|
|
|
24484
25552
|
query["AppCode"] = request.appCode;
|
|
24485
25553
|
}
|
|
24486
25554
|
|
|
25555
|
+
if (!Util.isUnset(request.newAppCode)) {
|
|
25556
|
+
query["NewAppCode"] = request.newAppCode;
|
|
25557
|
+
}
|
|
25558
|
+
|
|
24487
25559
|
if (!Util.isUnset(request.securityToken)) {
|
|
24488
25560
|
query["SecurityToken"] = request.securityToken;
|
|
24489
25561
|
}
|
|
@@ -24517,6 +25589,10 @@ export default class Client extends OpenApi {
|
|
|
24517
25589
|
query["AppKey"] = request.appKey;
|
|
24518
25590
|
}
|
|
24519
25591
|
|
|
25592
|
+
if (!Util.isUnset(request.newAppSecret)) {
|
|
25593
|
+
query["NewAppSecret"] = request.newAppSecret;
|
|
25594
|
+
}
|
|
25595
|
+
|
|
24520
25596
|
if (!Util.isUnset(request.securityToken)) {
|
|
24521
25597
|
query["SecurityToken"] = request.securityToken;
|
|
24522
25598
|
}
|
|
@@ -24654,6 +25730,43 @@ export default class Client extends OpenApi {
|
|
|
24654
25730
|
return await this.sdkGenerateByGroupWithOptions(request, runtime);
|
|
24655
25731
|
}
|
|
24656
25732
|
|
|
25733
|
+
async setAccessControlListAttributeWithOptions(request: SetAccessControlListAttributeRequest, runtime: $Util.RuntimeOptions): Promise<SetAccessControlListAttributeResponse> {
|
|
25734
|
+
Util.validateModel(request);
|
|
25735
|
+
let query = { };
|
|
25736
|
+
if (!Util.isUnset(request.aclId)) {
|
|
25737
|
+
query["AclId"] = request.aclId;
|
|
25738
|
+
}
|
|
25739
|
+
|
|
25740
|
+
if (!Util.isUnset(request.aclName)) {
|
|
25741
|
+
query["AclName"] = request.aclName;
|
|
25742
|
+
}
|
|
25743
|
+
|
|
25744
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
25745
|
+
query["SecurityToken"] = request.securityToken;
|
|
25746
|
+
}
|
|
25747
|
+
|
|
25748
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
25749
|
+
query: OpenApiUtil.query(query),
|
|
25750
|
+
});
|
|
25751
|
+
let params = new $OpenApi.Params({
|
|
25752
|
+
action: "SetAccessControlListAttribute",
|
|
25753
|
+
version: "2016-07-14",
|
|
25754
|
+
protocol: "HTTPS",
|
|
25755
|
+
pathname: "/",
|
|
25756
|
+
method: "POST",
|
|
25757
|
+
authType: "AK",
|
|
25758
|
+
style: "RPC",
|
|
25759
|
+
reqBodyType: "formData",
|
|
25760
|
+
bodyType: "json",
|
|
25761
|
+
});
|
|
25762
|
+
return $tea.cast<SetAccessControlListAttributeResponse>(await this.callApi(params, req, runtime), new SetAccessControlListAttributeResponse({}));
|
|
25763
|
+
}
|
|
25764
|
+
|
|
25765
|
+
async setAccessControlListAttribute(request: SetAccessControlListAttributeRequest): Promise<SetAccessControlListAttributeResponse> {
|
|
25766
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
25767
|
+
return await this.setAccessControlListAttributeWithOptions(request, runtime);
|
|
25768
|
+
}
|
|
25769
|
+
|
|
24657
25770
|
async setApisAuthoritiesWithOptions(request: SetApisAuthoritiesRequest, runtime: $Util.RuntimeOptions): Promise<SetApisAuthoritiesResponse> {
|
|
24658
25771
|
Util.validateModel(request);
|
|
24659
25772
|
let query = { };
|
|
@@ -24783,6 +25896,10 @@ export default class Client extends OpenApi {
|
|
|
24783
25896
|
query["IsForce"] = request.isForce;
|
|
24784
25897
|
}
|
|
24785
25898
|
|
|
25899
|
+
if (!Util.isUnset(request.isHttpRedirectToHttps)) {
|
|
25900
|
+
query["IsHttpRedirectToHttps"] = request.isHttpRedirectToHttps;
|
|
25901
|
+
}
|
|
25902
|
+
|
|
24786
25903
|
let req = new $OpenApi.OpenApiRequest({
|
|
24787
25904
|
query: OpenApiUtil.query(query),
|
|
24788
25905
|
});
|