alibabacloud-ice20201109 6.4.0__py3-none-any.whl → 6.4.2__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.
@@ -1 +1 @@
1
- __version__ = '6.4.0'
1
+ __version__ = '6.4.2'
@@ -1368,6 +1368,8 @@ class Client(OpenApiClient):
1368
1368
  query = {}
1369
1369
  if not UtilClient.is_unset(request.addition_type):
1370
1370
  query['AdditionType'] = request.addition_type
1371
+ if not UtilClient.is_unset(request.auth_timeout):
1372
+ query['AuthTimeout'] = request.auth_timeout
1371
1373
  if not UtilClient.is_unset(request.media_ids):
1372
1374
  query['MediaIds'] = request.media_ids
1373
1375
  req = open_api_models.OpenApiRequest(
@@ -1405,6 +1407,8 @@ class Client(OpenApiClient):
1405
1407
  query = {}
1406
1408
  if not UtilClient.is_unset(request.addition_type):
1407
1409
  query['AdditionType'] = request.addition_type
1410
+ if not UtilClient.is_unset(request.auth_timeout):
1411
+ query['AuthTimeout'] = request.auth_timeout
1408
1412
  if not UtilClient.is_unset(request.media_ids):
1409
1413
  query['MediaIds'] = request.media_ids
1410
1414
  req = open_api_models.OpenApiRequest(
@@ -14988,6 +14992,8 @@ class Client(OpenApiClient):
14988
14992
  """
14989
14993
  UtilClient.validate_model(request)
14990
14994
  query = {}
14995
+ if not UtilClient.is_unset(request.auth_timeout):
14996
+ query['AuthTimeout'] = request.auth_timeout
14991
14997
  if not UtilClient.is_unset(request.input_url):
14992
14998
  query['InputURL'] = request.input_url
14993
14999
  if not UtilClient.is_unset(request.media_id):
@@ -15031,6 +15037,8 @@ class Client(OpenApiClient):
15031
15037
  """
15032
15038
  UtilClient.validate_model(request)
15033
15039
  query = {}
15040
+ if not UtilClient.is_unset(request.auth_timeout):
15041
+ query['AuthTimeout'] = request.auth_timeout
15034
15042
  if not UtilClient.is_unset(request.input_url):
15035
15043
  query['InputURL'] = request.input_url
15036
15044
  if not UtilClient.is_unset(request.media_id):
@@ -15908,6 +15916,8 @@ class Client(OpenApiClient):
15908
15916
  """
15909
15917
  UtilClient.validate_model(request)
15910
15918
  query = {}
15919
+ if not UtilClient.is_unset(request.auth_timeout):
15920
+ query['AuthTimeout'] = request.auth_timeout
15911
15921
  if not UtilClient.is_unset(request.input_url):
15912
15922
  query['InputURL'] = request.input_url
15913
15923
  if not UtilClient.is_unset(request.media_id):
@@ -15947,6 +15957,8 @@ class Client(OpenApiClient):
15947
15957
  """
15948
15958
  UtilClient.validate_model(request)
15949
15959
  query = {}
15960
+ if not UtilClient.is_unset(request.auth_timeout):
15961
+ query['AuthTimeout'] = request.auth_timeout
15950
15962
  if not UtilClient.is_unset(request.input_url):
15951
15963
  query['InputURL'] = request.input_url
15952
15964
  if not UtilClient.is_unset(request.media_id):
@@ -18406,10 +18418,14 @@ class Client(OpenApiClient):
18406
18418
  """
18407
18419
  UtilClient.validate_model(request)
18408
18420
  query = {}
18421
+ if not UtilClient.is_unset(request.number):
18422
+ query['Number'] = request.number
18409
18423
  if not UtilClient.is_unset(request.page_number):
18410
18424
  query['PageNumber'] = request.page_number
18411
18425
  if not UtilClient.is_unset(request.page_size):
18412
18426
  query['PageSize'] = request.page_size
18427
+ if not UtilClient.is_unset(request.status):
18428
+ query['Status'] = request.status
18413
18429
  req = open_api_models.OpenApiRequest(
18414
18430
  query=OpenApiUtilClient.query(query)
18415
18431
  )
@@ -18443,10 +18459,14 @@ class Client(OpenApiClient):
18443
18459
  """
18444
18460
  UtilClient.validate_model(request)
18445
18461
  query = {}
18462
+ if not UtilClient.is_unset(request.number):
18463
+ query['Number'] = request.number
18446
18464
  if not UtilClient.is_unset(request.page_number):
18447
18465
  query['PageNumber'] = request.page_number
18448
18466
  if not UtilClient.is_unset(request.page_size):
18449
18467
  query['PageSize'] = request.page_size
18468
+ if not UtilClient.is_unset(request.status):
18469
+ query['Status'] = request.status
18450
18470
  req = open_api_models.OpenApiRequest(
18451
18471
  query=OpenApiUtilClient.query(query)
18452
18472
  )
@@ -21552,6 +21572,8 @@ class Client(OpenApiClient):
21552
21572
  """
21553
21573
  UtilClient.validate_model(request)
21554
21574
  query = {}
21575
+ if not UtilClient.is_unset(request.auth_timeout):
21576
+ query['AuthTimeout'] = request.auth_timeout
21555
21577
  if not UtilClient.is_unset(request.business_type):
21556
21578
  query['BusinessType'] = request.business_type
21557
21579
  if not UtilClient.is_unset(request.end_time):
@@ -21609,6 +21631,8 @@ class Client(OpenApiClient):
21609
21631
  """
21610
21632
  UtilClient.validate_model(request)
21611
21633
  query = {}
21634
+ if not UtilClient.is_unset(request.auth_timeout):
21635
+ query['AuthTimeout'] = request.auth_timeout
21612
21636
  if not UtilClient.is_unset(request.business_type):
21613
21637
  query['BusinessType'] = request.business_type
21614
21638
  if not UtilClient.is_unset(request.end_time):
@@ -29322,6 +29346,8 @@ class Client(OpenApiClient):
29322
29346
  query['CallerNumber'] = request.caller_number
29323
29347
  if not UtilClient.is_unset(request.config_shrink):
29324
29348
  query['Config'] = request.config_shrink
29349
+ if not UtilClient.is_unset(request.ims_aiagent_free_ob_call):
29350
+ query['ImsAIAgentFreeObCall'] = request.ims_aiagent_free_ob_call
29325
29351
  if not UtilClient.is_unset(request.session_id):
29326
29352
  query['SessionId'] = request.session_id
29327
29353
  if not UtilClient.is_unset(request.user_data):
@@ -29371,6 +29397,8 @@ class Client(OpenApiClient):
29371
29397
  query['CallerNumber'] = request.caller_number
29372
29398
  if not UtilClient.is_unset(request.config_shrink):
29373
29399
  query['Config'] = request.config_shrink
29400
+ if not UtilClient.is_unset(request.ims_aiagent_free_ob_call):
29401
+ query['ImsAIAgentFreeObCall'] = request.ims_aiagent_free_ob_call
29374
29402
  if not UtilClient.is_unset(request.session_id):
29375
29403
  query['SessionId'] = request.session_id
29376
29404
  if not UtilClient.is_unset(request.user_data):
@@ -31846,7 +31874,7 @@ class Client(OpenApiClient):
31846
31874
  runtime: util_models.RuntimeOptions,
31847
31875
  ) -> ice20201109_models.SubmitHighlightExtractionJobResponse:
31848
31876
  """
31849
- @summary 提交高光提取任务
31877
+ @summary Submits a highlight extraction task.
31850
31878
 
31851
31879
  @param request: SubmitHighlightExtractionJobRequest
31852
31880
  @param runtime: runtime options for this request RuntimeOptions
@@ -31889,7 +31917,7 @@ class Client(OpenApiClient):
31889
31917
  runtime: util_models.RuntimeOptions,
31890
31918
  ) -> ice20201109_models.SubmitHighlightExtractionJobResponse:
31891
31919
  """
31892
- @summary 提交高光提取任务
31920
+ @summary Submits a highlight extraction task.
31893
31921
 
31894
31922
  @param request: SubmitHighlightExtractionJobRequest
31895
31923
  @param runtime: runtime options for this request RuntimeOptions
@@ -31931,7 +31959,7 @@ class Client(OpenApiClient):
31931
31959
  request: ice20201109_models.SubmitHighlightExtractionJobRequest,
31932
31960
  ) -> ice20201109_models.SubmitHighlightExtractionJobResponse:
