@@ -525,8 +525,8 @@ public CreateAccessControlListResponse createAccessControlList(CreateAccessContr
525
525
526
526
/**
527
527
* * This operation is intended for API providers.
528
- * * The name of each API within the same group must be unique .
529
- * * Each request path within the same group must be unique .
528
+ * * The name of an API must be unique within an API group .
529
+ * * A request path must be unique within an API group .
530
530
* * The QPS limit on this operation is 50 per user.
531
531
*
532
532
* @param request CreateApiRequest
@@ -600,6 +600,10 @@ public CreateApiResponse createApiWithOptions(CreateApiRequest request, com.aliy
600
600
query .put ("ServiceConfig" , request .serviceConfig );
601
601
}
602
602
603
+ if (!com .aliyun .teautil .Common .isUnset (request .tag )) {
604
+ query .put ("Tag" , request .tag );
605
+ }
606
+
603
607
if (!com .aliyun .teautil .Common .isUnset (request .visibility )) {
604
608
query .put ("Visibility" , request .visibility );
605
609
}
@@ -665,8 +669,8 @@ public CreateApiResponse createApiWithOptions(CreateApiRequest request, com.aliy
665
669
666
670
/**
667
671
* * This operation is intended for API providers.
668
- * * The name of each API within the same group must be unique .
669
- * * Each request path within the same group must be unique .
672
+ * * The name of an API must be unique within an API group .
673
+ * * A request path must be unique within an API group .
670
674
* * The QPS limit on this operation is 50 per user.
671
675
*
672
676
* @param request CreateApiRequest
@@ -887,6 +891,10 @@ public CreateBackendResponse createBackendWithOptions(CreateBackendRequest reque
887
891
query .put ("CreateEventBridgeServiceLinkedRole" , request .createEventBridgeServiceLinkedRole );
888
892
}
889
893
894
+ if (!com .aliyun .teautil .Common .isUnset (request .createSlr )) {
895
+ query .put ("CreateSlr" , request .createSlr );
896
+ }
897
+
890
898
if (!com .aliyun .teautil .Common .isUnset (request .description )) {
891
899
query .put ("Description" , request .description );
892
900
}
@@ -895,6 +903,10 @@ public CreateBackendResponse createBackendWithOptions(CreateBackendRequest reque
895
903
query .put ("SecurityToken" , request .securityToken );
896
904
}
897
905
906
+ if (!com .aliyun .teautil .Common .isUnset (request .tag )) {
907
+ query .put ("Tag" , request .tag );
908
+ }
909
+
898
910
com .aliyun .teaopenapi .models .OpenApiRequest req = com .aliyun .teaopenapi .models .OpenApiRequest .build (TeaConverter .buildMap (
899
911
new TeaPair ("query" , com .aliyun .openapiutil .Client .query (query ))
900
912
));
@@ -981,6 +993,10 @@ public CreateDatasetResponse createDatasetWithOptions(CreateDatasetRequest reque
981
993
query .put ("SecurityToken" , request .securityToken );
982
994
}
983
995
996
+ if (!com .aliyun .teautil .Common .isUnset (request .tag )) {
997
+ query .put ("Tag" , request .tag );
998
+ }
999
+
984
1000
com .aliyun .teaopenapi .models .OpenApiRequest req = com .aliyun .teaopenapi .models .OpenApiRequest .build (TeaConverter .buildMap (
985
1001
new TeaPair ("query" , com .aliyun .openapiutil .Client .query (query ))
986
1002
));
@@ -1294,6 +1310,10 @@ public CreateModelResponse createModelWithOptions(CreateModelRequest request, co
1294
1310
query .put ("Schema" , request .schema );
1295
1311
}
1296
1312
1313
+ if (!com .aliyun .teautil .Common .isUnset (request .tag )) {
1314
+ query .put ("Tag" , request .tag );
1315
+ }
1316
+
1297
1317
com .aliyun .teaopenapi .models .OpenApiRequest req = com .aliyun .teaopenapi .models .OpenApiRequest .build (TeaConverter .buildMap (
1298
1318
new TeaPair ("query" , com .aliyun .openapiutil .Client .query (query ))
1299
1319
));
@@ -4488,6 +4508,10 @@ public DescribeBackendListResponse describeBackendListWithOptions(DescribeBacken
4488
4508
query .put ("SecurityToken" , request .securityToken );
4489
4509
}
4490
4510
4511
+ if (!com .aliyun .teautil .Common .isUnset (request .tag )) {
4512
+ query .put ("Tag" , request .tag );
4513
+ }
4514
+
4491
4515
com .aliyun .teaopenapi .models .OpenApiRequest req = com .aliyun .teaopenapi .models .OpenApiRequest .build (TeaConverter .buildMap (
4492
4516
new TeaPair ("query" , com .aliyun .openapiutil .Client .query (query ))
4493
4517
));
@@ -4648,6 +4672,10 @@ public DescribeDatasetListResponse describeDatasetListWithOptions(DescribeDatase
4648
4672
query .put ("SecurityToken" , request .securityToken );
4649
4673
}
4650
4674
4675
+ if (!com .aliyun .teautil .Common .isUnset (request .tag )) {
4676
+ query .put ("Tag" , request .tag );
4677
+ }
4678
+
4651
4679
com .aliyun .teaopenapi .models .OpenApiRequest req = com .aliyun .teaopenapi .models .OpenApiRequest .build (TeaConverter .buildMap (
4652
4680
new TeaPair ("query" , com .aliyun .openapiutil .Client .query (query ))
4653
4681
));
@@ -4745,7 +4773,7 @@ public DescribeDeployedApiResponse describeDeployedApi(DescribeDeployedApiReques
4745
4773
}
4746
4774
4747
4775
/**
4748
- * * This API is intended for API providers .
4776
+ * * This operation is intended for API callers .
4749
4777
*
4750
4778
* @param request DescribeDeployedApisRequest
4751
4779
* @param runtime runtime options for this request RuntimeOptions
@@ -4816,7 +4844,7 @@ public DescribeDeployedApisResponse describeDeployedApisWithOptions(DescribeDepl
4816
4844
}
4817
4845
4818
4846
/**
4819
- * * This API is intended for API providers .
4847
+ * * This operation is intended for API callers .
4820
4848
*
4821
4849
* @param request DescribeDeployedApisRequest
4822
4850
* @return DescribeDeployedApisResponse
@@ -5758,6 +5786,10 @@ public DescribeModelsResponse describeModelsWithOptions(DescribeModelsRequest re
5758
5786
query .put ("PageSize" , request .pageSize );
5759
5787
}
5760
5788
5789
+ if (!com .aliyun .teautil .Common .isUnset (request .tag )) {
5790
+ query .put ("Tag" , request .tag );
5791
+ }
5792
+
5761
5793
com .aliyun .teaopenapi .models .OpenApiRequest req = com .aliyun .teaopenapi .models .OpenApiRequest .build (TeaConverter .buildMap (
5762
5794
new TeaPair ("query" , com .aliyun .openapiutil .Client .query (query ))
5763
5795
));
@@ -6640,6 +6672,10 @@ public DescribeVpcAccessesResponse describeVpcAccessesWithOptions(DescribeVpcAcc
6640
6672
query .put ("SecurityToken" , request .securityToken );
6641
6673
}
6642
6674
6675
+ if (!com .aliyun .teautil .Common .isUnset (request .tag )) {
6676
+ query .put ("Tag" , request .tag );
6677
+ }
6678
+
6643
6679
if (!com .aliyun .teautil .Common .isUnset (request .vpcAccessId )) {
6644
6680
query .put ("VpcAccessId" , request .vpcAccessId );
6645
6681
}
@@ -7564,6 +7600,51 @@ public ModifyApiGroupResponse modifyApiGroup(ModifyApiGroupRequest request) thro
7564
7600
return this .modifyApiGroupWithOptions (request , runtime );
7565
7601
}
7566
7602
7603
+ public ModifyApiGroupInstanceResponse modifyApiGroupInstanceWithOptions (ModifyApiGroupInstanceRequest request , com .aliyun .teautil .models .RuntimeOptions runtime ) throws Exception {
7604
+ com .aliyun .teautil .Common .validateModel (request );
7605
+ java .util .Map <String , Object > query = new java .util .HashMap <>();
7606
+ if (!com .aliyun .teautil .Common .isUnset (request .groupId )) {
7607
+ query .put ("GroupId" , request .groupId );
7608
+ }
7609
+
7610
+ if (!com .aliyun .teautil .Common .isUnset (request .remark )) {
7611
+ query .put ("Remark" , request .remark );
7612
+ }
7613
+
7614
+ if (!com .aliyun .teautil .Common .isUnset (request .securityToken )) {
7615
+ query .put ("SecurityToken" , request .securityToken );
7616
+ }
7617
+
7618
+ if (!com .aliyun .teautil .Common .isUnset (request .tag )) {
7619
+ query .put ("Tag" , request .tag );
7620
+ }
7621
+
7622
+ if (!com .aliyun .teautil .Common .isUnset (request .targetInstanceId )) {
7623
+ query .put ("TargetInstanceId" , request .targetInstanceId );
7624
+ }
7625
+
7626
+ com .aliyun .teaopenapi .models .OpenApiRequest req = com .aliyun .teaopenapi .models .OpenApiRequest .build (TeaConverter .buildMap (
7627
+ new TeaPair ("query" , com .aliyun .openapiutil .Client .query (query ))
7628
+ ));
7629
+ com .aliyun .teaopenapi .models .Params params = com .aliyun .teaopenapi .models .Params .build (TeaConverter .buildMap (
7630
+ new TeaPair ("action" , "ModifyApiGroupInstance" ),
7631
+ new TeaPair ("version" , "2016-07-14" ),
7632
+ new TeaPair ("protocol" , "HTTPS" ),
7633
+ new TeaPair ("pathname" , "/" ),
7634
+ new TeaPair ("method" , "POST" ),
7635
+ new TeaPair ("authType" , "AK" ),
7636
+ new TeaPair ("style" , "RPC" ),
7637
+ new TeaPair ("reqBodyType" , "formData" ),
7638
+ new TeaPair ("bodyType" , "json" )
7639
+ ));
7640
+ return TeaModel .toModel (this .callApi (params , req , runtime ), new ModifyApiGroupInstanceResponse ());
7641
+ }
7642
+
7643
+ public ModifyApiGroupInstanceResponse modifyApiGroupInstance (ModifyApiGroupInstanceRequest request ) throws Exception {
7644
+ com .aliyun .teautil .models .RuntimeOptions runtime = new com .aliyun .teautil .models .RuntimeOptions ();
7645
+ return this .modifyApiGroupInstanceWithOptions (request , runtime );
7646
+ }
7647
+
7567
7648
public ModifyApiGroupNetworkPolicyResponse modifyApiGroupNetworkPolicyWithOptions (ModifyApiGroupNetworkPolicyRequest request , com .aliyun .teautil .models .RuntimeOptions runtime ) throws Exception {
7568
7649
com .aliyun .teautil .Common .validateModel (request );
7569
7650
java .util .Map <String , Object > query = new java .util .HashMap <>();
@@ -9472,6 +9553,51 @@ public SetApisAuthoritiesResponse setApisAuthorities(SetApisAuthoritiesRequest r
9472
9553
return this .setApisAuthoritiesWithOptions (request , runtime );
9473
9554
}
9474
9555
9556
+ public SetAppsAuthToApiProductResponse setAppsAuthToApiProductWithOptions (SetAppsAuthToApiProductRequest request , com .aliyun .teautil .models .RuntimeOptions runtime ) throws Exception {
9557
+ com .aliyun .teautil .Common .validateModel (request );
9558
+ java .util .Map <String , Object > query = new java .util .HashMap <>();
9559
+ if (!com .aliyun .teautil .Common .isUnset (request .apiProductId )) {
9560
+ query .put ("ApiProductId" , request .apiProductId );
9561
+ }
9562
+
9563
+ if (!com .aliyun .teautil .Common .isUnset (request .appIds )) {
9564
+ query .put ("AppIds" , request .appIds );
9565
+ }
9566
+
9567
+ if (!com .aliyun .teautil .Common .isUnset (request .authValidTime )) {
9568
+ query .put ("AuthValidTime" , request .authValidTime );
9569
+ }
9570
+
9571
+ if (!com .aliyun .teautil .Common .isUnset (request .description )) {
9572
+ query .put ("Description" , request .description );
9573
+ }
9574
+
9575
+ if (!com .aliyun .teautil .Common .isUnset (request .securityToken )) {
9576
+ query .put ("SecurityToken" , request .securityToken );
9577
+ }
9578
+
9579
+ com .aliyun .teaopenapi .models .OpenApiRequest req = com .aliyun .teaopenapi .models .OpenApiRequest .build (TeaConverter .buildMap (
9580
+ new TeaPair ("query" , com .aliyun .openapiutil .Client .query (query ))
9581
+ ));
9582
+ com .aliyun .teaopenapi .models .Params params = com .aliyun .teaopenapi .models .Params .build (TeaConverter .buildMap (
9583
+ new TeaPair ("action" , "SetAppsAuthToApiProduct" ),
9584
+ new TeaPair ("version" , "2016-07-14" ),
9585
+ new TeaPair ("protocol" , "HTTPS" ),
9586
+ new TeaPair ("pathname" , "/" ),
9587
+ new TeaPair ("method" , "POST" ),
9588
+ new TeaPair ("authType" , "AK" ),
9589
+ new TeaPair ("style" , "RPC" ),
9590
+ new TeaPair ("reqBodyType" , "formData" ),
9591
+ new TeaPair ("bodyType" , "json" )
9592
+ ));
9593
+ return TeaModel .toModel (this .callApi (params , req , runtime ), new SetAppsAuthToApiProductResponse ());
9594
+ }
9595
+
9596
+ public SetAppsAuthToApiProductResponse setAppsAuthToApiProduct (SetAppsAuthToApiProductRequest request ) throws Exception {
9597
+ com .aliyun .teautil .models .RuntimeOptions runtime = new com .aliyun .teautil .models .RuntimeOptions ();
9598
+ return this .setAppsAuthToApiProductWithOptions (request , runtime );
9599
+ }
9600
+
9475
9601
/**
9476
9602
* * This operation is intended for API providers and callers.
9477
9603
* * API providers can authorize any apps to call their APIs.
@@ -9950,6 +10076,10 @@ public SetVpcAccessResponse setVpcAccessWithOptions(SetVpcAccessRequest request,
9950
10076
query .put ("SecurityToken" , request .securityToken );
9951
10077
}
9952
10078
10079
+ if (!com .aliyun .teautil .Common .isUnset (request .tag )) {
10080
+ query .put ("Tag" , request .tag );
10081
+ }
10082
+
9953
10083
if (!com .aliyun .teautil .Common .isUnset (request .vpcId )) {
9954
10084
query .put ("VpcId" , request .vpcId );
9955
10085
}
0 commit comments