alibabacloud-ice20201109 6.8.0__py3-none-any.whl → 6.8.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.8.0'
1
+ __version__ = '6.8.2'
@@ -24980,6 +24980,8 @@ class Client(OpenApiClient):
24980
24980
  query = {}
24981
24981
  if not UtilClient.is_unset(request.algorithm):
24982
24982
  query['Algorithm'] = request.algorithm
24983
+ if not UtilClient.is_unset(request.lib_id):
24984
+ query['LibId'] = request.lib_id
24983
24985
  if not UtilClient.is_unset(request.owner_account):
24984
24986
  query['OwnerAccount'] = request.owner_account
24985
24987
  if not UtilClient.is_unset(request.owner_id):
@@ -25030,6 +25032,8 @@ class Client(OpenApiClient):
25030
25032
  query = {}
25031
25033
  if not UtilClient.is_unset(request.algorithm):
25032
25034
  query['Algorithm'] = request.algorithm
25035
+ if not UtilClient.is_unset(request.lib_id):
25036
+ query['LibId'] = request.lib_id
25033
25037
  if not UtilClient.is_unset(request.owner_account):
25034
25038
  query['OwnerAccount'] = request.owner_account
25035
25039
  if not UtilClient.is_unset(request.owner_id):
@@ -25111,6 +25115,8 @@ class Client(OpenApiClient):
25111
25115
  query['Algorithm'] = request.algorithm
25112
25116
  if not UtilClient.is_unset(request.entity_id):
25113
25117
  query['EntityId'] = request.entity_id
25118
+ if not UtilClient.is_unset(request.entity_name):
25119
+ query['EntityName'] = request.entity_name
25114
25120
  if not UtilClient.is_unset(request.lib_id):
25115
25121
  query['LibId'] = request.lib_id
25116
25122
  if not UtilClient.is_unset(request.owner_account):
@@ -25162,6 +25168,8 @@ class Client(OpenApiClient):
25162
25168
  query['Algorithm'] = request.algorithm
25163
25169
  if not UtilClient.is_unset(request.entity_id):
25164
25170
  query['EntityId'] = request.entity_id
25171
+ if not UtilClient.is_unset(request.entity_name):
25172
+ query['EntityName'] = request.entity_name
25165
25173
  if not UtilClient.is_unset(request.lib_id):
25166
25174
  query['LibId'] = request.lib_id
25167
25175
  if not UtilClient.is_unset(request.owner_account):
@@ -36969,6 +36977,8 @@ class Client(OpenApiClient):
36969
36977
  query['Params'] = request.params
36970
36978
  if not UtilClient.is_unset(request.schedule_config_shrink):
36971
36979
  query['ScheduleConfig'] = request.schedule_config_shrink
36980
+ if not UtilClient.is_unset(request.template_config):
36981
+ query['TemplateConfig'] = request.template_config
36972
36982
  if not UtilClient.is_unset(request.template_id):
36973
36983
  query['TemplateId'] = request.template_id
36974
36984
  if not UtilClient.is_unset(request.title):
@@ -37030,6 +37040,8 @@ class Client(OpenApiClient):
37030
37040
  query['Params'] = request.params
37031
37041
  if not UtilClient.is_unset(request.schedule_config_shrink):
37032
37042
  query['ScheduleConfig'] = request.schedule_config_shrink
37043
+ if not UtilClient.is_unset(request.template_config):
37044
+ query['TemplateConfig'] = request.template_config
37033
37045
  if not UtilClient.is_unset(request.template_id):
37034
37046
  query['TemplateId'] = request.template_id
37035
37047
  if not UtilClient.is_unset(request.title):
@@ -38239,6 +38251,8 @@ class Client(OpenApiClient):
38239
38251
  query['Input'] = request.input_shrink
38240
38252
  if not UtilClient.is_unset(request.params):
38241
38253
  query['Params'] = request.params
38254
+ if not UtilClient.is_unset(request.template_config):
38255
+ query['TemplateConfig'] = request.template_config
38242
38256
  if not UtilClient.is_unset(request.template_id):
38243
38257
  query['TemplateId'] = request.template_id
38244
38258
  if not UtilClient.is_unset(request.title):
@@ -38286,6 +38300,8 @@ class Client(OpenApiClient):
38286
38300
  query['Input'] = request.input_shrink
38287
38301
  if not UtilClient.is_unset(request.params):