31933
31961
  """
31934
- @summary 提交高光提取任务
31962
+ @summary Submits a highlight extraction task.
31935
31963
 
31936
31964
  @param request: SubmitHighlightExtractionJobRequest
31937
31965
  @return: SubmitHighlightExtractionJobResponse
@@ -31944,7 +31972,7 @@ class Client(OpenApiClient):
31944
31972
  request: ice20201109_models.SubmitHighlightExtractionJobRequest,
31945
31973
  ) -> ice20201109_models.SubmitHighlightExtractionJobResponse:
31946
31974
  """
31947
- @summary 提交高光提取任务
31975
+ @summary Submits a highlight extraction task.
31948
31976
 
31949
31977
  @param request: SubmitHighlightExtractionJobRequest
31950
31978
  @return: SubmitHighlightExtractionJobResponse
@@ -33578,7 +33606,7 @@ class Client(OpenApiClient):
33578
33606
  runtime: util_models.RuntimeOptions,
33579
33607
  ) -> ice20201109_models.SubmitScreenMediaHighlightsJobResponse:
33580
33608
  """
33581
- @summary 提交高燃混剪任务
33609
+ @summary Submits a task to automatically recognize the highlight segments in the video input and compile them into a dramatic and engaging clip.
33582
33610
 
33583
33611
  @param request: SubmitScreenMediaHighlightsJobRequest
33584
33612
  @param runtime: runtime options for this request RuntimeOptions
@@ -33621,7 +33649,7 @@ class Client(OpenApiClient):
33621
33649
  runtime: util_models.RuntimeOptions,
33622
33650
  ) -> ice20201109_models.SubmitScreenMediaHighlightsJobResponse:
33623
33651
  """
33624
- @summary 提交高燃混剪任务
33652
+ @summary Submits a task to automatically recognize the highlight segments in the video input and compile them into a dramatic and engaging clip.
33625
33653
 
33626
33654
  @param request: SubmitScreenMediaHighlightsJobRequest
33627
33655
  @param runtime: runtime options for this request RuntimeOptions
@@ -33663,7 +33691,7 @@ class Client(OpenApiClient):
33663
33691
  request: ice20201109_models.SubmitScreenMediaHighlightsJobRequest,
33664
33692
  ) -> ice20201109_models.SubmitScreenMediaHighlightsJobResponse:
33665
33693
  """
33666
- @summary 提交高燃混剪任务
33694
+ @summary Submits a task to automatically recognize the highlight segments in the video input and compile them into a dramatic and engaging clip.
33667
33695
 
33668
33696
  @param request: SubmitScreenMediaHighlightsJobRequest
33669
33697
  @return: SubmitScreenMediaHighlightsJobResponse
@@ -33676,7 +33704,7 @@ class Client(OpenApiClient):
33676
33704
  request: ice20201109_models.SubmitScreenMediaHighlightsJobRequest,
33677
33705
  ) -> ice20201109_models.SubmitScreenMediaHighlightsJobResponse:
33678
33706
  """
33679
- @summary 提交高燃混剪任务
33707
+ @summary Submits a task to automatically recognize the highlight segments in the video input and compile them into a dramatic and engaging clip.
33680
33708
 
33681
33709
  @param request: SubmitScreenMediaHighlightsJobRequest
33682
33710
  @return: SubmitScreenMediaHighlightsJobResponse
@@ -10,11 +10,13 @@ class AIAgentConfigAsrConfig(TeaModel):
10
10
  asr_hot_words: List[str] = None,
11
11
  asr_language_id: str = None,
12
12
  asr_max_silence: int = None,
13
+ custom_params: str = None,
13
14
  vad_level: int = None,
14
15
  ):
15
16
  self.asr_hot_words = asr_hot_words
16
17
  self.asr_language_id = asr_language_id
17
18
  self.asr_max_silence = asr_max_silence
19
+ self.custom_params = custom_params
18
20
  self.vad_level = vad_level
19
21
 
20
22
  def validate(self):
@@ -32,6 +34,8 @@ class AIAgentConfigAsrConfig(TeaModel):
32
34
  result['AsrLanguageId'] = self.asr_language_id
33
35
  if self.asr_max_silence is not None:
34
36
  result['AsrMaxSilence'] = self.asr_max_silence
37
+ if self.custom_params is not None:
38
+ result['CustomParams'] = self.custom_params
35
39
  if self.vad_level is not None:
36
40
  result['VadLevel'] = self.vad_level
37
41
  return result
@@ -44,6 +48,8 @@ class AIAgentConfigAsrConfig(TeaModel):
44
48
  self.asr_language_id = m.get('AsrLanguageId')
45
49
  if m.get('AsrMaxSilence') is not None:
46
50
  self.asr_max_silence = m.get('AsrMaxSilence')
51
+ if m.get('CustomParams') is not None:
52
+ self.custom_params = m.get('CustomParams')
47
53
  if m.get('VadLevel') is not None:
48
54
  self.vad_level = m.get('VadLevel')
49
55
  return self
@@ -195,17 +201,61 @@ class AIAgentConfigLlmConfig(TeaModel):
195
201
  return self
196
202
 
197
203
 
204
+ class AIAgentConfigTtsConfigPronunciationRules(TeaModel):
205
+ def __init__(
206
+ self,
207
+ pronunciation: str = None,
208
+ type: str = None,
209
+ word: str = None,
210
+ ):
211
+ self.pronunciation = pronunciation
212
+ self.type = type
213
+ self.word = word
214
+
215
+ def validate(self):
216
+ pass
217
+
218
+ def to_map(self):
219
+ _map = super().to_map()
220
+ if _map is not None:
221
+ return _map
222
+
223
+ result = dict()
224
+ if self.pronunciation is not None:
225
+ result['Pronunciation'] = self.pronunciation
226
+ if self.type is not None:
227
+ result['Type'] = self.type
228
+ if self.word is not None:
229
+ result['Word'] = self.word
230
+ return result
231
+
232
+ def from_map(self, m: dict = None):
233
+ m = m or dict()
234
+ if m.get('Pronunciation') is not None:
235
+ self.pronunciation = m.get('Pronunciation')
236
+ if m.get('Type') is not None:
237
+ self.type = m.get('Type')
238
+ if m.get('Word') is not None:
239
+ self.word = m.get('Word')
240
+ return self
241
+
242
+
198
243
  class AIAgentConfigTtsConfig(TeaModel):
199
244
  def __init__(
200
245
  self,
246
+ pronunciation_rules: List[AIAgentConfigTtsConfigPronunciationRules] = None,
201
247
  voice_id: str = None,
202
248
  voice_id_list: List[str] = None,
203
249
  ):
250
+ self.pronunciation_rules = pronunciation_rules
204
251
  self.voice_id = voice_id
205
252
  self.voice_id_list = voice_id_list
206
253
 
207
254
  def validate(self):
208
- pass
255
+ if self.pronunciation_rules:
256
+ for k in self.pronunciation_rules:
257
+ if k:
258
+ k.validate()
209
259
 
210
260
  def to_map(self):
211
261
  _map = super().to_map()
@@ -213,6 +263,10 @@ class AIAgentConfigTtsConfig(TeaModel):
213
263
  return _map
214
264
 
215
265
  result = dict()
266
+ result['PronunciationRules'] = []
267
+ if self.pronunciation_rules is not None:
268
+ for k in self.pronunciation_rules:
269
+ result['PronunciationRules'].append(k.to_map() if k else None)
216
270
  if self.voice_id is not None:
217
271
  result['VoiceId'] = self.voice_id
218
272
  if self.voice_id_list is not None:
@@ -221,6 +275,11 @@ class AIAgentConfigTtsConfig(TeaModel):
221
275
 
222
276
  def from_map(self, m: dict = None):
223
277
  m = m or dict()
278
+ self.pronunciation_rules = []
279
+ if m.get('PronunciationRules') is not None:
280
+ for k in m.get('PronunciationRules'):
281
+ temp_model = AIAgentConfigTtsConfigPronunciationRules()
282
+ self.pronunciation_rules.append(temp_model.from_map(k))
224
283
  if m.get('VoiceId') is not None:
