@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
|
@@ -4,7 +4,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
export declare class AddMemoriesRequestBodyMessages extends $dara.Model {
|
|
5
5
|
/**
|
|
6
6
|
* @remarks
|
|
7
|
-
* The message
|
|
7
|
+
* The content of the message.
|
|
8
8
|
*
|
|
9
9
|
* This parameter is required.
|
|
10
10
|
*
|
|
@@ -14,7 +14,7 @@ export declare class AddMemoriesRequestBodyMessages extends $dara.Model {
|
|
|
14
14
|
content?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The message
|
|
17
|
+
* The role of the message.
|
|
18
18
|
*
|
|
19
19
|
* This parameter is required.
|
|
20
20
|
*
|
|
@@ -36,7 +36,7 @@ export declare class AddMemoriesRequestBodyMessages extends $dara.Model {
|
|
|
36
36
|
export declare class AddMemoriesRequestBodyScope extends $dara.Model {
|
|
37
37
|
/**
|
|
38
38
|
* @remarks
|
|
39
|
-
* The agent
|
|
39
|
+
* The ID of the agent. The length is limited to 1 to 128 UTF-8 bytes. The ID cannot contain a forward slash (/) or an asterisk (*).
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
42
|
* agent-001
|
|
@@ -44,7 +44,7 @@ export declare class AddMemoriesRequestBodyScope extends $dara.Model {
|
|
|
44
44
|
agentId?: string;
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
47
|
-
* The session
|
|
47
|
+
* The ID of the session. The length is limited to 1 to 128 UTF-8 bytes. The ID cannot contain a forward slash (/) or an asterisk (*).
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
50
|
* session-001
|
|
@@ -52,7 +52,7 @@ export declare class AddMemoriesRequestBodyScope extends $dara.Model {
|
|
|
52
52
|
sessionId?: string;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
* The user
|
|
55
|
+
* The ID of the user. The length is limited to 1 to 128 UTF-8 bytes. The ID cannot contain a forward slash (/) or an asterisk (*).
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
58
58
|
* user-001
|
|
@@ -72,7 +72,7 @@ export declare class AddMemoriesRequestBodyScope extends $dara.Model {
|
|
|
72
72
|
export declare class AddMemoriesRequestBody extends $dara.Model {
|
|
73
73
|
/**
|
|
74
74
|
* @remarks
|
|
75
|
-
* The list of messages. You must provide either this parameter or Text, but not both.
|
|
75
|
+
* The list of messages. You must provide either this parameter or Text, but not both. The list must contain 1 to 20 messages, and the total size of the content must not exceed 32,000 UTF-8 bytes.
|
|
76
76
|
*/
|
|
77
77
|
messages?: AddMemoriesRequestBodyMessages[];
|
|
78
78
|
/**
|
|
@@ -84,7 +84,7 @@ export declare class AddMemoriesRequestBody extends $dara.Model {
|
|
|
84
84
|
};
|
|
85
85
|
/**
|
|
86
86
|
* @remarks
|
|
87
|
-
* The time reference point for
|
|
87
|
+
* The time reference point for the batch of messages or text. The value must be in RFC 3339 format with a time zone and support fractional seconds.
|
|
88
88
|
*
|
|
89
89
|
* @example
|
|
90
90
|
* 2023-05-08T13:56:00+08:00
|
|
@@ -92,7 +92,7 @@ export declare class AddMemoriesRequestBody extends $dara.Model {
|
|
|
92
92
|
referenceTime?: string;
|
|
93
93
|
/**
|
|
94
94
|
* @remarks
|
|
95
|
-
* The write
|
|
95
|
+
* The scope of the write operation. UserId, AgentId, and SessionId are all optional.
|
|
96
96
|
*/
|
|
97
97
|
scope?: AddMemoriesRequestBodyScope;
|
|
98
98
|
/**
|
|
@@ -102,7 +102,7 @@ export declare class AddMemoriesRequestBody extends $dara.Model {
|
|
|
102
102
|
sync?: boolean;
|
|
103
103
|
/**
|
|
104
104
|
* @remarks
|
|
105
|
-
* The text to be written directly. You must provide either this parameter or Messages, but not both. The text
|
|
105
|
+
* The text to be written directly. You must provide either this parameter or Messages, but not both. The size of the text must not exceed 32,000 UTF-8 bytes.
|
|
106
106
|
*
|
|
107
107
|
* @example
|
|
108
108
|
* The user likes hiking
|
|
@@ -122,7 +122,7 @@ export declare class AddMemoriesRequestBody extends $dara.Model {
|
|
|
122
122
|
export declare class AddMemoriesRequest extends $dara.Model {
|
|
123
123
|
/**
|
|
124
124
|
* @remarks
|
|
125
|
-
* The
|
|
125
|
+
* The request body for writing to memory.
|
|
126
126
|
*
|
|
127
127
|
* This parameter is required.
|
|
128
128
|
*/
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class AddMemoriesResponseBodyDataMemories extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The long-term memory
|
|
5
|
+
* The ID of the long-term memory.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* mem-2f5f9c5a8d0e4c3b
|
|
@@ -27,7 +27,7 @@ export declare class AddMemoriesResponseBodyData extends $dara.Model {
|
|
|
27
27
|
memories?: AddMemoriesResponseBodyDataMemories[];
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
* The task
|
|
30
|
+
* The ID of the task returned only when sync is set to false. This parameter is not returned together with memories.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* task-2f5f9c5a8d0e4c3b
|
|
@@ -55,7 +55,7 @@ export declare class AddMemoriesResponseBody extends $dara.Model {
|
|
|
55
55
|
code?: string;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The write
|
|
58
|
+
* The result of the write operation.
|
|
59
59
|
*/
|
|
60
60
|
data?: AddMemoriesResponseBodyData;
|
|
61
61
|
/**
|
|
@@ -76,7 +76,7 @@ export declare class AddMemoriesResponseBody extends $dara.Model {
|
|
|
76
76
|
message?: string;
|
|
77
77
|
/**
|
|
78
78
|
* @remarks
|
|
79
|
-
* The request
|
|
79
|
+
* The ID of the request.
|
|
80
80
|
*
|
|
81
81
|
* @example
|
|
82
82
|
* 01A00000-0000-0000-0000-000000000001
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateCustomAgentRequestBodyAgenticFsMounts extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The subdirectory under /mnt/agenticfs/ in the container. This parameter is required for each mount item. Mount targets must not be duplicated or
|
|
5
|
+
* The subdirectory under /mnt/agenticfs/ in the container. This parameter is required for each mount item. Mount targets must not be duplicated or form parent-child overrides.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* /mnt/agenticfs/data
|
|
@@ -10,7 +10,7 @@ export declare class CreateCustomAgentRequestBodyAgenticFsMounts extends $dara.M
|
|
|
10
10
|
mountPath?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The existing non-empty relative directory under the access point. This parameter is required for each mount item. Root directories, absolute paths, and parent directory
|
|
13
|
+
* The existing non-empty relative directory under the access point. This parameter is required for each mount item. Root directories, absolute paths, and parent directory traversals are not allowed.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* workspace/data
|
|
@@ -26,7 +26,7 @@ export declare class CreateCustomAgentRequestBodyAgenticFsMounts extends $dara.M
|
|
|
26
26
|
readOnly?: boolean;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The domain name of the access point. This parameter is required for each mount item. Use the DomainName from the
|
|
29
|
+
* The domain name of the access point. This parameter is required for each mount item. Use the DomainName from the ListAccessPoints response of NAS. Do not include the protocol, port, or path.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
|
|
@@ -46,32 +46,32 @@ export declare class CreateCustomAgentRequestBodyAgenticFsMounts extends $dara.M
|
|
|
46
46
|
export declare class CreateCustomAgentRequestBodyArtifactCode extends $dara.Model {
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The startup
|
|
49
|
+
* The startup command for the code package. This parameter is required in code package mode. The working directory is the root directory of the extracted code, which is /code. Example: python main.py. Quotes and escapes are supported. Environment variables, pipes, and logical operations are not automatically expanded. For complex commands, use a script within the package.
|
|
50
50
|
*
|
|
51
51
|
* This parameter is required.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
|
-
* python
|
|
54
|
+
* python main.py
|
|
55
55
|
*/
|
|
56
56
|
entrypoint?: string;
|
|
57
57
|
/**
|
|
58
58
|
* @remarks
|
|
59
|
-
* The
|
|
59
|
+
* The code runtime environment identifier, such as python3.12. When you create or switch environments, use the identifier returned by ListAgentCodeRuntimes. The identifier is validated by the current version catalog and is not a fixed enumeration.
|
|
60
60
|
*
|
|
61
61
|
* This parameter is required.
|
|
62
62
|
*
|
|
63
63
|
* @example
|
|
64
|
-
*
|
|
64
|
+
* python3.12
|
|
65
65
|
*/
|
|
66
66
|
languageRuntime?: string;
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
* The source
|
|
69
|
+
* The source address of the code package. OSS addresses (oss://) or HTTPS object addresses of standard OSS public domain names, including OSS signed URLs, are supported. Arbitrary external sites, custom domain names, and additional authentication request headers are not supported. For local uploads, use the sourceUri returned by GetAgentCodePackageUploadUrl. The address is revalidated and transferred during creation or updates. After the address is saved, a fixed oss:// address of the platform is returned. You can reuse this fixed address for regular updates.
|
|
70
70
|
*
|
|
71
71
|
* This parameter is required.
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
|
-
* oss://my-agent-bucket/packages/
|
|
74
|
+
* oss://my-agent-bucket/packages/main.zip
|
|
75
75
|
*/
|
|
76
76
|
sourceUri?: string;
|
|
77
77
|
static names(): {
|
|
@@ -126,7 +126,7 @@ export declare class CreateCustomAgentRequestBodyArtifactContainer extends $dara
|
|
|
126
126
|
repo?: string;
|
|
127
127
|
/**
|
|
128
128
|
* @remarks
|
|
129
|
-
* The image tag used for deployment. This parameter cannot be empty. When
|
|
129
|
+
* The image tag used for deployment. This parameter cannot be empty. When you update the tag, you must also specify artifact.port and other required image fields.
|
|
130
130
|
*
|
|
131
131
|
* This parameter is required.
|
|
132
132
|
*
|
|
@@ -136,7 +136,7 @@ export declare class CreateCustomAgentRequestBodyArtifactContainer extends $dara
|
|
|
136
136
|
tag?: string;
|
|
137
137
|
/**
|
|
138
138
|
* @remarks
|
|
139
|
-
* The image source type.
|
|
139
|
+
* The image source type. Only acr is supported, which indicates Alibaba Cloud Container Registry (ACR).
|
|
140
140
|
*
|
|
141
141
|
* This parameter is required.
|
|
142
142
|
*
|
|
@@ -158,17 +158,17 @@ export declare class CreateCustomAgentRequestBodyArtifactContainer extends $dara
|
|
|
158
158
|
export declare class CreateCustomAgentRequestBodyArtifact extends $dara.Model {
|
|
159
159
|
/**
|
|
160
160
|
* @remarks
|
|
161
|
-
* The code package deployment configuration. This is
|
|
161
|
+
* The code package deployment configuration. This parameter is mutually exclusive with container. 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.
|
|
162
162
|
*/
|
|
163
163
|
code?: CreateCustomAgentRequestBodyArtifactCode;
|
|
164
164
|
/**
|
|
165
165
|
* @remarks
|
|
166
|
-
* The ACR container image configuration. You must specify type, instanceId, namespace, repo, and tag. Do not configure code at the same time.
|
|
166
|
+
* The Container Registry (ACR) container image configuration. You must specify type, instanceId, namespace, repo, and tag. Do not configure code at the same time.
|
|
167
167
|
*/
|
|
168
168
|
container?: CreateCustomAgentRequestBodyArtifactContainer;
|
|
169
169
|
/**
|
|
170
170
|
* @remarks
|
|
171
|
-
* The TCP port
|
|
171
|
+
* The TCP port listened by the agent service. Valid values: 1 to 65535.
|
|
172
172
|
*
|
|
173
173
|
* This parameter is required.
|
|
174
174
|
*
|
|
@@ -190,7 +190,7 @@ export declare class CreateCustomAgentRequestBodyArtifact extends $dara.Model {
|
|
|
190
190
|
export declare class CreateCustomAgentRequestBodyEnvironmentVariables extends $dara.Model {
|
|
191
191
|
/**
|
|
192
192
|
* @remarks
|
|
193
|
-
* The name of the environment variable. This parameter cannot be empty and must be unique
|
|
193
|
+
* The name of the environment variable. This parameter cannot be empty and must be unique in the current environment variable list.
|
|
194
194
|
*
|
|
195
195
|
* This parameter is required.
|
|
196
196
|
*
|
|
@@ -239,7 +239,7 @@ export declare class CreateCustomAgentRequestBodyEnvironment extends $dara.Model
|
|
|
239
239
|
export declare class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model {
|
|
240
240
|
/**
|
|
241
241
|
* @remarks
|
|
242
|
-
* This parameter does not
|
|
242
|
+
* This parameter does not take effect. Omit this parameter.
|
|
243
243
|
*
|
|
244
244
|
* @example
|
|
245
245
|
* 1
|
|
@@ -263,7 +263,7 @@ export declare class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model
|
|
|
263
263
|
path?: string;
|
|
264
264
|
/**
|
|
265
265
|
* @remarks
|
|
266
|
-
* The port accessed for health checks. This parameter is required when
|
|
266
|
+
* The port accessed for health checks. This parameter is required when you configure a health check. Valid values: 1 to 65535.
|
|
267
267
|
*
|
|
268
268
|
* @example
|
|
269
269
|
* 8080
|
|
@@ -279,7 +279,7 @@ export declare class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model
|
|
|
279
279
|
timeoutSeconds?: number;
|
|
280
280
|
/**
|
|
281
281
|
* @remarks
|
|
282
|
-
* The number of consecutive health check failures
|
|
282
|
+
* The number of consecutive health check failures after which the agent is considered unhealthy. It must be a positive integer. If this parameter is omitted, the default value is 3.
|
|
283
283
|
*
|
|
284
284
|
* @example
|
|
285
285
|
* 3
|
|
@@ -327,7 +327,7 @@ export declare class CreateCustomAgentRequestBodyLoggingSls extends $dara.Model
|
|
|
327
327
|
export declare class CreateCustomAgentRequestBodyLogging extends $dara.Model {
|
|
328
328
|
/**
|
|
329
329
|
* @remarks
|
|
330
|
-
* The Simple Log Service log delivery destination. When
|
|
330
|
+
* The Simple Log Service log delivery destination. When you configure this object, neither project nor logstore can be empty.
|
|
331
331
|
*/
|
|
332
332
|
sls?: CreateCustomAgentRequestBodyLoggingSls;
|
|
333
333
|
static names(): {
|
|
@@ -344,7 +344,7 @@ export declare class CreateCustomAgentRequestBodyLogging extends $dara.Model {
|
|
|
344
344
|
export declare class CreateCustomAgentRequestBodyNetworkAccessInternet extends $dara.Model {
|
|
345
345
|
/**
|
|
346
346
|
* @remarks
|
|
347
|
-
* Specifies whether to allow the agent to access the Internet. A Boolean value must be provided when
|
|
347
|
+
* Specifies whether to allow the agent to access the Internet. A Boolean value must be provided when you configure accessInternet. For this configuration to take effect, the workspace must also allow Internet access.
|
|
348
348
|
*/
|
|
349
349
|
enabled?: boolean;
|
|
350
350
|
static names(): {
|
|
@@ -361,7 +361,7 @@ export declare class CreateCustomAgentRequestBodyNetworkAccessInternet extends $
|
|
|
361
361
|
export declare class CreateCustomAgentRequestBodyNetworkAccessVpc extends $dara.Model {
|
|
362
362
|
/**
|
|
363
363
|
* @remarks
|
|
364
|
-
* Specifies whether to allow the agent to access the user VPC configured for the workspace. A Boolean value must be provided when
|
|
364
|
+
* Specifies whether to allow the agent to access the user VPC configured for the workspace. A Boolean value must be provided when you configure accessVpc. For this configuration to take effect, the workspace must also allow VPC access.
|
|
365
365
|
*/
|
|
366
366
|
enabled?: boolean;
|
|
367
367
|
static names(): {
|
|
@@ -400,7 +400,7 @@ export declare class CreateCustomAgentRequestBodyNetwork extends $dara.Model {
|
|
|
400
400
|
export declare class CreateCustomAgentRequestBodyObservability extends $dara.Model {
|
|
401
401
|
/**
|
|
402
402
|
* @remarks
|
|
403
|
-
*
|
|
403
|
+
* Specifies whether to enable agent observability.
|
|
404
404
|
*/
|
|
405
405
|
enabled?: boolean;
|
|
406
406
|
static names(): {
|
|
@@ -433,7 +433,7 @@ export declare class CreateCustomAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
433
433
|
mountPath?: string;
|
|
434
434
|
/**
|
|
435
435
|
* @remarks
|
|
436
|
-
* The non-empty object directory prefix in the bucket, such as datasets/train. Leading and trailing slashes
|
|
436
|
+
* 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 traversal.
|
|
437
437
|
*
|
|
438
438
|
* @example
|
|
439
439
|
* datasets/train
|
|
@@ -458,7 +458,7 @@ export declare class CreateCustomAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
458
458
|
export declare class CreateCustomAgentRequestBodyProtocolPaths extends $dara.Model {
|
|
459
459
|
/**
|
|
460
460
|
* @remarks
|
|
461
|
-
* The
|
|
461
|
+
* The usage description of the current API path.
|
|
462
462
|
*
|
|
463
463
|
* @example
|
|
464
464
|
* AG-UI conversation API
|
|
@@ -500,7 +500,7 @@ export declare class CreateCustomAgentRequestBodyProtocol extends $dara.Model {
|
|
|
500
500
|
paths?: CreateCustomAgentRequestBodyProtocolPaths[];
|
|
501
501
|
/**
|
|
502
502
|
* @remarks
|
|
503
|
-
* The invocation protocol type. Valid values: agui: AG-UI protocol
|
|
503
|
+
* The invocation protocol type. Valid values: agui: AG-UI protocol. openai-chat-completion: OpenAI Chat Completions compatible protocol. custom: Custom protocol.
|
|
504
504
|
*
|
|
505
505
|
* This parameter is required.
|
|
506
506
|
*
|
|
@@ -522,7 +522,7 @@ export declare class CreateCustomAgentRequestBodyProtocol extends $dara.Model {
|
|
|
522
522
|
export declare class CreateCustomAgentRequestBodyRuntimeCompute extends $dara.Model {
|
|
523
523
|
/**
|
|
524
524
|
* @remarks
|
|
525
|
-
* The compute specification. Valid values: INTERACTIVE: 1 vCPU and 2 GiB of memory
|
|
525
|
+
* The compute specification. Valid values: INTERACTIVE: 1 vCPU and 2 GiB of memory. STANDARD: 2 vCPUs and 4 GiB of memory. HEAVY: 4 vCPUs and 8 GiB of memory.
|
|
526
526
|
*
|
|
527
527
|
* This parameter is required.
|
|
528
528
|
*
|
|
@@ -544,14 +544,14 @@ export declare class CreateCustomAgentRequestBodyRuntimeCompute extends $dara.Mo
|
|
|
544
544
|
export declare class CreateCustomAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
545
545
|
/**
|
|
546
546
|
* @remarks
|
|
547
|
-
* Specifies whether to enable elastic scaling. A value of true indicates that elastic scaling is enabled. A value of false indicates that elastic scaling is disabled. When runtime is provided, if this field is omitted, the default value
|
|
547
|
+
* Specifies whether to enable elastic scaling. A value of true indicates that elastic scaling is enabled. A value of false indicates that elastic scaling is disabled. When runtime is provided, if this field is omitted, the default value is false.
|
|
548
548
|
*
|
|
549
549
|
* This parameter is required.
|
|
550
550
|
*/
|
|
551
551
|
enabled?: boolean;
|
|
552
552
|
/**
|
|
553
553
|
* @remarks
|
|
554
|
-
* The maximum number of concurrent sessions for a single runtime instance. Valid values: 1 to 100. When runtime is provided, if this field is omitted, the default value
|
|
554
|
+
* The maximum number of concurrent sessions for a single runtime instance. Valid values: 1 to 100. When runtime is provided, if this field is omitted, the default value is 100.
|
|
555
555
|
*
|
|
556
556
|
* @example
|
|
557
557
|
* 100
|
|
@@ -559,7 +559,7 @@ export declare class CreateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
|
|
|
559
559
|
maxConcurrentSessionsPerSandbox?: number;
|
|
560
560
|
/**
|
|
561
561
|
* @remarks
|
|
562
|
-
* The maximum number of runtime instances. Valid values: 1 to 100. The value cannot be less than minSandboxCount. When runtime is provided, if this field is omitted, the default value
|
|
562
|
+
* The maximum number of runtime instances. Valid values: 1 to 100. The value cannot be less than minSandboxCount. When runtime is provided, if this field is omitted, the default value is 10.
|
|
563
563
|
*
|
|
564
564
|
* @example
|
|
565
565
|
* 10
|
|
@@ -567,7 +567,7 @@ export declare class CreateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
|
|
|
567
567
|
maxSandboxCount?: number;
|
|
568
568
|
/**
|
|
569
569
|
* @remarks
|
|
570
|
-
* The minimum number of runtime instances. Valid values: 1 to 100. The value cannot be greater than maxSandboxCount. When runtime is provided, if this field is omitted, the default value
|
|
570
|
+
* The minimum number of runtime instances. Valid values: 1 to 100. The value cannot be greater than maxSandboxCount. When runtime is provided, if this field is omitted, the default value is 1.
|
|
571
571
|
*
|
|
572
572
|
* @example
|
|
573
573
|
* 1
|
|
@@ -575,7 +575,7 @@ export declare class CreateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
|
|
|
575
575
|
minSandboxCount?: number;
|
|
576
576
|
/**
|
|
577
577
|
* @remarks
|
|
578
|
-
* The session idle timeout in seconds. Valid values: 60 to 86400. When runtime is provided, if this field is omitted, the default value
|
|
578
|
+
* The session idle timeout in seconds. Valid values: 60 to 86400. When runtime is provided, if this field is omitted, the default value is 600.
|
|
579
579
|
*
|
|
580
580
|
* @example
|
|
581
581
|
* 600
|
|
@@ -603,7 +603,7 @@ export declare class CreateCustomAgentRequestBodyRuntimeSessionPolicy extends $d
|
|
|
603
603
|
headerName?: string;
|
|
604
604
|
/**
|
|
605
605
|
* @remarks
|
|
606
|
-
* The session policy type. Valid values: AFFINITY:
|
|
606
|
+
* The session policy type. Valid values: AFFINITY: Session affinity. ISOLATED_HEADER_FIELD: Associates sessions by using the request header specified by headerName. ISOLATED_COOKIE: Not recommended for now. DISABLED: A compatibility option. The response returns AFFINITY.
|
|
607
607
|
*
|
|
608
608
|
* This parameter is required.
|
|
609
609
|
*
|
|
@@ -656,22 +656,22 @@ export declare class CreateCustomAgentRequestBodyRuntime extends $dara.Model {
|
|
|
656
656
|
export declare class CreateCustomAgentRequestBody extends $dara.Model {
|
|
657
657
|
/**
|
|
658
658
|
* @remarks
|
|
659
|
-
* The list of additional AgenticFS mounts. The total number of AgenticFS mounts and ossMounts cannot exceed 10. If you omit this parameter or pass
|
|
659
|
+
* The list of additional AgenticFS mounts. The total number of AgenticFS mounts and ossMounts cannot exceed 10. If you omit this parameter or pass [] during creation, no additional mounts are configured. If you omit this parameter during an update, the original value is retained. If you pass [], the list is cleared. You cannot pass null.
|
|
660
660
|
*/
|
|
661
661
|
agenticFsMounts?: CreateCustomAgentRequestBodyAgenticFsMounts[];
|
|
662
662
|
/**
|
|
663
663
|
* @remarks
|
|
664
|
-
* The deployment artifact configuration.
|
|
664
|
+
* The deployment artifact configuration. You must specify the service listening port and choose either code or container as the deployment method.
|
|
665
665
|
*
|
|
666
666
|
* This parameter is required.
|
|
667
667
|
*/
|
|
668
668
|
artifact?: CreateCustomAgentRequestBodyArtifact;
|
|
669
669
|
/**
|
|
670
670
|
* @remarks
|
|
671
|
-
* The description of the agent
|
|
671
|
+
* The description of the agent purpose. The maximum length is 1,024 characters after leading and trailing spaces are removed.
|
|
672
672
|
*
|
|
673
673
|
* @example
|
|
674
|
-
* Custom agent that provides
|
|
674
|
+
* Custom agent that provides conversation services
|
|
675
675
|
*/
|
|
676
676
|
description?: string;
|
|
677
677
|
/**
|
|
@@ -691,7 +691,7 @@ export declare class CreateCustomAgentRequestBody extends $dara.Model {
|
|
|
691
691
|
logging?: CreateCustomAgentRequestBodyLogging;
|
|
692
692
|
/**
|
|
693
693
|
* @remarks
|
|
694
|
-
* The name of the custom agent. The length
|
|
694
|
+
* The name of the custom agent. The length is 1 to 128 characters after leading and trailing spaces are removed. The name must be unique within the same workspace.
|
|
695
695
|
*
|
|
696
696
|
* This parameter is required.
|
|
697
697
|
*
|
|
@@ -701,7 +701,7 @@ export declare class CreateCustomAgentRequestBody extends $dara.Model {
|
|
|
701
701
|
name?: string;
|
|
702
702
|
/**
|
|
703
703
|
* @remarks
|
|
704
|
-
* The network access configuration of the agent. If this object is provided, omitted access items are treated as allowed. The actual accessible
|
|
704
|
+
* The network access configuration of the agent. If this object is provided, omitted access items are treated as allowed. The actual accessible range is still limited by the workspace network configuration. To retain the original restrictions during an update, specify both accessInternet and accessVpc.
|
|
705
705
|
*/
|
|
706
706
|
network?: CreateCustomAgentRequestBodyNetwork;
|
|
707
707
|
/**
|
|
@@ -711,17 +711,17 @@ export declare class CreateCustomAgentRequestBody extends $dara.Model {
|
|
|
711
711
|
observability?: CreateCustomAgentRequestBodyObservability;
|
|
712
712
|
/**
|
|
713
713
|
* @remarks
|
|
714
|
-
* The list of OSS mounts.
|
|
714
|
+
* The list of OSS mounts. The total number of items in this list and agenticFsMounts cannot exceed 10. Each item must include bucketName, path, and mountPath. Mount targets must not be duplicated or overlap with each other. When you update this list, the entire list is replaced. Pass an empty array [] to clear the list.
|
|
715
715
|
*/
|
|
716
716
|
ossMounts?: CreateCustomAgentRequestBodyOssMounts[];
|
|
717
717
|
/**
|
|
718
718
|
* @remarks
|
|
719
|
-
* The list of invocation protocols supported by the agent. Each item includes the protocol type and optional paths and request headers. When you update
|
|
719
|
+
* The list of invocation protocols supported by the agent. Each item includes the protocol type and optional paths and request headers. When you update this list, the entire list is replaced.
|
|
720
720
|
*/
|
|
721
721
|
protocol?: CreateCustomAgentRequestBodyProtocol[];
|
|
722
722
|
/**
|
|
723
723
|
* @remarks
|
|
724
|
-
* The ARN of the RAM role used
|
|
724
|
+
* The ARN of the RAM role used by the agent to access user cloud resources. The role must have permissions to access the cloud resources.
|
|
725
725
|
*
|
|
726
726
|
* This parameter is required.
|
|
727
727
|
*
|
|
@@ -731,14 +731,14 @@ export declare class CreateCustomAgentRequestBody extends $dara.Model {
|
|
|
731
731
|
roleArn?: string;
|
|
732
732
|
/**
|
|
733
733
|
* @remarks
|
|
734
|
-
* The runtime configuration, including compute specifications, session policies, and optional elastic policy. Both compute and sessionPolicy must be specified at the same time.
|
|
734
|
+
* The runtime configuration, including compute specifications, session policies, and an optional elastic policy. Both compute and sessionPolicy must be specified at the same time.
|
|
735
735
|
*
|
|
736
736
|
* This parameter is required.
|
|
737
737
|
*/
|
|
738
738
|
runtime?: CreateCustomAgentRequestBodyRuntime;
|
|
739
739
|
/**
|
|
740
740
|
* @remarks
|
|
741
|
-
* Specifies whether to use the image cache. If omitted during creation, the default value is false. You can explicitly set
|
|
741
|
+
* Specifies whether to use the image cache. If omitted during creation, the default value is false. You can explicitly set this parameter to true or false. The new contract rejects null and invalid types. Existing compatibility endpoints are processed according to migration agreements.
|
|
742
742
|
*
|
|
743
743
|
* @example
|
|
744
744
|
* true
|