@alicloud/apig20240327 6.0.5 → 6.0.6
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 +40 -16
- package/dist/client.js +40 -16
- package/dist/client.js.map +1 -1
- package/dist/models/CreateSecretRequest.d.ts +39 -0
- package/dist/models/CreateSecretRequest.js.map +1 -1
- package/dist/models/CreateSecretResponseBody.d.ts +29 -1
- package/dist/models/CreateSecretResponseBody.js.map +1 -1
- package/dist/models/DeleteSecretResponseBody.d.ts +18 -1
- package/dist/models/DeleteSecretResponseBody.js.map +1 -1
- package/dist/models/GetSecretResponseBody.d.ts +89 -1
- package/dist/models/GetSecretResponseBody.js.map +1 -1
- package/dist/models/GetSecretValueResponseBody.d.ts +29 -1
- package/dist/models/GetSecretValueResponseBody.js.map +1 -1
- package/dist/models/ImportHttpApiResponseBody.d.ts +1 -0
- package/dist/models/ImportHttpApiResponseBody.js +2 -0
- package/dist/models/ImportHttpApiResponseBody.js.map +1 -1
- package/dist/models/ListConsumerAuthorizationRulesRequest.d.ts +9 -0
- package/dist/models/ListConsumerAuthorizationRulesRequest.js.map +1 -1
- package/dist/models/ListConsumerAuthorizationRulesResponseBody.d.ts +65 -0
- package/dist/models/ListConsumerAuthorizationRulesResponseBody.js.map +1 -1
- package/dist/models/ListPluginClassesRequest.d.ts +42 -0
- package/dist/models/ListPluginClassesRequest.js.map +1 -1
- package/dist/models/ListPluginClassesResponseBody.d.ts +61 -0
- package/dist/models/ListPluginClassesResponseBody.js.map +1 -1
- package/dist/models/ListSecretReferencesRequest.d.ts +14 -0
- package/dist/models/ListSecretReferencesRequest.js.map +1 -1
- package/dist/models/ListSecretReferencesResponseBody.d.ts +146 -0
- package/dist/models/ListSecretReferencesResponseBody.js.map +1 -1
- package/dist/models/UpdateSecretRequest.d.ts +7 -0
- package/dist/models/UpdateSecretRequest.js.map +1 -1
- package/dist/models/UpdateSecretResponseBody.d.ts +18 -1
- package/dist/models/UpdateSecretResponseBody.js.map +1 -1
- package/dist/models/ValidationOptions.d.ts +4 -0
- package/dist/models/ValidationOptions.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +40 -16
- package/src/models/CreateSecretRequest.ts +39 -0
- package/src/models/CreateSecretResponseBody.ts +29 -1
- package/src/models/DeleteSecretResponseBody.ts +18 -1
- package/src/models/GetSecretResponseBody.ts +89 -1
- package/src/models/GetSecretValueResponseBody.ts +29 -1
- package/src/models/ImportHttpApiResponseBody.ts +3 -0
- package/src/models/ListConsumerAuthorizationRulesRequest.ts +9 -0
- package/src/models/ListConsumerAuthorizationRulesResponseBody.ts +65 -0
- package/src/models/ListPluginClassesRequest.ts +42 -0
- package/src/models/ListPluginClassesResponseBody.ts +61 -0
- package/src/models/ListSecretReferencesRequest.ts +14 -0
- package/src/models/ListSecretReferencesResponseBody.ts +146 -0
- package/src/models/UpdateSecretRequest.ts +7 -0
- package/src/models/UpdateSecretResponseBody.ts +18 -1
- package/src/models/ValidationOptions.ts +4 -0
package/dist/client.d.ts
CHANGED
|
@@ -325,7 +325,7 @@ export default class Client extends OpenApi {
|
|
|
325
325
|
*/
|
|
326
326
|
createPolicyAttachment(request: $_model.CreatePolicyAttachmentRequest): Promise<$_model.CreatePolicyAttachmentResponse>;
|
|
327
327
|
/**
|
|
328
|
-
*
|
|
328
|
+
* Generates a key.
|
|
329
329
|
*
|
|
330
330
|
* @param request - CreateSecretRequest
|
|
331
331
|
* @param headers - map
|
|
@@ -336,7 +336,7 @@ export default class Client extends OpenApi {
|
|
|
336
336
|
[key: string]: string;
|
|
337
337
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateSecretResponse>;
|
|
338
338
|
/**
|
|
339
|
-
*
|
|
339
|
+
* Generates a key.
|
|
340
340
|
*
|
|
341
341
|
* @param request - CreateSecretRequest
|
|
342
342
|
* @returns CreateSecretResponse
|
|
@@ -605,7 +605,7 @@ export default class Client extends OpenApi {
|
|
|
605
605
|
*/
|
|
606
606
|
deletePolicyAttachment(policyAttachmentId: string): Promise<$_model.DeletePolicyAttachmentResponse>;
|
|
607
607
|
/**
|
|
608
|
-
*
|
|
608
|
+
* Deletes a key value.
|
|
609
609
|
*
|
|
610
610
|
* @param headers - map
|
|
611
611
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -615,7 +615,7 @@ export default class Client extends OpenApi {
|
|
|
615
615
|
[key: string]: string;
|
|
616
616
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteSecretResponse>;
|
|
617
617
|
/**
|
|
618
|
-
*
|
|
618
|
+
* Deletes a key value.
|
|
619
619
|
* @returns DeleteSecretResponse
|
|
620
620
|
*/
|
|
621
621
|
deleteSecret(secretId: string): Promise<$_model.DeleteSecretResponse>;
|
|
@@ -945,7 +945,10 @@ export default class Client extends OpenApi {
|
|
|
945
945
|
*/
|
|
946
946
|
getResourceOverview(request: $_model.GetResourceOverviewRequest): Promise<$_model.GetResourceOverviewResponse>;
|
|
947
947
|
/**
|
|
948
|
-
*
|
|
948
|
+
* Obtains the key.
|
|
949
|
+
*
|
|
950
|
+
* @remarks
|
|
951
|
+
* You can call this operation to create multiple services at a time.
|
|
949
952
|
*
|
|
950
953
|
* @param headers - map
|
|
951
954
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -955,12 +958,15 @@ export default class Client extends OpenApi {
|
|
|
955
958
|
[key: string]: string;
|
|
956
959
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetSecretResponse>;
|
|
957
960
|
/**
|
|
958
|
-
*
|
|
961
|
+
* Obtains the key.
|
|
962
|
+
*
|
|
963
|
+
* @remarks
|
|
964
|
+
* You can call this operation to create multiple services at a time.
|
|
959
965
|
* @returns GetSecretResponse
|
|
960
966
|
*/
|
|
961
967
|
getSecret(secretId: string): Promise<$_model.GetSecretResponse>;
|
|
962
968
|
/**
|
|
963
|
-
*
|
|
969
|
+
* Gets the key value.
|
|
964
970
|
*
|
|
965
971
|
* @param headers - map
|
|
966
972
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -970,7 +976,7 @@ export default class Client extends OpenApi {
|
|
|
970
976
|
[key: string]: string;
|
|
971
977
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetSecretValueResponse>;
|
|
972
978
|
/**
|
|
973
|
-
*
|
|
979
|
+
* Gets the key value.
|
|
974
980
|
* @returns GetSecretValueResponse
|
|
975
981
|
*/
|
|
976
982
|
getSecretValue(name: string): Promise<$_model.GetSecretValueResponse>;
|
|
@@ -1059,7 +1065,7 @@ export default class Client extends OpenApi {
|
|
|
1059
1065
|
*/
|
|
1060
1066
|
installPlugin(request: $_model.InstallPluginRequest): Promise<$_model.InstallPluginResponse>;
|
|
1061
1067
|
/**
|
|
1062
|
-
*
|
|
1068
|
+
* Obtains a list of consumer authentication rules.
|
|
1063
1069
|
*
|
|
1064
1070
|
* @param request - ListConsumerAuthorizationRulesRequest
|
|
1065
1071
|
* @param headers - map
|
|
@@ -1070,7 +1076,7 @@ export default class Client extends OpenApi {
|
|
|
1070
1076
|
[key: string]: string;
|
|
1071
1077
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListConsumerAuthorizationRulesResponse>;
|
|
1072
1078
|
/**
|
|
1073
|
-
*
|
|
1079
|
+
* Obtains a list of consumer authentication rules.
|
|
1074
1080
|
*
|
|
1075
1081
|
* @param request - ListConsumerAuthorizationRulesRequest
|
|
1076
1082
|
* @returns ListConsumerAuthorizationRulesResponse
|
|
@@ -1264,7 +1270,10 @@ export default class Client extends OpenApi {
|
|
|
1264
1270
|
*/
|
|
1265
1271
|
listPluginAttachments(request: $_model.ListPluginAttachmentsRequest): Promise<$_model.ListPluginAttachmentsResponse>;
|
|
1266
1272
|
/**
|
|
1267
|
-
*
|
|
1273
|
+
* Obtains a plugin.
|
|
1274
|
+
*
|
|
1275
|
+
* @remarks
|
|
1276
|
+
* You can call this operation to create multiple services at a time.
|
|
1268
1277
|
*
|
|
1269
1278
|
* @param request - ListPluginClassesRequest
|
|
1270
1279
|
* @param headers - map
|
|
@@ -1275,7 +1284,10 @@ export default class Client extends OpenApi {
|
|
|
1275
1284
|
[key: string]: string;
|
|
1276
1285
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListPluginClassesResponse>;
|
|
1277
1286
|
/**
|
|
1278
|
-
*
|
|
1287
|
+
* Obtains a plugin.
|
|
1288
|
+
*
|
|
1289
|
+
* @remarks
|
|
1290
|
+
* You can call this operation to create multiple services at a time.
|
|
1279
1291
|
*
|
|
1280
1292
|
* @param request - ListPluginClassesRequest
|
|
1281
1293
|
* @returns ListPluginClassesResponse
|
|
@@ -1336,7 +1348,10 @@ export default class Client extends OpenApi {
|
|
|
1336
1348
|
*/
|
|
1337
1349
|
listPolicyClasses(request: $_model.ListPolicyClassesRequest): Promise<$_model.ListPolicyClassesResponse>;
|
|
1338
1350
|
/**
|
|
1339
|
-
*
|
|
1351
|
+
* Lists key references.
|
|
1352
|
+
*
|
|
1353
|
+
* @remarks
|
|
1354
|
+
* You can call this operation to create multiple services at a time.
|
|
1340
1355
|
*
|
|
1341
1356
|
* @param request - ListSecretReferencesRequest
|
|
1342
1357
|
* @param headers - map
|
|
@@ -1347,7 +1362,10 @@ export default class Client extends OpenApi {
|
|
|
1347
1362
|
[key: string]: string;
|
|
1348
1363
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListSecretReferencesResponse>;
|
|
1349
1364
|
/**
|
|
1350
|
-
*
|
|
1365
|
+
* Lists key references.
|
|
1366
|
+
*
|
|
1367
|
+
* @remarks
|
|
1368
|
+
* You can call this operation to create multiple services at a time.
|
|
1351
1369
|
*
|
|
1352
1370
|
* @param request - ListSecretReferencesRequest
|
|
1353
1371
|
* @returns ListSecretReferencesResponse
|
|
@@ -1787,7 +1805,10 @@ export default class Client extends OpenApi {
|
|
|
1787
1805
|
*/
|
|
1788
1806
|
updatePolicy(policyId: string, request: $_model.UpdatePolicyRequest): Promise<$_model.UpdatePolicyResponse>;
|
|
1789
1807
|
/**
|
|
1790
|
-
*
|
|
1808
|
+
* Updates the key.
|
|
1809
|
+
*
|
|
1810
|
+
* @remarks
|
|
1811
|
+
* You can only update the listening Ingress configuration for sources of the **ACK** type.
|
|
1791
1812
|
*
|
|
1792
1813
|
* @param request - UpdateSecretRequest
|
|
1793
1814
|
* @param headers - map
|
|
@@ -1798,7 +1819,10 @@ export default class Client extends OpenApi {
|
|
|
1798
1819
|
[key: string]: string;
|
|
1799
1820
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateSecretResponse>;
|
|
1800
1821
|
/**
|
|
1801
|
-
*
|
|
1822
|
+
* Updates the key.
|
|
1823
|
+
*
|
|
1824
|
+
* @remarks
|
|
1825
|
+
* You can only update the listening Ingress configuration for sources of the **ACK** type.
|
|
1802
1826
|
*
|
|
1803
1827
|
* @param request - UpdateSecretRequest
|
|
1804
1828
|
* @returns UpdateSecretResponse
|
package/dist/client.js
CHANGED
|
@@ -1087,7 +1087,7 @@ class Client extends openapi_core_1.default {
|
|
|
1087
1087
|
return await this.createPolicyAttachmentWithOptions(request, headers, runtime);
|
|
1088
1088
|
}
|
|
1089
1089
|
/**
|
|
1090
|
-
*
|
|
1090
|
+
* Generates a key.
|
|
1091
1091
|
*
|
|
1092
1092
|
* @param request - CreateSecretRequest
|
|
1093
1093
|
* @param headers - map
|
|
@@ -1133,7 +1133,7 @@ class Client extends openapi_core_1.default {
|
|
|
1133
1133
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateSecretResponse({}));
|
|
1134
1134
|
}
|
|
1135
1135
|
/**
|
|
1136
|
-
*
|
|
1136
|
+
* Generates a key.
|
|
1137
1137
|
*
|
|
1138
1138
|
* @param request - CreateSecretRequest
|
|
1139
1139
|
* @returns CreateSecretResponse
|
|
@@ -1748,7 +1748,7 @@ class Client extends openapi_core_1.default {
|
|
|
1748
1748
|
return await this.deletePolicyAttachmentWithOptions(policyAttachmentId, headers, runtime);
|
|
1749
1749
|
}
|
|
1750
1750
|
/**
|
|
1751
|
-
*
|
|
1751
|
+
* Deletes a key value.
|
|
1752
1752
|
*
|
|
1753
1753
|
* @param headers - map
|
|
1754
1754
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1772,7 +1772,7 @@ class Client extends openapi_core_1.default {
|
|
|
1772
1772
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteSecretResponse({}));
|
|
1773
1773
|
}
|
|
1774
1774
|
/**
|
|
1775
|
-
*
|
|
1775
|
+
* Deletes a key value.
|
|
1776
1776
|
* @returns DeleteSecretResponse
|
|
1777
1777
|
*/
|
|
1778
1778
|
async deleteSecret(secretId) {
|
|
@@ -2535,7 +2535,10 @@ class Client extends openapi_core_1.default {
|
|
|
2535
2535
|
return await this.getResourceOverviewWithOptions(request, headers, runtime);
|
|
2536
2536
|
}
|
|
2537
2537
|
/**
|
|
2538
|
-
*
|
|
2538
|
+
* Obtains the key.
|
|
2539
|
+
*
|
|
2540
|
+
* @remarks
|
|
2541
|
+
* You can call this operation to create multiple services at a time.
|
|
2539
2542
|
*
|
|
2540
2543
|
* @param headers - map
|
|
2541
2544
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2559,7 +2562,10 @@ class Client extends openapi_core_1.default {
|
|
|
2559
2562
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSecretResponse({}));
|
|
2560
2563
|
}
|
|
2561
2564
|
/**
|
|
2562
|
-
*
|
|
2565
|
+
* Obtains the key.
|
|
2566
|
+
*
|
|
2567
|
+
* @remarks
|
|
2568
|
+
* You can call this operation to create multiple services at a time.
|
|
2563
2569
|
* @returns GetSecretResponse
|
|
2564
2570
|
*/
|
|
2565
2571
|
async getSecret(secretId) {
|
|
@@ -2568,7 +2574,7 @@ class Client extends openapi_core_1.default {
|
|
|
2568
2574
|
return await this.getSecretWithOptions(secretId, headers, runtime);
|
|
2569
2575
|
}
|
|
2570
2576
|
/**
|
|
2571
|
-
*
|
|
2577
|
+
* Gets the key value.
|
|
2572
2578
|
*
|
|
2573
2579
|
* @param headers - map
|
|
2574
2580
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2592,7 +2598,7 @@ class Client extends openapi_core_1.default {
|
|
|
2592
2598
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSecretValueResponse({}));
|
|
2593
2599
|
}
|
|
2594
2600
|
/**
|
|
2595
|
-
*
|
|
2601
|
+
* Gets the key value.
|
|
2596
2602
|
* @returns GetSecretValueResponse
|
|
2597
2603
|
*/
|
|
2598
2604
|
async getSecretValue(name) {
|
|
@@ -2832,7 +2838,7 @@ class Client extends openapi_core_1.default {
|
|
|
2832
2838
|
return await this.installPluginWithOptions(request, headers, runtime);
|
|
2833
2839
|
}
|
|
2834
2840
|
/**
|
|
2835
|
-
*
|
|
2841
|
+
* Obtains a list of consumer authentication rules.
|
|
2836
2842
|
*
|
|
2837
2843
|
* @param request - ListConsumerAuthorizationRulesRequest
|
|
2838
2844
|
* @param headers - map
|
|
@@ -2869,7 +2875,7 @@ class Client extends openapi_core_1.default {
|
|
|
2869
2875
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConsumerAuthorizationRulesResponse({}));
|
|
2870
2876
|
}
|
|
2871
2877
|
/**
|
|
2872
|
-
*
|
|
2878
|
+
* Obtains a list of consumer authentication rules.
|
|
2873
2879
|
*
|
|
2874
2880
|
* @param request - ListConsumerAuthorizationRulesRequest
|
|
2875
2881
|
* @returns ListConsumerAuthorizationRulesResponse
|
|
@@ -3538,7 +3544,10 @@ class Client extends openapi_core_1.default {
|
|
|
3538
3544
|
return await this.listPluginAttachmentsWithOptions(request, headers, runtime);
|
|
3539
3545
|
}
|
|
3540
3546
|
/**
|
|
3541
|
-
*
|
|
3547
|
+
* Obtains a plugin.
|
|
3548
|
+
*
|
|
3549
|
+
* @remarks
|
|
3550
|
+
* You can call this operation to create multiple services at a time.
|
|
3542
3551
|
*
|
|
3543
3552
|
* @param request - ListPluginClassesRequest
|
|
3544
3553
|
* @param headers - map
|
|
@@ -3599,7 +3608,10 @@ class Client extends openapi_core_1.default {
|
|
|
3599
3608
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPluginClassesResponse({}));
|
|
3600
3609
|
}
|
|
3601
3610
|
/**
|
|
3602
|
-
*
|
|
3611
|
+
* Obtains a plugin.
|
|
3612
|
+
*
|
|
3613
|
+
* @remarks
|
|
3614
|
+
* You can call this operation to create multiple services at a time.
|
|
3603
3615
|
*
|
|
3604
3616
|
* @param request - ListPluginClassesRequest
|
|
3605
3617
|
* @returns ListPluginClassesResponse
|
|
@@ -3796,7 +3808,10 @@ class Client extends openapi_core_1.default {
|
|
|
3796
3808
|
return await this.listPolicyClassesWithOptions(request, headers, runtime);
|
|
3797
3809
|
}
|
|
3798
3810
|
/**
|
|
3799
|
-
*
|
|
3811
|
+
* Lists key references.
|
|
3812
|
+
*
|
|
3813
|
+
* @remarks
|
|
3814
|
+
* You can call this operation to create multiple services at a time.
|
|
3800
3815
|
*
|
|
3801
3816
|
* @param request - ListSecretReferencesRequest
|
|
3802
3817
|
* @param headers - map
|
|
@@ -3830,7 +3845,10 @@ class Client extends openapi_core_1.default {
|
|
|
3830
3845
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSecretReferencesResponse({}));
|
|
3831
3846
|
}
|
|
3832
3847
|
/**
|
|
3833
|
-
*
|
|
3848
|
+
* Lists key references.
|
|
3849
|
+
*
|
|
3850
|
+
* @remarks
|
|
3851
|
+
* You can call this operation to create multiple services at a time.
|
|
3834
3852
|
*
|
|
3835
3853
|
* @param request - ListSecretReferencesRequest
|
|
3836
3854
|
* @returns ListSecretReferencesResponse
|
|
@@ -5079,7 +5097,10 @@ class Client extends openapi_core_1.default {
|
|
|
5079
5097
|
return await this.updatePolicyWithOptions(policyId, request, headers, runtime);
|
|
5080
5098
|
}
|
|
5081
5099
|
/**
|
|
5082
|
-
*
|
|
5100
|
+
* Updates the key.
|
|
5101
|
+
*
|
|
5102
|
+
* @remarks
|
|
5103
|
+
* You can only update the listening Ingress configuration for sources of the **ACK** type.
|
|
5083
5104
|
*
|
|
5084
5105
|
* @param request - UpdateSecretRequest
|
|
5085
5106
|
* @param headers - map
|
|
@@ -5110,7 +5131,10 @@ class Client extends openapi_core_1.default {
|
|
|
5110
5131
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateSecretResponse({}));
|
|
5111
5132
|
}
|
|
5112
5133
|
/**
|
|
5113
|
-
*
|
|
5134
|
+
* Updates the key.
|
|
5135
|
+
*
|
|
5136
|
+
* @remarks
|
|
5137
|
+
* You can only update the listening Ingress configuration for sources of the **ACK** type.
|
|
5114
5138
|
*
|
|
5115
5139
|
* @param request - UpdateSecretRequest
|
|
5116
5140
|
* @returns UpdateSecretResponse
|