225
284
  self.voice_id = m.get('VoiceId')
226
285
  if m.get('VoiceIdList') is not None:
@@ -231,8 +290,12 @@ class AIAgentConfigTtsConfig(TeaModel):
231
290
  class AIAgentConfigTurnDetectionConfig(TeaModel):
232
291
  def __init__(
233
292
  self,
293
+ mode: str = None,
294
+ semantic_wait_duration: int = None,
234
295
  turn_end_words: List[str] = None,
235
296
  ):
297
+ self.mode = mode
298
+ self.semantic_wait_duration = semantic_wait_duration
236
299
  self.turn_end_words = turn_end_words
237
300
 
238
301
  def validate(self):
@@ -244,17 +307,237 @@ class AIAgentConfigTurnDetectionConfig(TeaModel):
244
307
  return _map
245
308
 
246
309
  result = dict()
310
+ if self.mode is not None:
311
+ result['Mode'] = self.mode
312
+ if self.semantic_wait_duration is not None:
313
+ result['SemanticWaitDuration'] = self.semantic_wait_duration
247
314
  if self.turn_end_words is not None:
248
315
  result['TurnEndWords'] = self.turn_end_words
249
316
  return result
250
317
 
251
318
  def from_map(self, m: dict = None):
252
319
  m = m or dict()
320
+ if m.get('Mode') is not None:
321
+ self.mode = m.get('Mode')
322
+ if m.get('SemanticWaitDuration') is not None:
323
+ self.semantic_wait_duration = m.get('SemanticWaitDuration')
253
324
  if m.get('TurnEndWords') is not None:
254
325
  self.turn_end_words = m.get('TurnEndWords')
255
326
  return self
256
327
 
257
328
 
329
+ class AIAgentConfigVcrConfigEquipment(TeaModel):
330
+ def __init__(
331
+ self,
332
+ enabled: bool = None,
333
+ ):
334
+ self.enabled = enabled
335
+
336
+ def validate(self):
337
+ pass
338
+
339
+ def to_map(self):
340
+ _map = super().to_map()
341
+ if _map is not None:
342
+ return _map
343
+
344
+ result = dict()
345
+ if self.enabled is not None:
346
+ result['Enabled'] = self.enabled
347
+ return result
348
+
349
+ def from_map(self, m: dict = None):
350
+ m = m or dict()
351
+ if m.get('Enabled') is not None:
352
+ self.enabled = m.get('Enabled')
353
+ return self
354
+
355
+
356
+ class AIAgentConfigVcrConfigHeadMotion(TeaModel):
357
+ def __init__(
358
+ self,
359
+ enabled: bool = None,
360
+ ):
361
+ self.enabled = enabled
362
+
363
+ def validate(self):
364
+ pass
365
+
366
+ def to_map(self):
367
+ _map = super().to_map()
368
+ if _map is not None:
369
+ return _map
370
+
371
+ result = dict()
372
+ if self.enabled is not None:
373
+ result['Enabled'] = self.enabled
374
+ return result
375
+
376
+ def from_map(self, m: dict = None):
377
+ m = m or dict()
378
+ if m.get('Enabled') is not None:
379
+ self.enabled = m.get('Enabled')
380
+ return self
381
+
382
+
383
+ class AIAgentConfigVcrConfigInvalidFrameMotion(TeaModel):
384
+ def __init__(
385
+ self,
386
+ callback_delay: int = None,
387
+ enabled: bool = None,
388
+ ):
389
+ self.callback_delay = callback_delay
390
+ self.enabled = enabled
391
+
392
+ def validate(self):
393
+ pass
394
+
395
+ def to_map(self):
396
+ _map = super().to_map()
397
+ if _map is not None:
398
+ return _map
399
+
400
+ result = dict()
401
+ if self.callback_delay is not None:
402
+ result['CallbackDelay'] = self.callback_delay
403
+ if self.enabled is not None:
404
+ result['Enabled'] = self.enabled
405
+ return result
406
+
407
+ def from_map(self, m: dict = None):
408
+ m = m or dict()
409
+ if m.get('CallbackDelay') is not None:
410
+ self.callback_delay = m.get('CallbackDelay')
411
+ if m.get('Enabled') is not None:
412
+ self.enabled = m.get('Enabled')
413
+ return self
414
+
415
+
416
+ class AIAgentConfigVcrConfigPeopleCount(TeaModel):
417
+ def __init__(
418
+ self,
419
+ enabled: bool = None,
420
+ ):
421
+ self.enabled = enabled
422
+
423
+ def validate(self):
424
+ pass
425
+
426
+ def to_map(self):
427
+ _map = super().to_map()
428
+ if _map is not None:
429
+ return _map
430
+
431
+ result = dict()
432
+ if self.enabled is not None:
433
+ result['Enabled'] = self.enabled
434
+ return result
435
+
436
+ def from_map(self, m: dict = None):
437
+ m = m or dict()
438
+ if m.get('Enabled') is not None:
439
+ self.enabled = m.get('Enabled')
440
+ return self
441
+
442
+
443
+ class AIAgentConfigVcrConfigStillFrameMotion(TeaModel):
444
+ def __init__(
445
+ self,
446
+ callback_delay: int = None,
447
+ enabled: bool = None,
448
+ ):
449
+ self.callback_delay = callback_delay
450
+ self.enabled = enabled
451
+
452
+ def validate(self):
453
+ pass
454
+
455
+ def to_map(self):
456
+ _map = super().to_map()
457
+ if _map is not None:
458
+ return _map
459
+
460
+ result = dict()
461
+ if self.callback_delay is not None:
462
+ result['CallbackDelay'] = self.callback_delay
463
+ if self.enabled is not None:
464
+ result['Enabled'] = self.enabled
465
+ return result
466
+
467
+ def from_map(self, m: dict = None):
468
+ m = m or dict()
469
+ if m.get('CallbackDelay') is not None:
470
+ self.callback_delay = m.get('CallbackDelay')
471
+ if m.get('Enabled') is not None:
472
+ self.enabled = m.get('Enabled')
473
+ return self
474
+
475
+
476
+ class AIAgentConfigVcrConfig(TeaModel):
477
+ def __init__(
478
+ self,
479
+ equipment: AIAgentConfigVcrConfigEquipment = None,
480
+ head_motion: AIAgentConfigVcrConfigHeadMotion = None,
481
+ invalid_frame_motion: AIAgentConfigVcrConfigInvalidFrameMotion = None,
482
+ people_count: AIAgentConfigVcrConfigPeopleCount = None,
483
+ still_frame_motion: AIAgentConfigVcrConfigStillFrameMotion = None,
484
+ ):
485
+ self.equipment = equipment
486
+ self.head_motion = head_motion
487
+ self.invalid_frame_motion = invalid_frame_motion
488
+ self.people_count = people_count
489
+ self.still_frame_motion = still_frame_motion
490
+
491
+ def validate(self):
492
+ if self.equipment:
493
+ self.equipment.validate()
494
+ if self.head_motion:
495
+ self.head_motion.validate()
496
+ if self.invalid_frame_motion:
497
+ self.invalid_frame_motion.validate()
498
+ if self.people_count:
499
+ self.people_count.validate()
500
+ if self.still_frame_motion:
501
+ self.still_frame_motion.validate()
502
+
503
+ def to_map(self):
504
+ _map = super().to_map()
505
+ if _map is not None:
506
+ return _map
507
+
508
+ result = dict()
509
+ if self.equipment is not None:
510
+ result['Equipment'] = self.equipment.to_map()
511
+ if self.head_motion is not None:
512
+ result['HeadMotion'] = self.head_motion.to_map()
513
+ if self.invalid_frame_motion is not None:
514
+ result['InvalidFrameMotion'] = self.invalid_frame_motion.to_map()
515
+ if self.people_count is not None:
516
+ result['PeopleCount'] = self.people_count.to_map()
517
+ if self.still_frame_motion is not None:
518
+ result['StillFrameMotion'] = self.still_frame_motion.to_map()
519
+ return result
520
+
521
+ def from_map(self, m: dict = None):
522
+ m = m or dict()
523
+ if m.get('Equipment') is not None:
524
+ temp_model = AIAgentConfigVcrConfigEquipment()
525
+ self.equipment = temp_model.from_map(m['Equipment'])
526
+ if m.get('HeadMotion') is not None:
527
+ temp_model = AIAgentConfigVcrConfigHeadMotion()
528
+ self.head_motion = temp_model.from_map(m['HeadMotion'])
529
+ if m.get('InvalidFrameMotion') is not None:
530
+ temp_model = AIAgentConfigVcrConfigInvalidFrameMotion()
531
+ self.invalid_frame_motion = temp_model.from_map(m['InvalidFrameMotion'])
532
+ if m.get('PeopleCount') is not None:
533
+ temp_model = AIAgentConfigVcrConfigPeopleCount()
534
+ self.people_count = temp_model.from_map(m['PeopleCount'])
535
+ if m.get('StillFrameMotion') is not None:
536
+ temp_model = AIAgentConfigVcrConfigStillFrameMotion()
537
+ self.still_frame_motion = temp_model.from_map(m['StillFrameMotion'])
538
+ return self
539
+
540
+
258
541
  class AIAgentConfigVoiceprintConfig(TeaModel):
