tencentcloud-sdk-nodejs 4.0.987 → 4.0.989
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/CHANGELOG.md +482 -0
- package/SERVICE_CHANGELOG.md +480 -203
- package/package.json +1 -1
- package/products.md +35 -35
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_client.ts +39 -13
- package/src/services/aiart/v20221229/aiart_models.ts +178 -59
- package/src/services/batch/v20170312/batch_models.ts +6 -6
- package/src/services/cam/v20190116/cam_client.ts +12 -0
- package/src/services/cam/v20190116/cam_models.ts +59 -26
- package/src/services/cfg/v20210820/cfg_models.ts +4 -0
- package/src/services/cfw/v20190904/cfw_models.ts +1 -1
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +18 -18
- package/src/services/cvm/v20170312/cvm_models.ts +24 -24
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +28 -14
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +123 -46
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +1 -1
- package/src/services/emr/v20190103/emr_client.ts +59 -24
- package/src/services/emr/v20190103/emr_models.ts +656 -305
- package/src/services/es/v20180416/es_models.ts +50 -7
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +5 -0
- package/src/services/ivld/v20210903/ivld_client.ts +2 -4
- package/src/services/ivld/v20210903/ivld_models.ts +19 -19
- package/src/services/lcic/v20220817/lcic_models.ts +1 -1
- package/src/services/lke/v20231130/lke_client.ts +8 -4
- package/src/services/mps/v20190612/mps_models.ts +31 -0
- package/src/services/mqtt/v20240516/mqtt_client.ts +151 -103
- package/src/services/mqtt/v20240516/mqtt_models.ts +202 -48
- package/src/services/ocr/v20181119/ocr_client.ts +1 -0
- package/src/services/ocr/v20181119/ocr_models.ts +110 -5
- package/src/services/postgres/v20170312/postgres_models.ts +86 -86
- package/src/services/sts/v20180813/sts_models.ts +3 -3
- package/src/services/tdmq/v20200217/tdmq_client.ts +4 -2
- package/src/services/tse/v20201207/tse_client.ts +73 -21
- package/src/services/tse/v20201207/tse_models.ts +322 -68
- package/src/services/vclm/v20240523/vclm_models.ts +3 -3
- package/src/services/vdb/v20230616/vdb_models.ts +3 -0
- package/src/services/vod/v20180717/vod_models.ts +23 -15
- package/src/services/vpc/v20170312/vpc_client.ts +136 -35
- package/src/services/vpc/v20170312/vpc_models.ts +392 -100
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +17 -7
- package/tencentcloud/services/aiart/v20221229/aiart_client.js +21 -7
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +174 -59
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +6 -6
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +5 -1
- package/tencentcloud/services/cam/v20190116/cam_client.js +6 -0
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +57 -26
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +4 -0
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1 -1
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +18 -18
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +24 -24
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +9 -5
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +12 -6
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +119 -46
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +1 -1
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +13 -5
- package/tencentcloud/services/emr/v20190103/emr_client.js +18 -6
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +644 -308
- package/tencentcloud/services/es/v20180416/es_models.d.ts +50 -7
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +5 -0
- package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +0 -2
- package/tencentcloud/services/ivld/v20210903/ivld_client.js +0 -2
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +19 -19
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +6 -2
- package/tencentcloud/services/lke/v20231130/lke_client.js +6 -2
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +31 -0
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +57 -41
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +84 -60
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +194 -48
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +109 -5
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +86 -86
- package/tencentcloud/services/sts/v20180813/sts_models.d.ts +3 -3
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +3 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +3 -1
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +23 -7
- package/tencentcloud/services/tse/v20201207/tse_client.js +33 -9
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +310 -68
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +3 -3
- package/tencentcloud/services/vdb/v20230616/vdb_models.d.ts +3 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +23 -15
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +59 -14
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +76 -17
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +378 -100
- package/test/aiart.v20221229.test.js +22 -2
- package/test/cam.v20190116.test.js +10 -0
- package/test/cynosdb.v20190107.test.js +14 -4
- package/test/emr.v20190103.test.js +24 -4
- package/test/mqtt.v20240516.test.js +80 -40
- package/test/tse.v20201207.test.js +46 -6
- package/test/vpc.v20170312.test.js +84 -14
|
@@ -212,6 +212,10 @@ export interface CreateServiceTemplateRequest {
|
|
|
212
212
|
* 支持添加备注,单个端口、多个端口、连续端口及所有端口,协议支持:TCP、UDP、ICMP、GRE 协议。Services与ServicesExtra必填其一。
|
|
213
213
|
*/
|
|
214
214
|
ServicesExtra?: Array<ServicesInfo>;
|
|
215
|
+
/**
|
|
216
|
+
* 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
|
217
|
+
*/
|
|
218
|
+
Tags?: Array<Tag>;
|
|
215
219
|
}
|
|
216
220
|
/**
|
|
217
221
|
* CreateVpcPeeringConnection请求参数结构体
|
|
@@ -652,6 +656,67 @@ export interface CreateDhcpIpResponse {
|
|
|
652
656
|
*/
|
|
653
657
|
RequestId?: string;
|
|
654
658
|
}
|
|
659
|
+
/**
|
|
660
|
+
* 安全组规则对象
|
|
661
|
+
*/
|
|
662
|
+
export interface SecurityGroupPolicy {
|
|
663
|
+
/**
|
|
664
|
+
* 安全组规则索引号,值会随着安全组规则的变更动态变化。使用PolicyIndex时,请先调用`DescribeSecurityGroupPolicies`获取到规则的PolicyIndex,并且结合返回值中的Version一起使用处理规则。
|
|
665
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
666
|
+
*/
|
|
667
|
+
PolicyIndex?: number;
|
|
668
|
+
/**
|
|
669
|
+
* 协议, 取值: TCP,UDP,ICMP,ICMPv6,ALL。
|
|
670
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
671
|
+
*/
|
|
672
|
+
Protocol?: string;
|
|
673
|
+
/**
|
|
674
|
+
* 端口(all, 离散port, range)。
|
|
675
|
+
说明:如果Protocol设置为ALL,则Port也需要设置为all。
|
|
676
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
677
|
+
*/
|
|
678
|
+
Port?: string;
|
|
679
|
+
/**
|
|
680
|
+
* 协议端口ID或者协议端口组ID。ServiceTemplate和Protocol+Port互斥。
|
|
681
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
682
|
+
*/
|
|
683
|
+
ServiceTemplate?: ServiceTemplateSpecification;
|
|
684
|
+
/**
|
|
685
|
+
* 网段或IP(互斥),特殊说明:0.0.0.0/n 都会映射为0.0.0.0/0。作为入参时,可使用字符串`MY_PUBLIC_IP`指代发起请求的公网IP地址。
|
|
686
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
687
|
+
*/
|
|
688
|
+
CidrBlock?: string;
|
|
689
|
+
/**
|
|
690
|
+
* 网段或IPv6(互斥)。作为入参时,可使用字符串`MY_PUBLIC_IP`指代发起请求的公网IPv6地址。
|
|
691
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
692
|
+
*/
|
|
693
|
+
Ipv6CidrBlock?: string;
|
|
694
|
+
/**
|
|
695
|
+
* 安全组实例ID,例如:sg-ohuuioma。
|
|
696
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
697
|
+
*/
|
|
698
|
+
SecurityGroupId?: string;
|
|
699
|
+
/**
|
|
700
|
+
* IP地址ID或者IP地址组ID。
|
|
701
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
702
|
+
*/
|
|
703
|
+
AddressTemplate?: AddressTemplateSpecification;
|
|
704
|
+
/**
|
|
705
|
+
* ACCEPT 或 DROP。
|
|
706
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
707
|
+
*/
|
|
708
|
+
Action?: string;
|
|
709
|
+
/**
|
|
710
|
+
* 安全组规则描述。作为入参时,当未传递该参数或值为空,且参数CidrBlock或Ipv6CidrBlock值为MY_PUBLIC_IP时,该参数的值将会被自动填充为Replaced-From-MY_PUBLIC_IP。
|
|
711
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
712
|
+
*/
|
|
713
|
+
PolicyDescription?: string;
|
|
714
|
+
/**
|
|
715
|
+
* 安全组最近修改时间。
|
|
716
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
717
|
+
*/
|
|
718
|
+
ModifyTime?: string;
|
|
719
|
+
}
|
|
655
720
|
/**
|
|
656
721
|
* DeleteVpnGatewaySslServer返回参数结构体
|
|
657
722
|
*/
|
|
@@ -2500,6 +2565,23 @@ export interface DescribeSpecificTrafficPackageUsedDetailsResponse {
|
|
|
2500
2565
|
*/
|
|
2501
2566
|
RequestId?: string;
|
|
2502
2567
|
}
|
|
2568
|
+
/**
|
|
2569
|
+
* DescribeIPv6Addresses返回参数结构体
|
|
2570
|
+
*/
|
|
2571
|
+
export interface DescribeIPv6AddressesResponse {
|
|
2572
|
+
/**
|
|
2573
|
+
* 符合条件的 IPv6 数量。
|
|
2574
|
+
*/
|
|
2575
|
+
TotalCount?: number;
|
|
2576
|
+
/**
|
|
2577
|
+
* IPv6 详细信息列表。
|
|
2578
|
+
*/
|
|
2579
|
+
AddressSet?: Array<Address>;
|
|
2580
|
+
/**
|
|
2581
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2582
|
+
*/
|
|
2583
|
+
RequestId?: string;
|
|
2584
|
+
}
|
|
2503
2585
|
/**
|
|
2504
2586
|
* AttachSnapshotInstances请求参数结构体
|
|
2505
2587
|
*/
|
|
@@ -2943,6 +3025,19 @@ export interface UnassignIpv6SubnetCidrBlockRequest {
|
|
|
2943
3025
|
*/
|
|
2944
3026
|
Ipv6SubnetCidrBlocks: Array<Ipv6SubnetCidrBlock>;
|
|
2945
3027
|
}
|
|
3028
|
+
/**
|
|
3029
|
+
* ModifyIPv6AddressesBandwidth请求参数结构体
|
|
3030
|
+
*/
|
|
3031
|
+
export interface ModifyIPv6AddressesBandwidthRequest {
|
|
3032
|
+
/**
|
|
3033
|
+
* 弹性公网IPv6地址唯一ID
|
|
3034
|
+
*/
|
|
3035
|
+
IPv6AddressIds: Array<string>;
|
|
3036
|
+
/**
|
|
3037
|
+
* 弹性公网IPv6地址网络带宽
|
|
3038
|
+
*/
|
|
3039
|
+
InternetMaxBandwidthOut: number;
|
|
3040
|
+
}
|
|
2946
3041
|
/**
|
|
2947
3042
|
* DeleteVpcEndPointService返回参数结构体
|
|
2948
3043
|
*/
|
|
@@ -3476,6 +3571,19 @@ export interface ModifyNetworkAclAttributeResponse {
|
|
|
3476
3571
|
*/
|
|
3477
3572
|
RequestId?: string;
|
|
3478
3573
|
}
|
|
3574
|
+
/**
|
|
3575
|
+
* ModifyIPv6AddressesAttributes请求参数结构体
|
|
3576
|
+
*/
|
|
3577
|
+
export interface ModifyIPv6AddressesAttributesRequest {
|
|
3578
|
+
/**
|
|
3579
|
+
* 弹性公网IPv6唯一ID列表。
|
|
3580
|
+
*/
|
|
3581
|
+
IPv6AddressIds: Array<string>;
|
|
3582
|
+
/**
|
|
3583
|
+
* 弹性公网IPv6地址名称
|
|
3584
|
+
*/
|
|
3585
|
+
IPv6AddressName?: string;
|
|
3586
|
+
}
|
|
3479
3587
|
/**
|
|
3480
3588
|
* CreateVpnGatewayRoutes请求参数结构体
|
|
3481
3589
|
*/
|
|
@@ -4852,27 +4960,27 @@ export interface CreateAddressTemplateGroupRequest {
|
|
|
4852
4960
|
* IP地址模板实例ID,例如:ipm-mdunqeb6。
|
|
4853
4961
|
*/
|
|
4854
4962
|
AddressTemplateIds: Array<string>;
|
|
4963
|
+
/**
|
|
4964
|
+
* 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
|
4965
|
+
*/
|
|
4966
|
+
Tags?: Array<Tag>;
|
|
4855
4967
|
}
|
|
4856
4968
|
/**
|
|
4857
|
-
*
|
|
4969
|
+
* AssociateIPv6Address请求参数结构体
|
|
4858
4970
|
*/
|
|
4859
|
-
export interface
|
|
4860
|
-
/**
|
|
4861
|
-
* nat的唯一标识
|
|
4862
|
-
*/
|
|
4863
|
-
NatGatewayId: string;
|
|
4971
|
+
export interface AssociateIPv6AddressRequest {
|
|
4864
4972
|
/**
|
|
4865
|
-
*
|
|
4973
|
+
* 弹性公网IPv6唯一ID,EIPv6 唯一 ID 形如:eipv6-11112222。
|
|
4866
4974
|
*/
|
|
4867
|
-
|
|
4975
|
+
IPv6AddressId: string;
|
|
4868
4976
|
/**
|
|
4869
|
-
*
|
|
4977
|
+
* 要绑定的弹性网卡 ID。 弹性网卡 ID 形如:eni-11112222。NetworkInterfaceId 与 InstanceId 不可同时指定。弹性网卡 ID 可通过登录控制台查询,也可通过DescribeNetworkInterfaces接口返回值中的networkInterfaceId获取。
|
|
4870
4978
|
*/
|
|
4871
|
-
|
|
4979
|
+
NetworkInterfaceId?: string;
|
|
4872
4980
|
/**
|
|
4873
|
-
*
|
|
4981
|
+
* 要绑定的内网 IPv6。如果指定了 NetworkInterfaceId 则也必须指定 PrivateIPv6Address ,表示将 EIP 绑定到指定弹性网卡的指定内网 IP 上。同时要确保指定的 PrivateIPv6Address 是指定的 NetworkInterfaceId 上的一个内网 IPv6。指定弹性网卡的内网 IPv6 可通过登录控制台查询,也可通过DescribeNetworkInterfaces接口返回值中的Ipv6AddressSet.Address获取。
|
|
4874
4982
|
*/
|
|
4875
|
-
|
|
4983
|
+
PrivateIPv6Address?: string;
|
|
4876
4984
|
}
|
|
4877
4985
|
/**
|
|
4878
4986
|
* DescribeCustomerGatewayVendors返回参数结构体
|
|
@@ -5367,65 +5475,13 @@ export interface RenewVpnGatewayRequest {
|
|
|
5367
5475
|
InstanceChargePrepaid: InstanceChargePrepaid;
|
|
5368
5476
|
}
|
|
5369
5477
|
/**
|
|
5370
|
-
*
|
|
5478
|
+
* AssociateIPv6Address返回参数结构体
|
|
5371
5479
|
*/
|
|
5372
|
-
export interface
|
|
5373
|
-
/**
|
|
5374
|
-
* 安全组规则索引号,值会随着安全组规则的变更动态变化。使用PolicyIndex时,请先调用`DescribeSecurityGroupPolicies`获取到规则的PolicyIndex,并且结合返回值中的Version一起使用处理规则。
|
|
5375
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5376
|
-
*/
|
|
5377
|
-
PolicyIndex?: number;
|
|
5378
|
-
/**
|
|
5379
|
-
* 协议, 取值: TCP,UDP,ICMP,ICMPv6,ALL。
|
|
5380
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5381
|
-
*/
|
|
5382
|
-
Protocol?: string;
|
|
5383
|
-
/**
|
|
5384
|
-
* 端口(all, 离散port, range)。
|
|
5385
|
-
说明:如果Protocol设置为ALL,则Port也需要设置为all。
|
|
5386
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5387
|
-
*/
|
|
5388
|
-
Port?: string;
|
|
5389
|
-
/**
|
|
5390
|
-
* 协议端口ID或者协议端口组ID。ServiceTemplate和Protocol+Port互斥。
|
|
5391
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5392
|
-
*/
|
|
5393
|
-
ServiceTemplate?: ServiceTemplateSpecification;
|
|
5394
|
-
/**
|
|
5395
|
-
* 网段或IP(互斥),特殊说明:0.0.0.0/n 都会映射为0.0.0.0/0。作为入参时,可使用字符串`MY_PUBLIC_IP`指代发起请求的公网IP地址。
|
|
5396
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5397
|
-
*/
|
|
5398
|
-
CidrBlock?: string;
|
|
5399
|
-
/**
|
|
5400
|
-
* 网段或IPv6(互斥)。作为入参时,可使用字符串`MY_PUBLIC_IP`指代发起请求的公网IPv6地址。
|
|
5401
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5402
|
-
*/
|
|
5403
|
-
Ipv6CidrBlock?: string;
|
|
5404
|
-
/**
|
|
5405
|
-
* 安全组实例ID,例如:sg-ohuuioma。
|
|
5406
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5407
|
-
*/
|
|
5408
|
-
SecurityGroupId?: string;
|
|
5409
|
-
/**
|
|
5410
|
-
* IP地址ID或者IP地址组ID。
|
|
5411
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5412
|
-
*/
|
|
5413
|
-
AddressTemplate?: AddressTemplateSpecification;
|
|
5480
|
+
export interface AssociateIPv6AddressResponse {
|
|
5414
5481
|
/**
|
|
5415
|
-
*
|
|
5416
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5417
|
-
*/
|
|
5418
|
-
Action?: string;
|
|
5419
|
-
/**
|
|
5420
|
-
* 安全组规则描述。作为入参时,当未传递该参数或值为空,且参数CidrBlock或Ipv6CidrBlock值为MY_PUBLIC_IP时,该参数的值将会被自动填充为Replaced-From-MY_PUBLIC_IP。
|
|
5421
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5422
|
-
*/
|
|
5423
|
-
PolicyDescription?: string;
|
|
5424
|
-
/**
|
|
5425
|
-
* 安全组最近修改时间。
|
|
5426
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5482
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5427
5483
|
*/
|
|
5428
|
-
|
|
5484
|
+
RequestId?: string;
|
|
5429
5485
|
}
|
|
5430
5486
|
/**
|
|
5431
5487
|
* DescribeCdcNetPlanes请求参数结构体
|
|
@@ -6131,6 +6187,15 @@ export interface DescribeVpnGatewaySslClientsResponse {
|
|
|
6131
6187
|
*/
|
|
6132
6188
|
RequestId?: string;
|
|
6133
6189
|
}
|
|
6190
|
+
/**
|
|
6191
|
+
* ReleaseIPv6Addresses返回参数结构体
|
|
6192
|
+
*/
|
|
6193
|
+
export interface ReleaseIPv6AddressesResponse {
|
|
6194
|
+
/**
|
|
6195
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6196
|
+
*/
|
|
6197
|
+
RequestId?: string;
|
|
6198
|
+
}
|
|
6134
6199
|
/**
|
|
6135
6200
|
* CreateCcn返回参数结构体
|
|
6136
6201
|
*/
|
|
@@ -6173,13 +6238,17 @@ export interface Tag {
|
|
|
6173
6238
|
Value?: string;
|
|
6174
6239
|
}
|
|
6175
6240
|
/**
|
|
6176
|
-
*
|
|
6241
|
+
* DescribeCcnAttachedInstances返回参数结构体
|
|
6177
6242
|
*/
|
|
6178
|
-
export interface
|
|
6243
|
+
export interface DescribeCcnAttachedInstancesResponse {
|
|
6179
6244
|
/**
|
|
6180
|
-
*
|
|
6245
|
+
* 符合条件的对象数。
|
|
6181
6246
|
*/
|
|
6182
|
-
|
|
6247
|
+
TotalCount?: number;
|
|
6248
|
+
/**
|
|
6249
|
+
* 关联实例列表。
|
|
6250
|
+
*/
|
|
6251
|
+
InstanceSet?: Array<CcnAttachedInstance>;
|
|
6183
6252
|
/**
|
|
6184
6253
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6185
6254
|
*/
|
|
@@ -6387,6 +6456,19 @@ export interface CreateVpnGatewaySslServerResponse {
|
|
|
6387
6456
|
*/
|
|
6388
6457
|
RequestId?: string;
|
|
6389
6458
|
}
|
|
6459
|
+
/**
|
|
6460
|
+
* DisassociateIPv6Address请求参数结构体
|
|
6461
|
+
*/
|
|
6462
|
+
export interface DisassociateIPv6AddressRequest {
|
|
6463
|
+
/**
|
|
6464
|
+
* 弹性公网IPv6唯一ID,EIPv6 唯一 ID 形如:eipv6-11112222。
|
|
6465
|
+
*/
|
|
6466
|
+
IPv6AddressId: string;
|
|
6467
|
+
/**
|
|
6468
|
+
* 解绑时是否保持绑定弹性网卡。
|
|
6469
|
+
*/
|
|
6470
|
+
KeepBindWithEni?: boolean;
|
|
6471
|
+
}
|
|
6390
6472
|
/**
|
|
6391
6473
|
* 本端目的IP端口转换复杂结构
|
|
6392
6474
|
*/
|
|
@@ -6910,17 +6992,13 @@ export interface DescribeSnapshotFilesResponse {
|
|
|
6910
6992
|
RequestId?: string;
|
|
6911
6993
|
}
|
|
6912
6994
|
/**
|
|
6913
|
-
*
|
|
6995
|
+
* CreateFlowLog返回参数结构体
|
|
6914
6996
|
*/
|
|
6915
|
-
export interface
|
|
6916
|
-
/**
|
|
6917
|
-
* 符合条件的对象数。
|
|
6918
|
-
*/
|
|
6919
|
-
TotalCount?: number;
|
|
6997
|
+
export interface CreateFlowLogResponse {
|
|
6920
6998
|
/**
|
|
6921
|
-
*
|
|
6999
|
+
* 创建的流日志信息。
|
|
6922
7000
|
*/
|
|
6923
|
-
|
|
7001
|
+
FlowLog?: Array<FlowLog>;
|
|
6924
7002
|
/**
|
|
6925
7003
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6926
7004
|
*/
|
|
@@ -7960,25 +8038,49 @@ export interface DeleteDirectConnectGatewayResponse {
|
|
|
7960
8038
|
RequestId?: string;
|
|
7961
8039
|
}
|
|
7962
8040
|
/**
|
|
7963
|
-
*
|
|
8041
|
+
* DescribeIPv6Addresses请求参数结构体
|
|
7964
8042
|
*/
|
|
7965
|
-
export interface
|
|
8043
|
+
export interface DescribeIPv6AddressesRequest {
|
|
7966
8044
|
/**
|
|
7967
|
-
*
|
|
8045
|
+
* 标识 IPv6 的唯一 ID 列。
|
|
8046
|
+
|
|
8047
|
+
- 传统弹性公网 IPv6 唯一 ID 形如:`eip-11112222`
|
|
8048
|
+
- 弹性公网 IPv6 唯一 ID 形如:`eipv6-11112222`
|
|
8049
|
+
|
|
8050
|
+
注意:参数不支持同时指定`IPv6AddressIds`和`Filters`。
|
|
7968
8051
|
*/
|
|
7969
|
-
|
|
8052
|
+
IPv6AddressIds?: Array<string>;
|
|
7970
8053
|
/**
|
|
7971
|
-
*
|
|
8054
|
+
* 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。参数不支持同时指定`IPv6AddressIds`和`Filters`。详细的过滤条件如下:
|
|
8055
|
+
|
|
8056
|
+
- address-id - String - 是否必填:否 - (过滤条件)按照弹性公网IPv6的唯一ID过滤。
|
|
8057
|
+
- public-ipv6-address - String - 是否必填:否 - (过滤条件)按照公网 IPv6 的 IP 地址过滤。
|
|
8058
|
+
- network-interface-id - String - 是否必填:否 - (过滤条件)按照弹性网卡的唯一ID过滤。
|
|
8059
|
+
- instance-id - String - 是否必填:否 - (过滤条件)按照绑定实例的唯一ID过滤。
|
|
8060
|
+
- charge-type - String - 是否必填:否 - (过滤条件)按照计费类型过滤。
|
|
8061
|
+
- private-ipv6-address - String - 是否必填:否 - (过滤条件)按照绑定的内网 IPv6 地址过滤。
|
|
8062
|
+
- egress - String - 是否必填:否 - (过滤条件)按照出口过滤。
|
|
8063
|
+
- address-type - String - 是否必填:否 - (过滤条件)按照IPv6类型 进行过滤。可选值:'EIP6','EIPv6','WanIPv6','HighQualityEIPv6'。默认值是'EIPv6'。
|
|
8064
|
+
- address-isp - String - 是否必填:否 - (过滤条件)按照 运营商类型 进行过滤。可选值:'BGP','CMCC','CUCC', 'CTCC'。
|
|
8065
|
+
- address-status - String - 是否必填:否 - (过滤条件)按照 EIP 的状态过滤。状态包含:'CREATING','BINDING','BIND','UNBINDING','UNBIND','OFFLINING','BIND_ENI','PRIVATE'。
|
|
8066
|
+
- address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。
|
|
8067
|
+
- tag-key - String - 是否必填:否 - (过滤条件)按照标签键进行过滤。
|
|
8068
|
+
- tag-value - String - 是否必填:否 - (过滤条件)按照标签值进行过滤。
|
|
8069
|
+
- tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。tag-key使用具体的标签键进行替换。
|
|
7972
8070
|
*/
|
|
7973
|
-
|
|
8071
|
+
Filters?: Array<Filter>;
|
|
7974
8072
|
/**
|
|
7975
|
-
*
|
|
8073
|
+
* 是否查询传统型IPv6地址信息。
|
|
7976
8074
|
*/
|
|
7977
|
-
|
|
8075
|
+
Traditional?: boolean;
|
|
7978
8076
|
/**
|
|
7979
|
-
*
|
|
8077
|
+
* 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/11646)中的相关小节。
|
|
7980
8078
|
*/
|
|
7981
|
-
|
|
8079
|
+
Offset?: number;
|
|
8080
|
+
/**
|
|
8081
|
+
* 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/11646)中的相关小节。
|
|
8082
|
+
*/
|
|
8083
|
+
Limit?: number;
|
|
7982
8084
|
}
|
|
7983
8085
|
/**
|
|
7984
8086
|
* ResetVpnGatewayInternetMaxBandwidth请求参数结构体
|
|
@@ -8317,6 +8419,79 @@ export interface ModifyVpnGatewayAttributeResponse {
|
|
|
8317
8419
|
*/
|
|
8318
8420
|
RequestId?: string;
|
|
8319
8421
|
}
|
|
8422
|
+
/**
|
|
8423
|
+
* AllocateIPv6Addresses请求参数结构体
|
|
8424
|
+
*/
|
|
8425
|
+
export interface AllocateIPv6AddressesRequest {
|
|
8426
|
+
/**
|
|
8427
|
+
* EIP名称,用于申请EIP时用户自定义该EIP的个性化名称,默认值:未命名。
|
|
8428
|
+
*/
|
|
8429
|
+
AddressName?: string;
|
|
8430
|
+
/**
|
|
8431
|
+
* 弹性公网IPv6类型,可选值:
|
|
8432
|
+
|
|
8433
|
+
- EIPv6:普通IPv6
|
|
8434
|
+
- HighQualityEIPv6:精品IPv6
|
|
8435
|
+
注意:需联系产品开通精品IPv6白名单,且仅部分地域支持精品IPv6
|
|
8436
|
+
|
|
8437
|
+
默认值:EIPv6。
|
|
8438
|
+
*/
|
|
8439
|
+
AddressType?: string;
|
|
8440
|
+
/**
|
|
8441
|
+
* 申请的弹性公网IPv6数量,默认值:1。
|
|
8442
|
+
*/
|
|
8443
|
+
AddressCount?: number;
|
|
8444
|
+
/**
|
|
8445
|
+
* 弹性公网IPv6计费方式,可选值:
|
|
8446
|
+
|
|
8447
|
+
- BANDWIDTH_PACKAGE:[共享带宽包](https://cloud.tencent.com/document/product/684/15255)付费
|
|
8448
|
+
- TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费
|
|
8449
|
+
|
|
8450
|
+
默认值:TRAFFIC_POSTPAID_BY_HOUR。
|
|
8451
|
+
*/
|
|
8452
|
+
InternetChargeType?: string;
|
|
8453
|
+
/**
|
|
8454
|
+
* 弹性公网IPv6线路类型,默认值:BGP。
|
|
8455
|
+
|
|
8456
|
+
已开通静态单线IP白名单的用户,可选值:
|
|
8457
|
+
- CMCC:中国移动
|
|
8458
|
+
- CTCC:中国电信
|
|
8459
|
+
- CUCC:中国联通
|
|
8460
|
+
注意:仅部分地域支持静态单线IP。
|
|
8461
|
+
*/
|
|
8462
|
+
InternetServiceProvider?: string;
|
|
8463
|
+
/**
|
|
8464
|
+
* 弹性公网IPv6带宽上限,单位:Mbps。
|
|
8465
|
+
|
|
8466
|
+
可选值范围取决于EIP计费方式:
|
|
8467
|
+
|
|
8468
|
+
- BANDWIDTH_PACKAGE:1 Mbps 至 2000 Mbps
|
|
8469
|
+
- TRAFFIC_POSTPAID_BY_HOUR:1 Mbps 至 100 Mbps
|
|
8470
|
+
|
|
8471
|
+
默认值:1 Mbps。
|
|
8472
|
+
*/
|
|
8473
|
+
InternetMaxBandwidthOut?: number;
|
|
8474
|
+
/**
|
|
8475
|
+
* 带宽包唯一ID参数。
|
|
8476
|
+
设定该参数且InternetChargeType为BANDWIDTH_PACKAGE,则表示创建的EIP加入该BGP带宽包并采用带宽包计费。
|
|
8477
|
+
*/
|
|
8478
|
+
BandwidthPackageId?: string;
|
|
8479
|
+
/**
|
|
8480
|
+
* 需要关联的标签列表。
|
|
8481
|
+
*/
|
|
8482
|
+
Tags?: Array<Tag>;
|
|
8483
|
+
/**
|
|
8484
|
+
* 弹性公网IPv6网络出口,可选值:
|
|
8485
|
+
|
|
8486
|
+
- CENTER_EGRESS_1:中心出口一
|
|
8487
|
+
- CENTER_EGRESS_2:中心出口二
|
|
8488
|
+
- CENTER_EGRESS_3:中心出口三
|
|
8489
|
+
注意:不同运营商或资源类型对应的网络出口需要联系产品开白
|
|
8490
|
+
|
|
8491
|
+
默认值:CENTER_EGRESS_1。
|
|
8492
|
+
*/
|
|
8493
|
+
Egress?: string;
|
|
8494
|
+
}
|
|
8320
8495
|
/**
|
|
8321
8496
|
* AssociateDirectConnectGatewayNatGateway返回参数结构体
|
|
8322
8497
|
*/
|
|
@@ -8853,6 +9028,10 @@ export interface CreateVpcEndPointServiceRequest {
|
|
|
8853
9028
|
* 挂载的PAAS服务类型,CLB,CDB,CRS,不填默认挂载为CLB。
|
|
8854
9029
|
*/
|
|
8855
9030
|
ServiceType?: string;
|
|
9031
|
+
/**
|
|
9032
|
+
* 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
|
9033
|
+
*/
|
|
9034
|
+
Tags?: Array<Tag>;
|
|
8856
9035
|
}
|
|
8857
9036
|
/**
|
|
8858
9037
|
* DescribePrivateNatGateways请求参数结构体
|
|
@@ -11086,6 +11265,27 @@ export interface DescribeNetworkAclsResponse {
|
|
|
11086
11265
|
*/
|
|
11087
11266
|
RequestId?: string;
|
|
11088
11267
|
}
|
|
11268
|
+
/**
|
|
11269
|
+
* DescribeNatGatewayDirectConnectGatewayRoute请求参数结构体
|
|
11270
|
+
*/
|
|
11271
|
+
export interface DescribeNatGatewayDirectConnectGatewayRouteRequest {
|
|
11272
|
+
/**
|
|
11273
|
+
* nat的唯一标识
|
|
11274
|
+
*/
|
|
11275
|
+
NatGatewayId: string;
|
|
11276
|
+
/**
|
|
11277
|
+
* vpc的唯一标识
|
|
11278
|
+
*/
|
|
11279
|
+
VpcId: string;
|
|
11280
|
+
/**
|
|
11281
|
+
* 0到200之间
|
|
11282
|
+
*/
|
|
11283
|
+
Limit?: number;
|
|
11284
|
+
/**
|
|
11285
|
+
* 大于0
|
|
11286
|
+
*/
|
|
11287
|
+
Offset?: number;
|
|
11288
|
+
}
|
|
11089
11289
|
/**
|
|
11090
11290
|
* DeleteFlowLog返回参数结构体
|
|
11091
11291
|
*/
|
|
@@ -11345,6 +11545,23 @@ export interface AccountAttribute {
|
|
|
11345
11545
|
*/
|
|
11346
11546
|
AttributeValues?: Array<string>;
|
|
11347
11547
|
}
|
|
11548
|
+
/**
|
|
11549
|
+
* AllocateIPv6Addresses返回参数结构体
|
|
11550
|
+
*/
|
|
11551
|
+
export interface AllocateIPv6AddressesResponse {
|
|
11552
|
+
/**
|
|
11553
|
+
* 申请到的弹性公网 IPv6 地址的唯一 ID 列表。
|
|
11554
|
+
*/
|
|
11555
|
+
AddressSet?: Array<string>;
|
|
11556
|
+
/**
|
|
11557
|
+
* 异步任务TaskId,可以使用[DescribeTaskResult](https://cloud.tencent.com/document/api/215/36271)接口查询任务状态。
|
|
11558
|
+
*/
|
|
11559
|
+
TaskId?: string;
|
|
11560
|
+
/**
|
|
11561
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11562
|
+
*/
|
|
11563
|
+
RequestId?: string;
|
|
11564
|
+
}
|
|
11348
11565
|
/**
|
|
11349
11566
|
* DeleteDirectConnectGatewayCcnRoutes请求参数结构体
|
|
11350
11567
|
*/
|
|
@@ -11762,21 +11979,22 @@ export interface DescribeRouteTableAssociatedInstancesRequest {
|
|
|
11762
11979
|
Limit?: number;
|
|
11763
11980
|
}
|
|
11764
11981
|
/**
|
|
11765
|
-
*
|
|
11982
|
+
* ReleaseIPv6Addresses请求参数结构体
|
|
11766
11983
|
*/
|
|
11767
|
-
export interface
|
|
11984
|
+
export interface ReleaseIPv6AddressesRequest {
|
|
11768
11985
|
/**
|
|
11769
|
-
*
|
|
11770
|
-
*/
|
|
11771
|
-
RouteTableId: string;
|
|
11772
|
-
/**
|
|
11773
|
-
* 路由策略ID。不能和RouteItemIds同时使用,但至少输入一个。单次处理上限100个。该参数取值可通过查询路由列表([DescribeRouteTables](https://cloud.tencent.com/document/product/215/15763))获取。
|
|
11986
|
+
* IPv6地址唯一ID。
|
|
11774
11987
|
*/
|
|
11775
|
-
|
|
11988
|
+
IPv6AddressIds: Array<string>;
|
|
11989
|
+
}
|
|
11990
|
+
/**
|
|
11991
|
+
* DisassociateIPv6Address返回参数结构体
|
|
11992
|
+
*/
|
|
11993
|
+
export interface DisassociateIPv6AddressResponse {
|
|
11776
11994
|
/**
|
|
11777
|
-
*
|
|
11995
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11778
11996
|
*/
|
|
11779
|
-
|
|
11997
|
+
RequestId?: string;
|
|
11780
11998
|
}
|
|
11781
11999
|
/**
|
|
11782
12000
|
* DescribeAddressTemplateGroups返回参数结构体
|
|
@@ -12876,6 +13094,27 @@ export interface VpnGateway {
|
|
|
12876
13094
|
*/
|
|
12877
13095
|
MaxConnection?: number;
|
|
12878
13096
|
}
|
|
13097
|
+
/**
|
|
13098
|
+
* ModifyAddressesBandwidth请求参数结构体
|
|
13099
|
+
*/
|
|
13100
|
+
export interface ModifyAddressesBandwidthRequest {
|
|
13101
|
+
/**
|
|
13102
|
+
* EIP唯一标识ID列表,形如'eip-xxxx'
|
|
13103
|
+
*/
|
|
13104
|
+
AddressIds: Array<string>;
|
|
13105
|
+
/**
|
|
13106
|
+
* 调整带宽目标值
|
|
13107
|
+
*/
|
|
13108
|
+
InternetMaxBandwidthOut: number;
|
|
13109
|
+
/**
|
|
13110
|
+
* 包月带宽起始时间(已废弃,输入无效)
|
|
13111
|
+
*/
|
|
13112
|
+
StartTime?: string;
|
|
13113
|
+
/**
|
|
13114
|
+
* 包月带宽结束时间(已废弃,输入无效)
|
|
13115
|
+
*/
|
|
13116
|
+
EndTime?: string;
|
|
13117
|
+
}
|
|
12879
13118
|
/**
|
|
12880
13119
|
* EnableVpcEndPointConnect请求参数结构体
|
|
12881
13120
|
*/
|
|
@@ -13244,6 +13483,15 @@ export interface ModifyRouteTableAttributeResponse {
|
|
|
13244
13483
|
*/
|
|
13245
13484
|
RequestId?: string;
|
|
13246
13485
|
}
|
|
13486
|
+
/**
|
|
13487
|
+
* ModifyIPv6AddressesBandwidth返回参数结构体
|
|
13488
|
+
*/
|
|
13489
|
+
export interface ModifyIPv6AddressesBandwidthResponse {
|
|
13490
|
+
/**
|
|
13491
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13492
|
+
*/
|
|
13493
|
+
RequestId?: string;
|
|
13494
|
+
}
|
|
13247
13495
|
/**
|
|
13248
13496
|
* DescribeSecurityGroupReferences返回参数结构体
|
|
13249
13497
|
*/
|
|
@@ -15455,6 +15703,10 @@ export interface CreateAddressTemplateRequest {
|
|
|
15455
15703
|
* 地址信息,支持携带备注,支持 IP、CIDR、IP 范围。Addresses与AddressesExtra必填其一。
|
|
15456
15704
|
*/
|
|
15457
15705
|
AddressesExtra?: Array<AddressInfo>;
|
|
15706
|
+
/**
|
|
15707
|
+
* 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
|
15708
|
+
*/
|
|
15709
|
+
Tags?: Array<Tag>;
|
|
15458
15710
|
}
|
|
15459
15711
|
/**
|
|
15460
15712
|
* DescribeNatGateways返回参数结构体
|
|
@@ -16815,6 +17067,23 @@ export interface CreateDhcpIpRequest {
|
|
|
16815
17067
|
*/
|
|
16816
17068
|
Tags?: Array<Tag>;
|
|
16817
17069
|
}
|
|
17070
|
+
/**
|
|
17071
|
+
* EnableRoutes请求参数结构体
|
|
17072
|
+
*/
|
|
17073
|
+
export interface EnableRoutesRequest {
|
|
17074
|
+
/**
|
|
17075
|
+
* 路由表唯一ID。
|
|
17076
|
+
*/
|
|
17077
|
+
RouteTableId: string;
|
|
17078
|
+
/**
|
|
17079
|
+
* 路由策略ID。不能和RouteItemIds同时使用,但至少输入一个。单次处理上限100个。该参数取值可通过查询路由列表([DescribeRouteTables](https://cloud.tencent.com/document/product/215/15763))获取。
|
|
17080
|
+
*/
|
|
17081
|
+
RouteIds?: Array<number | bigint>;
|
|
17082
|
+
/**
|
|
17083
|
+
* 路由策略唯一ID。不能和RouteIds同时使用,但至少输入一个。单次处理上限100个。该参数取值可通过查询路由列表([DescribeRouteTables](https://cloud.tencent.com/document/product/215/15763))获取。
|
|
17084
|
+
*/
|
|
17085
|
+
RouteItemIds?: Array<string>;
|
|
17086
|
+
}
|
|
16818
17087
|
/**
|
|
16819
17088
|
* DeleteTrafficPackages返回参数结构体
|
|
16820
17089
|
*/
|
|
@@ -16918,6 +17187,15 @@ export interface CreatePrivateNatGatewayDestinationIpPortTranslationNatRuleRespo
|
|
|
16918
17187
|
*/
|
|
16919
17188
|
RequestId?: string;
|
|
16920
17189
|
}
|
|
17190
|
+
/**
|
|
17191
|
+
* ModifyIPv6AddressesAttributes返回参数结构体
|
|
17192
|
+
*/
|
|
17193
|
+
export interface ModifyIPv6AddressesAttributesResponse {
|
|
17194
|
+
/**
|
|
17195
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
17196
|
+
*/
|
|
17197
|
+
RequestId?: string;
|
|
17198
|
+
}
|
|
16921
17199
|
/**
|
|
16922
17200
|
* ModifyCdcLDCXAttribute返回参数结构体
|
|
16923
17201
|
*/
|
|
@@ -58,9 +58,9 @@ it("aiart.v20221229.SubmitTrainPortraitModelJob", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("aiart.v20221229.
|
|
61
|
+
it("aiart.v20221229.ImageOutpainting", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.ImageOutpainting({})
|
|
64
64
|
expect(data).to.be.ok
|
|
65
65
|
} catch(error) {
|
|
66
66
|
expect(error.requestId).to.be.ok
|
|
@@ -128,6 +128,26 @@ it("aiart.v20221229.TextToImage", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("aiart.v20221229.QueryTextToImageProJob", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.QueryTextToImageProJob({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
141
|
+
it("aiart.v20221229.ImageInpaintingRemoval", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.ImageInpaintingRemoval({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
131
151
|
it("aiart.v20221229.ChangeClothes", async function () {
|
|
132
152
|
try {
|
|
133
153
|
const data = await client.ChangeClothes({})
|