38288
38302
  query['Params'] = request.params
38303
+ if not UtilClient.is_unset(request.template_config):
38304
+ query['TemplateConfig'] = request.template_config
38289
38305
  if not UtilClient.is_unset(request.template_id):
38290
38306
  query['TemplateId'] = request.template_id
38291
38307
  if not UtilClient.is_unset(request.title):
@@ -63027,6 +63027,7 @@ class ListRecognitionLibsRequest(TeaModel):
63027
63027
  def __init__(
63028
63028
  self,
63029
63029
  algorithm: str = None,
63030
+ lib_id: str = None,
63030
63031
  owner_account: str = None,
63031
63032
  owner_id: int = None,
63032
63033
  page_number: int = None,
@@ -63044,6 +63045,7 @@ class ListRecognitionLibsRequest(TeaModel):
63044
63045
  #
63045
63046
  # This parameter is required.
63046
63047
  self.algorithm = algorithm
63048
+ self.lib_id = lib_id
63047
63049
  self.owner_account = owner_account
63048
63050
  self.owner_id = owner_id
63049
63051
  # The page number.
@@ -63068,6 +63070,8 @@ class ListRecognitionLibsRequest(TeaModel):
63068
63070
  result = dict()
63069
63071
  if self.algorithm is not None:
63070
63072
  result['Algorithm'] = self.algorithm
63073
+ if self.lib_id is not None:
63074
+ result['LibId'] = self.lib_id
63071
63075
  if self.owner_account is not None:
63072
63076
  result['OwnerAccount'] = self.owner_account
63073
63077
  if self.owner_id is not None:
@@ -63086,6 +63090,8 @@ class ListRecognitionLibsRequest(TeaModel):
63086
63090
  m = m or dict()
63087
63091
  if m.get('Algorithm') is not None:
63088
63092
  self.algorithm = m.get('Algorithm')
63093
+ if m.get('LibId') is not None:
63094
+ self.lib_id = m.get('LibId')
63089
63095
  if m.get('OwnerAccount') is not None:
63090
63096
  self.owner_account = m.get('OwnerAccount')
63091
63097
  if m.get('OwnerId') is not None:
@@ -63282,6 +63288,7 @@ class ListRecognitionSamplesRequest(TeaModel):
63282
63288
  self,
63283
63289
  algorithm: str = None,
63284
63290
  entity_id: str = None,
63291
+ entity_name: str = None,
63285
63292
  lib_id: str = None,
63286
63293
  owner_account: str = None,
63287
63294
  owner_id: int = None,
@@ -63303,6 +63310,7 @@ class ListRecognitionSamplesRequest(TeaModel):
63303
63310
  #
63304
63311
  # This parameter is required.
63305
63312
  self.entity_id = entity_id
63313
+ self.entity_name = entity_name
63306
63314
  # The ID of the recognition library.
63307
63315
  #
63308
63316
  # This parameter is required.
@@ -63333,6 +63341,8 @@ class ListRecognitionSamplesRequest(TeaModel):
63333
63341
  result['Algorithm'] = self.algorithm
63334
63342
  if self.entity_id is not None:
63335
63343
  result['EntityId'] = self.entity_id
63344
+ if self.entity_name is not None:
63345
+ result['EntityName'] = self.entity_name
63336
63346
  if self.lib_id is not None:
63337
63347
  result['LibId'] = self.lib_id
63338
63348
  if self.owner_account is not None:
@@ -63355,6 +63365,8 @@ class ListRecognitionSamplesRequest(TeaModel):
63355
63365
  self.algorithm = m.get('Algorithm')
63356
63366
  if m.get('EntityId') is not None:
63357
63367
  self.entity_id = m.get('EntityId')
63368
+ if m.get('EntityName') is not None:
63369
+ self.entity_name = m.get('EntityName')
63358
63370
  if m.get('LibId') is not None:
63359
63371
  self.lib_id = m.get('LibId')
63360
63372
  if m.get('OwnerAccount') is not None:
@@ -63375,11 +63387,15 @@ class ListRecognitionSamplesRequest(TeaModel):
63375
63387
  class ListRecognitionSamplesResponseBodySamplesSample(TeaModel):
63376
63388
  def __init__(
63377
63389
  self,
63390
+ entity_id: str = None,
63378
63391
  image_url: str = None,
63392
+ lib_id: str = None,
63379
63393
  sample_id: str = None,
63380
63394
  ):
63395
+ self.entity_id = entity_id
63381
63396
  # The URL of the image sample.
63382
63397
  self.image_url = image_url
63398
+ self.lib_id = lib_id
63383
63399
  # The sample ID.
63384
63400
  self.sample_id = sample_id
63385
63401
 
@@ -63392,16 +63408,24 @@ class ListRecognitionSamplesResponseBodySamplesSample(TeaModel):
63392
63408
  return _map
63393
63409
 
63394
63410
  result = dict()
63411
+ if self.entity_id is not None:
63412
+ result['EntityId'] = self.entity_id
63395
63413
  if self.image_url is not None:
63396
63414
  result['ImageUrl'] = self.image_url
63415
+ if self.lib_id is not None:
63416
+ result['LibId'] = self.lib_id
63397
63417
  if self.sample_id is not None:
63398
63418
  result['SampleId'] = self.sample_id
63399
63419
  return result
63400
63420
 
63401
63421
  def from_map(self, m: dict = None):
63402
63422
  m = m or dict()
63423
+ if m.get('EntityId') is not None:
63424
+ self.entity_id = m.get('EntityId')
63403
63425
  if m.get('ImageUrl') is not None:
63404
63426
  self.image_url = m.get('ImageUrl')
63427
+ if m.get('LibId') is not None:
63428
+ self.lib_id = m.get('LibId')
63405
63429
  if m.get('SampleId') is not None:
63406
63430
  self.sample_id = m.get('SampleId')
63407
63431
  return self
@@ -90271,6 +90295,7 @@ class SubmitSmarttagJobRequest(TeaModel):
90271
90295
  notify_url: str = None,
90272
90296
  params: str = None,
90273
90297
  schedule_config: SubmitSmarttagJobRequestScheduleConfig = None,
90298
+ template_config: str = None,
90274
90299
  template_id: str = None,
90275
90300
  title: str = None,
90276
90301
  user_data: str = None,
@@ -90294,6 +90319,7 @@ class SubmitSmarttagJobRequest(TeaModel):
90294
90319
  self.params = params
90295
90320
  # The scheduling configurations.
90296
90321
  self.schedule_config = schedule_config
90322
+ self.template_config = template_config
90297
90323
  # The ID of the template that specifies the analysis algorithms. For more information about template operations, see [Configure templates](https://help.aliyun.com/document_detail/445702.html).
90298
90324
  self.template_id = template_id
90299
90325
  # The video title. The title can contain letters, digits, and hyphens (-) and cannot start with a special character. The title can be up to 256 bytes in length.
@@ -90327,6 +90353,8 @@ class SubmitSmarttagJobRequest(TeaModel):
90327
90353
  result['Params'] = self.params
90328
90354
  if self.schedule_config is not None:
90329
90355
  result['ScheduleConfig'] = self.schedule_config.to_map()
90356
+ if self.template_config is not None:
90357
+ result['TemplateConfig'] = self.template_config
90330
90358
  if self.template_id is not None:
90331
90359
  result['TemplateId'] = self.template_id
90332
90360
  if self.title is not None:
@@ -90353,6 +90381,8 @@ class SubmitSmarttagJobRequest(TeaModel):
90353
90381
  if m.get('ScheduleConfig') is not None:
90354
90382
  temp_model = SubmitSmarttagJobRequestScheduleConfig()
90355
90383
  self.schedule_config = temp_model.from_map(m['ScheduleConfig'])
90384
+ if m.get('TemplateConfig') is not None:
90385
+ self.template_config = m.get('TemplateConfig')
90356
90386
  if m.get('TemplateId') is not None:
90357
90387
  self.template_id = m.get('TemplateId')
90358
90388
  if m.get('Title') is not None:
@@ -90372,6 +90402,7 @@ class SubmitSmarttagJobShrinkRequest(TeaModel):
90372
90402
  notify_url: str = None,
90373
90403
  params: str = None,
90374
90404
  schedule_config_shrink: str = None,
90405
+ template_config: str = None,
90375
90406
  template_id: str = None,
90376
90407
  title: str = None,
90377
90408
  user_data: str = None,
@@ -90395,6 +90426,7 @@ class SubmitSmarttagJobShrinkRequest(TeaModel):
90395
90426
  self.params = params
90396
90427
  # The scheduling configurations.
90397
90428
  self.schedule_config_shrink = schedule_config_shrink
90429
+ self.template_config = template_config
90398
90430
  # The ID of the template that specifies the analysis algorithms. For more information about template operations, see [Configure templates](https://help.aliyun.com/document_detail/445702.html).
90399
90431
  self.template_id = template_id
90400
90432
  # The video title. The title can contain letters, digits, and hyphens (-) and cannot start with a special character. The title can be up to 256 bytes in length.
@@ -90425,6 +90457,8 @@ class SubmitSmarttagJobShrinkRequest(TeaModel):
90425
90457
  result['Params'] = self.params
90426
90458
  if self.schedule_config_shrink is not None:
90427
90459
  result['ScheduleConfig'] = self.schedule_config_shrink
90460
+ if self.template_config is not None:
90461
+ result['TemplateConfig'] = self.template_config
90428
90462
  if self.template_id is not None:
90429
90463
  result['TemplateId'] = self.template_id
90430
90464
  if self.title is not None:
@@ -90449,6 +90483,8 @@ class SubmitSmarttagJobShrinkRequest(TeaModel):
90449
90483
  self.params = m.get('Params')
90450
90484
  if m.get('ScheduleConfig') is not None:
90451
90485
  self.schedule_config_shrink = m.get('ScheduleConfig')
90486
+ if m.get('TemplateConfig') is not None:
90487
+ self.template_config = m.get('TemplateConfig')
90452
90488
  if m.get('TemplateId') is not None:
90453
90489
  self.template_id = m.get('TemplateId')
90454
90490
  if m.get('Title') is not None:
@@ -99035,6 +99071,7 @@ class SubmitVideoCognitionJobRequest(TeaModel):
99035
99071
  self,
99036
99072
  input: SubmitVideoCognitionJobRequestInput = None,
99037
99073
  params: str = None,
99074
+ template_config: str = None,
99038
99075
  template_id: str = None,
99039
99076
  title: str = None,
99040
99077
  user_data: str = None,
@@ -99043,6 +99080,7 @@ class SubmitVideoCognitionJobRequest(TeaModel):
99043
99080
  self.input = input
99044
99081
  # Additional request parameters, provided as a JSON string. This is used to pass specific settings for various AI analysis modules, such as Natural Language Processing (NLP), shot segmentation, tagging, and action recognition.
99045
99082
  self.params = params
99083
+ self.template_config = template_config
99046
99084
  # The ID of the template that specifies the analysis algorithms to be used. For details, see [CreateCustomTemplate](https://help.aliyun.com/zh/ims/developer-reference/api-ice-2020-11-09-createcustomtemplate?spm=a2c4g.11186623.help-menu-193643.d_5_0_3_3_0_0.17b66afamjKySv) and [smart tagging template](https://help.aliyun.com/zh/ims/user-guide/smart-tagging-template?spm=a2c4g.11186623.0.i15).
99047
99085
  self.template_id = template_id
99048
99086
  # The video title. It supports letters, digits, and hyphens (-), and cannot start with a special character. Max length: 256 bytes.
@@ -99064,6 +99102,8 @@ class SubmitVideoCognitionJobRequest(TeaModel):
99064
99102
  result['Input'] = self.input.to_map()
99065
99103
  if self.params is not None:
99066
99104
  result['Params'] = self.params
99105
+ if self.template_config is not None:
99106
+ result['TemplateConfig'] = self.template_config
99067
99107
  if self.template_id is not None:
99068
99108
  result['TemplateId'] = self.template_id
99069
99109
  if self.title is not None:
@@ -99079,6 +99119,8 @@ class SubmitVideoCognitionJobRequest(TeaModel):
99079
99119
  self.input = temp_model.from_map(m['Input'])
99080
99120
  if m.get('Params') is not None:
99081
99121
  self.params = m.get('Params')
99122
+ if m.get('TemplateConfig') is not None:
99123
+ self.template_config = m.get('TemplateConfig')
99082
99124
  if m.get('TemplateId') is not None:
99083
99125
  self.template_id = m.get('TemplateId')
99084
99126
  if m.get('Title') is not None:
@@ -99093,6 +99135,7 @@ class SubmitVideoCognitionJobShrinkRequest(TeaModel):
99093
99135
  self,
99094
99136
  input_shrink: str = None,
99095
99137
  params: str = None,
99138
+ template_config: str = None,
99096
99139
  template_id: str = None,
99097
99140
  title: str = None,
99098
99141
  user_data: str = None,
@@ -99101,6 +99144,7 @@ class SubmitVideoCognitionJobShrinkRequest(TeaModel):
99101
99144
  self.input_shrink = input_shrink
99102
99145
  # Additional request parameters, provided as a JSON string. This is used to pass specific settings for various AI analysis modules, such as Natural Language Processing (NLP), shot segmentation, tagging, and action recognition.
99103
99146
  self.params = params
99147
+ self.template_config = template_config
99104
99148
  # The ID of the template that specifies the analysis algorithms to be used. For details, see [CreateCustomTemplate](https://help.aliyun.com/zh/ims/developer-reference/api-ice-2020-11-09-createcustomtemplate?spm=a2c4g.11186623.help-menu-193643.d_5_0_3_3_0_0.17b66afamjKySv) and [smart tagging template](https://help.aliyun.com/zh/ims/user-guide/smart-tagging-template?spm=a2c4g.11186623.0.i15).
99105
99149
  self.template_id = template_id
99106
99150
  # The video title. It supports letters, digits, and hyphens (-), and cannot start with a special character. Max length: 256 bytes.
@@ -99121,6 +99165,8 @@ class SubmitVideoCognitionJobShrinkRequest(TeaModel):
99121
99165
  result['Input'] = self.input_shrink
99122
99166
  if self.params is not None:
99123
99167
  result['Params'] = self.params
99168
+ if self.template_config is not None:
99169
+ result['TemplateConfig'] = self.template_config
99124
99170
  if self.template_id is not None:
99125
99171
  result['TemplateId'] = self.template_id
99126
99172
  if self.title is not None:
@@ -99135,6 +99181,8 @@ class SubmitVideoCognitionJobShrinkRequest(TeaModel):
99135
99181
  self.input_shrink = m.get('Input')
99136
99182
  if m.get('Params') is not None:
99137
99183
  self.params = m.get('Params')
99184
+ if m.get('TemplateConfig') is not None:
99185
+ self.template_config = m.get('TemplateConfig')
99138
99186
  if m.get('TemplateId') is not None:
99139
99187
  self.template_id = m.get('TemplateId')
99140
99188
  if m.get('Title') is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-ice20201109
3
- Version: 6.8.0
3
+ Version: 6.8.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=5NuKZW9-iaAWyrL8y29VGtlgVJ5XUgfksykzH2fU4vM,21
2
+ alibabacloud_ice20201109/client.py,sha256=5veHxy6pH5kUqJy-0AzCcgIFAs9vH6FLro7VdX88f8Y,1870666
3
+ alibabacloud_ice20201109/models.py,sha256=wfW_QBGaAPnWHl-2LDGgCflkcfOOt-dTEVR3VuAXmVU,3713364
4
+ alibabacloud_ice20201109-6.8.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ alibabacloud_ice20201109-6.8.2.dist-info/METADATA,sha256=0xI4FlAUGjOSje7zqcvtQ0DCNR0wF6HUDX78w4uShrE,2312
6
+ alibabacloud_ice20201109-6.8.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
+ alibabacloud_ice20201109-6.8.2.dist-info/top_level.txt,sha256=Tdq86hkGJfaKKyNwqChNx5I788aFI6e_iTUmQOYYPK8,25
8
+ alibabacloud_ice20201109-6.8.2.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- alibabacloud_ice20201109/__init__.py,sha256=XtkuRkH8ABoXHvEI-_2v3YKpDyd1mdkeavWlFnUciR4,21
2
- alibabacloud_ice20201109/client.py,sha256=Duz7t51tvzrcQ77t7hGNqz5fTzUlug2ebd4ozc6EYlc,1869760
3
- alibabacloud_ice20201109/models.py,sha256=acyXOE96OAr7a4L_EiFSAgZYQ7OcpOtYtvX1HlP2_4w,3711248
4
- alibabacloud_ice20201109-6.8.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
- alibabacloud_ice20201109-6.8.0.dist-info/METADATA,sha256=qsD040cP-DPKrNeIT0geaCMZeMvQc4il0kmMLFyja_U,2312
6
- alibabacloud_ice20201109-6.8.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
- alibabacloud_ice20201109-6.8.0.dist-info/top_level.txt,sha256=Tdq86hkGJfaKKyNwqChNx5I788aFI6e_iTUmQOYYPK8,25
8
- alibabacloud_ice20201109-6.8.0.dist-info/RECORD,,