259
542
  def __init__(
260
543
  self,
@@ -307,6 +590,7 @@ class AIAgentConfig(TeaModel):
307
590
  turn_detection_config: AIAgentConfigTurnDetectionConfig = None,
308
591
  user_offline_timeout: int = None,
309
592
  user_online_timeout: int = None,
593
+ vcr_config: AIAgentConfigVcrConfig = None,
310
594
  voiceprint_config: AIAgentConfigVoiceprintConfig = None,
311
595
  volume: int = None,
312
596
  wake_up_query: str = None,
@@ -328,6 +612,7 @@ class AIAgentConfig(TeaModel):
328
612
  self.turn_detection_config = turn_detection_config
329
613
  self.user_offline_timeout = user_offline_timeout
330
614
  self.user_online_timeout = user_online_timeout
615
+ self.vcr_config = vcr_config
331
616
  self.voiceprint_config = voiceprint_config
332
617
  self.volume = volume
333
618
  self.wake_up_query = wake_up_query
@@ -346,6 +631,8 @@ class AIAgentConfig(TeaModel):
346
631
  self.tts_config.validate()
347
632
  if self.turn_detection_config:
348
633
  self.turn_detection_config.validate()
634
+ if self.vcr_config:
635
+ self.vcr_config.validate()
349
636
  if self.voiceprint_config:
350
637
  self.voiceprint_config.validate()
351
638
 
@@ -387,6 +674,8 @@ class AIAgentConfig(TeaModel):
387
674
  result['UserOfflineTimeout'] = self.user_offline_timeout
388
675
  if self.user_online_timeout is not None:
389
676
  result['UserOnlineTimeout'] = self.user_online_timeout
677
+ if self.vcr_config is not None:
678
+ result['VcrConfig'] = self.vcr_config.to_map()
390
679
  if self.voiceprint_config is not None:
391
680
  result['VoiceprintConfig'] = self.voiceprint_config.to_map()
392
681
  if self.volume is not None:
@@ -437,6 +726,9 @@ class AIAgentConfig(TeaModel):
437
726
  self.user_offline_timeout = m.get('UserOfflineTimeout')
438
727
  if m.get('UserOnlineTimeout') is not None:
439
728
  self.user_online_timeout = m.get('UserOnlineTimeout')
729
+ if m.get('VcrConfig') is not None:
730
+ temp_model = AIAgentConfigVcrConfig()
731
+ self.vcr_config = temp_model.from_map(m['VcrConfig'])
440
732
  if m.get('VoiceprintConfig') is not None:
441
733
  temp_model = AIAgentConfigVoiceprintConfig()
442
734
  self.voiceprint_config = temp_model.from_map(m['VoiceprintConfig'])
@@ -455,11 +747,13 @@ class AIAgentOutboundCallConfigAsrConfig(TeaModel):
455
747
  asr_hot_words: List[str] = None,
456
748
  asr_language_id: str = None,
457
749
  asr_max_silence: int = None,
750
+ custom_params: str = None,
458
751
  vad_level: int = None,
459
752
  ):
460
753
  self.asr_hot_words = asr_hot_words
461
754
  self.asr_language_id = asr_language_id
462
755
  self.asr_max_silence = asr_max_silence
756
+ self.custom_params = custom_params
463
757
  self.vad_level = vad_level
464
758
 
465
759
  def validate(self):
@@ -477,6 +771,8 @@ class AIAgentOutboundCallConfigAsrConfig(TeaModel):
477
771
  result['AsrLanguageId'] = self.asr_language_id
478
772
  if self.asr_max_silence is not None:
479
773
  result['AsrMaxSilence'] = self.asr_max_silence
774
+ if self.custom_params is not None:
775
+ result['CustomParams'] = self.custom_params
480
776
  if self.vad_level is not None:
481
777
  result['VadLevel'] = self.vad_level
482
778
  return result
@@ -489,6 +785,8 @@ class AIAgentOutboundCallConfigAsrConfig(TeaModel):
489
785
  self.asr_language_id = m.get('AsrLanguageId')
490
786
  if m.get('AsrMaxSilence') is not None:
491
787
  self.asr_max_silence = m.get('AsrMaxSilence')
788
+ if m.get('CustomParams') is not None:
789
+ self.custom_params = m.get('CustomParams')
492
790
  if m.get('VadLevel') is not None:
493
791
  self.vad_level = m.get('VadLevel')
494
792
  return self
@@ -613,17 +911,61 @@ class AIAgentOutboundCallConfigLlmConfig(TeaModel):
613
911
  return self
614
912
 
615
913
 
914
+ class AIAgentOutboundCallConfigTtsConfigPronunciationRules(TeaModel):
915
+ def __init__(
916
+ self,
917
+ pronunciation: str = None,
918
+ type: str = None,
919
+ word: str = None,
920
+ ):
921
+ self.pronunciation = pronunciation
922
+ self.type = type
923
+ self.word = word
924
+
925
+ def validate(self):
926
+ pass
927
+
928
+ def to_map(self):
929
+ _map = super().to_map()
930
+ if _map is not None:
931
+ return _map
932
+
933
+ result = dict()
934
+ if self.pronunciation is not None:
935
+ result['Pronunciation'] = self.pronunciation
936
+ if self.type is not None:
937
+ result['Type'] = self.type
938
+ if self.word is not None:
939
+ result['Word'] = self.word
940
+ return result
941
+
942
+ def from_map(self, m: dict = None):
943
+ m = m or dict()
944
+ if m.get('Pronunciation') is not None:
945
+ self.pronunciation = m.get('Pronunciation')
946
+ if m.get('Type') is not None:
947
+ self.type = m.get('Type')
948
+ if m.get('Word') is not None:
949
+ self.word = m.get('Word')
950
+ return self
951
+
952
+
616
953
  class AIAgentOutboundCallConfigTtsConfig(TeaModel):
617
954
  def __init__(
618
955
  self,
956
+ pronunciation_rules: List[AIAgentOutboundCallConfigTtsConfigPronunciationRules] = None,
619
957
  voice_id: str = None,
620
958
  voice_id_list: List[str] = None,
621
959
  ):
960
+ self.pronunciation_rules = pronunciation_rules
622
961
  self.voice_id = voice_id
623
962
  self.voice_id_list = voice_id_list
624
963
 
625
964
  def validate(self):
626
- pass
965
+ if self.pronunciation_rules:
966
+ for k in self.pronunciation_rules:
967
+ if k:
968
+ k.validate()
627
969
 
628
970
  def to_map(self):
629
971
  _map = super().to_map()
@@ -631,6 +973,10 @@ class AIAgentOutboundCallConfigTtsConfig(TeaModel):
631
973
  return _map
632
974
 
633
975
  result = dict()
976
+ result['PronunciationRules'] = []
977
+ if self.pronunciation_rules is not None:
978
+ for k in self.pronunciation_rules:
979
+ result['PronunciationRules'].append(k.to_map() if k else None)
634
980
  if self.voice_id is not None:
635
981
  result['VoiceId'] = self.voice_id
