@alicloud/agentcore20260804 2.5.0 → 2.6.0
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 +762 -70
- package/dist/client.js +1001 -70
- package/dist/client.js.map +1 -1
- package/dist/models/AddMemoriesRequest.d.ts +10 -10
- package/dist/models/AddMemoriesResponseBody.d.ts +4 -4
- package/dist/models/AddMemoriesShrinkRequest.d.ts +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +43 -43
- package/dist/models/CreateCustomAgentResponseBody.d.ts +118 -61
- package/dist/models/CreateCustomAgentResponseBody.js +33 -1
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/CreateIdentityProviderRequest.d.ts +50 -9
- package/dist/models/CreateIdentityProviderRequest.js +32 -1
- package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
- package/dist/models/CreateIdentityProviderResponseBody.d.ts +183 -9
- package/dist/models/CreateIdentityProviderResponseBody.js +103 -1
- package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/CreateIdentityProviderShrinkRequest.d.ts +1 -1
- package/dist/models/CreateIdentityProviderSyncJobRequest.d.ts +13 -0
- package/dist/models/CreateIdentityProviderSyncJobRequest.js +54 -0
- package/dist/models/CreateIdentityProviderSyncJobRequest.js.map +1 -0
- package/dist/models/CreateIdentityProviderSyncJobResponse.d.ts +19 -0
- package/dist/models/CreateIdentityProviderSyncJobResponse.js +69 -0
- package/dist/models/CreateIdentityProviderSyncJobResponse.js.map +1 -0
- package/dist/models/CreateIdentityProviderSyncJobResponseBody.d.ts +121 -0
- package/dist/models/CreateIdentityProviderSyncJobResponseBody.js +100 -0
- package/dist/models/CreateIdentityProviderSyncJobResponseBody.js.map +1 -0
- package/dist/models/CreateMemoryStoreRequest.d.ts +6 -6
- package/dist/models/CreateMemoryStoreResponseBody.d.ts +7 -7
- package/dist/models/CreateMemoryStoreShrinkRequest.d.ts +2 -2
- package/dist/models/DeleteIdentityProviderResponseBody.d.ts +144 -19
- package/dist/models/DeleteIdentityProviderResponseBody.js +74 -1
- package/dist/models/DeleteIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/DeleteMemoryStoreResponseBody.d.ts +3 -3
- package/dist/models/GetAgentCodePackageDownloadUrlRequest.d.ts +13 -0
- package/dist/models/GetAgentCodePackageDownloadUrlRequest.js +54 -0
- package/dist/models/GetAgentCodePackageDownloadUrlRequest.js.map +1 -0
- package/dist/models/GetAgentCodePackageDownloadUrlResponse.d.ts +19 -0
- package/dist/models/GetAgentCodePackageDownloadUrlResponse.js +69 -0
- package/dist/models/GetAgentCodePackageDownloadUrlResponse.js.map +1 -0
- package/dist/models/GetAgentCodePackageDownloadUrlResponseBody.d.ts +131 -0
- package/dist/models/GetAgentCodePackageDownloadUrlResponseBody.js +104 -0
- package/dist/models/GetAgentCodePackageDownloadUrlResponseBody.js.map +1 -0
- package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.d.ts +23 -0
- package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.js +58 -0
- package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.js.map +1 -0
- package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.d.ts +19 -0
- package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.js +69 -0
- package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.js.map +1 -0
- package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.d.ts +99 -0
- package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.js +96 -0
- package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.js.map +1 -0
- package/dist/models/GetAgentCodePackageUploadUrlRequest.d.ts +62 -0
- package/dist/models/GetAgentCodePackageUploadUrlRequest.js +84 -0
- package/dist/models/GetAgentCodePackageUploadUrlRequest.js.map +1 -0
- package/dist/models/GetAgentCodePackageUploadUrlResponse.d.ts +19 -0
- package/dist/models/GetAgentCodePackageUploadUrlResponse.js +69 -0
- package/dist/models/GetAgentCodePackageUploadUrlResponse.js.map +1 -0
- package/dist/models/GetAgentCodePackageUploadUrlResponseBody.d.ts +114 -0
- package/dist/models/GetAgentCodePackageUploadUrlResponseBody.js +103 -0
- package/dist/models/GetAgentCodePackageUploadUrlResponseBody.js.map +1 -0
- package/dist/models/GetAgentCodePackageUploadUrlShrinkRequest.d.ts +20 -0
- package/dist/models/GetAgentCodePackageUploadUrlShrinkRequest.js +58 -0
- package/dist/models/GetAgentCodePackageUploadUrlShrinkRequest.js.map +1 -0
- package/dist/models/GetCustomAgentResponseBody.d.ts +105 -48
- package/dist/models/GetCustomAgentResponseBody.js +33 -1
- package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
- package/dist/models/GetIdentityProviderResponseBody.d.ts +217 -11
- package/dist/models/GetIdentityProviderResponseBody.js +111 -1
- package/dist/models/GetIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/GetIdentityProviderSyncJobRequest.d.ts +13 -0
- package/dist/models/GetIdentityProviderSyncJobRequest.js +54 -0
- package/dist/models/GetIdentityProviderSyncJobRequest.js.map +1 -0
- package/dist/models/GetIdentityProviderSyncJobResponse.d.ts +19 -0
- package/dist/models/GetIdentityProviderSyncJobResponse.js +69 -0
- package/dist/models/GetIdentityProviderSyncJobResponse.js.map +1 -0
- package/dist/models/GetIdentityProviderSyncJobResponseBody.d.ts +128 -0
- package/dist/models/GetIdentityProviderSyncJobResponseBody.js +100 -0
- package/dist/models/GetIdentityProviderSyncJobResponseBody.js.map +1 -0
- package/dist/models/GetIdentityProviderSyncScopeRequest.d.ts +13 -0
- package/dist/models/GetIdentityProviderSyncScopeRequest.js +54 -0
- package/dist/models/GetIdentityProviderSyncScopeRequest.js.map +1 -0
- package/dist/models/GetIdentityProviderSyncScopeResponse.d.ts +19 -0
- package/dist/models/GetIdentityProviderSyncScopeResponse.js +69 -0
- package/dist/models/GetIdentityProviderSyncScopeResponse.js.map +1 -0
- package/dist/models/GetIdentityProviderSyncScopeResponseBody.d.ts +177 -0
- package/dist/models/GetIdentityProviderSyncScopeResponseBody.js +151 -0
- package/dist/models/GetIdentityProviderSyncScopeResponseBody.js.map +1 -0
- package/dist/models/GetMemoryResponseBody.d.ts +4 -4
- package/dist/models/GetMemoryStoreResponseBody.d.ts +3 -3
- package/dist/models/ListAgentCodeRuntimesRequest.d.ts +29 -0
- package/dist/models/ListAgentCodeRuntimesRequest.js +60 -0
- package/dist/models/ListAgentCodeRuntimesRequest.js.map +1 -0
- package/dist/models/ListAgentCodeRuntimesResponse.d.ts +19 -0
- package/dist/models/ListAgentCodeRuntimesResponse.js +69 -0
- package/dist/models/ListAgentCodeRuntimesResponse.js.map +1 -0
- package/dist/models/ListAgentCodeRuntimesResponseBody.d.ts +115 -0
- package/dist/models/ListAgentCodeRuntimesResponseBody.js +100 -0
- package/dist/models/ListAgentCodeRuntimesResponseBody.js.map +1 -0
- package/dist/models/ListCustomAgentsRequest.d.ts +2 -2
- package/dist/models/ListCustomAgentsResponseBody.d.ts +221 -25
- package/dist/models/ListCustomAgentsResponseBody.js +119 -1
- package/dist/models/ListCustomAgentsResponseBody.js.map +1 -1
- package/dist/models/ListIdentityProviderDepartmentsRequest.d.ts +37 -0
- package/dist/models/ListIdentityProviderDepartmentsRequest.js +62 -0
- package/dist/models/ListIdentityProviderDepartmentsRequest.js.map +1 -0
- package/dist/models/ListIdentityProviderDepartmentsResponse.d.ts +19 -0
- package/dist/models/ListIdentityProviderDepartmentsResponse.js +69 -0
- package/dist/models/ListIdentityProviderDepartmentsResponse.js.map +1 -0
- package/dist/models/ListIdentityProviderDepartmentsResponseBody.d.ts +137 -0
- package/dist/models/ListIdentityProviderDepartmentsResponseBody.js +104 -0
- package/dist/models/ListIdentityProviderDepartmentsResponseBody.js.map +1 -0
- package/dist/models/ListIdentityProvidersRequest.d.ts +2 -2
- package/dist/models/ListIdentityProvidersResponseBody.d.ts +226 -20
- package/dist/models/ListIdentityProvidersResponseBody.js +111 -1
- package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
- package/dist/models/ListMemoriesResponseBody.d.ts +1 -1
- package/dist/models/ListMemorySessionMessagesRequest.d.ts +3 -3
- package/dist/models/ListMemorySessionsRequest.d.ts +2 -2
- package/dist/models/ListMemorySessionsResponseBody.d.ts +1 -1
- package/dist/models/ListMemoryStoresResponseBody.d.ts +2 -2
- package/dist/models/SearchMemoriesRequest.d.ts +3 -3
- package/dist/models/SearchMemoriesResponseBody.d.ts +3 -3
- package/dist/models/UpdateCustomAgentRequest.d.ts +49 -49
- package/dist/models/UpdateCustomAgentResponseBody.d.ts +124 -77
- package/dist/models/UpdateCustomAgentResponseBody.js +33 -1
- package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateIdentityProviderRequest.d.ts +128 -8
- package/dist/models/UpdateIdentityProviderRequest.js +71 -1
- package/dist/models/UpdateIdentityProviderRequest.js.map +1 -1
- package/dist/models/UpdateIdentityProviderResponseBody.d.ts +181 -16
- package/dist/models/UpdateIdentityProviderResponseBody.js +103 -1
- package/dist/models/UpdateIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/UpdateIdentityProviderShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateMemoryRequest.d.ts +3 -3
- package/dist/models/UpdateMemoryShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateMemoryStoreRequest.d.ts +2 -2
- package/dist/models/UpdateMemoryStoreResponseBody.d.ts +1 -1
- package/dist/models/ValidateAgentCodePackageFromOssRequest.d.ts +52 -0
- package/dist/models/ValidateAgentCodePackageFromOssRequest.js +82 -0
- package/dist/models/ValidateAgentCodePackageFromOssRequest.js.map +1 -0
- package/dist/models/ValidateAgentCodePackageFromOssResponse.d.ts +19 -0
- package/dist/models/ValidateAgentCodePackageFromOssResponse.js +69 -0
- package/dist/models/ValidateAgentCodePackageFromOssResponse.js.map +1 -0
- package/dist/models/ValidateAgentCodePackageFromOssResponseBody.d.ts +99 -0
- package/dist/models/ValidateAgentCodePackageFromOssResponseBody.js +96 -0
- package/dist/models/ValidateAgentCodePackageFromOssResponseBody.js.map +1 -0
- package/dist/models/ValidateAgentCodePackageFromOssShrinkRequest.d.ts +20 -0
- package/dist/models/ValidateAgentCodePackageFromOssShrinkRequest.js +58 -0
- package/dist/models/ValidateAgentCodePackageFromOssShrinkRequest.js.map +1 -0
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationRequest.d.ts +23 -0
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationRequest.js +58 -0
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationRequest.js.map +1 -0
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponse.d.ts +19 -0
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponse.js +69 -0
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponse.js.map +1 -0
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.d.ts +73 -0
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.js +96 -0
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +70 -0
- package/dist/models/model.js +256 -115
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1032 -70
- package/src/models/AddMemoriesRequest.ts +10 -10
- package/src/models/AddMemoriesResponseBody.ts +4 -4
- package/src/models/AddMemoriesShrinkRequest.ts +1 -1
- package/src/models/CreateCustomAgentRequest.ts +43 -43
- package/src/models/CreateCustomAgentResponseBody.ts +141 -61
- package/src/models/CreateIdentityProviderRequest.ts +72 -9
- package/src/models/CreateIdentityProviderResponseBody.ts +258 -9
- package/src/models/CreateIdentityProviderShrinkRequest.ts +1 -1
- package/src/models/CreateIdentityProviderSyncJobRequest.ts +24 -0
- package/src/models/CreateIdentityProviderSyncJobResponse.ts +40 -0
- package/src/models/CreateIdentityProviderSyncJobResponseBody.ts +167 -0
- package/src/models/CreateMemoryStoreRequest.ts +6 -6
- package/src/models/CreateMemoryStoreResponseBody.ts +7 -7
- package/src/models/CreateMemoryStoreShrinkRequest.ts +2 -2
- package/src/models/DeleteIdentityProviderResponseBody.ts +199 -19
- package/src/models/DeleteMemoryStoreResponseBody.ts +3 -3
- package/src/models/GetAgentCodePackageDownloadUrlRequest.ts +24 -0
- package/src/models/GetAgentCodePackageDownloadUrlResponse.ts +40 -0
- package/src/models/GetAgentCodePackageDownloadUrlResponseBody.ts +181 -0
- package/src/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.ts +36 -0
- package/src/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.ts +40 -0
- package/src/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.ts +141 -0
- package/src/models/GetAgentCodePackageUploadUrlRequest.ts +92 -0
- package/src/models/GetAgentCodePackageUploadUrlResponse.ts +40 -0
- package/src/models/GetAgentCodePackageUploadUrlResponseBody.ts +161 -0
- package/src/models/GetAgentCodePackageUploadUrlShrinkRequest.ts +33 -0
- package/src/models/GetCustomAgentResponseBody.ts +128 -48
- package/src/models/GetIdentityProviderResponseBody.ts +300 -11
- package/src/models/GetIdentityProviderSyncJobRequest.ts +24 -0
- package/src/models/GetIdentityProviderSyncJobResponse.ts +40 -0
- package/src/models/GetIdentityProviderSyncJobResponseBody.ts +174 -0
- package/src/models/GetIdentityProviderSyncScopeRequest.ts +24 -0
- package/src/models/GetIdentityProviderSyncScopeResponse.ts +40 -0
- package/src/models/GetIdentityProviderSyncScopeResponseBody.ts +256 -0
- package/src/models/GetMemoryResponseBody.ts +4 -4
- package/src/models/GetMemoryStoreResponseBody.ts +3 -3
- package/src/models/ListAgentCodeRuntimesRequest.ts +44 -0
- package/src/models/ListAgentCodeRuntimesResponse.ts +40 -0
- package/src/models/ListAgentCodeRuntimesResponseBody.ts +161 -0
- package/src/models/ListCustomAgentsRequest.ts +2 -2
- package/src/models/ListCustomAgentsResponseBody.ts +303 -25
- package/src/models/ListIdentityProviderDepartmentsRequest.ts +54 -0
- package/src/models/ListIdentityProviderDepartmentsResponse.ts +40 -0
- package/src/models/ListIdentityProviderDepartmentsResponseBody.ts +187 -0
- package/src/models/ListIdentityProvidersRequest.ts +2 -2
- package/src/models/ListIdentityProvidersResponseBody.ts +309 -20
- package/src/models/ListMemoriesResponseBody.ts +1 -1
- package/src/models/ListMemorySessionMessagesRequest.ts +3 -3
- package/src/models/ListMemorySessionsRequest.ts +2 -2
- package/src/models/ListMemorySessionsResponseBody.ts +1 -1
- package/src/models/ListMemoryStoresResponseBody.ts +2 -2
- package/src/models/SearchMemoriesRequest.ts +3 -3
- package/src/models/SearchMemoriesResponseBody.ts +3 -3
- package/src/models/UpdateCustomAgentRequest.ts +49 -49
- package/src/models/UpdateCustomAgentResponseBody.ts +147 -77
- package/src/models/UpdateCustomAgentShrinkRequest.ts +1 -1
- package/src/models/UpdateIdentityProviderRequest.ts +180 -8
- package/src/models/UpdateIdentityProviderResponseBody.ts +256 -16
- package/src/models/UpdateIdentityProviderShrinkRequest.ts +1 -1
- package/src/models/UpdateMemoryRequest.ts +3 -3
- package/src/models/UpdateMemoryShrinkRequest.ts +1 -1
- package/src/models/UpdateMemoryStoreRequest.ts +2 -2
- package/src/models/UpdateMemoryStoreResponseBody.ts +1 -1
- package/src/models/ValidateAgentCodePackageFromOssRequest.ts +80 -0
- package/src/models/ValidateAgentCodePackageFromOssResponse.ts +40 -0
- package/src/models/ValidateAgentCodePackageFromOssResponseBody.ts +141 -0
- package/src/models/ValidateAgentCodePackageFromOssShrinkRequest.ts +33 -0
- package/src/models/VerifyAgentCodePackageOssRamAuthorizationRequest.ts +36 -0
- package/src/models/VerifyAgentCodePackageOssRamAuthorizationResponse.ts +40 -0
- package/src/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.ts +115 -0
- package/src/models/model.ts +70 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListMemorySessionMessagesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The agent ID.
|
|
8
|
+
* The agent ID. You must specify at least one of AgentId and UserId. The length is limited to 1 to 128 UTF-8 bytes. The forward slash (/) and asterisk (*) are not allowed.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* agent-001
|
|
@@ -29,7 +29,7 @@ export class ListMemorySessionMessagesRequest extends $dara.Model {
|
|
|
29
29
|
nextToken?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The session ID. The length
|
|
32
|
+
* The session ID. The length is limited to 1 to 128 UTF-8 bytes. The forward slash (/) and asterisk (*) are not allowed.
|
|
33
33
|
*
|
|
34
34
|
* This parameter is required.
|
|
35
35
|
*
|
|
@@ -39,7 +39,7 @@ export class ListMemorySessionMessagesRequest extends $dara.Model {
|
|
|
39
39
|
sessionId?: string;
|
|
40
40
|
/**
|
|
41
41
|
* @remarks
|
|
42
|
-
* The user ID.
|
|
42
|
+
* The user ID. You must specify at least one of UserId and AgentId. The length is limited to 1 to 128 UTF-8 bytes. The forward slash (/) and asterisk (*) are not allowed.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* user-001
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListMemorySessionsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The agent ID. If
|
|
8
|
+
* The agent ID. If you do not specify this parameter, all agents are matched. The value must be 1 to 128 bytes in length and cannot contain forward slashes (/) or asterisks (*).
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* agent-001
|
|
@@ -29,7 +29,7 @@ export class ListMemorySessionsRequest extends $dara.Model {
|
|
|
29
29
|
nextToken?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The user ID. If
|
|
32
|
+
* The user ID. If you do not specify this parameter, all users are matched. The value must be 1 to 128 bytes in length and cannot contain forward slashes (/) or asterisks (*).
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* user-001
|
|
@@ -13,7 +13,7 @@ export class ListMemoryStoresResponseBodyItems extends $dara.Model {
|
|
|
13
13
|
createdAt?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The description
|
|
16
|
+
* The MemoryStore description.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* Used to store long-term user preferences
|
|
@@ -37,7 +37,7 @@ export class ListMemoryStoresResponseBodyItems extends $dara.Model {
|
|
|
37
37
|
memoryStoreId?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The name
|
|
40
|
+
* The MemoryStore name. It cannot be modified after creation.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* customer-memory
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class SearchMemoriesRequestBodyScope extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The agent ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain forward
|
|
8
|
+
* The agent ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain a forward slash (/) or an asterisk (*). If the memory is not associated with an agent ID, this field is not returned.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* agent-001
|
|
@@ -13,7 +13,7 @@ export class SearchMemoriesRequestBodyScope extends $dara.Model {
|
|
|
13
13
|
agentId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The session ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain forward
|
|
16
|
+
* The session ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain a forward slash (/) or an asterisk (*). If the memory is not associated with a session ID, this field is not returned.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* session-001
|
|
@@ -21,7 +21,7 @@ export class SearchMemoriesRequestBodyScope extends $dara.Model {
|
|
|
21
21
|
sessionId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The user ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain forward
|
|
24
|
+
* The user ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain a forward slash (/) or an asterisk (*). If the memory is not associated with a user ID, this field is not returned.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* user-001
|
|
@@ -35,7 +35,7 @@ export class SearchMemoriesResponseBodyDataMemoriesMemoryContent extends $dara.M
|
|
|
35
35
|
export class SearchMemoriesResponseBodyDataMemoriesMemoryScope extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The agent ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain forward
|
|
38
|
+
* The agent ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain a forward slash (/) or an asterisk (*). If the memory is not associated with an agent ID, this field is not returned.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* agent-001
|
|
@@ -43,7 +43,7 @@ export class SearchMemoriesResponseBodyDataMemoriesMemoryScope extends $dara.Mod
|
|
|
43
43
|
agentId?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The session ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain forward
|
|
46
|
+
* The session ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain a forward slash (/) or an asterisk (*). If the memory is not associated with a session ID, this field is not returned.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* session-001
|
|
@@ -51,7 +51,7 @@ export class SearchMemoriesResponseBodyDataMemoriesMemoryScope extends $dara.Mod
|
|
|
51
51
|
sessionId?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* The user ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain forward
|
|
54
|
+
* The user ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain a forward slash (/) or an asterisk (*). If the memory is not associated with a user ID, this field is not returned.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* user-001
|
|
@@ -21,7 +21,7 @@ export class UpdateCustomAgentRequestBodyAgenticFsMounts extends $dara.Model {
|
|
|
21
21
|
path?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* Specifies whether the mount is read-only. A value of true indicates read-only, and false indicates read and write. If omitted, the default value is false.
|
|
24
|
+
* Specifies whether the mount is read-only. A value of true indicates read-only, and a value of false indicates read and write. If this field is omitted, the default value is false.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* false
|
|
@@ -65,32 +65,32 @@ export class UpdateCustomAgentRequestBodyAgenticFsMounts extends $dara.Model {
|
|
|
65
65
|
export class UpdateCustomAgentRequestBodyArtifactCode extends $dara.Model {
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* The startup
|
|
68
|
+
* The startup command for the code package. This field is required in code package mode. The working directory is the extracted code root directory /code, such as python main.py. Quotes and escapes are supported. Environment variables, pipes, and logical operations are not automatically expanded. For complex commands, use scripts within the package.
|
|
69
69
|
*
|
|
70
70
|
* This parameter is required.
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
|
-
* python
|
|
73
|
+
* python main.py
|
|
74
74
|
*/
|
|
75
75
|
entrypoint?: string;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The
|
|
78
|
+
* The code runtime environment identifier, such as python3.12. When creating or switching environments, use the identifier returned by the ListAgentCodeRuntimes operation. The identifier is validated by the current version catalog and is not a fixed enumeration.
|
|
79
79
|
*
|
|
80
80
|
* This parameter is required.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
|
-
*
|
|
83
|
+
* python3.12
|
|
84
84
|
*/
|
|
85
85
|
languageRuntime?: string;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The source
|
|
88
|
+
* The source address of the code package. This field supports oss:// addresses or HTTPS object addresses of standard OSS public domain names, including OSS signed URLs. Arbitrary external sites, custom domain names, and additional authentication request headers are not supported. After a local upload, use the sourceUri returned by the GetAgentCodePackageUploadUrl operation. The address is revalidated and transferred during creation or updates. After the transfer is saved, the platform returns a fixed oss:// address. This fixed address can be reused for regular updates.
|
|
89
89
|
*
|
|
90
90
|
* This parameter is required.
|
|
91
91
|
*
|
|
92
92
|
* @example
|
|
93
|
-
* oss://my-agent-bucket/packages/
|
|
93
|
+
* oss://my-agent-bucket/packages/main.zip
|
|
94
94
|
*/
|
|
95
95
|
sourceUri?: string;
|
|
96
96
|
static names(): { [key: string]: string } {
|
|
@@ -121,7 +121,7 @@ export class UpdateCustomAgentRequestBodyArtifactCode extends $dara.Model {
|
|
|
121
121
|
export class UpdateCustomAgentRequestBodyArtifactContainer extends $dara.Model {
|
|
122
122
|
/**
|
|
123
123
|
* @remarks
|
|
124
|
-
* The optional executable program and startup parameters. If specified, this must be a non-empty string. When updating the artifact, omitting this field uses the default startup method of the image. To retain the original custom startup command, provide this field
|
|
124
|
+
* The optional executable program and startup parameters. If specified, this field must be a non-empty string. When updating the artifact, omitting this field uses the default startup method of the image. To retain the original custom startup command, provide this field together.
|
|
125
125
|
*
|
|
126
126
|
* @example
|
|
127
127
|
* python app.py
|
|
@@ -169,7 +169,7 @@ export class UpdateCustomAgentRequestBodyArtifactContainer extends $dara.Model {
|
|
|
169
169
|
tag?: string;
|
|
170
170
|
/**
|
|
171
171
|
* @remarks
|
|
172
|
-
* The source type
|
|
172
|
+
* The image source type. Currently, only acr is supported, which indicates Alibaba Cloud Container Registry (ACR).
|
|
173
173
|
*
|
|
174
174
|
* This parameter is required.
|
|
175
175
|
*
|
|
@@ -211,7 +211,7 @@ export class UpdateCustomAgentRequestBodyArtifactContainer extends $dara.Model {
|
|
|
211
211
|
export class UpdateCustomAgentRequestBodyArtifact extends $dara.Model {
|
|
212
212
|
/**
|
|
213
213
|
* @remarks
|
|
214
|
-
* The code package deployment configuration. This is
|
|
214
|
+
* The code package deployment configuration. This field is mutually exclusive with the container field. Code packages use the ZIP or TAR.GZ format. Dependencies must be packaged by the user. The platform does not install dependencies or perform online builds.
|
|
215
215
|
*/
|
|
216
216
|
code?: UpdateCustomAgentRequestBodyArtifactCode;
|
|
217
217
|
/**
|
|
@@ -263,7 +263,7 @@ export class UpdateCustomAgentRequestBodyArtifact extends $dara.Model {
|
|
|
263
263
|
export class UpdateCustomAgentRequestBodyEnvironmentVariables extends $dara.Model {
|
|
264
264
|
/**
|
|
265
265
|
* @remarks
|
|
266
|
-
* The name of the environment variable. This field cannot be empty and must be unique
|
|
266
|
+
* The name of the environment variable. This field cannot be empty and must be unique in the current environment variable list.
|
|
267
267
|
*
|
|
268
268
|
* This parameter is required.
|
|
269
269
|
*
|
|
@@ -273,7 +273,7 @@ export class UpdateCustomAgentRequestBodyEnvironmentVariables extends $dara.Mode
|
|
|
273
273
|
name?: string;
|
|
274
274
|
/**
|
|
275
275
|
* @remarks
|
|
276
|
-
* The value of the environment variable. This must be a string. Empty strings are allowed.
|
|
276
|
+
* The value of the environment variable. This field must be a string. Empty strings are allowed.
|
|
277
277
|
*
|
|
278
278
|
* This parameter is required.
|
|
279
279
|
*
|
|
@@ -345,7 +345,7 @@ export class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model {
|
|
|
345
345
|
healthyThreshold?: number;
|
|
346
346
|
/**
|
|
347
347
|
* @remarks
|
|
348
|
-
* The interval between two health checks, in seconds. This must be a positive integer. If omitted, the default value is 10.
|
|
348
|
+
* The interval between two health checks, in seconds. This field must be a positive integer. If this field is omitted, the default value is 10.
|
|
349
349
|
*
|
|
350
350
|
* @example
|
|
351
351
|
* 10
|
|
@@ -353,7 +353,7 @@ export class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model {
|
|
|
353
353
|
intervalSeconds?: number;
|
|
354
354
|
/**
|
|
355
355
|
* @remarks
|
|
356
|
-
* The HTTP health check path. This must start with a forward slash (/). If omitted, the default value is /healthz.
|
|
356
|
+
* The HTTP health check path. This field must start with a forward slash (/). If this field is omitted, the default value is /healthz.
|
|
357
357
|
*
|
|
358
358
|
* @example
|
|
359
359
|
* /healthz
|
|
@@ -361,7 +361,7 @@ export class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model {
|
|
|
361
361
|
path?: string;
|
|
362
362
|
/**
|
|
363
363
|
* @remarks
|
|
364
|
-
* The port accessed
|
|
364
|
+
* The port accessed by the health check. This field is required when configuring a health check. Valid values: 1 to 65535.
|
|
365
365
|
*
|
|
366
366
|
* @example
|
|
367
367
|
* 8080
|
|
@@ -369,7 +369,7 @@ export class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model {
|
|
|
369
369
|
port?: number;
|
|
370
370
|
/**
|
|
371
371
|
* @remarks
|
|
372
|
-
* The timeout period for a single health check, in seconds. This must be a positive integer and less than intervalSeconds. If omitted, the default value is 2.
|
|
372
|
+
* The timeout period for a single health check, in seconds. This field must be a positive integer and less than intervalSeconds. If this field is omitted, the default value is 2.
|
|
373
373
|
*
|
|
374
374
|
* @example
|
|
375
375
|
* 2
|
|
@@ -377,7 +377,7 @@ export class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model {
|
|
|
377
377
|
timeoutSeconds?: number;
|
|
378
378
|
/**
|
|
379
379
|
* @remarks
|
|
380
|
-
* The number of consecutive health check failures before the
|
|
380
|
+
* The number of consecutive health check failures before the agent is considered unhealthy. This field must be a positive integer. If this field is omitted, the default value is 3.
|
|
381
381
|
*
|
|
382
382
|
* @example
|
|
383
383
|
* 3
|
|
@@ -417,7 +417,7 @@ export class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model {
|
|
|
417
417
|
export class UpdateCustomAgentRequestBodyLoggingSls extends $dara.Model {
|
|
418
418
|
/**
|
|
419
419
|
* @remarks
|
|
420
|
-
* The name of the
|
|
420
|
+
* The name of the SLS logstore that receives agent logs.
|
|
421
421
|
*
|
|
422
422
|
* @example
|
|
423
423
|
* agent-runtime
|
|
@@ -425,7 +425,7 @@ export class UpdateCustomAgentRequestBodyLoggingSls extends $dara.Model {
|
|
|
425
425
|
logstore?: string;
|
|
426
426
|
/**
|
|
427
427
|
* @remarks
|
|
428
|
-
* The name of the
|
|
428
|
+
* The name of the SLS project that receives agent logs.
|
|
429
429
|
*
|
|
430
430
|
* @example
|
|
431
431
|
* my-agent-logs
|
|
@@ -457,7 +457,7 @@ export class UpdateCustomAgentRequestBodyLoggingSls extends $dara.Model {
|
|
|
457
457
|
export class UpdateCustomAgentRequestBodyLogging extends $dara.Model {
|
|
458
458
|
/**
|
|
459
459
|
* @remarks
|
|
460
|
-
* The
|
|
460
|
+
* The SLS log delivery destination. When updating this object, you must provide both the project and logstore fields, and they cannot be empty.
|
|
461
461
|
*/
|
|
462
462
|
sls?: UpdateCustomAgentRequestBodyLoggingSls;
|
|
463
463
|
static names(): { [key: string]: string } {
|
|
@@ -487,7 +487,7 @@ export class UpdateCustomAgentRequestBodyLogging extends $dara.Model {
|
|
|
487
487
|
export class UpdateCustomAgentRequestBodyNetworkAccessInternet extends $dara.Model {
|
|
488
488
|
/**
|
|
489
489
|
* @remarks
|
|
490
|
-
* Specifies whether to allow the agent to access the Internet.
|
|
490
|
+
* Specifies whether to allow the agent to access the Internet. When configuring accessInternet, you must provide a Boolean value. For this configuration to take effect, the workspace must also allow Internet access.
|
|
491
491
|
*/
|
|
492
492
|
enabled?: boolean;
|
|
493
493
|
static names(): { [key: string]: string } {
|
|
@@ -514,7 +514,7 @@ export class UpdateCustomAgentRequestBodyNetworkAccessInternet extends $dara.Mod
|
|
|
514
514
|
export class UpdateCustomAgentRequestBodyNetworkAccessVpc extends $dara.Model {
|
|
515
515
|
/**
|
|
516
516
|
* @remarks
|
|
517
|
-
* Specifies whether to allow the agent to access the user VPC configured
|
|
517
|
+
* Specifies whether to allow the agent to access the user VPC configured in the workspace. When configuring accessVpc, you must provide a Boolean value. For this configuration to take effect, the workspace must also allow VPC access.
|
|
518
518
|
*/
|
|
519
519
|
enabled?: boolean;
|
|
520
520
|
static names(): { [key: string]: string } {
|
|
@@ -541,12 +541,12 @@ export class UpdateCustomAgentRequestBodyNetworkAccessVpc extends $dara.Model {
|
|
|
541
541
|
export class UpdateCustomAgentRequestBodyNetwork extends $dara.Model {
|
|
542
542
|
/**
|
|
543
543
|
* @remarks
|
|
544
|
-
* The Internet access configuration.
|
|
544
|
+
* The Internet access configuration. When this access item is omitted, the agent does not restrict Internet access. However, the workspace must still allow Internet access.
|
|
545
545
|
*/
|
|
546
546
|
accessInternet?: UpdateCustomAgentRequestBodyNetworkAccessInternet;
|
|
547
547
|
/**
|
|
548
548
|
* @remarks
|
|
549
|
-
* The user VPC access configuration.
|
|
549
|
+
* The user VPC access configuration. When this access item is omitted, the agent does not restrict VPC access. However, the workspace must still be configured to allow access to the user VPC.
|
|
550
550
|
*/
|
|
551
551
|
accessVpc?: UpdateCustomAgentRequestBodyNetworkAccessVpc;
|
|
552
552
|
static names(): { [key: string]: string } {
|
|
@@ -581,7 +581,7 @@ export class UpdateCustomAgentRequestBodyNetwork extends $dara.Model {
|
|
|
581
581
|
export class UpdateCustomAgentRequestBodyObservability extends $dara.Model {
|
|
582
582
|
/**
|
|
583
583
|
* @remarks
|
|
584
|
-
* Specifies whether to enable agent observability.
|
|
584
|
+
* Specifies whether to enable agent observability.
|
|
585
585
|
*/
|
|
586
586
|
enabled?: boolean;
|
|
587
587
|
static names(): { [key: string]: string } {
|
|
@@ -624,7 +624,7 @@ export class UpdateCustomAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
624
624
|
mountPath?: string;
|
|
625
625
|
/**
|
|
626
626
|
* @remarks
|
|
627
|
-
* The non-empty object directory prefix in the bucket, such as datasets/train. Leading and trailing slashes are removed. The root directory is not supported. Do not use parent directory
|
|
627
|
+
* The non-empty object directory prefix in the bucket, such as datasets/train. Leading and trailing slashes are removed. The root directory is not supported. Do not use parent directory navigation.
|
|
628
628
|
*
|
|
629
629
|
* @example
|
|
630
630
|
* datasets/train
|
|
@@ -632,7 +632,7 @@ export class UpdateCustomAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
632
632
|
path?: string;
|
|
633
633
|
/**
|
|
634
634
|
* @remarks
|
|
635
|
-
* Specifies whether the mount is read-only. A value of true indicates read-only, and false indicates read and write. If omitted, the default value is false.
|
|
635
|
+
* Specifies whether the mount is read-only. A value of true indicates read-only, and a value of false indicates read and write. If this field is omitted, the default value is false.
|
|
636
636
|
*/
|
|
637
637
|
readOnly?: boolean;
|
|
638
638
|
static names(): { [key: string]: string } {
|
|
@@ -800,14 +800,14 @@ export class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
800
800
|
* Specifies whether to enable elastic scaling. Valid values:
|
|
801
801
|
* - true: Enabled.
|
|
802
802
|
* - false: Disabled.
|
|
803
|
-
*
|
|
803
|
+
* Default value: false. This default value applies when runtime is provided and this field is omitted.
|
|
804
804
|
*
|
|
805
805
|
* This parameter is required.
|
|
806
806
|
*/
|
|
807
807
|
enabled?: boolean;
|
|
808
808
|
/**
|
|
809
809
|
* @remarks
|
|
810
|
-
* The maximum number of concurrent sessions for a single runtime instance. Valid values: 1 to 100. When runtime is provided,
|
|
810
|
+
* The maximum number of concurrent sessions for a single runtime instance. Valid values: 1 to 100. When runtime is provided, omitting this field uses the default value of 100.
|
|
811
811
|
*
|
|
812
812
|
* @example
|
|
813
813
|
* 100
|
|
@@ -815,7 +815,7 @@ export class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
815
815
|
maxConcurrentSessionsPerSandbox?: number;
|
|
816
816
|
/**
|
|
817
817
|
* @remarks
|
|
818
|
-
* The maximum number of runtime instances. Valid values: 1 to 100. The value cannot be less than minSandboxCount. When runtime is provided,
|
|
818
|
+
* The maximum number of runtime instances. Valid values: 1 to 100. The value cannot be less than minSandboxCount. When runtime is provided, omitting this field uses the default value of 10.
|
|
819
819
|
*
|
|
820
820
|
* @example
|
|
821
821
|
* 10
|
|
@@ -823,7 +823,7 @@ export class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
823
823
|
maxSandboxCount?: number;
|
|
824
824
|
/**
|
|
825
825
|
* @remarks
|
|
826
|
-
* The minimum number of runtime instances. Valid values: 1 to 100. The value cannot be greater than maxSandboxCount. When runtime is provided,
|
|
826
|
+
* The minimum number of runtime instances. Valid values: 1 to 100. The value cannot be greater than maxSandboxCount. When runtime is provided, omitting this field uses the default value of 1.
|
|
827
827
|
*
|
|
828
828
|
* @example
|
|
829
829
|
* 1
|
|
@@ -831,7 +831,7 @@ export class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
831
831
|
minSandboxCount?: number;
|
|
832
832
|
/**
|
|
833
833
|
* @remarks
|
|
834
|
-
* The session idle timeout in seconds. Valid values: 60 to 86400. When runtime is provided,
|
|
834
|
+
* The session idle timeout in seconds. Valid values: 60 to 86400. When runtime is provided, omitting this field uses the default value of 600.
|
|
835
835
|
*
|
|
836
836
|
* @example
|
|
837
837
|
* 600
|
|
@@ -869,7 +869,7 @@ export class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
869
869
|
export class UpdateCustomAgentRequestBodyRuntimeSessionPolicy extends $dara.Model {
|
|
870
870
|
/**
|
|
871
871
|
* @remarks
|
|
872
|
-
* The name of the HTTP request header used by the session policy. This parameter is required when type is ISOLATED_HEADER_FIELD and must be a valid HTTP request header name. Omit this parameter for other policies.
|
|
872
|
+
* The name of the HTTP request header used by the session policy. This parameter is required when type is set to ISOLATED_HEADER_FIELD and must be a valid HTTP request header name. Omit this parameter for other policies.
|
|
873
873
|
*
|
|
874
874
|
* @example
|
|
875
875
|
* X-Session-Id
|
|
@@ -879,8 +879,8 @@ export class UpdateCustomAgentRequestBodyRuntimeSessionPolicy extends $dara.Mode
|
|
|
879
879
|
* @remarks
|
|
880
880
|
* The session policy type. Valid values:
|
|
881
881
|
* - AFFINITY: Session affinity.
|
|
882
|
-
* - ISOLATED_HEADER_FIELD: Associates sessions by using the request header specified
|
|
883
|
-
* - ISOLATED_COOKIE: Cookie-based session
|
|
882
|
+
* - ISOLATED_HEADER_FIELD: Associates sessions by using the request header specified by headerName.
|
|
883
|
+
* - ISOLATED_COOKIE: Cookie-based session policy. This value is not recommended.
|
|
884
884
|
* - DISABLED: Compatibility option. The response returns AFFINITY.
|
|
885
885
|
*
|
|
886
886
|
* This parameter is required.
|
|
@@ -922,7 +922,7 @@ export class UpdateCustomAgentRequestBodyRuntime extends $dara.Model {
|
|
|
922
922
|
compute?: UpdateCustomAgentRequestBodyRuntimeCompute;
|
|
923
923
|
/**
|
|
924
924
|
* @remarks
|
|
925
|
-
* The optional elastic policy. When runtime is provided,
|
|
925
|
+
* The optional elastic policy. When runtime is provided, omitting hpa or its fields uses the default values: enabled is false, the minimum number of instances is 1, the maximum number of instances is 10, the maximum number of concurrent sessions per instance is 100, and the session idle timeout is 600 seconds. To retain the original policy during an update, provide the complete hpa configuration.
|
|
926
926
|
*/
|
|
927
927
|
hpa?: UpdateCustomAgentRequestBodyRuntimeHpa;
|
|
928
928
|
/**
|
|
@@ -969,17 +969,17 @@ export class UpdateCustomAgentRequestBodyRuntime extends $dara.Model {
|
|
|
969
969
|
export class UpdateCustomAgentRequestBody extends $dara.Model {
|
|
970
970
|
/**
|
|
971
971
|
* @remarks
|
|
972
|
-
* The list of additional AgenticFS mounts. The total number of AgenticFS and
|
|
972
|
+
* The list of additional AgenticFS mounts. The total number of AgenticFS mounts and ossMounts cannot exceed 10. During creation, omitting this field or passing an empty array [] indicates no additional mounts. During an update, omitting this field retains the original value, and passing an empty array [] clears the list. You cannot pass null.
|
|
973
973
|
*/
|
|
974
974
|
agenticFsMounts?: UpdateCustomAgentRequestBodyAgenticFsMounts[];
|
|
975
975
|
/**
|
|
976
976
|
* @remarks
|
|
977
|
-
* The deployment artifact configuration.
|
|
977
|
+
* The deployment artifact configuration. You must specify the service listening port in the port field and choose either the code or container deployment method. During an update, you must provide the required fields for the selected method.
|
|
978
978
|
*/
|
|
979
979
|
artifact?: UpdateCustomAgentRequestBodyArtifact;
|
|
980
980
|
/**
|
|
981
981
|
* @remarks
|
|
982
|
-
* The description of the agent purpose. The maximum length is 1,024 characters after leading and trailing whitespaces are removed.
|
|
982
|
+
* The description of the agent purpose. The maximum length is 1,024 characters after leading and trailing whitespaces are removed. Omitting this field retains the original value. Pass null to clear the description.
|
|
983
983
|
*
|
|
984
984
|
* @example
|
|
985
985
|
* Custom agent that provides conversation services
|
|
@@ -997,12 +997,12 @@ export class UpdateCustomAgentRequestBody extends $dara.Model {
|
|
|
997
997
|
healthCheck?: UpdateCustomAgentRequestBodyHealthCheck;
|
|
998
998
|
/**
|
|
999
999
|
* @remarks
|
|
1000
|
-
* The log delivery configuration for the agent. You can specify the Simple Log Service project and logstore. After a successful creation or update, verify whether logs are delivered properly.
|
|
1000
|
+
* The log delivery configuration for the agent. You can specify the Simple Log Service (SLS) project and logstore. After a successful creation or update, verify whether logs are delivered properly.
|
|
1001
1001
|
*/
|
|
1002
1002
|
logging?: UpdateCustomAgentRequestBodyLogging;
|
|
1003
1003
|
/**
|
|
1004
1004
|
* @remarks
|
|
1005
|
-
* The name of the custom agent. The length is 1 to 128 characters after leading and trailing whitespaces are removed. The name must be unique within the same workspace.
|
|
1005
|
+
* The name of the custom agent. The length is 1 to 128 characters after leading and trailing whitespaces are removed. The name must be unique within the same workspace. Omitting this field retains the original value. You cannot pass null or a blank name.
|
|
1006
1006
|
*
|
|
1007
1007
|
* @example
|
|
1008
1008
|
* my-custom-agent
|
|
@@ -1010,27 +1010,27 @@ export class UpdateCustomAgentRequestBody extends $dara.Model {
|
|
|
1010
1010
|
name?: string;
|
|
1011
1011
|
/**
|
|
1012
1012
|
* @remarks
|
|
1013
|
-
* The network access configuration for the agent. When providing this object, omitted access items are treated as allowed. The actual accessible
|
|
1013
|
+
* The network access configuration for the agent. When providing this object, omitted access items are treated as allowed. The actual accessible range is still restricted by the workspace network configuration. To retain the original restrictions during an update, specify both accessInternet and accessVpc.
|
|
1014
1014
|
*/
|
|
1015
1015
|
network?: UpdateCustomAgentRequestBodyNetwork;
|
|
1016
1016
|
/**
|
|
1017
1017
|
* @remarks
|
|
1018
|
-
* The
|
|
1018
|
+
* The high-code agent observability configuration.
|
|
1019
1019
|
*/
|
|
1020
1020
|
observability?: UpdateCustomAgentRequestBodyObservability;
|
|
1021
1021
|
/**
|
|
1022
1022
|
* @remarks
|
|
1023
|
-
* The OSS mount list. A maximum of 10 items in total with agenticFsMounts. Each item must include bucketName, path, and mountPath. Mount targets must not be duplicated or overlap.
|
|
1023
|
+
* The OSS mount list. A maximum of 10 items in total with agenticFsMounts. Each item must include bucketName, path, and mountPath. Mount targets must not be duplicated or overlap. The entire list is replaced during an update. Pass an empty array to clear the list.
|
|
1024
1024
|
*/
|
|
1025
1025
|
ossMounts?: UpdateCustomAgentRequestBodyOssMounts[];
|
|
1026
1026
|
/**
|
|
1027
1027
|
* @remarks
|
|
1028
|
-
* The list of invocation protocols supported by the agent. Each item includes the protocol type and optional paths and request headers.
|
|
1028
|
+
* The list of invocation protocols supported by the agent. Each item includes the protocol type and optional paths and request headers. The entire list is replaced during an update.
|
|
1029
1029
|
*/
|
|
1030
1030
|
protocol?: UpdateCustomAgentRequestBodyProtocol[];
|
|
1031
1031
|
/**
|
|
1032
1032
|
* @remarks
|
|
1033
|
-
* The ARN of the RAM role used
|
|
1033
|
+
* The ARN of the RAM role used when the agent accesses user cloud resources. The role must have permissions to access the cloud resources.
|
|
1034
1034
|
*
|
|
1035
1035
|
* @example
|
|
1036
1036
|
* acs:ram::1234567890123456:role/agentcore-runtime-role
|
|
@@ -1038,12 +1038,12 @@ export class UpdateCustomAgentRequestBody extends $dara.Model {
|
|
|
1038
1038
|
roleArn?: string;
|
|
1039
1039
|
/**
|
|
1040
1040
|
* @remarks
|
|
1041
|
-
* The runtime configuration. When this object is provided, compute and sessionPolicy must be
|
|
1041
|
+
* The runtime configuration. When this object is provided, compute and sessionPolicy must be present at the same time. To retain the original elastic policy, provide the complete hpa configuration. Omitting the top-level runtime field retains the original configuration.
|
|
1042
1042
|
*/
|
|
1043
1043
|
runtime?: UpdateCustomAgentRequestBodyRuntime;
|
|
1044
1044
|
/**
|
|
1045
1045
|
* @remarks
|
|
1046
|
-
* If not
|
|
1046
|
+
* If this parameter is not passed during an update, the original value is retained. Explicitly set this parameter to true or false. The system does not automatically supplement false. The new contract rejects null and invalid types. Existing compatibility endpoints are processed according to migration agreements.
|
|
1047
1047
|
*
|
|
1048
1048
|
* @example
|
|
1049
1049
|
* true
|
|
@@ -1129,7 +1129,7 @@ export class UpdateCustomAgentRequestBody extends $dara.Model {
|
|
|
1129
1129
|
export class UpdateCustomAgentRequest extends $dara.Model {
|
|
1130
1130
|
/**
|
|
1131
1131
|
* @remarks
|
|
1132
|
-
* The update configuration for the custom agent.
|
|
1132
|
+
* The update configuration for the custom agent. Provide at least one top-level field. Omitted top-level fields retain their original values. When providing a configuration object, specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced as a whole.
|
|
1133
1133
|
*/
|
|
1134
1134
|
body?: UpdateCustomAgentRequestBody;
|
|
1135
1135
|
/**
|