alibabacloud-agentrun20250910 5.2.0__py3-none-any.whl → 5.3.0__py3-none-any.whl
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.
- alibabacloud_agentrun20250910/__init__.py +1 -1
- alibabacloud_agentrun20250910/client.py +368 -0
- alibabacloud_agentrun20250910/models/__init__.py +18 -0
- alibabacloud_agentrun20250910/models/_create_custom_domain_request.py +36 -0
- alibabacloud_agentrun20250910/models/_create_custom_domain_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_custom_domain_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_custom_domain_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_custom_domains_request.py +65 -0
- alibabacloud_agentrun20250910/models/_list_custom_domains_response.py +54 -0
- alibabacloud_agentrun20250910/models/_protocol_configuration.py +21 -1
- alibabacloud_agentrun20250910/models/_protocol_settings.py +115 -0
- alibabacloud_agentrun20250910/models/_update_custom_domain_request.py +36 -0
- alibabacloud_agentrun20250910/models/_update_custom_domain_response.py +54 -0
- {alibabacloud_agentrun20250910-5.2.0.dist-info → alibabacloud_agentrun20250910-5.3.0.dist-info}/METADATA +1 -1
- {alibabacloud_agentrun20250910-5.2.0.dist-info → alibabacloud_agentrun20250910-5.3.0.dist-info}/RECORD +18 -9
- {alibabacloud_agentrun20250910-5.2.0.dist-info → alibabacloud_agentrun20250910-5.3.0.dist-info}/LICENSE +0 -0
- {alibabacloud_agentrun20250910-5.2.0.dist-info → alibabacloud_agentrun20250910-5.3.0.dist-info}/WHEEL +0 -0
- {alibabacloud_agentrun20250910-5.2.0.dist-info → alibabacloud_agentrun20250910-5.3.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '5.
|
|
1
|
+
__version__ = '5.3.0'
|
|
@@ -479,6 +479,76 @@ class Client(OpenApiClient):
|
|
|
479
479
|
headers = {}
|
|
480
480
|
return await self.create_credential_with_options_async(request, headers, runtime)
|
|
481
481
|
|
|
482
|
+
def create_custom_domain_with_options(
|
|
483
|
+
self,
|
|
484
|
+
request: main_models.CreateCustomDomainRequest,
|
|
485
|
+
headers: Dict[str, str],
|
|
486
|
+
runtime: RuntimeOptions,
|
|
487
|
+
) -> main_models.CreateCustomDomainResponse:
|
|
488
|
+
request.validate()
|
|
489
|
+
req = open_api_util_models.OpenApiRequest(
|
|
490
|
+
headers = headers,
|
|
491
|
+
body = Utils.parse_to_map(request.body)
|
|
492
|
+
)
|
|
493
|
+
params = open_api_util_models.Params(
|
|
494
|
+
action = 'CreateCustomDomain',
|
|
495
|
+
version = '2025-09-10',
|
|
496
|
+
protocol = 'HTTPS',
|
|
497
|
+
pathname = f'/2025-09-10/agents/custom-domains',
|
|
498
|
+
method = 'POST',
|
|
499
|
+
auth_type = 'AK',
|
|
500
|
+
style = 'ROA',
|
|
501
|
+
req_body_type = 'json',
|
|
502
|
+
body_type = 'json'
|
|
503
|
+
)
|
|
504
|
+
return DaraCore.from_map(
|
|
505
|
+
main_models.CreateCustomDomainResponse(),
|
|
506
|
+
self.call_api(params, req, runtime)
|
|
507
|
+
)
|
|
508
|
+
|
|
509
|
+
async def create_custom_domain_with_options_async(
|
|
510
|
+
self,
|
|
511
|
+
request: main_models.CreateCustomDomainRequest,
|
|
512
|
+
headers: Dict[str, str],
|
|
513
|
+
runtime: RuntimeOptions,
|
|
514
|
+
) -> main_models.CreateCustomDomainResponse:
|
|
515
|
+
request.validate()
|
|
516
|
+
req = open_api_util_models.OpenApiRequest(
|
|
517
|
+
headers = headers,
|
|
518
|
+
body = Utils.parse_to_map(request.body)
|
|
519
|
+
)
|
|
520
|
+
params = open_api_util_models.Params(
|
|
521
|
+
action = 'CreateCustomDomain',
|
|
522
|
+
version = '2025-09-10',
|
|
523
|
+
protocol = 'HTTPS',
|
|
524
|
+
pathname = f'/2025-09-10/agents/custom-domains',
|
|
525
|
+
method = 'POST',
|
|
526
|
+
auth_type = 'AK',
|
|
527
|
+
style = 'ROA',
|
|
528
|
+
req_body_type = 'json',
|
|
529
|
+
body_type = 'json'
|
|
530
|
+
)
|
|
531
|
+
return DaraCore.from_map(
|
|
532
|
+
main_models.CreateCustomDomainResponse(),
|
|
533
|
+
await self.call_api_async(params, req, runtime)
|
|
534
|
+
)
|
|
535
|
+
|
|
536
|
+
def create_custom_domain(
|
|
537
|
+
self,
|
|
538
|
+
request: main_models.CreateCustomDomainRequest,
|
|
539
|
+
) -> main_models.CreateCustomDomainResponse:
|
|
540
|
+
runtime = RuntimeOptions()
|
|
541
|
+
headers = {}
|
|
542
|
+
return self.create_custom_domain_with_options(request, headers, runtime)
|
|
543
|
+
|
|
544
|
+
async def create_custom_domain_async(
|
|
545
|
+
self,
|
|
546
|
+
request: main_models.CreateCustomDomainRequest,
|
|
547
|
+
) -> main_models.CreateCustomDomainResponse:
|
|
548
|
+
runtime = RuntimeOptions()
|
|
549
|
+
headers = {}
|
|
550
|
+
return await self.create_custom_domain_with_options_async(request, headers, runtime)
|
|
551
|
+
|
|
482
552
|
def create_knowledge_base_with_options(
|
|
483
553
|
self,
|
|
484
554
|
request: main_models.CreateKnowledgeBaseRequest,
|
|
@@ -1233,6 +1303,72 @@ class Client(OpenApiClient):
|
|
|
1233
1303
|
headers = {}
|
|
1234
1304
|
return await self.delete_credential_with_options_async(credential_name, headers, runtime)
|
|
1235
1305
|
|
|
1306
|
+
def delete_custom_domain_with_options(
|
|
1307
|
+
self,
|
|
1308
|
+
domain_name: str,
|
|
1309
|
+
headers: Dict[str, str],
|
|
1310
|
+
runtime: RuntimeOptions,
|
|
1311
|
+
) -> main_models.DeleteCustomDomainResponse:
|
|
1312
|
+
req = open_api_util_models.OpenApiRequest(
|
|
1313
|
+
headers = headers
|
|
1314
|
+
)
|
|
1315
|
+
params = open_api_util_models.Params(
|
|
1316
|
+
action = 'DeleteCustomDomain',
|
|
1317
|
+
version = '2025-09-10',
|
|
1318
|
+
protocol = 'HTTPS',
|
|
1319
|
+
pathname = f'/2025-09-10/agents/custom-domains/{DaraURL.percent_encode(domain_name)}',
|
|
1320
|
+
method = 'DELETE',
|
|
1321
|
+
auth_type = 'AK',
|
|
1322
|
+
style = 'ROA',
|
|
1323
|
+
req_body_type = 'json',
|
|
1324
|
+
body_type = 'json'
|
|
1325
|
+
)
|
|
1326
|
+
return DaraCore.from_map(
|
|
1327
|
+
main_models.DeleteCustomDomainResponse(),
|
|
1328
|
+
self.call_api(params, req, runtime)
|
|
1329
|
+
)
|
|
1330
|
+
|
|
1331
|
+
async def delete_custom_domain_with_options_async(
|
|
1332
|
+
self,
|
|
1333
|
+
domain_name: str,
|
|
1334
|
+
headers: Dict[str, str],
|
|
1335
|
+
runtime: RuntimeOptions,
|
|
1336
|
+
) -> main_models.DeleteCustomDomainResponse:
|
|
1337
|
+
req = open_api_util_models.OpenApiRequest(
|
|
1338
|
+
headers = headers
|
|
1339
|
+
)
|
|
1340
|
+
params = open_api_util_models.Params(
|
|
1341
|
+
action = 'DeleteCustomDomain',
|
|
1342
|
+
version = '2025-09-10',
|
|
1343
|
+
protocol = 'HTTPS',
|
|
1344
|
+
pathname = f'/2025-09-10/agents/custom-domains/{DaraURL.percent_encode(domain_name)}',
|
|
1345
|
+
method = 'DELETE',
|
|
1346
|
+
auth_type = 'AK',
|
|
1347
|
+
style = 'ROA',
|
|
1348
|
+
req_body_type = 'json',
|
|
1349
|
+
body_type = 'json'
|
|
1350
|
+
)
|
|
1351
|
+
return DaraCore.from_map(
|
|
1352
|
+
main_models.DeleteCustomDomainResponse(),
|
|
1353
|
+
await self.call_api_async(params, req, runtime)
|
|
1354
|
+
)
|
|
1355
|
+
|
|
1356
|
+
def delete_custom_domain(
|
|
1357
|
+
self,
|
|
1358
|
+
domain_name: str,
|
|
1359
|
+
) -> main_models.DeleteCustomDomainResponse:
|
|
1360
|
+
runtime = RuntimeOptions()
|
|
1361
|
+
headers = {}
|
|
1362
|
+
return self.delete_custom_domain_with_options(domain_name, headers, runtime)
|
|
1363
|
+
|
|
1364
|
+
async def delete_custom_domain_async(
|
|
1365
|
+
self,
|
|
1366
|
+
domain_name: str,
|
|
1367
|
+
) -> main_models.DeleteCustomDomainResponse:
|
|
1368
|
+
runtime = RuntimeOptions()
|
|
1369
|
+
headers = {}
|
|
1370
|
+
return await self.delete_custom_domain_with_options_async(domain_name, headers, runtime)
|
|
1371
|
+
|
|
1236
1372
|
def delete_knowledge_base_with_options(
|
|
1237
1373
|
self,
|
|
1238
1374
|
knowledge_base_name: str,
|
|
@@ -2061,6 +2197,72 @@ class Client(OpenApiClient):
|
|
|
2061
2197
|
headers = {}
|
|
2062
2198
|
return await self.get_credential_with_options_async(credential_name, headers, runtime)
|
|
2063
2199
|
|
|
2200
|
+
def get_custom_domain_with_options(
|
|
2201
|
+
self,
|
|
2202
|
+
domain_name: str,
|
|
2203
|
+
headers: Dict[str, str],
|
|
2204
|
+
runtime: RuntimeOptions,
|
|
2205
|
+
) -> main_models.GetCustomDomainResponse:
|
|
2206
|
+
req = open_api_util_models.OpenApiRequest(
|
|
2207
|
+
headers = headers
|
|
2208
|
+
)
|
|
2209
|
+
params = open_api_util_models.Params(
|
|
2210
|
+
action = 'GetCustomDomain',
|
|
2211
|
+
version = '2025-09-10',
|
|
2212
|
+
protocol = 'HTTPS',
|
|
2213
|
+
pathname = f'/2025-09-10/agents/custom-domains/{DaraURL.percent_encode(domain_name)}',
|
|
2214
|
+
method = 'GET',
|
|
2215
|
+
auth_type = 'AK',
|
|
2216
|
+
style = 'ROA',
|
|
2217
|
+
req_body_type = 'json',
|
|
2218
|
+
body_type = 'json'
|
|
2219
|
+
)
|
|
2220
|
+
return DaraCore.from_map(
|
|
2221
|
+
main_models.GetCustomDomainResponse(),
|
|
2222
|
+
self.call_api(params, req, runtime)
|
|
2223
|
+
)
|
|
2224
|
+
|
|
2225
|
+
async def get_custom_domain_with_options_async(
|
|
2226
|
+
self,
|
|
2227
|
+
domain_name: str,
|
|
2228
|
+
headers: Dict[str, str],
|
|
2229
|
+
runtime: RuntimeOptions,
|
|
2230
|
+
) -> main_models.GetCustomDomainResponse:
|
|
2231
|
+
req = open_api_util_models.OpenApiRequest(
|
|
2232
|
+
headers = headers
|
|
2233
|
+
)
|
|
2234
|
+
params = open_api_util_models.Params(
|
|
2235
|
+
action = 'GetCustomDomain',
|
|
2236
|
+
version = '2025-09-10',
|
|
2237
|
+
protocol = 'HTTPS',
|
|
2238
|
+
pathname = f'/2025-09-10/agents/custom-domains/{DaraURL.percent_encode(domain_name)}',
|
|
2239
|
+
method = 'GET',
|
|
2240
|
+
auth_type = 'AK',
|
|
2241
|
+
style = 'ROA',
|
|
2242
|
+
req_body_type = 'json',
|
|
2243
|
+
body_type = 'json'
|
|
2244
|
+
)
|
|
2245
|
+
return DaraCore.from_map(
|
|
2246
|
+
main_models.GetCustomDomainResponse(),
|
|
2247
|
+
await self.call_api_async(params, req, runtime)
|
|
2248
|
+
)
|
|
2249
|
+
|
|
2250
|
+
def get_custom_domain(
|
|
2251
|
+
self,
|
|
2252
|
+
domain_name: str,
|
|
2253
|
+
) -> main_models.GetCustomDomainResponse:
|
|
2254
|
+
runtime = RuntimeOptions()
|
|
2255
|
+
headers = {}
|
|
2256
|
+
return self.get_custom_domain_with_options(domain_name, headers, runtime)
|
|
2257
|
+
|
|
2258
|
+
async def get_custom_domain_async(
|
|
2259
|
+
self,
|
|
2260
|
+
domain_name: str,
|
|
2261
|
+
) -> main_models.GetCustomDomainResponse:
|
|
2262
|
+
runtime = RuntimeOptions()
|
|
2263
|
+
headers = {}
|
|
2264
|
+
return await self.get_custom_domain_with_options_async(domain_name, headers, runtime)
|
|
2265
|
+
|
|
2064
2266
|
def get_knowledge_base_with_options(
|
|
2065
2267
|
self,
|
|
2066
2268
|
knowledge_base_name: str,
|
|
@@ -2997,6 +3199,98 @@ class Client(OpenApiClient):
|
|
|
2997
3199
|
headers = {}
|
|
2998
3200
|
return await self.list_credentials_with_options_async(request, headers, runtime)
|
|
2999
3201
|
|
|
3202
|
+
def list_custom_domains_with_options(
|
|
3203
|
+
self,
|
|
3204
|
+
request: main_models.ListCustomDomainsRequest,
|
|
3205
|
+
headers: Dict[str, str],
|
|
3206
|
+
runtime: RuntimeOptions,
|
|
3207
|
+
) -> main_models.ListCustomDomainsResponse:
|
|
3208
|
+
request.validate()
|
|
3209
|
+
query = {}
|
|
3210
|
+
if not DaraCore.is_null(request.domain_name):
|
|
3211
|
+
query['domainName'] = request.domain_name
|
|
3212
|
+
if not DaraCore.is_null(request.page_number):
|
|
3213
|
+
query['pageNumber'] = request.page_number
|
|
3214
|
+
if not DaraCore.is_null(request.page_size):
|
|
3215
|
+
query['pageSize'] = request.page_size
|
|
3216
|
+
if not DaraCore.is_null(request.resource_name):
|
|
3217
|
+
query['resourceName'] = request.resource_name
|
|
3218
|
+
if not DaraCore.is_null(request.resource_type):
|
|
3219
|
+
query['resourceType'] = request.resource_type
|
|
3220
|
+
req = open_api_util_models.OpenApiRequest(
|
|
3221
|
+
headers = headers,
|
|
3222
|
+
query = Utils.query(query)
|
|
3223
|
+
)
|
|
3224
|
+
params = open_api_util_models.Params(
|
|
3225
|
+
action = 'ListCustomDomains',
|
|
3226
|
+
version = '2025-09-10',
|
|
3227
|
+
protocol = 'HTTPS',
|
|
3228
|
+
pathname = f'/2025-09-10/agents/custom-domains',
|
|
3229
|
+
method = 'GET',
|
|
3230
|
+
auth_type = 'AK',
|
|
3231
|
+
style = 'ROA',
|
|
3232
|
+
req_body_type = 'json',
|
|
3233
|
+
body_type = 'json'
|
|
3234
|
+
)
|
|
3235
|
+
return DaraCore.from_map(
|
|
3236
|
+
main_models.ListCustomDomainsResponse(),
|
|
3237
|
+
self.call_api(params, req, runtime)
|
|
3238
|
+
)
|
|
3239
|
+
|
|
3240
|
+
async def list_custom_domains_with_options_async(
|
|
3241
|
+
self,
|
|
3242
|
+
request: main_models.ListCustomDomainsRequest,
|
|
3243
|
+
headers: Dict[str, str],
|
|
3244
|
+
runtime: RuntimeOptions,
|
|
3245
|
+
) -> main_models.ListCustomDomainsResponse:
|
|
3246
|
+
request.validate()
|
|
3247
|
+
query = {}
|
|
3248
|
+
if not DaraCore.is_null(request.domain_name):
|
|
3249
|
+
query['domainName'] = request.domain_name
|
|
3250
|
+
if not DaraCore.is_null(request.page_number):
|
|
3251
|
+
query['pageNumber'] = request.page_number
|
|
3252
|
+
if not DaraCore.is_null(request.page_size):
|
|
3253
|
+
query['pageSize'] = request.page_size
|
|
3254
|
+
if not DaraCore.is_null(request.resource_name):
|
|
3255
|
+
query['resourceName'] = request.resource_name
|
|
3256
|
+
if not DaraCore.is_null(request.resource_type):
|
|
3257
|
+
query['resourceType'] = request.resource_type
|
|
3258
|
+
req = open_api_util_models.OpenApiRequest(
|
|
3259
|
+
headers = headers,
|
|
3260
|
+
query = Utils.query(query)
|
|
3261
|
+
)
|
|
3262
|
+
params = open_api_util_models.Params(
|
|
3263
|
+
action = 'ListCustomDomains',
|
|
3264
|
+
version = '2025-09-10',
|
|
3265
|
+
protocol = 'HTTPS',
|
|
3266
|
+
pathname = f'/2025-09-10/agents/custom-domains',
|
|
3267
|
+
method = 'GET',
|
|
3268
|
+
auth_type = 'AK',
|
|
3269
|
+
style = 'ROA',
|
|
3270
|
+
req_body_type = 'json',
|
|
3271
|
+
body_type = 'json'
|
|
3272
|
+
)
|
|
3273
|
+
return DaraCore.from_map(
|
|
3274
|
+
main_models.ListCustomDomainsResponse(),
|
|
3275
|
+
await self.call_api_async(params, req, runtime)
|
|
3276
|
+
)
|
|
3277
|
+
|
|
3278
|
+
def list_custom_domains(
|
|
3279
|
+
self,
|
|
3280
|
+
request: main_models.ListCustomDomainsRequest,
|
|
3281
|
+
) -> main_models.ListCustomDomainsResponse:
|
|
3282
|
+
runtime = RuntimeOptions()
|
|
3283
|
+
headers = {}
|
|
3284
|
+
return self.list_custom_domains_with_options(request, headers, runtime)
|
|
3285
|
+
|
|
3286
|
+
async def list_custom_domains_async(
|
|
3287
|
+
self,
|
|
3288
|
+
request: main_models.ListCustomDomainsRequest,
|
|
3289
|
+
) -> main_models.ListCustomDomainsResponse:
|
|
3290
|
+
runtime = RuntimeOptions()
|
|
3291
|
+
headers = {}
|
|
3292
|
+
return await self.list_custom_domains_with_options_async(request, headers, runtime)
|
|
3293
|
+
|
|
3000
3294
|
def list_knowledge_bases_with_options(
|
|
3001
3295
|
self,
|
|
3002
3296
|
request: main_models.ListKnowledgeBasesRequest,
|
|
@@ -4061,6 +4355,80 @@ class Client(OpenApiClient):
|
|
|
4061
4355
|
headers = {}
|
|
4062
4356
|
return await self.update_credential_with_options_async(credential_name, request, headers, runtime)
|
|
4063
4357
|
|
|
4358
|
+
def update_custom_domain_with_options(
|
|
4359
|
+
self,
|
|
4360
|
+
domain_name: str,
|
|
4361
|
+
request: main_models.UpdateCustomDomainRequest,
|
|
4362
|
+
headers: Dict[str, str],
|
|
4363
|
+
runtime: RuntimeOptions,
|
|
4364
|
+
) -> main_models.UpdateCustomDomainResponse:
|
|
4365
|
+
request.validate()
|
|
4366
|
+
req = open_api_util_models.OpenApiRequest(
|
|
4367
|
+
headers = headers,
|
|
4368
|
+
body = Utils.parse_to_map(request.body)
|
|
4369
|
+
)
|
|
4370
|
+
params = open_api_util_models.Params(
|
|
4371
|
+
action = 'UpdateCustomDomain',
|
|
4372
|
+
version = '2025-09-10',
|
|
4373
|
+
protocol = 'HTTPS',
|
|
4374
|
+
pathname = f'/2025-09-10/agents/custom-domains/{DaraURL.percent_encode(domain_name)}',
|
|
4375
|
+
method = 'PUT',
|
|
4376
|
+
auth_type = 'AK',
|
|
4377
|
+
style = 'ROA',
|
|
4378
|
+
req_body_type = 'json',
|
|
4379
|
+
body_type = 'json'
|
|
4380
|
+
)
|
|
4381
|
+
return DaraCore.from_map(
|
|
4382
|
+
main_models.UpdateCustomDomainResponse(),
|
|
4383
|
+
self.call_api(params, req, runtime)
|
|
4384
|
+
)
|
|
4385
|
+
|
|
4386
|
+
async def update_custom_domain_with_options_async(
|
|
4387
|
+
self,
|
|
4388
|
+
domain_name: str,
|
|
4389
|
+
request: main_models.UpdateCustomDomainRequest,
|
|
4390
|
+
headers: Dict[str, str],
|
|
4391
|
+
runtime: RuntimeOptions,
|
|
4392
|
+
) -> main_models.UpdateCustomDomainResponse:
|
|
4393
|
+
request.validate()
|
|
4394
|
+
req = open_api_util_models.OpenApiRequest(
|
|
4395
|
+
headers = headers,
|
|
4396
|
+
body = Utils.parse_to_map(request.body)
|
|
4397
|
+
)
|
|
4398
|
+
params = open_api_util_models.Params(
|
|
4399
|
+
action = 'UpdateCustomDomain',
|
|
4400
|
+
version = '2025-09-10',
|
|
4401
|
+
protocol = 'HTTPS',
|
|
4402
|
+
pathname = f'/2025-09-10/agents/custom-domains/{DaraURL.percent_encode(domain_name)}',
|
|
4403
|
+
method = 'PUT',
|
|
4404
|
+
auth_type = 'AK',
|
|
4405
|
+
style = 'ROA',
|
|
4406
|
+
req_body_type = 'json',
|
|
4407
|
+
body_type = 'json'
|
|
4408
|
+
)
|
|
4409
|
+
return DaraCore.from_map(
|
|
4410
|
+
main_models.UpdateCustomDomainResponse(),
|
|
4411
|
+
await self.call_api_async(params, req, runtime)
|
|
4412
|
+
)
|
|
4413
|
+
|
|
4414
|
+
def update_custom_domain(
|
|
4415
|
+
self,
|
|
4416
|
+
domain_name: str,
|
|
4417
|
+
request: main_models.UpdateCustomDomainRequest,
|
|
4418
|
+
) -> main_models.UpdateCustomDomainResponse:
|
|
4419
|
+
runtime = RuntimeOptions()
|
|
4420
|
+
headers = {}
|
|
4421
|
+
return self.update_custom_domain_with_options(domain_name, request, headers, runtime)
|
|
4422
|
+
|
|
4423
|
+
async def update_custom_domain_async(
|
|
4424
|
+
self,
|
|
4425
|
+
domain_name: str,
|
|
4426
|
+
request: main_models.UpdateCustomDomainRequest,
|
|
4427
|
+
) -> main_models.UpdateCustomDomainResponse:
|
|
4428
|
+
runtime = RuntimeOptions()
|
|
4429
|
+
headers = {}
|
|
4430
|
+
return await self.update_custom_domain_with_options_async(domain_name, request, headers, runtime)
|
|
4431
|
+
|
|
4064
4432
|
def update_knowledge_base_with_options(
|
|
4065
4433
|
self,
|
|
4066
4434
|
knowledge_base_name: str,
|
|
@@ -161,6 +161,7 @@ from ._polar_fs_config import PolarFsConfig
|
|
|
161
161
|
from ._polar_fs_mount_config import PolarFsMountConfig
|
|
162
162
|
from ._policy_config import PolicyConfig
|
|
163
163
|
from ._protocol_configuration import ProtocolConfiguration
|
|
164
|
+
from ._protocol_settings import ProtocolSettings
|
|
164
165
|
from ._provider_settings import ProviderSettings
|
|
165
166
|
from ._proxy_config import ProxyConfig
|
|
166
167
|
from ._publish_runtime_version_input import PublishRuntimeVersionInput
|
|
@@ -223,6 +224,8 @@ from ._create_code_interpreter_request import CreateCodeInterpreterRequest
|
|
|
223
224
|
from ._create_code_interpreter_response import CreateCodeInterpreterResponse
|
|
224
225
|
from ._create_credential_request import CreateCredentialRequest
|
|
225
226
|
from ._create_credential_response import CreateCredentialResponse
|
|
227
|
+
from ._create_custom_domain_request import CreateCustomDomainRequest
|
|
228
|
+
from ._create_custom_domain_response import CreateCustomDomainResponse
|
|
226
229
|
from ._create_knowledge_base_request import CreateKnowledgeBaseRequest
|
|
227
230
|
from ._create_knowledge_base_response import CreateKnowledgeBaseResponse
|
|
228
231
|
from ._create_memory_collection_request import CreateMemoryCollectionRequest
|
|
@@ -240,6 +243,7 @@ from ._delete_agent_runtime_endpoint_response import DeleteAgentRuntimeEndpointR
|
|
|
240
243
|
from ._delete_browser_response import DeleteBrowserResponse
|
|
241
244
|
from ._delete_code_interpreter_response import DeleteCodeInterpreterResponse
|
|
242
245
|
from ._delete_credential_response import DeleteCredentialResponse
|
|
246
|
+
from ._delete_custom_domain_response import DeleteCustomDomainResponse
|
|
243
247
|
from ._delete_knowledge_base_response import DeleteKnowledgeBaseResponse
|
|
244
248
|
from ._delete_memory_collection_response import DeleteMemoryCollectionResponse
|
|
245
249
|
from ._delete_model_proxy_response import DeleteModelProxyResponse
|
|
@@ -255,6 +259,7 @@ from ._get_agent_runtime_endpoint_response import GetAgentRuntimeEndpointRespons
|
|
|
255
259
|
from ._get_browser_response import GetBrowserResponse
|
|
256
260
|
from ._get_code_interpreter_response import GetCodeInterpreterResponse
|
|
257
261
|
from ._get_credential_response import GetCredentialResponse
|
|
262
|
+
from ._get_custom_domain_response import GetCustomDomainResponse
|
|
258
263
|
from ._get_knowledge_base_response import GetKnowledgeBaseResponse
|
|
259
264
|
from ._get_memory_collection_response import GetMemoryCollectionResponse
|
|
260
265
|
from ._get_model_proxy_response import GetModelProxyResponse
|
|
@@ -273,6 +278,8 @@ from ._list_code_interpreters_request import ListCodeInterpretersRequest
|
|
|
273
278
|
from ._list_code_interpreters_response import ListCodeInterpretersResponse
|
|
274
279
|
from ._list_credentials_request import ListCredentialsRequest
|
|
275
280
|
from ._list_credentials_response import ListCredentialsResponse
|
|
281
|
+
from ._list_custom_domains_request import ListCustomDomainsRequest
|
|
282
|
+
from ._list_custom_domains_response import ListCustomDomainsResponse
|
|
276
283
|
from ._list_knowledge_bases_request import ListKnowledgeBasesRequest
|
|
277
284
|
from ._list_knowledge_bases_response import ListKnowledgeBasesResponse
|
|
278
285
|
from ._list_memory_collections_request import ListMemoryCollectionsRequest
|
|
@@ -298,6 +305,8 @@ from ._update_agent_runtime_endpoint_request import UpdateAgentRuntimeEndpointRe
|
|
|
298
305
|
from ._update_agent_runtime_endpoint_response import UpdateAgentRuntimeEndpointResponse
|
|
299
306
|
from ._update_credential_request import UpdateCredentialRequest
|
|
300
307
|
from ._update_credential_response import UpdateCredentialResponse
|
|
308
|
+
from ._update_custom_domain_request import UpdateCustomDomainRequest
|
|
309
|
+
from ._update_custom_domain_response import UpdateCustomDomainResponse
|
|
301
310
|
from ._update_knowledge_base_request import UpdateKnowledgeBaseRequest
|
|
302
311
|
from ._update_knowledge_base_response import UpdateKnowledgeBaseResponse
|
|
303
312
|
from ._update_memory_collection_request import UpdateMemoryCollectionRequest
|
|
@@ -484,6 +493,7 @@ __all__ = [
|
|
|
484
493
|
PolarFsMountConfig,
|
|
485
494
|
PolicyConfig,
|
|
486
495
|
ProtocolConfiguration,
|
|
496
|
+
ProtocolSettings,
|
|
487
497
|
ProviderSettings,
|
|
488
498
|
ProxyConfig,
|
|
489
499
|
PublishRuntimeVersionInput,
|
|
@@ -546,6 +556,8 @@ __all__ = [
|
|
|
546
556
|
CreateCodeInterpreterResponse,
|
|
547
557
|
CreateCredentialRequest,
|
|
548
558
|
CreateCredentialResponse,
|
|
559
|
+
CreateCustomDomainRequest,
|
|
560
|
+
CreateCustomDomainResponse,
|
|
549
561
|
CreateKnowledgeBaseRequest,
|
|
550
562
|
CreateKnowledgeBaseResponse,
|
|
551
563
|
CreateMemoryCollectionRequest,
|
|
@@ -563,6 +575,7 @@ __all__ = [
|
|
|
563
575
|
DeleteBrowserResponse,
|
|
564
576
|
DeleteCodeInterpreterResponse,
|
|
565
577
|
DeleteCredentialResponse,
|
|
578
|
+
DeleteCustomDomainResponse,
|
|
566
579
|
DeleteKnowledgeBaseResponse,
|
|
567
580
|
DeleteMemoryCollectionResponse,
|
|
568
581
|
DeleteModelProxyResponse,
|
|
@@ -578,6 +591,7 @@ __all__ = [
|
|
|
578
591
|
GetBrowserResponse,
|
|
579
592
|
GetCodeInterpreterResponse,
|
|
580
593
|
GetCredentialResponse,
|
|
594
|
+
GetCustomDomainResponse,
|
|
581
595
|
GetKnowledgeBaseResponse,
|
|
582
596
|
GetMemoryCollectionResponse,
|
|
583
597
|
GetModelProxyResponse,
|
|
@@ -596,6 +610,8 @@ __all__ = [
|
|
|
596
610
|
ListCodeInterpretersResponse,
|
|
597
611
|
ListCredentialsRequest,
|
|
598
612
|
ListCredentialsResponse,
|
|
613
|
+
ListCustomDomainsRequest,
|
|
614
|
+
ListCustomDomainsResponse,
|
|
599
615
|
ListKnowledgeBasesRequest,
|
|
600
616
|
ListKnowledgeBasesResponse,
|
|
601
617
|
ListMemoryCollectionsRequest,
|
|
@@ -621,6 +637,8 @@ __all__ = [
|
|
|
621
637
|
UpdateAgentRuntimeEndpointResponse,
|
|
622
638
|
UpdateCredentialRequest,
|
|
623
639
|
UpdateCredentialResponse,
|
|
640
|
+
UpdateCustomDomainRequest,
|
|
641
|
+
UpdateCustomDomainResponse,
|
|
624
642
|
UpdateKnowledgeBaseRequest,
|
|
625
643
|
UpdateKnowledgeBaseResponse,
|
|
626
644
|
UpdateMemoryCollectionRequest,
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
6
|
+
from darabonba.model import DaraModel
|
|
7
|
+
|
|
8
|
+
class CreateCustomDomainRequest(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
body: main_models.CreateCustomDomainInput = None,
|
|
12
|
+
):
|
|
13
|
+
self.body = body
|
|
14
|
+
|
|
15
|
+
def validate(self):
|
|
16
|
+
if self.body:
|
|
17
|
+
self.body.validate()
|
|
18
|
+
|
|
19
|
+
def to_map(self):
|
|
20
|
+
result = dict()
|
|
21
|
+
_map = super().to_map()
|
|
22
|
+
if _map is not None:
|
|
23
|
+
result = _map
|
|
24
|
+
if self.body is not None:
|
|
25
|
+
result['body'] = self.body.to_map()
|
|
26
|
+
|
|
27
|
+
return result
|
|
28
|
+
|
|
29
|
+
def from_map(self, m: dict = None):
|
|
30
|
+
m = m or dict()
|
|
31
|
+
if m.get('body') is not None:
|
|
32
|
+
temp_model = main_models.CreateCustomDomainInput()
|
|
33
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
34
|
+
|
|
35
|
+
return self
|
|
36
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class CreateCustomDomainResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.CustomDomainResult = None,
|
|
16
|
+
):
|
|
17
|
+
self.headers = headers
|
|
18
|
+
self.status_code = status_code
|
|
19
|
+
self.body = body
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.headers is not None:
|
|
31
|
+
result['headers'] = self.headers
|
|
32
|
+
|
|
33
|
+
if self.status_code is not None:
|
|
34
|
+
result['statusCode'] = self.status_code
|
|
35
|
+
|
|
36
|
+
if self.body is not None:
|
|
37
|
+
result['body'] = self.body.to_map()
|
|
38
|
+
|
|
39
|
+
return result
|
|
40
|
+
|
|
41
|
+
def from_map(self, m: dict = None):
|
|
42
|
+
m = m or dict()
|
|
43
|
+
if m.get('headers') is not None:
|
|
44
|
+
self.headers = m.get('headers')
|
|
45
|
+
|
|
46
|
+
if m.get('statusCode') is not None:
|
|
47
|
+
self.status_code = m.get('statusCode')
|
|
48
|
+
|
|
49
|
+
if m.get('body') is not None:
|
|
50
|
+
temp_model = main_models.CustomDomainResult()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class DeleteCustomDomainResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.CustomDomainResult = None,
|
|
16
|
+
):
|
|
17
|
+
self.headers = headers
|
|
18
|
+
self.status_code = status_code
|
|
19
|
+
self.body = body
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.headers is not None:
|
|
31
|
+
result['headers'] = self.headers
|
|
32
|
+
|
|
33
|
+
if self.status_code is not None:
|
|
34
|
+
result['statusCode'] = self.status_code
|
|
35
|
+
|
|
36
|
+
if self.body is not None:
|
|
37
|
+
result['body'] = self.body.to_map()
|
|
38
|
+
|
|
39
|
+
return result
|
|
40
|
+
|
|
41
|
+
def from_map(self, m: dict = None):
|
|
42
|
+
m = m or dict()
|
|
43
|
+
if m.get('headers') is not None:
|
|
44
|
+
self.headers = m.get('headers')
|
|
45
|
+
|
|
46
|
+
if m.get('statusCode') is not None:
|
|
47
|
+
self.status_code = m.get('statusCode')
|
|
48
|
+
|
|
49
|
+
if m.get('body') is not None:
|
|
50
|
+
temp_model = main_models.CustomDomainResult()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class GetCustomDomainResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.CustomDomainResult = None,
|
|
16
|
+
):
|
|
17
|
+
self.headers = headers
|
|
18
|
+
self.status_code = status_code
|
|
19
|
+
self.body = body
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.headers is not None:
|
|
31
|
+
result['headers'] = self.headers
|
|
32
|
+
|
|
33
|
+
if self.status_code is not None:
|
|
34
|
+
result['statusCode'] = self.status_code
|
|
35
|
+
|
|
36
|
+
if self.body is not None:
|
|
37
|
+
result['body'] = self.body.to_map()
|
|
38
|
+
|
|
39
|
+
return result
|
|
40
|
+
|
|
41
|
+
def from_map(self, m: dict = None):
|
|
42
|
+
m = m or dict()
|
|
43
|
+
if m.get('headers') is not None:
|
|
44
|
+
self.headers = m.get('headers')
|
|
45
|
+
|
|
46
|
+
if m.get('statusCode') is not None:
|
|
47
|
+
self.status_code = m.get('statusCode')
|
|
48
|
+
|
|
49
|
+
if m.get('body') is not None:
|
|
50
|
+
temp_model = main_models.CustomDomainResult()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from darabonba.model import DaraModel
|
|
6
|
+
|
|
7
|
+
class ListCustomDomainsRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
domain_name: str = None,
|
|
11
|
+
page_number: int = None,
|
|
12
|
+
page_size: int = None,
|
|
13
|
+
resource_name: str = None,
|
|
14
|
+
resource_type: str = None,
|
|
15
|
+
):
|
|
16
|
+
self.domain_name = domain_name
|
|
17
|
+
self.page_number = page_number
|
|
18
|
+
self.page_size = page_size
|
|
19
|
+
self.resource_name = resource_name
|
|
20
|
+
self.resource_type = resource_type
|
|
21
|
+
|
|
22
|
+
def validate(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.domain_name is not None:
|
|
31
|
+
result['domainName'] = self.domain_name
|
|
32
|
+
|
|
33
|
+
if self.page_number is not None:
|
|
34
|
+
result['pageNumber'] = self.page_number
|
|
35
|
+
|
|
36
|
+
if self.page_size is not None:
|
|
37
|
+
result['pageSize'] = self.page_size
|
|
38
|
+
|
|
39
|
+
if self.resource_name is not None:
|
|
40
|
+
result['resourceName'] = self.resource_name
|
|
41
|
+
|
|
42
|
+
if self.resource_type is not None:
|
|
43
|
+
result['resourceType'] = self.resource_type
|
|
44
|
+
|
|
45
|
+
return result
|
|
46
|
+
|
|
47
|
+
def from_map(self, m: dict = None):
|
|
48
|
+
m = m or dict()
|
|
49
|
+
if m.get('domainName') is not None:
|
|
50
|
+
self.domain_name = m.get('domainName')
|
|
51
|
+
|
|
52
|
+
if m.get('pageNumber') is not None:
|
|
53
|
+
self.page_number = m.get('pageNumber')
|
|
54
|
+
|
|
55
|
+
if m.get('pageSize') is not None:
|
|
56
|
+
self.page_size = m.get('pageSize')
|
|
57
|
+
|
|
58
|
+
if m.get('resourceName') is not None:
|
|
59
|
+
self.resource_name = m.get('resourceName')
|
|
60
|
+
|
|
61
|
+
if m.get('resourceType') is not None:
|
|
62
|
+
self.resource_type = m.get('resourceType')
|
|
63
|
+
|
|
64
|
+
return self
|
|
65
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class ListCustomDomainsResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.ListCustomDomainsResult = None,
|
|
16
|
+
):
|
|
17
|
+
self.headers = headers
|
|
18
|
+
self.status_code = status_code
|
|
19
|
+
self.body = body
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.headers is not None:
|
|
31
|
+
result['headers'] = self.headers
|
|
32
|
+
|
|
33
|
+
if self.status_code is not None:
|
|
34
|
+
result['statusCode'] = self.status_code
|
|
35
|
+
|
|
36
|
+
if self.body is not None:
|
|
37
|
+
result['body'] = self.body.to_map()
|
|
38
|
+
|
|
39
|
+
return result
|
|
40
|
+
|
|
41
|
+
def from_map(self, m: dict = None):
|
|
42
|
+
m = m or dict()
|
|
43
|
+
if m.get('headers') is not None:
|
|
44
|
+
self.headers = m.get('headers')
|
|
45
|
+
|
|
46
|
+
if m.get('statusCode') is not None:
|
|
47
|
+
self.status_code = m.get('statusCode')
|
|
48
|
+
|
|
49
|
+
if m.get('body') is not None:
|
|
50
|
+
temp_model = main_models.ListCustomDomainsResult()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -2,23 +2,37 @@
|
|
|
2
2
|
# This file is auto-generated, don't edit it. Thanks.
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
+
from typing import List
|
|
6
|
+
|
|
7
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
5
8
|
from darabonba.model import DaraModel
|
|
6
9
|
|
|
7
10
|
class ProtocolConfiguration(DaraModel):
|
|
8
11
|
def __init__(
|
|
9
12
|
self,
|
|
13
|
+
protocol_settings: List[main_models.ProtocolSettings] = None,
|
|
10
14
|
type: str = None,
|
|
11
15
|
):
|
|
16
|
+
# 详细的协议配置信息
|
|
17
|
+
self.protocol_settings = protocol_settings
|
|
12
18
|
self.type = type
|
|
13
19
|
|
|
14
20
|
def validate(self):
|
|
15
|
-
|
|
21
|
+
if self.protocol_settings:
|
|
22
|
+
for v1 in self.protocol_settings:
|
|
23
|
+
if v1:
|
|
24
|
+
v1.validate()
|
|
16
25
|
|
|
17
26
|
def to_map(self):
|
|
18
27
|
result = dict()
|
|
19
28
|
_map = super().to_map()
|
|
20
29
|
if _map is not None:
|
|
21
30
|
result = _map
|
|
31
|
+
result['protocolSettings'] = []
|
|
32
|
+
if self.protocol_settings is not None:
|
|
33
|
+
for k1 in self.protocol_settings:
|
|
34
|
+
result['protocolSettings'].append(k1.to_map() if k1 else None)
|
|
35
|
+
|
|
22
36
|
if self.type is not None:
|
|
23
37
|
result['type'] = self.type
|
|
24
38
|
|
|
@@ -26,6 +40,12 @@ class ProtocolConfiguration(DaraModel):
|
|
|
26
40
|
|
|
27
41
|
def from_map(self, m: dict = None):
|
|
28
42
|
m = m or dict()
|
|
43
|
+
self.protocol_settings = []
|
|
44
|
+
if m.get('protocolSettings') is not None:
|
|
45
|
+
for k1 in m.get('protocolSettings'):
|
|
46
|
+
temp_model = main_models.ProtocolSettings()
|
|
47
|
+
self.protocol_settings.append(temp_model.from_map(k1))
|
|
48
|
+
|
|
29
49
|
if m.get('type') is not None:
|
|
30
50
|
self.type = m.get('type')
|
|
31
51
|
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from darabonba.model import DaraModel
|
|
6
|
+
|
|
7
|
+
class ProtocolSettings(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
a_2aagent_card: str = None,
|
|
11
|
+
headers: str = None,
|
|
12
|
+
input_body_json_schema: str = None,
|
|
13
|
+
method: str = None,
|
|
14
|
+
name: str = None,
|
|
15
|
+
output_body_json_schema: str = None,
|
|
16
|
+
path: str = None,
|
|
17
|
+
path_prefix: str = None,
|
|
18
|
+
request_content_type: str = None,
|
|
19
|
+
response_content_type: str = None,
|
|
20
|
+
):
|
|
21
|
+
# A2A Agent Card
|
|
22
|
+
self.a_2aagent_card = a_2aagent_card
|
|
23
|
+
# 请求头
|
|
24
|
+
self.headers = headers
|
|
25
|
+
# 请求体JSON模式
|
|
26
|
+
self.input_body_json_schema = input_body_json_schema
|
|
27
|
+
# HTTP方法
|
|
28
|
+
self.method = method
|
|
29
|
+
# 协议名称
|
|
30
|
+
self.name = name
|
|
31
|
+
# 响应体JSON模式
|
|
32
|
+
self.output_body_json_schema = output_body_json_schema
|
|
33
|
+
# 协议路径
|
|
34
|
+
self.path = path
|
|
35
|
+
# 协议路径前缀
|
|
36
|
+
self.path_prefix = path_prefix
|
|
37
|
+
# 请求内容类型
|
|
38
|
+
self.request_content_type = request_content_type
|
|
39
|
+
# 响应内容类型
|
|
40
|
+
self.response_content_type = response_content_type
|
|
41
|
+
|
|
42
|
+
def validate(self):
|
|
43
|
+
pass
|
|
44
|
+
|
|
45
|
+
def to_map(self):
|
|
46
|
+
result = dict()
|
|
47
|
+
_map = super().to_map()
|
|
48
|
+
if _map is not None:
|
|
49
|
+
result = _map
|
|
50
|
+
if self.a_2aagent_card is not None:
|
|
51
|
+
result['A2AAgentCard'] = self.a_2aagent_card
|
|
52
|
+
|
|
53
|
+
if self.headers is not None:
|
|
54
|
+
result['headers'] = self.headers
|
|
55
|
+
|
|
56
|
+
if self.input_body_json_schema is not None:
|
|
57
|
+
result['inputBodyJsonSchema'] = self.input_body_json_schema
|
|
58
|
+
|
|
59
|
+
if self.method is not None:
|
|
60
|
+
result['method'] = self.method
|
|
61
|
+
|
|
62
|
+
if self.name is not None:
|
|
63
|
+
result['name'] = self.name
|
|
64
|
+
|
|
65
|
+
if self.output_body_json_schema is not None:
|
|
66
|
+
result['outputBodyJsonSchema'] = self.output_body_json_schema
|
|
67
|
+
|
|
68
|
+
if self.path is not None:
|
|
69
|
+
result['path'] = self.path
|
|
70
|
+
|
|
71
|
+
if self.path_prefix is not None:
|
|
72
|
+
result['pathPrefix'] = self.path_prefix
|
|
73
|
+
|
|
74
|
+
if self.request_content_type is not None:
|
|
75
|
+
result['requestContentType'] = self.request_content_type
|
|
76
|
+
|
|
77
|
+
if self.response_content_type is not None:
|
|
78
|
+
result['responseContentType'] = self.response_content_type
|
|
79
|
+
|
|
80
|
+
return result
|
|
81
|
+
|
|
82
|
+
def from_map(self, m: dict = None):
|
|
83
|
+
m = m or dict()
|
|
84
|
+
if m.get('A2AAgentCard') is not None:
|
|
85
|
+
self.a_2aagent_card = m.get('A2AAgentCard')
|
|
86
|
+
|
|
87
|
+
if m.get('headers') is not None:
|
|
88
|
+
self.headers = m.get('headers')
|
|
89
|
+
|
|
90
|
+
if m.get('inputBodyJsonSchema') is not None:
|
|
91
|
+
self.input_body_json_schema = m.get('inputBodyJsonSchema')
|
|
92
|
+
|
|
93
|
+
if m.get('method') is not None:
|
|
94
|
+
self.method = m.get('method')
|
|
95
|
+
|
|
96
|
+
if m.get('name') is not None:
|
|
97
|
+
self.name = m.get('name')
|
|
98
|
+
|
|
99
|
+
if m.get('outputBodyJsonSchema') is not None:
|
|
100
|
+
self.output_body_json_schema = m.get('outputBodyJsonSchema')
|
|
101
|
+
|
|
102
|
+
if m.get('path') is not None:
|
|
103
|
+
self.path = m.get('path')
|
|
104
|
+
|
|
105
|
+
if m.get('pathPrefix') is not None:
|
|
106
|
+
self.path_prefix = m.get('pathPrefix')
|
|
107
|
+
|
|
108
|
+
if m.get('requestContentType') is not None:
|
|
109
|
+
self.request_content_type = m.get('requestContentType')
|
|
110
|
+
|
|
111
|
+
if m.get('responseContentType') is not None:
|
|
112
|
+
self.response_content_type = m.get('responseContentType')
|
|
113
|
+
|
|
114
|
+
return self
|
|
115
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
6
|
+
from darabonba.model import DaraModel
|
|
7
|
+
|
|
8
|
+
class UpdateCustomDomainRequest(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
body: main_models.UpdateCustomDomainInput = None,
|
|
12
|
+
):
|
|
13
|
+
self.body = body
|
|
14
|
+
|
|
15
|
+
def validate(self):
|
|
16
|
+
if self.body:
|
|
17
|
+
self.body.validate()
|
|
18
|
+
|
|
19
|
+
def to_map(self):
|
|
20
|
+
result = dict()
|
|
21
|
+
_map = super().to_map()
|
|
22
|
+
if _map is not None:
|
|
23
|
+
result = _map
|
|
24
|
+
if self.body is not None:
|
|
25
|
+
result['body'] = self.body.to_map()
|
|
26
|
+
|
|
27
|
+
return result
|
|
28
|
+
|
|
29
|
+
def from_map(self, m: dict = None):
|
|
30
|
+
m = m or dict()
|
|
31
|
+
if m.get('body') is not None:
|
|
32
|
+
temp_model = main_models.UpdateCustomDomainInput()
|
|
33
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
34
|
+
|
|
35
|
+
return self
|
|
36
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class UpdateCustomDomainResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.CustomDomainResult = None,
|
|
16
|
+
):
|
|
17
|
+
self.headers = headers
|
|
18
|
+
self.status_code = status_code
|
|
19
|
+
self.body = body
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.headers is not None:
|
|
31
|
+
result['headers'] = self.headers
|
|
32
|
+
|
|
33
|
+
if self.status_code is not None:
|
|
34
|
+
result['statusCode'] = self.status_code
|
|
35
|
+
|
|
36
|
+
if self.body is not None:
|
|
37
|
+
result['body'] = self.body.to_map()
|
|
38
|
+
|
|
39
|
+
return result
|
|
40
|
+
|
|
41
|
+
def from_map(self, m: dict = None):
|
|
42
|
+
m = m or dict()
|
|
43
|
+
if m.get('headers') is not None:
|
|
44
|
+
self.headers = m.get('headers')
|
|
45
|
+
|
|
46
|
+
if m.get('statusCode') is not None:
|
|
47
|
+
self.status_code = m.get('statusCode')
|
|
48
|
+
|
|
49
|
+
if m.get('body') is not None:
|
|
50
|
+
temp_model = main_models.CustomDomainResult()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
alibabacloud_agentrun20250910/__init__.py,sha256=
|
|
2
|
-
alibabacloud_agentrun20250910/client.py,sha256=
|
|
3
|
-
alibabacloud_agentrun20250910/models/__init__.py,sha256=
|
|
1
|
+
alibabacloud_agentrun20250910/__init__.py,sha256=yFu2H738gSSga9o0_8Ri0Sfb0kJjIoxVVygaABfVPTM,21
|
|
2
|
+
alibabacloud_agentrun20250910/client.py,sha256=e7eiJnwVihky1ytfIk-XCVZRo5KXCOrzFJaArTHkAuA,174573
|
|
3
|
+
alibabacloud_agentrun20250910/models/__init__.py,sha256=fRnzXzkQRg3PmLFQPVlMtUyKkwFxK8DPwVaSS3f1b5I,28980
|
|
4
4
|
alibabacloud_agentrun20250910/models/_activate_template_mcprequest.py,sha256=ERcrdYR0QD2PcPL84J75TlMAWVy9GHWKZoEiM0vXUPU,1075
|
|
5
5
|
alibabacloud_agentrun20250910/models/_activate_template_mcpresponse.py,sha256=d9dd1zzMWbrKqWNPbRBFSpVm-f3nzR_f5x5hp9oFI0I,1460
|
|
6
6
|
alibabacloud_agentrun20250910/models/_agent_runtime.py,sha256=moHXc30FAsgeCrHyFYAHbW-IRjzul3TDPNuupLT_tUg,11130
|
|
@@ -56,6 +56,8 @@ alibabacloud_agentrun20250910/models/_create_credential_output.py,sha256=FRSdliK
|
|
|
56
56
|
alibabacloud_agentrun20250910/models/_create_credential_request.py,sha256=VCQGpwUV0I0_pN7hTajhf3r8Cl5Ojqei_Zb2mC5dwFE,943
|
|
57
57
|
alibabacloud_agentrun20250910/models/_create_credential_response.py,sha256=MhabK8x3bLxryKQIKmi-ON6GIoXl0PameQRmKoWOsd4,1461
|
|
58
58
|
alibabacloud_agentrun20250910/models/_create_custom_domain_input.py,sha256=6k-zQriuZjQ8SRsDjr7bfyIVDYJqCtKhyvsRXxiYomY,3391
|
|
59
|
+
alibabacloud_agentrun20250910/models/_create_custom_domain_request.py,sha256=ggfoVGk0qe1qFBoAebC3XuweSxJV0x-JiIO6BeHVst4,949
|
|
60
|
+
alibabacloud_agentrun20250910/models/_create_custom_domain_response.py,sha256=sQ_AYnLfKb5hgCfGA9SKd84h7DZqgCv3PNVYTcpehHk,1467
|
|
59
61
|
alibabacloud_agentrun20250910/models/_create_domain_input.py,sha256=95dn44TBqJmVc02pUYf5s9Y74m4U_JhL4B0DCERU0m4,1246
|
|
60
62
|
alibabacloud_agentrun20250910/models/_create_gateway_input.py,sha256=d3tsxbNYIoI1WvUb0-BZeNafD8bKI4D8L4rBfSijpS0,1800
|
|
61
63
|
alibabacloud_agentrun20250910/models/_create_gateway_target_input.py,sha256=RSXy3enaEoS7KXgmS2N1rvIcVh_kHakxeQmVNZeTvKM,1559
|
|
@@ -98,6 +100,7 @@ alibabacloud_agentrun20250910/models/_delete_code_interpreter_out.py,sha256=czRq
|
|
|
98
100
|
alibabacloud_agentrun20250910/models/_delete_code_interpreter_response.py,sha256=DrDCKDMNicNmvovFOb61RATq1iwy14Q5JVx1_veezr8,1488
|
|
99
101
|
alibabacloud_agentrun20250910/models/_delete_code_interpreter_result.py,sha256=VowIx56dv0SR9fWoM4FYCBVlm8RdespSLk1pNJTD1o4,1636
|
|
100
102
|
alibabacloud_agentrun20250910/models/_delete_credential_response.py,sha256=tyvB3oz0nu5TQ-1BGkAZ4E89w-0VhX4Xw7aLPsgztg0,1461
|
|
103
|
+
alibabacloud_agentrun20250910/models/_delete_custom_domain_response.py,sha256=bDqE1NJkxOQDfl_9UCkQMroQZzmr_jSP77lBzqFrayU,1467
|
|
101
104
|
alibabacloud_agentrun20250910/models/_delete_knowledge_base_response.py,sha256=4RLKVoD8j0xk0IXQg1EgI94gbzZma2Yyi5amfvCSELM,1470
|
|
102
105
|
alibabacloud_agentrun20250910/models/_delete_knowledge_base_result.py,sha256=hR9wOgb0ZIUUVZlOKPPcg8SjN8uB54svpw5ODNhlxf0,1384
|
|
103
106
|
alibabacloud_agentrun20250910/models/_delete_memory_collection_response.py,sha256=roLiA95RoDutkctjQQHaGxXbWH_xpBCepxhG027w6SY,1479
|
|
@@ -128,6 +131,7 @@ alibabacloud_agentrun20250910/models/_get_code_interpreter_response.py,sha256=8z
|
|
|
128
131
|
alibabacloud_agentrun20250910/models/_get_code_interpreter_session_result.py,sha256=AE2Ka0IaowtIIPOGHtjpS4CSnM_b64jw6PneE5tIVsw,1554
|
|
129
132
|
alibabacloud_agentrun20250910/models/_get_credential_output.py,sha256=FnzX-nplZmv0-gEEjPu2Ml-lZYD9tOVmKtrRKQqqa-o,4310
|
|
130
133
|
alibabacloud_agentrun20250910/models/_get_credential_response.py,sha256=PAGW-oBh11gH_SwF6bZQMx9oMsNvSsFZAd8QzlnDApo,1458
|
|
134
|
+
alibabacloud_agentrun20250910/models/_get_custom_domain_response.py,sha256=DVBn87BLaR8zG2T4CYH51CKHT2mZn8erUZ22oxsGhn0,1464
|
|
131
135
|
alibabacloud_agentrun20250910/models/_get_knowledge_base_response.py,sha256=pEnbgkqWdObSs47Kz6MvDtUoohIIrERk8UiLbPQCEtM,1467
|
|
132
136
|
alibabacloud_agentrun20250910/models/_get_memory_collection_response.py,sha256=Vif24yiasCnjunPSJy3fzNNdTYxsWotuAxLYyn3m38A,1476
|
|
133
137
|
alibabacloud_agentrun20250910/models/_get_model_proxy_response.py,sha256=jxEH7QSIweAd3T10ntYbA5DAHcyuhAhML3fYdF8KyIo,1458
|
|
@@ -172,6 +176,8 @@ alibabacloud_agentrun20250910/models/_list_credentials_request.py,sha256=VEmAEcl
|
|
|
172
176
|
alibabacloud_agentrun20250910/models/_list_credentials_response.py,sha256=tChfzI7nCPeLeTLaBpFnd7msoy_VkShERfKKhzuPabI,1470
|
|
173
177
|
alibabacloud_agentrun20250910/models/_list_credentials_result.py,sha256=lmTmo-hiWzK2UCeXpTSy9VYcm_zzjE8NUQr1WdeDDGA,1396
|
|
174
178
|
alibabacloud_agentrun20250910/models/_list_custom_domains_output.py,sha256=mENio3QLIq7ViKLipvVH49B4U-INeE8NDtEAn8K2nPs,1887
|
|
179
|
+
alibabacloud_agentrun20250910/models/_list_custom_domains_request.py,sha256=BE4LRgAg8c5UeklmT9LWXu_VXXA8Q3zY454Fndj2QxM,1843
|
|
180
|
+
alibabacloud_agentrun20250910/models/_list_custom_domains_response.py,sha256=iXFopYoQ9fdRUUmvc7h0BksYKcIgDtuBZLxoI3fOpfs,1476
|
|
175
181
|
alibabacloud_agentrun20250910/models/_list_custom_domains_result.py,sha256=DBIkt5Gvno0QsBPAQw2iRYQKPDpZ1AmAEEYoZxydINk,1402
|
|
176
182
|
alibabacloud_agentrun20250910/models/_list_domains_output.py,sha256=crlJzolM2mmVOipHACsk9EREN26IEe6de8BXWzz8f6I,1928
|
|
177
183
|
alibabacloud_agentrun20250910/models/_list_gateways_output.py,sha256=dKk9pCCUNcj5JTXpOycTNo0sIl4zljHNjKMs19SccVA,1638
|
|
@@ -236,7 +242,8 @@ alibabacloud_agentrun20250910/models/_path_config.py,sha256=gsxKMKDRFERdodkP5fzd
|
|
|
236
242
|
alibabacloud_agentrun20250910/models/_polar_fs_config.py,sha256=-4Y__TH_p76oDY8tHp_Mp7dOLRvidYMLzum2XjGz7dw,1720
|
|
237
243
|
alibabacloud_agentrun20250910/models/_polar_fs_mount_config.py,sha256=aiCn32fEq0B84sI6_FN7Whn2PocJindqU5dXgQQvHa8,1268
|
|
238
244
|
alibabacloud_agentrun20250910/models/_policy_config.py,sha256=PSZmvNSZFhkS8nbmXo0FyajPmt3EFDlkq1_lC_xF8LI,1493
|
|
239
|
-
alibabacloud_agentrun20250910/models/_protocol_configuration.py,sha256=
|
|
245
|
+
alibabacloud_agentrun20250910/models/_protocol_configuration.py,sha256=2JpBlGYccOF1GBV8s3r-zwA1_QROuIuItjnYal-IaRg,1568
|
|
246
|
+
alibabacloud_agentrun20250910/models/_protocol_settings.py,sha256=Mv1SjQohiInoeLqWAN7hRoSt-7dNwjWrcqNEpf1KzDY,3575
|
|
240
247
|
alibabacloud_agentrun20250910/models/_provider_settings.py,sha256=pjBN9QUfQlSm61cuHGF0eSJLfqxfnMWfZTZxxRFStzU,1261
|
|
241
248
|
alibabacloud_agentrun20250910/models/_proxy_config.py,sha256=YcuwmE0dbGrkrQ9gI7vG9OOL-xajXiBUNwxALdRU1mQ,11689
|
|
242
249
|
alibabacloud_agentrun20250910/models/_publish_runtime_version_input.py,sha256=5IAYZaKs0XkWecNVhC21E7u-XOieyh84PRXdvZAXc9c,1108
|
|
@@ -283,6 +290,8 @@ alibabacloud_agentrun20250910/models/_update_credential_output.py,sha256=SeCTW3R
|
|
|
283
290
|
alibabacloud_agentrun20250910/models/_update_credential_request.py,sha256=R0vUVYN1ZvIb8nueiIeM0apQPEWQGo0aGQo8A6-J4oA,943
|
|
284
291
|
alibabacloud_agentrun20250910/models/_update_credential_response.py,sha256=hvC4zF9g8Iabm3KRA1NHx92vovzclH-YbTpKGJYZdFE,1461
|
|
285
292
|
alibabacloud_agentrun20250910/models/_update_custom_domain_input.py,sha256=9s-lc2oCE1ac7PbyffZiEY--RqrmlWTGWQj3owvTQB8,2680
|
|
293
|
+
alibabacloud_agentrun20250910/models/_update_custom_domain_request.py,sha256=fvvLjhozP8EcnjsAGOoFJT2whXf5xsTpugqKY7nUJZE,949
|
|
294
|
+
alibabacloud_agentrun20250910/models/_update_custom_domain_response.py,sha256=Zj6aHYl3o3b2zQWe0kSlW-5QhLQD4uafGIx_2e1Xoos,1467
|
|
286
295
|
alibabacloud_agentrun20250910/models/_update_domain_input.py,sha256=TgDFH6dwozcqm1_CacVPmoFBjg3lx2t62GqAKfd1Ngs,1044
|
|
287
296
|
alibabacloud_agentrun20250910/models/_update_knowledge_base_input.py,sha256=DVUhIe3ruzDlwco2GN1VwP_q7roa1leItSJ29a23_lM,1762
|
|
288
297
|
alibabacloud_agentrun20250910/models/_update_knowledge_base_request.py,sha256=-hChEQCeVVdPjXtcagu_lf3h2LB1QZnRxbzRSivYLZw,952
|
|
@@ -307,8 +316,8 @@ alibabacloud_agentrun20250910/models/_update_tool_output.py,sha256=8Qy6IF4Tv61KC
|
|
|
307
316
|
alibabacloud_agentrun20250910/models/_vector_store_config.py,sha256=rvEBQNPeVcXQmBfJHVo2vpQbTR4u9-xerWNUEa2HLMg,2685
|
|
308
317
|
alibabacloud_agentrun20250910/models/_version_weight.py,sha256=b8Q6LkLBbwREUz5u4gksWiZJOR3KnwvQnmGKZmBRhfE,1035
|
|
309
318
|
alibabacloud_agentrun20250910/models/_view_port_configuration.py,sha256=9OJd_njOHJISm9XTCXbpPTw78eKbcn0h8NPI_51KqgI,1115
|
|
310
|
-
alibabacloud_agentrun20250910-5.
|
|
311
|
-
alibabacloud_agentrun20250910-5.
|
|
312
|
-
alibabacloud_agentrun20250910-5.
|
|
313
|
-
alibabacloud_agentrun20250910-5.
|
|
314
|
-
alibabacloud_agentrun20250910-5.
|
|
319
|
+
alibabacloud_agentrun20250910-5.3.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
320
|
+
alibabacloud_agentrun20250910-5.3.0.dist-info/METADATA,sha256=r2ulefedko8L34DYtdxPw9EOWcXHSJGsBqN8hSyRMNQ,2324
|
|
321
|
+
alibabacloud_agentrun20250910-5.3.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
322
|
+
alibabacloud_agentrun20250910-5.3.0.dist-info/top_level.txt,sha256=52ubthzYJLT_H920wO8t0i9HV90alDqttDu0fv3l1aM,30
|
|
323
|
+
alibabacloud_agentrun20250910-5.3.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|