636
982
  if self.voice_id_list is not None:
@@ -639,6 +985,11 @@ class AIAgentOutboundCallConfigTtsConfig(TeaModel):
639
985
 
640
986
  def from_map(self, m: dict = None):
641
987
  m = m or dict()
988
+ self.pronunciation_rules = []
989
+ if m.get('PronunciationRules') is not None:
990
+ for k in m.get('PronunciationRules'):
991
+ temp_model = AIAgentOutboundCallConfigTtsConfigPronunciationRules()
992
+ self.pronunciation_rules.append(temp_model.from_map(k))
642
993
  if m.get('VoiceId') is not None:
643
994
  self.voice_id = m.get('VoiceId')
644
995
  if m.get('VoiceIdList') is not None:
@@ -649,8 +1000,12 @@ class AIAgentOutboundCallConfigTtsConfig(TeaModel):
649
1000
  class AIAgentOutboundCallConfigTurnDetectionConfig(TeaModel):
650
1001
  def __init__(
651
1002
  self,
1003
+ mode: str = None,
1004
+ semantic_wait_duration: int = None,
652
1005
  turn_end_words: List[str] = None,
653
1006
  ):
1007
+ self.mode = mode
1008
+ self.semantic_wait_duration = semantic_wait_duration
654
1009
  self.turn_end_words = turn_end_words
655
1010
 
656
1011
  def validate(self):
@@ -662,12 +1017,20 @@ class AIAgentOutboundCallConfigTurnDetectionConfig(TeaModel):
662
1017
  return _map
663
1018
 
664
1019
  result = dict()
1020
+ if self.mode is not None:
1021
+ result['Mode'] = self.mode
1022
+ if self.semantic_wait_duration is not None:
1023
+ result['SemanticWaitDuration'] = self.semantic_wait_duration
665
1024
  if self.turn_end_words is not None:
666
1025
  result['TurnEndWords'] = self.turn_end_words
667
1026
  return result
668
1027
 
669
1028
  def from_map(self, m: dict = None):
670
1029
  m = m or dict()
1030
+ if m.get('Mode') is not None:
1031
+ self.mode = m.get('Mode')
1032
+ if m.get('SemanticWaitDuration') is not None:
1033
+ self.semantic_wait_duration = m.get('SemanticWaitDuration')
671
1034
  if m.get('TurnEndWords') is not None:
672
1035
  self.turn_end_words = m.get('TurnEndWords')
673
1036
  return self
@@ -679,6 +1042,7 @@ class AIAgentOutboundCallConfig(TeaModel):
679
1042
  asr_config: AIAgentOutboundCallConfigAsrConfig = None,
680
1043
  enable_intelligent_segment: bool = None,
681
1044
  greeting: str = None,
1045
+ greeting_delay: int = None,
682
1046
  interrupt_config: AIAgentOutboundCallConfigInterruptConfig = None,
683
1047
  llm_config: AIAgentOutboundCallConfigLlmConfig = None,
684
1048
  tts_config: AIAgentOutboundCallConfigTtsConfig = None,
@@ -687,6 +1051,7 @@ class AIAgentOutboundCallConfig(TeaModel):
687
1051
  self.asr_config = asr_config
688
1052
  self.enable_intelligent_segment = enable_intelligent_segment
689
1053
  self.greeting = greeting
1054
+ self.greeting_delay = greeting_delay
690
1055
  self.interrupt_config = interrupt_config
691
1056
  self.llm_config = llm_config
692
1057
  self.tts_config = tts_config
@@ -716,6 +1081,8 @@ class AIAgentOutboundCallConfig(TeaModel):
716
1081
  result['EnableIntelligentSegment'] = self.enable_intelligent_segment
717
1082
  if self.greeting is not None:
718
1083
  result['Greeting'] = self.greeting
1084
+ if self.greeting_delay is not None:
1085
+ result['GreetingDelay'] = self.greeting_delay
719
1086
  if self.interrupt_config is not None:
720
1087
  result['InterruptConfig'] = self.interrupt_config.to_map()
721
1088
  if self.llm_config is not None:
@@ -735,6 +1102,8 @@ class AIAgentOutboundCallConfig(TeaModel):
735
1102
  self.enable_intelligent_segment = m.get('EnableIntelligentSegment')
736
1103
  if m.get('Greeting') is not None:
737
1104
  self.greeting = m.get('Greeting')
1105
+ if m.get('GreetingDelay') is not None:
1106
+ self.greeting_delay = m.get('GreetingDelay')
738
1107
  if m.get('InterruptConfig') is not None:
739
1108
  temp_model = AIAgentOutboundCallConfigInterruptConfig()
740
1109
  self.interrupt_config = temp_model.from_map(m['InterruptConfig'])
@@ -7882,6 +8251,7 @@ class BatchGetMediaInfosRequest(TeaModel):
7882
8251
  def __init__(
7883
8252
  self,
7884
8253
  addition_type: str = None,
8254
+ auth_timeout: int = None,
7885
8255
  media_ids: str = None,
7886
8256
  ):
7887
8257
  # The additional information that you want to query about the media assets. By default, only BasicInfo is returned. The following additional information can be queried:
@@ -7890,6 +8260,7 @@ class BatchGetMediaInfosRequest(TeaModel):
7890
8260
  #
7891
8261
  # \\- DynamicMetaData
7892
8262
  self.addition_type = addition_type
8263
+ self.auth_timeout = auth_timeout
7893
8264
  # The IDs of the media assets that you want to query. Separate the IDs with commas (,).
7894
8265
  self.media_ids = media_ids
7895
8266
 
@@ -7904,6 +8275,8 @@ class BatchGetMediaInfosRequest(TeaModel):
7904
8275
  result = dict()
7905
8276
  if self.addition_type is not None:
7906
8277
  result['AdditionType'] = self.addition_type
8278
+ if self.auth_timeout is not None:
8279
+ result['AuthTimeout'] = self.auth_timeout
7907
8280
  if self.media_ids is not None:
7908
8281
  result['MediaIds'] = self.media_ids
7909
8282
  return result
@@ -7912,6 +8285,8 @@ class BatchGetMediaInfosRequest(TeaModel):
7912
8285
  m = m or dict()
7913
8286
  if m.get('AdditionType') is not None:
7914
8287
  self.addition_type = m.get('AdditionType')
8288
+ if m.get('AuthTimeout') is not None:
8289
+ self.auth_timeout = m.get('AuthTimeout')
7915
8290
  if m.get('MediaIds') is not None:
7916
8291
  self.media_ids = m.get('MediaIds')
7917
8292
  return self
@@ -12834,7 +13209,12 @@ class CreateMediaLiveChannelRequestVideoSettings(TeaModel):
12834
13209
  video_codec_type: str = None,
12835
13210
  width: int = None,
12836
13211
  ):
12837
- # The height of the output. Valid values: 0 to 2000. If you set it to 0 or leave it empty, the height automatically adapts to the specified width to maintain the original aspect ratio.
13212
+ # The height of the output. If you set it to 0 or leave it empty, the height automatically adapts to the specified width to maintain the original aspect ratio.
13213
+ #
13214
+ # Valid values:
13215
+ #
13216
+ # * For regular transcoding, the larger dimension cannot exceed 3840 px, and the smaller one cannot exceed 2160 px.
13217
+ # * For Narrowband HD™ transcoding, the larger dimension cannot exceed 1920 px, and the smaller one cannot exceed 1080 px.
12838
13218
  self.height = height
12839
13219
  # The name of the video settings. Letters, digits, hyphens (-), and underscores (_) are supported. It can be up to 64 characters in length.
12840
13220
  #
@@ -12844,8 +13224,19 @@ class CreateMediaLiveChannelRequestVideoSettings(TeaModel):
12844
13224
  self.video_codec = video_codec
12845
13225
  # The video encoding settings.
12846
13226
  self.video_codec_setting = video_codec_setting
13227
+ # The video transcoding method. Valid values:
13228
+ #
13229
+ # * NORMAL: regular transcoding
13230
+ # * NBHD: Narrowband HD™ transcoding
13231
+ #
13232
+ # If not specified, regular transcoding is used by default.
12847
13233
  self.video_codec_type = video_codec_type
