@alicloud/apig20240327 11.9.0 → 11.9.1
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 +116 -68
- package/dist/client.js +122 -68
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAiModelSourceResponseBody.d.ts +4 -4
- package/dist/models/CreateConsumerGroupRequest.d.ts +2 -2
- package/dist/models/CreateConsumerGroupResponseBody.d.ts +1 -1
- package/dist/models/CreateGatewayQuotaRuleSubjectUsageExportTaskRequest.d.ts +12 -12
- package/dist/models/CreateGatewayQuotaRuleSubjectUsageExportTaskResponseBody.d.ts +4 -4
- package/dist/models/CreateHttpApiRouteRequest.d.ts +27 -17
- package/dist/models/CreateHttpApiRouteRequest.js +2 -0
- package/dist/models/CreateHttpApiRouteRequest.js.map +1 -1
- package/dist/models/CreateHttpApiRouteResponseBody.d.ts +2 -2
- package/dist/models/CreateLogicalModelRequest.d.ts +18 -18
- package/dist/models/CreateLogicalModelResponseBody.d.ts +33 -33
- package/dist/models/CreatePolicyAttachmentRequest.d.ts +1 -1
- package/dist/models/CreateSecretRequest.d.ts +3 -3
- package/dist/models/CreateSecretResponseBody.d.ts +1 -1
- package/dist/models/DeleteModelGroupRequest.d.ts +2 -0
- package/dist/models/DeleteModelGroupRequest.js.map +1 -1
- package/dist/models/DeleteModelGroupResponseBody.d.ts +9 -0
- package/dist/models/DeleteModelGroupResponseBody.js.map +1 -1
- package/dist/models/GetAiModelSourceEditImpactResponseBody.d.ts +51 -0
- package/dist/models/GetAiModelSourceEditImpactResponseBody.js.map +1 -1
- package/dist/models/GetDeveloperResponseBody.d.ts +3 -3
- package/dist/models/GetGatewayQuotaRuleSubjectUsageExportTaskResponseBody.d.ts +23 -24
- package/dist/models/GetGatewayQuotaRuleSubjectUsageExportTaskResponseBody.js.map +1 -1
- package/dist/models/GetLogicalModelDeploymentResponseBody.d.ts +48 -1
- package/dist/models/GetLogicalModelDeploymentResponseBody.js.map +1 -1
- package/dist/models/GetLogicalModelResponseBody.d.ts +118 -0
- package/dist/models/GetLogicalModelResponseBody.js.map +1 -1
- package/dist/models/GetModelApiResponseBody.d.ts +13 -0
- package/dist/models/GetModelApiResponseBody.js.map +1 -1
- package/dist/models/GetModelGroupResponseBody.d.ts +66 -2
- package/dist/models/GetModelGroupResponseBody.js.map +1 -1
- package/dist/models/ListAiModelSourceModelsRequest.d.ts +13 -0
- package/dist/models/ListAiModelSourceModelsRequest.js.map +1 -1
- package/dist/models/ListAiModelSourceModelsResponseBody.d.ts +113 -1
- package/dist/models/ListAiModelSourceModelsResponseBody.js.map +1 -1
- package/dist/models/ListAiModelSourcesRequest.d.ts +2 -2
- package/dist/models/ListAiModelSourcesResponseBody.d.ts +5 -5
- package/dist/models/ListConsumerGroupsRequest.d.ts +1 -1
- package/dist/models/ListConsumerGroupsResponseBody.d.ts +1 -1
- package/dist/models/ListHttpApiRoutesRequest.d.ts +14 -12
- package/dist/models/ListHttpApiRoutesRequest.js.map +1 -1
- package/dist/models/ListHttpApiRoutesResponseBody.d.ts +1 -1
- package/dist/models/ListLogicalModelsRequest.d.ts +3 -3
- package/dist/models/ListLogicalModelsResponseBody.d.ts +19 -19
- package/dist/models/ListModelApisRequest.d.ts +2 -2
- package/dist/models/ListModelApisResponseBody.d.ts +2 -2
- package/dist/models/ListModelGroupsRequest.d.ts +10 -0
- package/dist/models/ListModelGroupsRequest.js.map +1 -1
- package/dist/models/ListModelGroupsResponseBody.d.ts +79 -2
- package/dist/models/ListModelGroupsResponseBody.js.map +1 -1
- package/dist/models/PreviewLogicalModelUpdateRequest.d.ts +35 -0
- package/dist/models/PreviewLogicalModelUpdateRequest.js.map +1 -1
- package/dist/models/PreviewLogicalModelUpdateResponseBody.d.ts +42 -0
- package/dist/models/PreviewLogicalModelUpdateResponseBody.js.map +1 -1
- package/dist/models/RevealServiceCredentialResponseBody.d.ts +5 -5
- package/dist/models/RevokeConsumerModelCardGrantsRequest.d.ts +4 -4
- package/dist/models/RevokeConsumerModelCardGrantsResponseBody.d.ts +8 -8
- package/dist/models/RiskCheckResults.d.ts +14 -22
- package/dist/models/RiskCheckResults.js.map +1 -1
- package/dist/models/SyncMcpserversRequest.d.ts +8 -8
- package/dist/models/SyncMcpserversResponseBody.d.ts +5 -5
- package/dist/models/UpdateAiModelSourceModelRequest.d.ts +5 -5
- package/dist/models/UpdateAiModelSourceModelResponseBody.d.ts +8 -8
- package/dist/models/UpdateAiModelSourceResponseBody.d.ts +2 -2
- package/dist/models/UpdateConsumerAuthorizationRuleRequest.d.ts +1 -1
- package/dist/models/UpdateHttpApiRouteRequest.d.ts +18 -8
- package/dist/models/UpdateHttpApiRouteRequest.js +2 -0
- package/dist/models/UpdateHttpApiRouteRequest.js.map +1 -1
- package/dist/models/UpdateLogicalModelRequest.d.ts +40 -0
- package/dist/models/UpdateLogicalModelRequest.js.map +1 -1
- package/dist/models/UpdateLogicalModelResponseBody.d.ts +118 -0
- package/dist/models/UpdateLogicalModelResponseBody.js.map +1 -1
- package/dist/models/UpdateSecretResponseBody.d.ts +1 -1
- package/package.json +1 -1
- package/src/client.ts +124 -68
- package/src/models/CreateAiModelSourceResponseBody.ts +4 -4
- package/src/models/CreateConsumerGroupRequest.ts +2 -2
- package/src/models/CreateConsumerGroupResponseBody.ts +1 -1
- package/src/models/CreateGatewayQuotaRuleSubjectUsageExportTaskRequest.ts +12 -12
- package/src/models/CreateGatewayQuotaRuleSubjectUsageExportTaskResponseBody.ts +4 -4
- package/src/models/CreateHttpApiRouteRequest.ts +29 -17
- package/src/models/CreateHttpApiRouteResponseBody.ts +2 -2
- package/src/models/CreateLogicalModelRequest.ts +18 -18
- package/src/models/CreateLogicalModelResponseBody.ts +33 -33
- package/src/models/CreatePolicyAttachmentRequest.ts +1 -1
- package/src/models/CreateSecretRequest.ts +3 -3
- package/src/models/CreateSecretResponseBody.ts +1 -1
- package/src/models/DeleteModelGroupRequest.ts +2 -0
- package/src/models/DeleteModelGroupResponseBody.ts +9 -0
- package/src/models/GetAiModelSourceEditImpactResponseBody.ts +51 -0
- package/src/models/GetDeveloperResponseBody.ts +3 -3
- package/src/models/GetGatewayQuotaRuleSubjectUsageExportTaskResponseBody.ts +23 -24
- package/src/models/GetLogicalModelDeploymentResponseBody.ts +48 -1
- package/src/models/GetLogicalModelResponseBody.ts +118 -0
- package/src/models/GetModelApiResponseBody.ts +13 -0
- package/src/models/GetModelGroupResponseBody.ts +66 -2
- package/src/models/ListAiModelSourceModelsRequest.ts +13 -0
- package/src/models/ListAiModelSourceModelsResponseBody.ts +113 -1
- package/src/models/ListAiModelSourcesRequest.ts +2 -2
- package/src/models/ListAiModelSourcesResponseBody.ts +5 -5
- package/src/models/ListConsumerGroupsRequest.ts +1 -1
- package/src/models/ListConsumerGroupsResponseBody.ts +1 -1
- package/src/models/ListHttpApiRoutesRequest.ts +14 -12
- package/src/models/ListHttpApiRoutesResponseBody.ts +1 -1
- package/src/models/ListLogicalModelsRequest.ts +3 -3
- package/src/models/ListLogicalModelsResponseBody.ts +19 -19
- package/src/models/ListModelApisRequest.ts +2 -2
- package/src/models/ListModelApisResponseBody.ts +2 -2
- package/src/models/ListModelGroupsRequest.ts +10 -0
- package/src/models/ListModelGroupsResponseBody.ts +79 -2
- package/src/models/PreviewLogicalModelUpdateRequest.ts +35 -0
- package/src/models/PreviewLogicalModelUpdateResponseBody.ts +42 -0
- package/src/models/RevealServiceCredentialResponseBody.ts +5 -5
- package/src/models/RevokeConsumerModelCardGrantsRequest.ts +4 -4
- package/src/models/RevokeConsumerModelCardGrantsResponseBody.ts +8 -8
- package/src/models/RiskCheckResults.ts +14 -22
- package/src/models/SyncMcpserversRequest.ts +8 -8
- package/src/models/SyncMcpserversResponseBody.ts +5 -5
- package/src/models/UpdateAiModelSourceModelRequest.ts +5 -5
- package/src/models/UpdateAiModelSourceModelResponseBody.ts +8 -8
- package/src/models/UpdateAiModelSourceResponseBody.ts +2 -2
- package/src/models/UpdateConsumerAuthorizationRuleRequest.ts +1 -1
- package/src/models/UpdateHttpApiRouteRequest.ts +20 -8
- package/src/models/UpdateLogicalModelRequest.ts +40 -0
- package/src/models/UpdateLogicalModelResponseBody.ts +118 -0
- package/src/models/UpdateSecretResponseBody.ts +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -271,7 +271,7 @@ export default class Client extends OpenApi {
|
|
|
271
271
|
*/
|
|
272
272
|
createAiModelProvider(request: $_model.CreateAiModelProviderRequest): Promise<$_model.CreateAiModelProviderResponse>;
|
|
273
273
|
/**
|
|
274
|
-
* Creates
|
|
274
|
+
* Creates an independent AI model source.
|
|
275
275
|
*
|
|
276
276
|
* @param request - CreateAiModelSourceRequest
|
|
277
277
|
* @param headers - map
|
|
@@ -282,7 +282,7 @@ export default class Client extends OpenApi {
|
|
|
282
282
|
[key: string]: string;
|
|
283
283
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAiModelSourceResponse>;
|
|
284
284
|
/**
|
|
285
|
-
* Creates
|
|
285
|
+
* Creates an independent AI model source.
|
|
286
286
|
*
|
|
287
287
|
* @param request - CreateAiModelSourceRequest
|
|
288
288
|
* @returns CreateAiModelSourceResponse
|
|
@@ -514,18 +514,18 @@ export default class Client extends OpenApi {
|
|
|
514
514
|
* Creates an asynchronous export task for the consumption details of a single consumer or consumer group under a gateway quota rule.
|
|
515
515
|
*
|
|
516
516
|
* @remarks
|
|
517
|
-
* ##
|
|
518
|
-
* This operation creates an export task for the consumption details of a consumer or consumer group under a specified gateway quota rule. The exported content is
|
|
519
|
-
* 1. Call this operation to obtain the taskId. A new task returns Pending,
|
|
520
|
-
* 2.
|
|
517
|
+
* ## Call procedure
|
|
518
|
+
* This operation creates an export task for the consumption details of a consumer or consumer group under a specified gateway quota rule. The exported content is derived from gateway access logs.
|
|
519
|
+
* 1. Call this operation to obtain the taskId. A new task returns Pending, indicating that the task is submitted and the file is not yet generated.
|
|
520
|
+
* 2. Use the same gatewayId, ruleId, subjectId, and the returned taskId to call GetGatewayQuotaRuleSubjectUsageExportTask and poll the task status.
|
|
521
521
|
* 3. When the polled status is Success and the file has not expired, download the csv.gz file by using GetGatewayQuotaRuleSubjectUsageExportTask. If the status is Failed, troubleshoot the issue based on the errorMessage and recreate the task.
|
|
522
522
|
* ## Prerequisites and limits
|
|
523
523
|
* - When you create a task, the quota rule must exist, and the target subject must be bound to the rule. Use the consumer ID for consumer rules and the consumer group ID for consumer group rules.
|
|
524
524
|
* - The details within the valid export time range depend on the delivery of gateway access logs. Enable log delivery first and ensure that the logs for the required time period are queryable.
|
|
525
|
-
* - The time span for a single export cannot exceed one rule period. A single export can contain up to 100,000 details. If the background statistics exceed
|
|
526
|
-
* - If the same user already has a Pending or Running task for the same gateway, rule, and subject in the current region within the last 10 minutes, repeated creation is rejected. Creation is also rejected if the total number of export tasks created within the last 10 minutes that are still Pending or Running reaches
|
|
527
|
-
* - The processing timeout for a task is 10 minutes from creation. After
|
|
528
|
-
* - The export time range, metering dimension, and subject name are determined at creation
|
|
525
|
+
* - The time span for a single export cannot exceed one rule period. A single export can contain up to 100,000 details. If the background statistics exceed the limit, the task fails. Narrow the time range and try again.
|
|
526
|
+
* - If the same user already has a Pending or Running task for the same gateway, rule, and subject in the current region within the last 10 minutes, repeated creation is rejected. Creation is also rejected if the total number of export tasks created within the last 10 minutes that are still Pending or Running reaches 3. Wait for the existing tasks to complete. Idempotent retries with the same clientToken and identical parameters can reuse existing tasks.
|
|
527
|
+
* - The processing timeout for a task is 10 minutes from the time of creation. After the timeout, the task is processed as Failed. This is not a guarantee that the task will definitely complete successfully within this time limit.
|
|
528
|
+
* - The export time range, metering dimension, and subject name are determined at creation time, and subsequent queries do not recalculate these conditions. After the file is successfully generated, the download link can be obtained within 24 hours. The signed link generated for each query is valid for 10 minutes, subject to the actual query result.
|
|
529
529
|
*
|
|
530
530
|
* @param request - CreateGatewayQuotaRuleSubjectUsageExportTaskRequest
|
|
531
531
|
* @param headers - map
|
|
@@ -539,18 +539,18 @@ export default class Client extends OpenApi {
|
|
|
539
539
|
* Creates an asynchronous export task for the consumption details of a single consumer or consumer group under a gateway quota rule.
|
|
540
540
|
*
|
|
541
541
|
* @remarks
|
|
542
|
-
* ##
|
|
543
|
-
* This operation creates an export task for the consumption details of a consumer or consumer group under a specified gateway quota rule. The exported content is
|
|
544
|
-
* 1. Call this operation to obtain the taskId. A new task returns Pending,
|
|
545
|
-
* 2.
|
|
542
|
+
* ## Call procedure
|
|
543
|
+
* This operation creates an export task for the consumption details of a consumer or consumer group under a specified gateway quota rule. The exported content is derived from gateway access logs.
|
|
544
|
+
* 1. Call this operation to obtain the taskId. A new task returns Pending, indicating that the task is submitted and the file is not yet generated.
|
|
545
|
+
* 2. Use the same gatewayId, ruleId, subjectId, and the returned taskId to call GetGatewayQuotaRuleSubjectUsageExportTask and poll the task status.
|
|
546
546
|
* 3. When the polled status is Success and the file has not expired, download the csv.gz file by using GetGatewayQuotaRuleSubjectUsageExportTask. If the status is Failed, troubleshoot the issue based on the errorMessage and recreate the task.
|
|
547
547
|
* ## Prerequisites and limits
|
|
548
548
|
* - When you create a task, the quota rule must exist, and the target subject must be bound to the rule. Use the consumer ID for consumer rules and the consumer group ID for consumer group rules.
|
|
549
549
|
* - The details within the valid export time range depend on the delivery of gateway access logs. Enable log delivery first and ensure that the logs for the required time period are queryable.
|
|
550
|
-
* - The time span for a single export cannot exceed one rule period. A single export can contain up to 100,000 details. If the background statistics exceed
|
|
551
|
-
* - If the same user already has a Pending or Running task for the same gateway, rule, and subject in the current region within the last 10 minutes, repeated creation is rejected. Creation is also rejected if the total number of export tasks created within the last 10 minutes that are still Pending or Running reaches
|
|
552
|
-
* - The processing timeout for a task is 10 minutes from creation. After
|
|
553
|
-
* - The export time range, metering dimension, and subject name are determined at creation
|
|
550
|
+
* - The time span for a single export cannot exceed one rule period. A single export can contain up to 100,000 details. If the background statistics exceed the limit, the task fails. Narrow the time range and try again.
|
|
551
|
+
* - If the same user already has a Pending or Running task for the same gateway, rule, and subject in the current region within the last 10 minutes, repeated creation is rejected. Creation is also rejected if the total number of export tasks created within the last 10 minutes that are still Pending or Running reaches 3. Wait for the existing tasks to complete. Idempotent retries with the same clientToken and identical parameters can reuse existing tasks.
|
|
552
|
+
* - The processing timeout for a task is 10 minutes from the time of creation. After the timeout, the task is processed as Failed. This is not a guarantee that the task will definitely complete successfully within this time limit.
|
|
553
|
+
* - The export time range, metering dimension, and subject name are determined at creation time, and subsequent queries do not recalculate these conditions. After the file is successfully generated, the download link can be obtained within 24 hours. The signed link generated for each query is valid for 10 minutes, subject to the actual query result.
|
|
554
554
|
*
|
|
555
555
|
* @param request - CreateGatewayQuotaRuleSubjectUsageExportTaskRequest
|
|
556
556
|
* @returns CreateGatewayQuotaRuleSubjectUsageExportTaskResponse
|
|
@@ -913,6 +913,13 @@ export default class Client extends OpenApi {
|
|
|
913
913
|
/**
|
|
914
914
|
* Generates a secret.
|
|
915
915
|
*
|
|
916
|
+
* @remarks
|
|
917
|
+
* ## Before you begin
|
|
918
|
+
* Before calling this operation, you must prepare the following resources in Key Management Service (KMS):
|
|
919
|
+
* - KMS instance: Create an instance in KMS and obtain the instance ID. Pass the instance ID as kmsConfig.kmsInstanceId.
|
|
920
|
+
* - KMS key: Create a key in the instance and obtain the key ID. Pass the key ID as kmsConfig.kmsKeyId.
|
|
921
|
+
* When calling this operation, you must set secretSource to KMS and pass the preceding two identifiers in kmsConfig. After the secret is created, you can call ListSecrets to query the list of secrets under your account.
|
|
922
|
+
*
|
|
916
923
|
* @param request - CreateSecretRequest
|
|
917
924
|
* @param headers - map
|
|
918
925
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -924,6 +931,13 @@ export default class Client extends OpenApi {
|
|
|
924
931
|
/**
|
|
925
932
|
* Generates a secret.
|
|
926
933
|
*
|
|
934
|
+
* @remarks
|
|
935
|
+
* ## Before you begin
|
|
936
|
+
* Before calling this operation, you must prepare the following resources in Key Management Service (KMS):
|
|
937
|
+
* - KMS instance: Create an instance in KMS and obtain the instance ID. Pass the instance ID as kmsConfig.kmsInstanceId.
|
|
938
|
+
* - KMS key: Create a key in the instance and obtain the key ID. Pass the key ID as kmsConfig.kmsKeyId.
|
|
939
|
+
* When calling this operation, you must set secretSource to KMS and pass the preceding two identifiers in kmsConfig. After the secret is created, you can call ListSecrets to query the list of secrets under your account.
|
|
940
|
+
*
|
|
927
941
|
* @param request - CreateSecretRequest
|
|
928
942
|
* @returns CreateSecretResponse
|
|
929
943
|
*/
|
|
@@ -1333,7 +1347,7 @@ export default class Client extends OpenApi {
|
|
|
1333
1347
|
*/
|
|
1334
1348
|
deleteModelApi(httpApiId: string, request: $_model.DeleteModelApiRequest): Promise<$_model.DeleteModelApiResponse>;
|
|
1335
1349
|
/**
|
|
1336
|
-
*
|
|
1350
|
+
* Deletes a model group.
|
|
1337
1351
|
*
|
|
1338
1352
|
* @param request - DeleteModelGroupRequest
|
|
1339
1353
|
* @param headers - map
|
|
@@ -1344,7 +1358,7 @@ export default class Client extends OpenApi {
|
|
|
1344
1358
|
[key: string]: string;
|
|
1345
1359
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteModelGroupResponse>;
|
|
1346
1360
|
/**
|
|
1347
|
-
*
|
|
1361
|
+
* Deletes a model group.
|
|
1348
1362
|
*
|
|
1349
1363
|
* @param request - DeleteModelGroupRequest
|
|
1350
1364
|
* @returns DeleteModelGroupResponse
|
|
@@ -1711,7 +1725,7 @@ export default class Client extends OpenApi {
|
|
|
1711
1725
|
*/
|
|
1712
1726
|
getAiModelSource(modelSourceId: string, request: $_model.GetAiModelSourceRequest): Promise<$_model.GetAiModelSourceResponse>;
|
|
1713
1727
|
/**
|
|
1714
|
-
*
|
|
1728
|
+
* Queries the impact of editing an AI model source.
|
|
1715
1729
|
*
|
|
1716
1730
|
* @param request - GetAiModelSourceEditImpactRequest
|
|
1717
1731
|
* @param headers - map
|
|
@@ -1722,7 +1736,7 @@ export default class Client extends OpenApi {
|
|
|
1722
1736
|
[key: string]: string;
|
|
1723
1737
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetAiModelSourceEditImpactResponse>;
|
|
1724
1738
|
/**
|
|
1725
|
-
*
|
|
1739
|
+
* Queries the impact of editing an AI model source.
|
|
1726
1740
|
*
|
|
1727
1741
|
* @param request - GetAiModelSourceEditImpactRequest
|
|
1728
1742
|
* @returns GetAiModelSourceEditImpactResponse
|
|
@@ -1909,6 +1923,15 @@ export default class Client extends OpenApi {
|
|
|
1909
1923
|
/**
|
|
1910
1924
|
* Queries the account information of the currently logged-on developer and returns the developer ID, portal ID, username, and status.
|
|
1911
1925
|
*
|
|
1926
|
+
* @remarks
|
|
1927
|
+
* ## Before you begin and call sequence
|
|
1928
|
+
* This operation queries the account information of the currently logged-on developer. You must complete the following steps in order:
|
|
1929
|
+
* 1. Call CreatePortal to create a developer portal and obtain the portalId.
|
|
1930
|
+
* 2. Call CreateDeveloper to register a developer account under the portal.
|
|
1931
|
+
* 3. Call LoginDeveloper to log on to the developer account and obtain the accessToken.
|
|
1932
|
+
* 4. Call this operation with the accessToken obtained in the previous step.
|
|
1933
|
+
* Related operations: CreatePortal, CreateDeveloper, and LoginDeveloper.
|
|
1934
|
+
*
|
|
1912
1935
|
* @param request - GetDeveloperRequest
|
|
1913
1936
|
* @param headers - map
|
|
1914
1937
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1920,6 +1943,15 @@ export default class Client extends OpenApi {
|
|
|
1920
1943
|
/**
|
|
1921
1944
|
* Queries the account information of the currently logged-on developer and returns the developer ID, portal ID, username, and status.
|
|
1922
1945
|
*
|
|
1946
|
+
* @remarks
|
|
1947
|
+
* ## Before you begin and call sequence
|
|
1948
|
+
* This operation queries the account information of the currently logged-on developer. You must complete the following steps in order:
|
|
1949
|
+
* 1. Call CreatePortal to create a developer portal and obtain the portalId.
|
|
1950
|
+
* 2. Call CreateDeveloper to register a developer account under the portal.
|
|
1951
|
+
* 3. Call LoginDeveloper to log on to the developer account and obtain the accessToken.
|
|
1952
|
+
* 4. Call this operation with the accessToken obtained in the previous step.
|
|
1953
|
+
* Related operations: CreatePortal, CreateDeveloper, and LoginDeveloper.
|
|
1954
|
+
*
|
|
1923
1955
|
* @param request - GetDeveloperRequest
|
|
1924
1956
|
* @returns GetDeveloperResponse
|
|
1925
1957
|
*/
|
|
@@ -2090,20 +2122,20 @@ export default class Client extends OpenApi {
|
|
|
2090
2122
|
*/
|
|
2091
2123
|
getGatewayQuotaRuleSubjectUsage(gatewayId: string, ruleId: string, subjectId: string, request: $_model.GetGatewayQuotaRuleSubjectUsageRequest): Promise<$_model.GetGatewayQuotaRuleSubjectUsageResponse>;
|
|
2092
2124
|
/**
|
|
2093
|
-
* Queries the status, processing progress, failure cause, and file download information of an export task for
|
|
2125
|
+
* Queries the status, processing progress, failure cause, and file download information of an export task for quota rule subject consumption details.
|
|
2094
2126
|
*
|
|
2095
2127
|
* @remarks
|
|
2096
|
-
* ##
|
|
2128
|
+
* ## Call flow
|
|
2097
2129
|
* First, call CreateGatewayQuotaRuleSubjectUsageExportTask to create a task. Then, use the returned taskId along with the same gatewayId, ruleId, and subjectId to call this operation in the same region.
|
|
2098
|
-
* - Pending or Running: The task is not completed. You can query again after a period of time.
|
|
2130
|
+
* - Pending or Running: The task is not completed. You can query the task again after a period of time.
|
|
2099
2131
|
* - Success: Check result.fileExpired and result.downloadUrl. If the file is not expired and a link is returned, you can download the file.
|
|
2100
|
-
* - Failed: Troubleshoot the issue based on errorMessage. To export again, call the create operation with a new clientToken.
|
|
2101
|
-
* ## Download
|
|
2102
|
-
* For each successful query where the file is not expired, a signed link with a validity period of 10 minutes is generated. Download the file promptly based on downloadUrlExpiredAt. If the link expires but
|
|
2103
|
-
* After
|
|
2132
|
+
* - Failed: Troubleshoot the issue based on errorMessage. To export the data again, call the create operation with a new clientToken.
|
|
2133
|
+
* ## Download link and file validity period
|
|
2134
|
+
* For each successful query where the file is not expired, a signed link with a validity period of 10 minutes is generated. Download the file promptly based on downloadUrlExpiredAt. If the link expires but the file has not reached fileExpiredAt, you can query the task again to obtain a new link. Querying the task again does not regenerate the file or extend the 24-hour validity period of the file.
|
|
2135
|
+
* After the file reaches fileExpiredAt, this operation no longer issues new links. It returns fileExpired=true and omits downloadUrl and downloadUrlExpiredAt. The task status remains Success. To export the data again, create a new task.
|
|
2104
2136
|
* ## Query scope and task progress
|
|
2105
|
-
* This operation returns only the export tasks of the current user in the current region that match the gateway, rule, and subject paths. If the paths do not match or the task does not exist, a not found error is returned. Existing tasks are queried based on the information recorded at creation.
|
|
2106
|
-
* If a task remains in the Pending or Running state for more than 10 minutes after creation, the query treats it as a timeout failure. Determine whether the task is completed based on status, not
|
|
2137
|
+
* This operation returns only the export tasks of the current user in the current region that match the gateway, rule, and subject paths. If the paths do not match or the task does not exist, a not found error is returned. Existing tasks are queried based on the information recorded at creation. The export conditions are not recalculated due to subsequent rule resets or subject name changes.
|
|
2138
|
+
* If a task remains in the Pending or Running state for more than 10 minutes after creation, the query treats it as a timeout failure. Determine whether the task is completed based on the status, not only on totalCount or processedCount.
|
|
2107
2139
|
*
|
|
2108
2140
|
* @param request - GetGatewayQuotaRuleSubjectUsageExportTaskRequest
|
|
2109
2141
|
* @param headers - map
|
|
@@ -2114,20 +2146,20 @@ export default class Client extends OpenApi {
|
|
|
2114
2146
|
[key: string]: string;
|
|
2115
2147
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetGatewayQuotaRuleSubjectUsageExportTaskResponse>;
|
|
2116
2148
|
/**
|
|
2117
|
-
* Queries the status, processing progress, failure cause, and file download information of an export task for
|
|
2149
|
+
* Queries the status, processing progress, failure cause, and file download information of an export task for quota rule subject consumption details.
|
|
2118
2150
|
*
|
|
2119
2151
|
* @remarks
|
|
2120
|
-
* ##
|
|
2152
|
+
* ## Call flow
|
|
2121
2153
|
* First, call CreateGatewayQuotaRuleSubjectUsageExportTask to create a task. Then, use the returned taskId along with the same gatewayId, ruleId, and subjectId to call this operation in the same region.
|
|
2122
|
-
* - Pending or Running: The task is not completed. You can query again after a period of time.
|
|
2154
|
+
* - Pending or Running: The task is not completed. You can query the task again after a period of time.
|
|
2123
2155
|
* - Success: Check result.fileExpired and result.downloadUrl. If the file is not expired and a link is returned, you can download the file.
|
|
2124
|
-
* - Failed: Troubleshoot the issue based on errorMessage. To export again, call the create operation with a new clientToken.
|
|
2125
|
-
* ## Download
|
|
2126
|
-
* For each successful query where the file is not expired, a signed link with a validity period of 10 minutes is generated. Download the file promptly based on downloadUrlExpiredAt. If the link expires but
|
|
2127
|
-
* After
|
|
2156
|
+
* - Failed: Troubleshoot the issue based on errorMessage. To export the data again, call the create operation with a new clientToken.
|
|
2157
|
+
* ## Download link and file validity period
|
|
2158
|
+
* For each successful query where the file is not expired, a signed link with a validity period of 10 minutes is generated. Download the file promptly based on downloadUrlExpiredAt. If the link expires but the file has not reached fileExpiredAt, you can query the task again to obtain a new link. Querying the task again does not regenerate the file or extend the 24-hour validity period of the file.
|
|
2159
|
+
* After the file reaches fileExpiredAt, this operation no longer issues new links. It returns fileExpired=true and omits downloadUrl and downloadUrlExpiredAt. The task status remains Success. To export the data again, create a new task.
|
|
2128
2160
|
* ## Query scope and task progress
|
|
2129
|
-
* This operation returns only the export tasks of the current user in the current region that match the gateway, rule, and subject paths. If the paths do not match or the task does not exist, a not found error is returned. Existing tasks are queried based on the information recorded at creation.
|
|
2130
|
-
* If a task remains in the Pending or Running state for more than 10 minutes after creation, the query treats it as a timeout failure. Determine whether the task is completed based on status, not
|
|
2161
|
+
* This operation returns only the export tasks of the current user in the current region that match the gateway, rule, and subject paths. If the paths do not match or the task does not exist, a not found error is returned. Existing tasks are queried based on the information recorded at creation. The export conditions are not recalculated due to subsequent rule resets or subject name changes.
|
|
2162
|
+
* If a task remains in the Pending or Running state for more than 10 minutes after creation, the query treats it as a timeout failure. Determine whether the task is completed based on the status, not only on totalCount or processedCount.
|
|
2131
2163
|
*
|
|
2132
2164
|
* @param request - GetGatewayQuotaRuleSubjectUsageExportTaskRequest
|
|
2133
2165
|
* @returns GetGatewayQuotaRuleSubjectUsageExportTaskResponse
|
|
@@ -2242,7 +2274,7 @@ export default class Client extends OpenApi {
|
|
|
2242
2274
|
*/
|
|
2243
2275
|
getHttpApiRoute(httpApiId: string, routeId: string): Promise<$_model.GetHttpApiRouteResponse>;
|
|
2244
2276
|
/**
|
|
2245
|
-
*
|
|
2277
|
+
* Queries the details of a logical model.
|
|
2246
2278
|
*
|
|
2247
2279
|
* @param request - GetLogicalModelRequest
|
|
2248
2280
|
* @param headers - map
|
|
@@ -2253,14 +2285,14 @@ export default class Client extends OpenApi {
|
|
|
2253
2285
|
[key: string]: string;
|
|
2254
2286
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetLogicalModelResponse>;
|
|
2255
2287
|
/**
|
|
2256
|
-
*
|
|
2288
|
+
* Queries the details of a logical model.
|
|
2257
2289
|
*
|
|
2258
2290
|
* @param request - GetLogicalModelRequest
|
|
2259
2291
|
* @returns GetLogicalModelResponse
|
|
2260
2292
|
*/
|
|
2261
2293
|
getLogicalModel(logicalModelId: string, request: $_model.GetLogicalModelRequest): Promise<$_model.GetLogicalModelResponse>;
|
|
2262
2294
|
/**
|
|
2263
|
-
*
|
|
2295
|
+
* Queries the delivery of logical model configurations.
|
|
2264
2296
|
*
|
|
2265
2297
|
* @param request - GetLogicalModelDeploymentRequest
|
|
2266
2298
|
* @param headers - map
|
|
@@ -2271,7 +2303,7 @@ export default class Client extends OpenApi {
|
|
|
2271
2303
|
[key: string]: string;
|
|
2272
2304
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetLogicalModelDeploymentResponse>;
|
|
2273
2305
|
/**
|
|
2274
|
-
*
|
|
2306
|
+
* Queries the delivery of logical model configurations.
|
|
2275
2307
|
*
|
|
2276
2308
|
* @param request - GetLogicalModelDeploymentRequest
|
|
2277
2309
|
* @returns GetLogicalModelDeploymentResponse
|
|
@@ -2335,10 +2367,10 @@ export default class Client extends OpenApi {
|
|
|
2335
2367
|
*/
|
|
2336
2368
|
getMigrationTask(taskId: string, request: $_model.GetMigrationTaskRequest): Promise<$_model.GetMigrationTaskResponse>;
|
|
2337
2369
|
/**
|
|
2338
|
-
*
|
|
2370
|
+
* Queries the details of a model API.
|
|
2339
2371
|
*
|
|
2340
2372
|
* @remarks
|
|
2341
|
-
*
|
|
2373
|
+
* During deletion, check deleteStatus for Deleting or DeleteFailed and review deployErrorMessage. The NotFound.ModelApi error is returned only after the target model API is completely deleted. Missing dependencies, permission errors, or storage errors do not indicate that the deletion is complete.
|
|
2342
2374
|
*
|
|
2343
2375
|
* @param request - GetModelApiRequest
|
|
2344
2376
|
* @param headers - map
|
|
@@ -2349,17 +2381,17 @@ export default class Client extends OpenApi {
|
|
|
2349
2381
|
[key: string]: string;
|
|
2350
2382
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetModelApiResponse>;
|
|
2351
2383
|
/**
|
|
2352
|
-
*
|
|
2384
|
+
* Queries the details of a model API.
|
|
2353
2385
|
*
|
|
2354
2386
|
* @remarks
|
|
2355
|
-
*
|
|
2387
|
+
* During deletion, check deleteStatus for Deleting or DeleteFailed and review deployErrorMessage. The NotFound.ModelApi error is returned only after the target model API is completely deleted. Missing dependencies, permission errors, or storage errors do not indicate that the deletion is complete.
|
|
2356
2388
|
*
|
|
2357
2389
|
* @param request - GetModelApiRequest
|
|
2358
2390
|
* @returns GetModelApiResponse
|
|
2359
2391
|
*/
|
|
2360
2392
|
getModelApi(httpApiId: string, request: $_model.GetModelApiRequest): Promise<$_model.GetModelApiResponse>;
|
|
2361
2393
|
/**
|
|
2362
|
-
*
|
|
2394
|
+
* Queries the configuration, entitlement status, and the summary of the latest configuration deployment for a specified model group.
|
|
2363
2395
|
*
|
|
2364
2396
|
* @param request - GetModelGroupRequest
|
|
2365
2397
|
* @param headers - map
|
|
@@ -2370,7 +2402,7 @@ export default class Client extends OpenApi {
|
|
|
2370
2402
|
[key: string]: string;
|
|
2371
2403
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetModelGroupResponse>;
|
|
2372
2404
|
/**
|
|
2373
|
-
*
|
|
2405
|
+
* Queries the configuration, entitlement status, and the summary of the latest configuration deployment for a specified model group.
|
|
2374
2406
|
*
|
|
2375
2407
|
* @param request - GetModelGroupRequest
|
|
2376
2408
|
* @returns GetModelGroupResponse
|
|
@@ -2793,7 +2825,7 @@ export default class Client extends OpenApi {
|
|
|
2793
2825
|
*/
|
|
2794
2826
|
listAiModelProviders(request: $_model.ListAiModelProvidersRequest): Promise<$_model.ListAiModelProvidersResponse>;
|
|
2795
2827
|
/**
|
|
2796
|
-
*
|
|
2828
|
+
* Queries the AI models in a model source.
|
|
2797
2829
|
*
|
|
2798
2830
|
* @param request - ListAiModelSourceModelsRequest
|
|
2799
2831
|
* @param headers - map
|
|
@@ -2804,7 +2836,7 @@ export default class Client extends OpenApi {
|
|
|
2804
2836
|
[key: string]: string;
|
|
2805
2837
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListAiModelSourceModelsResponse>;
|
|
2806
2838
|
/**
|
|
2807
|
-
*
|
|
2839
|
+
* Queries the AI models in a model source.
|
|
2808
2840
|
*
|
|
2809
2841
|
* @param request - ListAiModelSourceModelsRequest
|
|
2810
2842
|
* @returns ListAiModelSourceModelsResponse
|
|
@@ -3320,7 +3352,7 @@ export default class Client extends OpenApi {
|
|
|
3320
3352
|
*/
|
|
3321
3353
|
listHttpApiOperations(httpApiId: string, request: $_model.ListHttpApiOperationsRequest): Promise<$_model.ListHttpApiOperationsResponse>;
|
|
3322
3354
|
/**
|
|
3323
|
-
* Queries the
|
|
3355
|
+
* Queries the routes of an HTTP API.
|
|
3324
3356
|
*
|
|
3325
3357
|
* @param request - ListHttpApiRoutesRequest
|
|
3326
3358
|
* @param headers - map
|
|
@@ -3331,7 +3363,7 @@ export default class Client extends OpenApi {
|
|
|
3331
3363
|
[key: string]: string;
|
|
3332
3364
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListHttpApiRoutesResponse>;
|
|
3333
3365
|
/**
|
|
3334
|
-
* Queries the
|
|
3366
|
+
* Queries the routes of an HTTP API.
|
|
3335
3367
|
*
|
|
3336
3368
|
* @param request - ListHttpApiRoutesRequest
|
|
3337
3369
|
* @returns ListHttpApiRoutesResponse
|
|
@@ -3506,7 +3538,7 @@ export default class Client extends OpenApi {
|
|
|
3506
3538
|
*/
|
|
3507
3539
|
listModelCards(request: $_model.ListModelCardsRequest): Promise<$_model.ListModelCardsResponse>;
|
|
3508
3540
|
/**
|
|
3509
|
-
*
|
|
3541
|
+
* Queries model groups.
|
|
3510
3542
|
*
|
|
3511
3543
|
* @param request - ListModelGroupsRequest
|
|
3512
3544
|
* @param headers - map
|
|
@@ -3517,7 +3549,7 @@ export default class Client extends OpenApi {
|
|
|
3517
3549
|
[key: string]: string;
|
|
3518
3550
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListModelGroupsResponse>;
|
|
3519
3551
|
/**
|
|
3520
|
-
*
|
|
3552
|
+
* Queries model groups.
|
|
3521
3553
|
*
|
|
3522
3554
|
* @param request - ListModelGroupsRequest
|
|
3523
3555
|
* @returns ListModelGroupsResponse
|
|
@@ -4034,7 +4066,7 @@ export default class Client extends OpenApi {
|
|
|
4034
4066
|
*/
|
|
4035
4067
|
logoutDeveloper(request: $_model.LogoutDeveloperRequest): Promise<$_model.LogoutDeveloperResponse>;
|
|
4036
4068
|
/**
|
|
4037
|
-
*
|
|
4069
|
+
* Simulates the impact of modifying a logical model.
|
|
4038
4070
|
*
|
|
4039
4071
|
* @param request - PreviewLogicalModelUpdateRequest
|
|
4040
4072
|
* @param headers - map
|
|
@@ -4045,7 +4077,7 @@ export default class Client extends OpenApi {
|
|
|
4045
4077
|
[key: string]: string;
|
|
4046
4078
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.PreviewLogicalModelUpdateResponse>;
|
|
4047
4079
|
/**
|
|
4048
|
-
*
|
|
4080
|
+
* Simulates the impact of modifying a logical model.
|
|
4049
4081
|
*
|
|
4050
4082
|
* @param request - PreviewLogicalModelUpdateRequest
|
|
4051
4083
|
* @returns PreviewLogicalModelUpdateResponse
|
|
@@ -4194,10 +4226,10 @@ export default class Client extends OpenApi {
|
|
|
4194
4226
|
*/
|
|
4195
4227
|
retryLogicalModelDeployment(operationId: string, request: $_model.RetryLogicalModelDeploymentRequest): Promise<$_model.RetryLogicalModelDeploymentResponse>;
|
|
4196
4228
|
/**
|
|
4197
|
-
* Queries the currently active credentials for
|
|
4229
|
+
* Queries the currently active credentials for an AI service.
|
|
4198
4230
|
*
|
|
4199
4231
|
* @remarks
|
|
4200
|
-
* Queries the currently active credentials for
|
|
4232
|
+
* Queries the currently active credentials for an AI service.
|
|
4201
4233
|
*
|
|
4202
4234
|
* @param request - RevealServiceCredentialRequest
|
|
4203
4235
|
* @param headers - map
|
|
@@ -4208,17 +4240,17 @@ export default class Client extends OpenApi {
|
|
|
4208
4240
|
[key: string]: string;
|
|
4209
4241
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.RevealServiceCredentialResponse>;
|
|
4210
4242
|
/**
|
|
4211
|
-
* Queries the currently active credentials for
|
|
4243
|
+
* Queries the currently active credentials for an AI service.
|
|
4212
4244
|
*
|
|
4213
4245
|
* @remarks
|
|
4214
|
-
* Queries the currently active credentials for
|
|
4246
|
+
* Queries the currently active credentials for an AI service.
|
|
4215
4247
|
*
|
|
4216
4248
|
* @param request - RevealServiceCredentialRequest
|
|
4217
4249
|
* @returns RevealServiceCredentialResponse
|
|
4218
4250
|
*/
|
|
4219
4251
|
revealServiceCredential(serviceId: string, request: $_model.RevealServiceCredentialRequest): Promise<$_model.RevealServiceCredentialResponse>;
|
|
4220
4252
|
/**
|
|
4221
|
-
* Revokes model card
|
|
4253
|
+
* Revokes model card entitlements for a consumer.
|
|
4222
4254
|
*
|
|
4223
4255
|
* @param request - RevokeConsumerModelCardGrantsRequest
|
|
4224
4256
|
* @param headers - map
|
|
@@ -4229,7 +4261,7 @@ export default class Client extends OpenApi {
|
|
|
4229
4261
|
[key: string]: string;
|
|
4230
4262
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeConsumerModelCardGrantsResponse>;
|
|
4231
4263
|
/**
|
|
4232
|
-
* Revokes model card
|
|
4264
|
+
* Revokes model card entitlements for a consumer.
|
|
4233
4265
|
*
|
|
4234
4266
|
* @param request - RevokeConsumerModelCardGrantsRequest
|
|
4235
4267
|
* @returns RevokeConsumerModelCardGrantsResponse
|
|
@@ -4272,7 +4304,15 @@ export default class Client extends OpenApi {
|
|
|
4272
4304
|
*/
|
|
4273
4305
|
subscribeProduct(consumerId: string, request: $_model.SubscribeProductRequest): Promise<$_model.SubscribeProductResponse>;
|
|
4274
4306
|
/**
|
|
4275
|
-
*
|
|
4307
|
+
* Syncs MCP servers from an external Nacos registry to a gateway.
|
|
4308
|
+
*
|
|
4309
|
+
* @remarks
|
|
4310
|
+
* ## Before you begin
|
|
4311
|
+
* Before you call this operation, complete the following preparations:
|
|
4312
|
+
* 1. Create a Nacos instance in Microservices Engine (MSE) and register an MCP server in the instance.
|
|
4313
|
+
* 2. Call CreateSource to register a service source for the target gateway. Set the type parameter to MSE_NACOS and point it to the Nacos instance.
|
|
4314
|
+
* 3. Call ListGateways to obtain the system default domain name ID (subDomainInfos[].domainId) of the gateway for the domainIds parameter.
|
|
4315
|
+
* After you complete the preceding steps, pass the gatewayId, domainIds, and namespace parameters to call this operation. This syncs the MCP servers in the specified namespace to the gateway.
|
|
4276
4316
|
*
|
|
4277
4317
|
* @param request - SyncMCPServersRequest
|
|
4278
4318
|
* @param headers - map
|
|
@@ -4283,7 +4323,15 @@ export default class Client extends OpenApi {
|
|
|
4283
4323
|
[key: string]: string;
|
|
4284
4324
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.SyncMCPServersResponse>;
|
|
4285
4325
|
/**
|
|
4286
|
-
*
|
|
4326
|
+
* Syncs MCP servers from an external Nacos registry to a gateway.
|
|
4327
|
+
*
|
|
4328
|
+
* @remarks
|
|
4329
|
+
* ## Before you begin
|
|
4330
|
+
* Before you call this operation, complete the following preparations:
|
|
4331
|
+
* 1. Create a Nacos instance in Microservices Engine (MSE) and register an MCP server in the instance.
|
|
4332
|
+
* 2. Call CreateSource to register a service source for the target gateway. Set the type parameter to MSE_NACOS and point it to the Nacos instance.
|
|
4333
|
+
* 3. Call ListGateways to obtain the system default domain name ID (subDomainInfos[].domainId) of the gateway for the domainIds parameter.
|
|
4334
|
+
* After you complete the preceding steps, pass the gatewayId, domainIds, and namespace parameters to call this operation. This syncs the MCP servers in the specified namespace to the gateway.
|
|
4287
4335
|
*
|
|
4288
4336
|
* @param request - SyncMCPServersRequest
|
|
4289
4337
|
* @returns SyncMCPServersResponse
|
|
@@ -4862,7 +4910,7 @@ export default class Client extends OpenApi {
|
|
|
4862
4910
|
*/
|
|
4863
4911
|
updateHttpApiRoute(httpApiId: string, routeId: string, request: $_model.UpdateHttpApiRouteRequest): Promise<$_model.UpdateHttpApiRouteResponse>;
|
|
4864
4912
|
/**
|
|
4865
|
-
*
|
|
4913
|
+
* Modifies a logical model.
|
|
4866
4914
|
*
|
|
4867
4915
|
* @param request - UpdateLogicalModelRequest
|
|
4868
4916
|
* @param headers - map
|
|
@@ -4873,7 +4921,7 @@ export default class Client extends OpenApi {
|
|
|
4873
4921
|
[key: string]: string;
|
|
4874
4922
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateLogicalModelResponse>;
|
|
4875
4923
|
/**
|
|
4876
|
-
*
|
|
4924
|
+
* Modifies a logical model.
|
|
4877
4925
|
*
|
|
4878
4926
|
* @param request - UpdateLogicalModelRequest
|
|
4879
4927
|
* @returns UpdateLogicalModelResponse
|