@@ -147,6 +147,7 @@ class Client extends RPCClient {
147
147
* @param {String } ResultBodyModel - apiResultBodyModel. optional.
148
148
* @param {Boolean } ForceNonceCheck - forceNonceCheck. optional.
149
149
* @param {Boolean } DisableInternet - disableInternet. optional.
150
+ * @param {String } AppCodeAuthType - appCodeAuthType. optional.
150
151
*/
151
152
createApi ( params = { } , options = { } ) {
152
153
if ( ! hasOwnProperty ( params , 'GroupId' ) ) {
@@ -177,6 +178,7 @@ class Client extends RPCClient {
177
178
* @param {String } AccessKeyId - accessKeyId. optional.
178
179
* @param {String } GroupName - groupName. required.
179
180
* @param {String } Description - description. optional.
181
+ * @param {String } InstanceId - instanceId. optional.
180
182
*/
181
183
createApiGroup ( params = { } , options = { } ) {
182
184
if ( ! hasOwnProperty ( params , 'GroupName' ) ) {
@@ -374,6 +376,7 @@ class Client extends RPCClient {
374
376
* @param {String } PluginType - pluginType. required.
375
377
* @param {String } PluginData - pluginData. required.
376
378
* @param {String } Description - description. optional.
379
+ * @param {RepeatList } Tag - tags. optional.
377
380
*/
378
381
createPlugin ( params = { } , options = { } ) {
379
382
if ( ! hasOwnProperty ( params , 'PluginName' ) ) {
@@ -595,6 +598,17 @@ class Client extends RPCClient {
595
598
return this . request ( 'DeleteDomainCertificate' , params , options ) ;
596
599
}
597
600
601
+ /**
602
+ * @param {String } InstanceId - instanceId. required.
603
+ */
604
+ deleteInstance ( params = { } , options = { } ) {
605
+ if ( ! hasOwnProperty ( params , 'InstanceId' ) ) {
606
+ throw new TypeError ( 'parameter "InstanceId" is required' ) ;
607
+ }
608
+
609
+ return this . request ( 'DeleteInstance' , params , options ) ;
610
+ }
611
+
598
612
/**
599
613
* @param {String } SecurityToken - securityToken. optional.
600
614
* @param {String } AccessKeyId - accessKeyId. optional.
@@ -869,6 +883,9 @@ class Client extends RPCClient {
869
883
* @param {String } GroupName - groupName. optional.
870
884
* @param {Integer } PageNumber - pageNumber. optional.
871
885
* @param {Integer } PageSize - pageSize. optional.
886
+ * @param {Boolean } NotClassic - notClassic. optional.
887
+ * @param {Boolean } EnableTagAuth - enableTagAuth. optional.
888
+ * @param {RepeatList } Tag - tags. optional.
872
889
*/
873
890
describeApiGroups ( params = { } , options = { } ) {
874
891
return this . request ( 'DescribeApiGroups' , params , options ) ;
@@ -1164,6 +1181,8 @@ class Client extends RPCClient {
1164
1181
* @param {String } AppName - appName. optional.
1165
1182
* @param {Integer } PageNumber - pageNumber. optional. default: 1.
1166
1183
* @param {Integer } PageSize - pageSize. optional. default: 10.
1184
+ * @param {Boolean } EnableTagAuth - enableTagAuth. optional.
1185
+ * @param {RepeatList } Tag - tags. optional.
1167
1186
*/
1168
1187
describeApps ( params = { } , options = { } ) {
1169
1188
return this . request ( 'DescribeApps' , params , options ) ;
@@ -1350,6 +1369,16 @@ class Client extends RPCClient {
1350
1369
return this . request ( 'DescribeHistoryApis' , params , options ) ;
1351
1370
}
1352
1371
1372
+ /**
1373
+ * @param {String } SecurityToken - securityToken. optional.
1374
+ * @param {String } AccessKeyId - accessKeyId. optional.
1375
+ * @param {String } InstanceId - instanceId. optional.
1376
+ * @param {String } Language - language. optional.
1377
+ */
1378
+ describeInstances ( params = { } , options = { } ) {
1379
+ return this . request ( 'DescribeInstances' , params , options ) ;
1380
+ }
1381
+
1353
1382
/**
1354
1383
* @param {String } SecurityToken - securityToken. optional.
1355
1384
* @param {String } AccessKeyId - accessKeyId. optional.
@@ -1624,6 +1653,18 @@ class Client extends RPCClient {
1624
1653
return this . request ( 'DetachPlugin' , params , options ) ;
1625
1654
}
1626
1655
1656
+ /**
1657
+ * @param {String } DataFormat - dataFormat. optional.
1658
+ * @param {String } ApiUid - apiUid. required.
1659
+ */
1660
+ exportSwagger ( params = { } , options = { } ) {
1661
+ if ( ! hasOwnProperty ( params , 'ApiUid' ) ) {
1662
+ throw new TypeError ( 'parameter "ApiUid" is required' ) ;
1663
+ }
1664
+
1665
+ return this . request ( 'ExportSwagger' , params , options ) ;
1666
+ }
1667
+
1627
1668
/**
1628
1669
* @param {String } SecurityToken - securityToken. optional.
1629
1670
* @param {String } AccessKeyId - accessKeyId. optional.
@@ -1716,6 +1757,7 @@ class Client extends RPCClient {
1716
1757
* @param {String } ResultBodyModel - apiResultBodyModel. optional.
1717
1758
* @param {Boolean } ForceNonceCheck - forceNonceCheck. optional.
1718
1759
* @param {Boolean } DisableInternet - disableInternet. optional.
1760
+ * @param {String } AppCodeAuthType - appCodeAuthType. optional.
1719
1761
*/
1720
1762
modifyApi ( params = { } , options = { } ) {
1721
1763
if ( ! hasOwnProperty ( params , 'ApiName' ) ) {
@@ -1762,6 +1804,8 @@ class Client extends RPCClient {
1762
1804
* @param {String } GroupId - groupId. required.
1763
1805
* @param {String } TargetInstanceId - targetInstanceId. required.
1764
1806
* @param {String } Remark - remark. optional.
1807
+ * @param {Boolean } ReduceRpsLimit - reduceRpsLimit. optional.
1808
+ * @param {Boolean } DryRun - dryRun. optional.
1765
1809
*/
1766
1810
modifyApiGroupInstance ( params = { } , options = { } ) {
1767
1811
if ( ! hasOwnProperty ( params , 'GroupId' ) ) {
@@ -1806,6 +1850,37 @@ class Client extends RPCClient {
1806
1850
return this . request ( 'ModifyApp' , params , options ) ;
1807
1851
}
1808
1852
1853
+ /**
1854
+ * @param {String } InstanceId - instanceId. required.
1855
+ * @param {String } InstanceName - instanceName. optional.
1856
+ * @param {String } HttpsPolicy - httpPolicy. optional.
1857
+ * @param {String } Token - token. optional.
1858
+ */
1859
+ modifyInstanceAttribute ( params = { } , options = { } ) {
1860
+ if ( ! hasOwnProperty ( params , 'InstanceId' ) ) {
1861
+ throw new TypeError ( 'parameter "InstanceId" is required' ) ;
1862
+ }
1863
+
1864
+ return this . request ( 'ModifyInstanceAttribute' , params , options ) ;
1865
+ }
1866
+
1867
+ /**
1868
+ * @param {String } InstanceId - instanceId. required.
1869
+ * @param {String } VpcId - vpcId. required.
1870
+ * @param {String } Token - token. optional.
1871
+ */
1872
+ modifyInstanceVpcAttribute ( params = { } , options = { } ) {
1873
+ if ( ! hasOwnProperty ( params , 'InstanceId' ) ) {
1874
+ throw new TypeError ( 'parameter "InstanceId" is required' ) ;
1875
+ }
1876
+
1877
+ if ( ! hasOwnProperty ( params , 'VpcId' ) ) {
1878
+ throw new TypeError ( 'parameter "VpcId" is required' ) ;
1879
+ }
1880
+
1881
+ return this . request ( 'ModifyInstanceVpcAttribute' , params , options ) ;
1882
+ }
1883
+
1809
1884
/**
1810
1885
* @param {String } SecurityToken - securityToken. optional.
1811
1886
* @param {String } AccessKeyId - accessKeyId. optional.
@@ -2503,6 +2578,25 @@ class Client extends RPCClient {
2503
2578
return this . request ( 'SetMockIntegration' , params , options ) ;
2504
2579
}
2505
2580
2581
+ /**
2582
+ * @param {String } SecurityToken - securityToken. optional.
2583
+ * @param {String } AccessKeyId - accessKeyId. optional.
2584
+ * @param {String } GroupId - groupId. required.
2585
+ * @param {String } DomainName - domainName. required.
2586
+ * @param {String } WildcardDomainPatterns - wildcardDomainPatternsParam. optional.
2587
+ */
2588
+ setWildcardDomainPatterns ( params = { } , options = { } ) {
2589
+ if ( ! hasOwnProperty ( params , 'GroupId' ) ) {
2590
+ throw new TypeError ( 'parameter "GroupId" is required' ) ;
2591
+ }
2592
+
2593
+ if ( ! hasOwnProperty ( params , 'DomainName' ) ) {
2594
+ throw new TypeError ( 'parameter "DomainName" is required' ) ;
2595
+ }
2596
+
2597
+ return this . request ( 'SetWildcardDomainPatterns' , params , options ) ;
2598
+ }
2599
+
2506
2600
/**
2507
2601
* @param {String } SecurityToken - securityToken. optional.
2508
2602
* @param {String } AccessKeyId - accessKeyId. optional.
0 commit comments