12848
- # The width of the output. Valid values: 0 to 2000. If you set it to 0 or leave it empty, the width automatically adapts to the specified height to maintain the original aspect ratio.
13234
+ # The width of the output. If you set it to 0 or leave it empty, the width automatically adapts to the specified height to maintain the original aspect ratio.
13235
+ #
13236
+ # Valid values:
13237
+ #
13238
+ # * For regular transcoding, the larger dimension cannot exceed 3840 px, and the smaller one cannot exceed 2160 px.
13239
+ # * For Narrowband HD™ transcoding, the larger dimension cannot exceed 1920 px, and the smaller one cannot exceed 1080 px.
12849
13240
  self.width = width
12850
13241
 
12851
13242
  def validate(self):
@@ -13133,9 +13524,11 @@ class CreateMediaLiveInputRequestInputSettings(TeaModel):
13133
13524
  source_url: str = None,
13134
13525
  stream_name: str = None,
13135
13526
  ):
13527
+ # The ID of the flow from MediaConnect. This parameter is required when Type is set to MEDIA_CONNECT.
13136
13528
  self.flow_id = flow_id
13529
+ # The output name of the MediaConnect flow. This parameter is required when Type is set to MEDIA_CONNECT.
13137
13530
  self.flow_output_name = flow_output_name
13138
- # The source URL where the stream is pulled from. This parameter is required for PULL inputs.
13531
+ # The source URL from which the stream is pulled. This parameter is required for PULL inputs.
13139
13532
  self.source_url = source_url
13140
13533
  # The name of the pushed stream. This parameter is required for PUSH inputs. It can be up to 255 characters in length.
13141
13534
  self.stream_name = stream_name
@@ -13190,7 +13583,7 @@ class CreateMediaLiveInputRequest(TeaModel):
13190
13583
  self.name = name
13191
13584
  # The IDs of the security groups to be associated with the input. This parameter is required for PUSH inputs.
13192
13585
  self.security_group_ids = security_group_ids
13193
- # The input type. Valid values: RTMP_PUSH, RTMP_PULL, SRT_PUSH, and SRT_PULL.
13586
+ # The input type. Valid values: RTMP_PUSH, RTMP_PULL, SRT_PUSH, SRT_PULL, and MEDIA_CONNECT.
13194
13587
  #
13195
13588
  # This parameter is required.
13196
13589
  self.type = type
@@ -13253,7 +13646,7 @@ class CreateMediaLiveInputShrinkRequest(TeaModel):
13253
13646
  self.name = name
13254
13647
  # The IDs of the security groups to be associated with the input. This parameter is required for PUSH inputs.
13255
13648
  self.security_group_ids_shrink = security_group_ids_shrink
13256
- # The input type. Valid values: RTMP_PUSH, RTMP_PULL, SRT_PUSH, and SRT_PULL.
13649
+ # The input type. Valid values: RTMP_PUSH, RTMP_PULL, SRT_PUSH, SRT_PULL, and MEDIA_CONNECT.
13257
13650
  #
13258
13651
  # This parameter is required.
13259
13652
  self.type = type
@@ -31907,11 +32300,13 @@ class GetMediaConvertJobResponse(TeaModel):
31907
32300
  class GetMediaInfoRequest(TeaModel):
31908
32301
  def __init__(
31909
32302
  self,
32303
+ auth_timeout: int = None,
31910
32304
  input_url: str = None,
31911
32305
  media_id: str = None,
31912
32306
  output_type: str = None,
31913
32307
  return_detailed_info: str = None,
31914
32308
  ):
32309
+ self.auth_timeout = auth_timeout
31915
32310
  # The input URL of the media asset in another service. The URL must be registered in the IMS content library and bound to the ID of the media asset in IMS.
31916
32311
  #
31917
32312
  # * For a media asset from Object Storage Service (OSS), the URL may have one of the following formats:
@@ -31942,6 +32337,8 @@ class GetMediaInfoRequest(TeaModel):
31942
32337
  return _map
31943
32338
 
31944
32339
  result = dict()
32340
+ if self.auth_timeout is not None:
32341
+ result['AuthTimeout'] = self.auth_timeout
31945
32342
  if self.input_url is not None:
31946
32343
  result['InputURL'] = self.input_url
31947
32344
  if self.media_id is not None:
@@ -31954,6 +32351,8 @@ class GetMediaInfoRequest(TeaModel):
31954
32351
 
31955
32352
  def from_map(self, m: dict = None):
31956
32353
  m = m or dict()
32354
+ if m.get('AuthTimeout') is not None:
32355
+ self.auth_timeout = m.get('AuthTimeout')
31957
32356
  if m.get('InputURL') is not None:
31958
32357
  self.input_url = m.get('InputURL')
31959
32358
  if m.get('MediaId') is not None:
@@ -34944,7 +35343,9 @@ class GetMediaLiveInputResponseBodyInputInputInfos(TeaModel):
34944
35343
  ):
34945
35344
  # The endpoint that the stream is pushed to. This parameter is returned for PUSH inputs.
34946
35345
  self.dest_host = dest_host
35346
+ # The ID of the flow from MediaConnect.
34947
35347
  self.flow_id = flow_id
35348
+ # The output name of the MediaConnect flow.
34948
35349
  self.flow_output_name = flow_output_name
34949
35350
  # The URL for input monitoring.
34950
35351
  self.monitor_url = monitor_url
@@ -36267,9 +36668,11 @@ class GetPipelineResponse(TeaModel):
36267
36668
  class GetPlayInfoRequest(TeaModel):
36268
36669
  def __init__(
36269
36670
  self,
36671
+ auth_timeout: int = None,
36270
36672
  input_url: str = None,
36271
36673
  media_id: str = None,
36272
36674
  ):
36675
+ self.auth_timeout = auth_timeout
36273
36676
  # The input URL that you specified for the media asset when you registered the media asset. For more information, see [RegisterMediaInfo](https://help.aliyun.com/document_detail/441152.html).
36274
36677
  #
36275
36678
  # > You must specify at least one of the MediaId and InputURL parameters.
@@ -36288,6 +36691,8 @@ class GetPlayInfoRequest(TeaModel):
36288
36691
  return _map
36289
36692
 
36290
36693
  result = dict()
36694
+ if self.auth_timeout is not None:
36695
+ result['AuthTimeout'] = self.auth_timeout
36291
36696
  if self.input_url is not None:
36292
36697
  result['InputURL'] = self.input_url
36293
36698
  if self.media_id is not None:
@@ -36296,6 +36701,8 @@ class GetPlayInfoRequest(TeaModel):
36296
36701
 
36297
36702
  def from_map(self, m: dict = None):
36298
36703
  m = m or dict()
36704
+ if m.get('AuthTimeout') is not None:
36705
+ self.auth_timeout = m.get('AuthTimeout')
36299
36706
  if m.get('InputURL') is not None:
36300
36707
  self.input_url = m.get('InputURL')
36301
36708
  if m.get('MediaId') is not None:
@@ -36875,8 +37282,10 @@ class GetProjectExportJobRequest(TeaModel):
36875
37282
  class GetProjectExportJobResponseBodyProjectExportJobExportResult(TeaModel):
36876
37283
  def __init__(
36877
37284
  self,
37285
+ project_url: str = None,
36878
37286
  timeline: str = None,
36879
37287
  ):
37288
+ self.project_url = project_url
36880
37289
  self.timeline = timeline
36881
37290
 
36882
37291
  def validate(self):
@@ -36888,12 +37297,16 @@ class GetProjectExportJobResponseBodyProjectExportJobExportResult(TeaModel):
36888
37297
  return _map
36889
37298
 
36890
37299
  result = dict()
37300
+ if self.project_url is not None:
37301
+ result['ProjectUrl'] = self.project_url
36891
37302
  if self.timeline is not None:
36892
37303
  result['Timeline'] = self.timeline
36893
37304
  return result
36894
37305
 
36895
37306
  def from_map(self, m: dict = None):
36896
37307
  m = m or dict()
37308
+ if m.get('ProjectUrl') is not None:
37309
+ self.project_url = m.get('ProjectUrl')
36897
37310
  if m.get('Timeline') is not None:
36898
37311
  self.timeline = m.get('Timeline')
36899
37312
  return self
