@alicloud/cloudapi20160714 2.2.17 → 2.2.19
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 +41 -0
- package/dist/client.js +98 -27
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +129 -34
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -4153,6 +4153,8 @@ export class DescribeApiGroupResponseBody extends $tea.Model {
|
|
|
4153
4153
|
instanceType?: string;
|
|
4154
4154
|
instanceVipList?: string;
|
|
4155
4155
|
ipv6Status?: string;
|
|
4156
|
+
migrationError?: string;
|
|
4157
|
+
migrationStatus?: string;
|
|
4156
4158
|
modifiedTime?: string;
|
|
4157
4159
|
passthroughHeaders?: string;
|
|
4158
4160
|
regionId?: string;
|
|
@@ -4188,6 +4190,8 @@ export class DescribeApiGroupResponseBody extends $tea.Model {
|
|
|
4188
4190
|
instanceType: 'InstanceType',
|
|
4189
4191
|
instanceVipList: 'InstanceVipList',
|
|
4190
4192
|
ipv6Status: 'Ipv6Status',
|
|
4193
|
+
migrationError: 'MigrationError',
|
|
4194
|
+
migrationStatus: 'MigrationStatus',
|
|
4191
4195
|
modifiedTime: 'ModifiedTime',
|
|
4192
4196
|
passthroughHeaders: 'PassthroughHeaders',
|
|
4193
4197
|
regionId: 'RegionId',
|
|
@@ -4226,6 +4230,8 @@ export class DescribeApiGroupResponseBody extends $tea.Model {
|
|
|
4226
4230
|
instanceType: 'string',
|
|
4227
4231
|
instanceVipList: 'string',
|
|
4228
4232
|
ipv6Status: 'string',
|
|
4233
|
+
migrationError: 'string',
|
|
4234
|
+
migrationStatus: 'string',
|
|
4229
4235
|
modifiedTime: 'string',
|
|
4230
4236
|
passthroughHeaders: 'string',
|
|
4231
4237
|
regionId: 'string',
|
|
@@ -11119,6 +11125,7 @@ export class ModifyApiGroupRequest extends $tea.Model {
|
|
|
11119
11125
|
passthroughHeaders?: string;
|
|
11120
11126
|
rpcPattern?: string;
|
|
11121
11127
|
securityToken?: string;
|
|
11128
|
+
supportSSE?: string;
|
|
11122
11129
|
tag?: ModifyApiGroupRequestTag[];
|
|
11123
11130
|
userLogConfig?: string;
|
|
11124
11131
|
static names(): { [key: string]: string } {
|
|
@@ -11134,6 +11141,7 @@ export class ModifyApiGroupRequest extends $tea.Model {
|
|
|
11134
11141
|
passthroughHeaders: 'PassthroughHeaders',
|
|
11135
11142
|
rpcPattern: 'RpcPattern',
|
|
11136
11143
|
securityToken: 'SecurityToken',
|
|
11144
|
+
supportSSE: 'SupportSSE',
|
|
11137
11145
|
tag: 'Tag',
|
|
11138
11146
|
userLogConfig: 'UserLogConfig',
|
|
11139
11147
|
};
|
|
@@ -11152,6 +11160,7 @@ export class ModifyApiGroupRequest extends $tea.Model {
|
|
|
11152
11160
|
passthroughHeaders: 'string',
|
|
11153
11161
|
rpcPattern: 'string',
|
|
11154
11162
|
securityToken: 'string',
|
|
11163
|
+
supportSSE: 'string',
|
|
11155
11164
|
tag: { 'type': 'array', 'itemType': ModifyApiGroupRequestTag },
|
|
11156
11165
|
userLogConfig: 'string',
|
|
11157
11166
|
};
|
|
@@ -18544,6 +18553,74 @@ export class DescribeAuthorizedAppsResponseBodyAuthorizedApps extends $tea.Model
|
|
|
18544
18553
|
}
|
|
18545
18554
|
}
|
|
18546
18555
|
|
|
18556
|
+
export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfigNacosConfig extends $tea.Model {
|
|
18557
|
+
accessKey?: string;
|
|
18558
|
+
authType?: string;
|
|
18559
|
+
clusters?: string;
|
|
18560
|
+
groupName?: string;
|
|
18561
|
+
namespace?: string;
|
|
18562
|
+
password?: string;
|
|
18563
|
+
secretKey?: string;
|
|
18564
|
+
serverAddress?: string;
|
|
18565
|
+
serviceName?: string;
|
|
18566
|
+
userName?: string;
|
|
18567
|
+
static names(): { [key: string]: string } {
|
|
18568
|
+
return {
|
|
18569
|
+
accessKey: 'AccessKey',
|
|
18570
|
+
authType: 'AuthType',
|
|
18571
|
+
clusters: 'Clusters',
|
|
18572
|
+
groupName: 'GroupName',
|
|
18573
|
+
namespace: 'Namespace',
|
|
18574
|
+
password: 'Password',
|
|
18575
|
+
secretKey: 'SecretKey',
|
|
18576
|
+
serverAddress: 'ServerAddress',
|
|
18577
|
+
serviceName: 'ServiceName',
|
|
18578
|
+
userName: 'UserName',
|
|
18579
|
+
};
|
|
18580
|
+
}
|
|
18581
|
+
|
|
18582
|
+
static types(): { [key: string]: any } {
|
|
18583
|
+
return {
|
|
18584
|
+
accessKey: 'string',
|
|
18585
|
+
authType: 'string',
|
|
18586
|
+
clusters: 'string',
|
|
18587
|
+
groupName: 'string',
|
|
18588
|
+
namespace: 'string',
|
|
18589
|
+
password: 'string',
|
|
18590
|
+
secretKey: 'string',
|
|
18591
|
+
serverAddress: 'string',
|
|
18592
|
+
serviceName: 'string',
|
|
18593
|
+
userName: 'string',
|
|
18594
|
+
};
|
|
18595
|
+
}
|
|
18596
|
+
|
|
18597
|
+
constructor(map?: { [key: string]: any }) {
|
|
18598
|
+
super(map);
|
|
18599
|
+
}
|
|
18600
|
+
}
|
|
18601
|
+
|
|
18602
|
+
export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfig extends $tea.Model {
|
|
18603
|
+
nacosConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfigNacosConfig;
|
|
18604
|
+
rcType?: string;
|
|
18605
|
+
static names(): { [key: string]: string } {
|
|
18606
|
+
return {
|
|
18607
|
+
nacosConfig: 'NacosConfig',
|
|
18608
|
+
rcType: 'RcType',
|
|
18609
|
+
};
|
|
18610
|
+
}
|
|
18611
|
+
|
|
18612
|
+
static types(): { [key: string]: any } {
|
|
18613
|
+
return {
|
|
18614
|
+
nacosConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfigNacosConfig,
|
|
18615
|
+
rcType: 'string',
|
|
18616
|
+
};
|
|
18617
|
+
}
|
|
18618
|
+
|
|
18619
|
+
constructor(map?: { [key: string]: any }) {
|
|
18620
|
+
super(map);
|
|
18621
|
+
}
|
|
18622
|
+
}
|
|
18623
|
+
|
|
18547
18624
|
export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig extends $tea.Model {
|
|
18548
18625
|
eventBridgeRegionId?: string;
|
|
18549
18626
|
eventBus?: string;
|
|
@@ -18719,6 +18796,7 @@ export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfi
|
|
|
18719
18796
|
}
|
|
18720
18797
|
|
|
18721
18798
|
export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig extends $tea.Model {
|
|
18799
|
+
discoveryConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfig;
|
|
18722
18800
|
eventBridgeConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig;
|
|
18723
18801
|
functionComputeConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig;
|
|
18724
18802
|
httpTargetHostName?: string;
|
|
@@ -18729,6 +18807,7 @@ export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfi
|
|
|
18729
18807
|
vpcConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigVpcConfig;
|
|
18730
18808
|
static names(): { [key: string]: string } {
|
|
18731
18809
|
return {
|
|
18810
|
+
discoveryConfig: 'DiscoveryConfig',
|
|
18732
18811
|
eventBridgeConfig: 'EventBridgeConfig',
|
|
18733
18812
|
functionComputeConfig: 'FunctionComputeConfig',
|
|
18734
18813
|
httpTargetHostName: 'HttpTargetHostName',
|
|
@@ -18742,6 +18821,7 @@ export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfi
|
|
|
18742
18821
|
|
|
18743
18822
|
static types(): { [key: string]: any } {
|
|
18744
18823
|
return {
|
|
18824
|
+
discoveryConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfig,
|
|
18745
18825
|
eventBridgeConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig,
|
|
18746
18826
|
functionComputeConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig,
|
|
18747
18827
|
httpTargetHostName: 'string',
|
|
@@ -20481,6 +20561,7 @@ export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $te
|
|
|
20481
20561
|
aclStatus?: string;
|
|
20482
20562
|
aclType?: string;
|
|
20483
20563
|
classicEgressAddress?: string;
|
|
20564
|
+
connectCidrBlocks?: string;
|
|
20484
20565
|
connectVpcId?: string;
|
|
20485
20566
|
createdTime?: string;
|
|
20486
20567
|
dedicatedInstanceType?: string;
|
|
@@ -20502,6 +20583,8 @@ export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $te
|
|
|
20502
20583
|
instanceType?: string;
|
|
20503
20584
|
internetEgressAddress?: string;
|
|
20504
20585
|
intranetSegments?: string;
|
|
20586
|
+
maintainEndTime?: string;
|
|
20587
|
+
maintainStartTime?: string;
|
|
20505
20588
|
networkInterfaceAttributes?: DescribeInstancesResponseBodyInstancesInstanceAttributeNetworkInterfaceAttributes;
|
|
20506
20589
|
regionId?: string;
|
|
20507
20590
|
status?: string;
|
|
@@ -20522,6 +20605,7 @@ export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $te
|
|
|
20522
20605
|
aclStatus: 'AclStatus',
|
|
20523
20606
|
aclType: 'AclType',
|
|
20524
20607
|
classicEgressAddress: 'ClassicEgressAddress',
|
|
20608
|
+
connectCidrBlocks: 'ConnectCidrBlocks',
|
|
20525
20609
|
connectVpcId: 'ConnectVpcId',
|
|
20526
20610
|
createdTime: 'CreatedTime',
|
|
20527
20611
|
dedicatedInstanceType: 'DedicatedInstanceType',
|
|
@@ -20543,6 +20627,8 @@ export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $te
|
|
|
20543
20627
|
instanceType: 'InstanceType',
|
|
20544
20628
|
internetEgressAddress: 'InternetEgressAddress',
|
|
20545
20629
|
intranetSegments: 'IntranetSegments',
|
|
20630
|
+
maintainEndTime: 'MaintainEndTime',
|
|
20631
|
+
maintainStartTime: 'MaintainStartTime',
|
|
20546
20632
|
networkInterfaceAttributes: 'NetworkInterfaceAttributes',
|
|
20547
20633
|
regionId: 'RegionId',
|
|
20548
20634
|
status: 'Status',
|
|
@@ -20566,6 +20652,7 @@ export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $te
|
|
|
20566
20652
|
aclStatus: 'string',
|
|
20567
20653
|
aclType: 'string',
|
|
20568
20654
|
classicEgressAddress: 'string',
|
|
20655
|
+
connectCidrBlocks: 'string',
|
|
20569
20656
|
connectVpcId: 'string',
|
|
20570
20657
|
createdTime: 'string',
|
|
20571
20658
|
dedicatedInstanceType: 'string',
|
|
@@ -20587,6 +20674,8 @@ export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $te
|
|
|
20587
20674
|
instanceType: 'string',
|
|
20588
20675
|
internetEgressAddress: 'string',
|
|
20589
20676
|
intranetSegments: 'string',
|
|
20677
|
+
maintainEndTime: 'string',
|
|
20678
|
+
maintainStartTime: 'string',
|
|
20590
20679
|
networkInterfaceAttributes: DescribeInstancesResponseBodyInstancesInstanceAttributeNetworkInterfaceAttributes,
|
|
20591
20680
|
regionId: 'string',
|
|
20592
20681
|
status: 'string',
|
|
@@ -23367,10 +23456,6 @@ export default class Client extends OpenApi {
|
|
|
23367
23456
|
query["BackendId"] = request.backendId;
|
|
23368
23457
|
}
|
|
23369
23458
|
|
|
23370
|
-
if (!Util.isUnset(request.constantParameters)) {
|
|
23371
|
-
query["ConstantParameters"] = request.constantParameters;
|
|
23372
|
-
}
|
|
23373
|
-
|
|
23374
23459
|
if (!Util.isUnset(request.description)) {
|
|
23375
23460
|
query["Description"] = request.description;
|
|
23376
23461
|
}
|
|
@@ -23379,14 +23464,6 @@ export default class Client extends OpenApi {
|
|
|
23379
23464
|
query["DisableInternet"] = request.disableInternet;
|
|
23380
23465
|
}
|
|
23381
23466
|
|
|
23382
|
-
if (!Util.isUnset(request.errorCodeSamples)) {
|
|
23383
|
-
query["ErrorCodeSamples"] = request.errorCodeSamples;
|
|
23384
|
-
}
|
|
23385
|
-
|
|
23386
|
-
if (!Util.isUnset(request.failResultSample)) {
|
|
23387
|
-
query["FailResultSample"] = request.failResultSample;
|
|
23388
|
-
}
|
|
23389
|
-
|
|
23390
23467
|
if (!Util.isUnset(request.forceNonceCheck)) {
|
|
23391
23468
|
query["ForceNonceCheck"] = request.forceNonceCheck;
|
|
23392
23469
|
}
|
|
@@ -23403,22 +23480,10 @@ export default class Client extends OpenApi {
|
|
|
23403
23480
|
query["RequestConfig"] = request.requestConfig;
|
|
23404
23481
|
}
|
|
23405
23482
|
|
|
23406
|
-
if (!Util.isUnset(request.requestParameters)) {
|
|
23407
|
-
query["RequestParameters"] = request.requestParameters;
|
|
23408
|
-
}
|
|
23409
|
-
|
|
23410
23483
|
if (!Util.isUnset(request.resultBodyModel)) {
|
|
23411
23484
|
query["ResultBodyModel"] = request.resultBodyModel;
|
|
23412
23485
|
}
|
|
23413
23486
|
|
|
23414
|
-
if (!Util.isUnset(request.resultDescriptions)) {
|
|
23415
|
-
query["ResultDescriptions"] = request.resultDescriptions;
|
|
23416
|
-
}
|
|
23417
|
-
|
|
23418
|
-
if (!Util.isUnset(request.resultSample)) {
|
|
23419
|
-
query["ResultSample"] = request.resultSample;
|
|
23420
|
-
}
|
|
23421
|
-
|
|
23422
23487
|
if (!Util.isUnset(request.resultType)) {
|
|
23423
23488
|
query["ResultType"] = request.resultType;
|
|
23424
23489
|
}
|
|
@@ -23431,28 +23496,54 @@ export default class Client extends OpenApi {
|
|
|
23431
23496
|
query["ServiceConfig"] = request.serviceConfig;
|
|
23432
23497
|
}
|
|
23433
23498
|
|
|
23434
|
-
if (!Util.isUnset(request.
|
|
23435
|
-
query["
|
|
23499
|
+
if (!Util.isUnset(request.visibility)) {
|
|
23500
|
+
query["Visibility"] = request.visibility;
|
|
23436
23501
|
}
|
|
23437
23502
|
|
|
23438
|
-
if (!Util.isUnset(request.
|
|
23439
|
-
query["
|
|
23503
|
+
if (!Util.isUnset(request.webSocketApiType)) {
|
|
23504
|
+
query["WebSocketApiType"] = request.webSocketApiType;
|
|
23440
23505
|
}
|
|
23441
23506
|
|
|
23442
|
-
|
|
23443
|
-
|
|
23507
|
+
let body : {[key: string ]: any} = { };
|
|
23508
|
+
if (!Util.isUnset(request.constantParameters)) {
|
|
23509
|
+
body["ConstantParameters"] = request.constantParameters;
|
|
23444
23510
|
}
|
|
23445
23511
|
|
|
23446
|
-
if (!Util.isUnset(request.
|
|
23447
|
-
|
|
23512
|
+
if (!Util.isUnset(request.errorCodeSamples)) {
|
|
23513
|
+
body["ErrorCodeSamples"] = request.errorCodeSamples;
|
|
23448
23514
|
}
|
|
23449
23515
|
|
|
23450
|
-
if (!Util.isUnset(request.
|
|
23451
|
-
|
|
23516
|
+
if (!Util.isUnset(request.failResultSample)) {
|
|
23517
|
+
body["FailResultSample"] = request.failResultSample;
|
|
23518
|
+
}
|
|
23519
|
+
|
|
23520
|
+
if (!Util.isUnset(request.requestParameters)) {
|
|
23521
|
+
body["RequestParameters"] = request.requestParameters;
|
|
23522
|
+
}
|
|
23523
|
+
|
|
23524
|
+
if (!Util.isUnset(request.resultDescriptions)) {
|
|
23525
|
+
body["ResultDescriptions"] = request.resultDescriptions;
|
|
23526
|
+
}
|
|
23527
|
+
|
|
23528
|
+
if (!Util.isUnset(request.resultSample)) {
|
|
23529
|
+
body["ResultSample"] = request.resultSample;
|
|
23530
|
+
}
|
|
23531
|
+
|
|
23532
|
+
if (!Util.isUnset(request.serviceParameters)) {
|
|
23533
|
+
body["ServiceParameters"] = request.serviceParameters;
|
|
23534
|
+
}
|
|
23535
|
+
|
|
23536
|
+
if (!Util.isUnset(request.serviceParametersMap)) {
|
|
23537
|
+
body["ServiceParametersMap"] = request.serviceParametersMap;
|
|
23538
|
+
}
|
|
23539
|
+
|
|
23540
|
+
if (!Util.isUnset(request.systemParameters)) {
|
|
23541
|
+
body["SystemParameters"] = request.systemParameters;
|
|
23452
23542
|
}
|
|
23453
23543
|
|
|
23454
23544
|
let req = new $OpenApi.OpenApiRequest({
|
|
23455
23545
|
query: OpenApiUtil.query(query),
|
|
23546
|
+
body: OpenApiUtil.parseToMap(body),
|
|
23456
23547
|
});
|
|
23457
23548
|
let params = new $OpenApi.Params({
|
|
23458
23549
|
action: "CreateApi",
|
|
@@ -29475,6 +29566,10 @@ export default class Client extends OpenApi {
|
|
|
29475
29566
|
query["SecurityToken"] = request.securityToken;
|
|
29476
29567
|
}
|
|
29477
29568
|
|
|
29569
|
+
if (!Util.isUnset(request.supportSSE)) {
|
|
29570
|
+
query["SupportSSE"] = request.supportSSE;
|
|
29571
|
+
}
|
|
29572
|
+
|
|
29478
29573
|
if (!Util.isUnset(request.tag)) {
|
|
29479
29574
|
query["Tag"] = request.tag;
|
|
29480
29575
|
}
|