@@ -45787,11 +46200,15 @@ class ListAIAgentInstanceResponse(TeaModel):
45787
46200
  class ListAIAgentPhoneNumberRequest(TeaModel):
45788
46201
  def __init__(
45789
46202
  self,
46203
+ number: str = None,
45790
46204
  page_number: int = None,
45791
46205
  page_size: int = None,
46206
+ status: int = None,
45792
46207
  ):
46208
+ self.number = number
45793
46209
  self.page_number = page_number
45794
46210
  self.page_size = page_size
46211
+ self.status = status
45795
46212
 
45796
46213
  def validate(self):
45797
46214
  pass
@@ -45802,18 +46219,26 @@ class ListAIAgentPhoneNumberRequest(TeaModel):
45802
46219
  return _map
45803
46220
 
45804
46221
  result = dict()
46222
+ if self.number is not None:
46223
+ result['Number'] = self.number
45805
46224
  if self.page_number is not None:
45806
46225
  result['PageNumber'] = self.page_number
45807
46226
  if self.page_size is not None:
45808
46227
  result['PageSize'] = self.page_size
46228
+ if self.status is not None:
46229
+ result['Status'] = self.status
45809
46230
  return result
45810
46231
 
45811
46232
  def from_map(self, m: dict = None):
45812
46233
  m = m or dict()
46234
+ if m.get('Number') is not None:
46235
+ self.number = m.get('Number')
45813
46236
  if m.get('PageNumber') is not None:
45814
46237
  self.page_number = m.get('PageNumber')
45815
46238
  if m.get('PageSize') is not None:
45816
46239
  self.page_size = m.get('PageSize')
46240
+ if m.get('Status') is not None:
46241
+ self.status = m.get('Status')
45817
46242
  return self
45818
46243
 
45819
46244
 
@@ -53766,6 +54191,7 @@ class ListLiveTranscodeTemplatesResponse(TeaModel):
53766
54191
  class ListMediaBasicInfosRequest(TeaModel):
53767
54192
  def __init__(
53768
54193
  self,
54194
+ auth_timeout: int = None,
53769
54195
  business_type: str = None,
53770
54196
  end_time: str = None,
53771
54197
  include_file_basic_info: bool = None,
@@ -53778,6 +54204,7 @@ class ListMediaBasicInfosRequest(TeaModel):
53778
54204
  start_time: str = None,
53779
54205
  status: str = None,
53780
54206
  ):
54207
+ self.auth_timeout = auth_timeout
53781
54208
  # The business type of the media asset. Valid values:
53782
54209
  #
53783
54210
  # \\- subtitles
@@ -53858,6 +54285,8 @@ class ListMediaBasicInfosRequest(TeaModel):
53858
54285
  return _map
53859
54286
 
53860
54287
  result = dict()
54288
+ if self.auth_timeout is not None:
54289
+ result['AuthTimeout'] = self.auth_timeout
53861
54290
  if self.business_type is not None:
53862
54291
  result['BusinessType'] = self.business_type
53863
54292
  if self.end_time is not None:
@@ -53884,6 +54313,8 @@ class ListMediaBasicInfosRequest(TeaModel):
53884
54313
 
53885
54314
  def from_map(self, m: dict = None):
53886
54315
  m = m or dict()
54316
+ if m.get('AuthTimeout') is not None:
54317
+ self.auth_timeout = m.get('AuthTimeout')
53887
54318
  if m.get('BusinessType') is not None:
53888
54319
  self.business_type = m.get('BusinessType')
53889
54320
  if m.get('EndTime') is not None:
@@ -56789,7 +57220,9 @@ class ListMediaLiveInputsResponseBodyInputsInputInfos(TeaModel):
56789
57220
  ):
56790
57221
  # The endpoint that the stream is pushed to. This parameter is returned for PUSH inputs.
56791
57222
  self.dest_host = dest_host
57223
+ # The ID of the flow from MediaConnect.
56792
57224
  self.flow_id = flow_id
57225
+ # The output name of the MediaConnect flow.
56793
57226
  self.flow_output_name = flow_output_name
56794
57227
  # The URL for input monitoring.
56795
57228
  self.monitor_url = monitor_url
@@ -75575,6 +76008,7 @@ class StartAIAgentOutboundCallRequest(TeaModel):
75575
76008
  called_number: str = None,
75576
76009
  caller_number: str = None,
75577
76010
  config: AIAgentOutboundCallConfig = None,
76011
+ ims_aiagent_free_ob_call: str = None,
75578
76012
  session_id: str = None,
75579
76013
  user_data: str = None,
75580
76014
  ):
@@ -75585,6 +76019,7 @@ class StartAIAgentOutboundCallRequest(TeaModel):
75585
76019
  # This parameter is required.
75586
76020
  self.caller_number = caller_number
75587
76021
  self.config = config
76022
+ self.ims_aiagent_free_ob_call = ims_aiagent_free_ob_call
75588
76023
  self.session_id = session_id
75589
76024
  self.user_data = user_data
75590
76025
 
@@ -75606,6 +76041,8 @@ class StartAIAgentOutboundCallRequest(TeaModel):
75606
76041
  result['CallerNumber'] = self.caller_number
75607
76042
  if self.config is not None:
75608
76043
  result['Config'] = self.config.to_map()
76044
+ if self.ims_aiagent_free_ob_call is not None:
76045
+ result['ImsAIAgentFreeObCall'] = self.ims_aiagent_free_ob_call
75609
76046
  if self.session_id is not None:
75610
76047
  result['SessionId'] = self.session_id
75611
76048
  if self.user_data is not None:
@@ -75623,6 +76060,8 @@ class StartAIAgentOutboundCallRequest(TeaModel):
75623
76060
  if m.get('Config') is not None:
75624
76061
  temp_model = AIAgentOutboundCallConfig()
75625
76062
  self.config = temp_model.from_map(m['Config'])
76063
+ if m.get('ImsAIAgentFreeObCall') is not None:
76064
+ self.ims_aiagent_free_ob_call = m.get('ImsAIAgentFreeObCall')
75626
76065
  if m.get('SessionId') is not None:
75627
76066
  self.session_id = m.get('SessionId')
75628
76067
  if m.get('UserData') is not None:
@@ -75637,6 +76076,7 @@ class StartAIAgentOutboundCallShrinkRequest(TeaModel):
75637
76076
  called_number: str = None,
75638
76077
  caller_number: str = None,
75639
76078
  config_shrink: str = None,
76079
+ ims_aiagent_free_ob_call: str = None,
75640
76080
  session_id: str = None,
75641
76081
  user_data: str = None,
75642
76082
  ):
@@ -75647,6 +76087,7 @@ class StartAIAgentOutboundCallShrinkRequest(TeaModel):
75647
76087
  # This parameter is required.
75648
76088
  self.caller_number = caller_number
75649
76089
  self.config_shrink = config_shrink
76090
+ self.ims_aiagent_free_ob_call = ims_aiagent_free_ob_call
75650
76091
  self.session_id = session_id
75651
76092
  self.user_data = user_data
75652
76093
 
@@ -75667,6 +76108,8 @@ class StartAIAgentOutboundCallShrinkRequest(TeaModel):
75667
76108
  result['CallerNumber'] = self.caller_number
75668
76109
  if self.config_shrink is not None:
75669
76110
  result['Config'] = self.config_shrink
76111
+ if self.ims_aiagent_free_ob_call is not None:
76112
+ result['ImsAIAgentFreeObCall'] = self.ims_aiagent_free_ob_call
75670
76113
  if self.session_id is not None:
75671
76114
  result['SessionId'] = self.session_id
75672
76115
  if self.user_data is not None:
@@ -75683,6 +76126,8 @@ class StartAIAgentOutboundCallShrinkRequest(TeaModel):
75683
76126
  self.caller_number = m.get('CallerNumber')
75684
76127
  if m.get('Config') is not None:
75685
76128
  self.config_shrink = m.get('Config')
76129
+ if m.get('ImsAIAgentFreeObCall') is not None:
76130
+ self.ims_aiagent_free_ob_call = m.get('ImsAIAgentFreeObCall')
75686
76131
  if m.get('SessionId') is not None:
75687
76132
  self.session_id = m.get('SessionId')
75688
76133
  if m.get('UserData') is not None:
@@ -79667,9 +80112,13 @@ class SubmitHighlightExtractionJobRequest(TeaModel):
79667
80112
  output_config: str = None,
79668
80113
  user_data: str = None,
79669
80114
  ):
80115
+ # The client token used to ensure the idempotency of the request.
79670
80116
  self.client_token = client_token
80117
+ # The input configuration.
79671
80118
  self.input_config = input_config
80119
+ # The output configuration.
79672
80120
  self.output_config = output_config
80121
+ # The user-defined data, including the business and callback configurations. For more information, see [UserData](~~357745#section-urj-v3f-0s1~~).
79673
80122
  self.user_data = user_data
79674
80123
 
79675
80124
  def validate(self):
@@ -79710,8 +80159,9 @@ class SubmitHighlightExtractionJobResponseBody(TeaModel):
79710
80159
  job_id: str = None,
79711
80160
  request_id: str = None,
79712
80161
  ):
80162
+ # The ID of the highlight extraction task.
79713
80163
  self.job_id = job_id
79714
- # Id of the request
80164
+ # The ID of the request.
79715
80165
  self.request_id = request_id
79716
80166
 
79717
80167
  def validate(self):
@@ -83811,9 +84261,13 @@ class SubmitScreenMediaHighlightsJobRequest(TeaModel):
83811
84261
  output_config: str = None,
83812
84262
  user_data: str = None,
83813
84263
  ):
84264
+ # The editing configuration. For detailed parameters, see [EditingConfig](~~2863940#9b05519d46e0x~~).
83814
84265
  self.editing_config = editing_config
84266
+ # The input configuration. For detailed parameters, see [InputConfig](~~2863940#dda38bf6ec2pk~~).
83815
84267
  self.input_config = input_config
84268
+ # The output configuration. For detailed parameters, see [OutputConfig](~~2863940#4111a373d0xbz~~).
83816
84269
  self.output_config = output_config
84270
+ # The user-defined data, including the business and callback configurations. For more information, see [UserData](https://help.aliyun.com/document_detail/357745.html).
83817
84271
  self.user_data = user_data
83818
84272
 
83819
84273
  def validate(self):
@@ -83854,7 +84308,9 @@ class SubmitScreenMediaHighlightsJobResponseBody(TeaModel):
83854
84308
  job_id: str = None,
83855
84309
  request_id: str = None,
83856
84310
  ):
84311
+ # The ID of the task.
83857
84312
  self.job_id = job_id
84313
+ # The request ID.
83858
84314
  self.request_id = request_id
83859
84315
 
83860
84316
  def validate(self):
@@ -98176,7 +98632,12 @@ class UpdateMediaLiveChannelRequestVideoSettings(TeaModel):
98176
98632
  video_codec_type: str = None,
98177
98633
  width: int = None,
98178
98634
  ):
98179
- # The height of the output. Valid values: 0 to 2000. If you set it to 0 or leave it empty, the height automatically adapts to the specified width to maintain the original aspect ratio.
98635
+ # The height of the output. If you set it to 0 or leave it empty, the height automatically adapts to the specified width to maintain the original aspect ratio.
98636
+ #
98637
+ # Valid values:
98638
+ #
98639
+ # * For regular transcoding, the larger dimension cannot exceed 3840 px, and the smaller one cannot exceed 2160 px.
98640
+ # * For Narrowband HD™ transcoding, the larger dimension cannot exceed 1920 px, and the smaller one cannot exceed 1080 px.
98180
98641
  self.height = height
98181
98642
  # The name of the video settings. Letters, digits, hyphens (-), and underscores (_) are supported. It can be up to 64 characters in length.
98182
98643
  #
@@ -98186,8 +98647,19 @@ class UpdateMediaLiveChannelRequestVideoSettings(TeaModel):
98186
98647
  self.video_codec = video_codec
98187
98648
  # The video encoding settings.
98188
98649
  self.video_codec_setting = video_codec_setting
98650
+ # The video transcoding method. Valid values:
98651
+ #
98652
+ # * NORMAL: regular transcoding
98653
+ # * NBHD: Narrowband HD™ transcoding
98654
+ #
98655
+ # If not specified, regular transcoding is used by default.
98189
98656
  self.video_codec_type = video_codec_type
98190
- # The width of the output. Valid values: 0 to 2000. If you set it to 0 or leave it empty, the width automatically adapts to the specified height to maintain the original aspect ratio.
98657
+ # The width of the output. If you set it to 0 or leave it empty, the width automatically adapts to the specified height to maintain the original aspect ratio.
98658
+ #
98659
+ # Valid values:
98660
+ #
98661
+ # * For regular transcoding, the larger dimension cannot exceed 3840 px, and the smaller one cannot exceed 2160 px.
98662
+ # * For Narrowband HD™ transcoding, the larger dimension cannot exceed 1920 px, and the smaller one cannot exceed 1080 px.
98191
98663
  self.width = width
98192
98664
 
98193
98665
  def validate(self):
@@ -98486,9 +98958,11 @@ class UpdateMediaLiveInputRequestInputSettings(TeaModel):
98486
98958
  source_url: str = None,
98487
98959
  stream_name: str = None,
98488
98960
  ):
98961
+ # The ID of the flow from MediaConnect. This parameter is required when Type is set to MEDIA_CONNECT.
98489
98962
  self.flow_id = flow_id
98963
+ # The output name of the MediaConnect flow. This parameter is required when Type is set to MEDIA_CONNECT.
98490
98964
  self.flow_output_name = flow_output_name
98491
- # The source URL where the stream is pulled from. This parameter is required for PULL inputs.
98965
+ # The source URL from which the stream is pulled. This parameter is required for PULL inputs.
98492
98966
  self.source_url = source_url
98493
98967
  # The name of the pushed stream. This parameter is required for PUSH inputs. It can be up to 255 characters in length.
98494
98968
  self.stream_name = stream_name
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-ice20201109
3
- Version: 6.4.0
3
+ Version: 6.4.2
4
4
  Summary: Alibaba Cloud ICE (20201109) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -0,0 +1,8 @@
1
+ alibabacloud_ice20201109/__init__.py,sha256=ahEAErDAS3b2ieWs1Jl2dFcvqD16wg5P3cpcVKSSIAE,21
2
+ alibabacloud_ice20201109/client.py,sha256=mPQWMd7DKhxR6u85H9Im3wq-5qF1BIV2YI7kdQRVuvY,1705291
3
+ alibabacloud_ice20201109/models.py,sha256=T13sRInNEGnFZyi93XPQHr4zLaVa3k8vK56TYfrFVlk,3496537
4
+ alibabacloud_ice20201109-6.4.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ alibabacloud_ice20201109-6.4.2.dist-info/METADATA,sha256=4hJjdFLFi4zY1lltaH2iwtFekyk9gTFqhsO_VXZKSUM,2312
6
+ alibabacloud_ice20201109-6.4.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
+ alibabacloud_ice20201109-6.4.2.dist-info/top_level.txt,sha256=Tdq86hkGJfaKKyNwqChNx5I788aFI6e_iTUmQOYYPK8,25
8
+ alibabacloud_ice20201109-6.4.2.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- alibabacloud_ice20201109/__init__.py,sha256=Hp0ORyPUhlvxbhctYMTLBXduJAGviOtG0XruLh38L3Q,21
2
- alibabacloud_ice20201109/client.py,sha256=9BHzQh-mpbmKHnVXK6cPsrkP4JOPaivHbNhPMOWeFXM,1703205
3
- alibabacloud_ice20201109/models.py,sha256=OOXT9TC02pGbznpiPU7b4CKQ5zR-1dNiZdRcZYXET64,3478460
4
- alibabacloud_ice20201109-6.4.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
- alibabacloud_ice20201109-6.4.0.dist-info/METADATA,sha256=9kbwwjJFrdS4-djzUGcZwuYveU2IQ9VxCBNVOW_uQ2c,2312
6
- alibabacloud_ice20201109-6.4.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
- alibabacloud_ice20201109-6.4.0.dist-info/top_level.txt,sha256=Tdq86hkGJfaKKyNwqChNx5I788aFI6e_iTUmQOYYPK8,25
8
- alibabacloud_ice20201109-6.4.0.dist-info/RECORD,,