alibabacloud-ecd20201002 1.2.5__py3-none-any.whl → 1.2.7__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_ecd20201002/__init__.py +1 -1
- alibabacloud_ecd20201002/client.py +92 -69
- alibabacloud_ecd20201002/models.py +201 -0
- {alibabacloud_ecd20201002-1.2.5.dist-info → alibabacloud_ecd20201002-1.2.7.dist-info}/METADATA +3 -3
- alibabacloud_ecd20201002-1.2.7.dist-info/RECORD +8 -0
- alibabacloud_ecd20201002-1.2.5.dist-info/RECORD +0 -8
- {alibabacloud_ecd20201002-1.2.5.dist-info → alibabacloud_ecd20201002-1.2.7.dist-info}/LICENSE +0 -0
- {alibabacloud_ecd20201002-1.2.5.dist-info → alibabacloud_ecd20201002-1.2.7.dist-info}/WHEEL +0 -0
- {alibabacloud_ecd20201002-1.2.5.dist-info → alibabacloud_ecd20201002-1.2.7.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '1.2.
|
|
1
|
+
__version__ = '1.2.7'
|
|
@@ -21,7 +21,6 @@ class Client(OpenApiClient):
|
|
|
21
21
|
config: open_api_models.Config,
|
|
22
22
|
):
|
|
23
23
|
super().__init__(config)
|
|
24
|
-
self._signature_algorithm = 'v2'
|
|
25
24
|
self._endpoint_rule = 'regional'
|
|
26
25
|
self.check_config(config)
|
|
27
26
|
self._endpoint = self.get_endpoint('ecd', self._region_id, self._endpoint_rule, self._network, self._suffix, self._endpoint_map, self._endpoint)
|
|
@@ -88,7 +87,7 @@ class Client(OpenApiClient):
|
|
|
88
87
|
)
|
|
89
88
|
return TeaCore.from_map(
|
|
90
89
|
ecd_20201002_models.ApproveFotaUpdateResponse(),
|
|
91
|
-
self.
|
|
90
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
92
91
|
)
|
|
93
92
|
|
|
94
93
|
async def approve_fota_update_with_options_async(
|
|
@@ -137,7 +136,7 @@ class Client(OpenApiClient):
|
|
|
137
136
|
)
|
|
138
137
|
return TeaCore.from_map(
|
|
139
138
|
ecd_20201002_models.ApproveFotaUpdateResponse(),
|
|
140
|
-
await self.
|
|
139
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
141
140
|
)
|
|
142
141
|
|
|
143
142
|
def approve_fota_update(
|
|
@@ -212,7 +211,7 @@ class Client(OpenApiClient):
|
|
|
212
211
|
)
|
|
213
212
|
return TeaCore.from_map(
|
|
214
213
|
ecd_20201002_models.ChangePasswordResponse(),
|
|
215
|
-
self.
|
|
214
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
216
215
|
)
|
|
217
216
|
|
|
218
217
|
async def change_password_with_options_async(
|
|
@@ -261,7 +260,7 @@ class Client(OpenApiClient):
|
|
|
261
260
|
)
|
|
262
261
|
return TeaCore.from_map(
|
|
263
262
|
ecd_20201002_models.ChangePasswordResponse(),
|
|
264
|
-
await self.
|
|
263
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
265
264
|
)
|
|
266
265
|
|
|
267
266
|
def change_password(
|
|
@@ -330,7 +329,7 @@ class Client(OpenApiClient):
|
|
|
330
329
|
)
|
|
331
330
|
return TeaCore.from_map(
|
|
332
331
|
ecd_20201002_models.DeleteFingerPrintTemplateResponse(),
|
|
333
|
-
self.
|
|
332
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
334
333
|
)
|
|
335
334
|
|
|
336
335
|
async def delete_finger_print_template_with_options_async(
|
|
@@ -373,7 +372,7 @@ class Client(OpenApiClient):
|
|
|
373
372
|
)
|
|
374
373
|
return TeaCore.from_map(
|
|
375
374
|
ecd_20201002_models.DeleteFingerPrintTemplateResponse(),
|
|
376
|
-
await self.
|
|
375
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
377
376
|
)
|
|
378
377
|
|
|
379
378
|
def delete_finger_print_template(
|
|
@@ -434,7 +433,7 @@ class Client(OpenApiClient):
|
|
|
434
433
|
)
|
|
435
434
|
return TeaCore.from_map(
|
|
436
435
|
ecd_20201002_models.DescribeDirectoriesResponse(),
|
|
437
|
-
self.
|
|
436
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
438
437
|
)
|
|
439
438
|
|
|
440
439
|
async def describe_directories_with_options_async(
|
|
@@ -473,7 +472,7 @@ class Client(OpenApiClient):
|
|
|
473
472
|
)
|
|
474
473
|
return TeaCore.from_map(
|
|
475
474
|
ecd_20201002_models.DescribeDirectoriesResponse(),
|
|
476
|
-
await self.
|
|
475
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
477
476
|
)
|
|
478
477
|
|
|
479
478
|
def describe_directories(
|
|
@@ -540,7 +539,7 @@ class Client(OpenApiClient):
|
|
|
540
539
|
)
|
|
541
540
|
return TeaCore.from_map(
|
|
542
541
|
ecd_20201002_models.DescribeFingerPrintTemplatesResponse(),
|
|
543
|
-
self.
|
|
542
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
544
543
|
)
|
|
545
544
|
|
|
546
545
|
async def describe_finger_print_templates_with_options_async(
|
|
@@ -581,7 +580,7 @@ class Client(OpenApiClient):
|
|
|
581
580
|
)
|
|
582
581
|
return TeaCore.from_map(
|
|
583
582
|
ecd_20201002_models.DescribeFingerPrintTemplatesResponse(),
|
|
584
|
-
await self.
|
|
583
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
585
584
|
)
|
|
586
585
|
|
|
587
586
|
def describe_finger_print_templates(
|
|
@@ -678,7 +677,7 @@ class Client(OpenApiClient):
|
|
|
678
677
|
)
|
|
679
678
|
return TeaCore.from_map(
|
|
680
679
|
ecd_20201002_models.DescribeGlobalDesktopsResponse(),
|
|
681
|
-
self.
|
|
680
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
682
681
|
)
|
|
683
682
|
|
|
684
683
|
async def describe_global_desktops_with_options_async(
|
|
@@ -749,7 +748,7 @@ class Client(OpenApiClient):
|
|
|
749
748
|
)
|
|
750
749
|
return TeaCore.from_map(
|
|
751
750
|
ecd_20201002_models.DescribeGlobalDesktopsResponse(),
|
|
752
|
-
await self.
|
|
751
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
753
752
|
)
|
|
754
753
|
|
|
755
754
|
def describe_global_desktops(
|
|
@@ -808,7 +807,7 @@ class Client(OpenApiClient):
|
|
|
808
807
|
)
|
|
809
808
|
return TeaCore.from_map(
|
|
810
809
|
ecd_20201002_models.DescribeOfficeSitesResponse(),
|
|
811
|
-
self.
|
|
810
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
812
811
|
)
|
|
813
812
|
|
|
814
813
|
async def describe_office_sites_with_options_async(
|
|
@@ -845,7 +844,7 @@ class Client(OpenApiClient):
|
|
|
845
844
|
)
|
|
846
845
|
return TeaCore.from_map(
|
|
847
846
|
ecd_20201002_models.DescribeOfficeSitesResponse(),
|
|
848
|
-
await self.
|
|
847
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
849
848
|
)
|
|
850
849
|
|
|
851
850
|
def describe_office_sites(
|
|
@@ -902,7 +901,7 @@ class Client(OpenApiClient):
|
|
|
902
901
|
)
|
|
903
902
|
return TeaCore.from_map(
|
|
904
903
|
ecd_20201002_models.DescribeRegionsResponse(),
|
|
905
|
-
self.
|
|
904
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
906
905
|
)
|
|
907
906
|
|
|
908
907
|
async def describe_regions_with_options_async(
|
|
@@ -937,7 +936,7 @@ class Client(OpenApiClient):
|
|
|
937
936
|
)
|
|
938
937
|
return TeaCore.from_map(
|
|
939
938
|
ecd_20201002_models.DescribeRegionsResponse(),
|
|
940
|
-
await self.
|
|
939
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
941
940
|
)
|
|
942
941
|
|
|
943
942
|
def describe_regions(
|
|
@@ -1008,7 +1007,7 @@ class Client(OpenApiClient):
|
|
|
1008
1007
|
)
|
|
1009
1008
|
return TeaCore.from_map(
|
|
1010
1009
|
ecd_20201002_models.DescribeSnapshotsResponse(),
|
|
1011
|
-
self.
|
|
1010
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
1012
1011
|
)
|
|
1013
1012
|
|
|
1014
1013
|
async def describe_snapshots_with_options_async(
|
|
@@ -1057,7 +1056,7 @@ class Client(OpenApiClient):
|
|
|
1057
1056
|
)
|
|
1058
1057
|
return TeaCore.from_map(
|
|
1059
1058
|
ecd_20201002_models.DescribeSnapshotsResponse(),
|
|
1060
|
-
await self.
|
|
1059
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
1061
1060
|
)
|
|
1062
1061
|
|
|
1063
1062
|
def describe_snapshots(
|
|
@@ -1168,7 +1167,7 @@ class Client(OpenApiClient):
|
|
|
1168
1167
|
)
|
|
1169
1168
|
return TeaCore.from_map(
|
|
1170
1169
|
ecd_20201002_models.DescribeUserResourcesResponse(),
|
|
1171
|
-
self.
|
|
1170
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
1172
1171
|
)
|
|
1173
1172
|
|
|
1174
1173
|
async def describe_user_resources_with_options_async(
|
|
@@ -1253,7 +1252,7 @@ class Client(OpenApiClient):
|
|
|
1253
1252
|
)
|
|
1254
1253
|
return TeaCore.from_map(
|
|
1255
1254
|
ecd_20201002_models.DescribeUserResourcesResponse(),
|
|
1256
|
-
await self.
|
|
1255
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
1257
1256
|
)
|
|
1258
1257
|
|
|
1259
1258
|
def describe_user_resources(
|
|
@@ -1326,7 +1325,7 @@ class Client(OpenApiClient):
|
|
|
1326
1325
|
)
|
|
1327
1326
|
return TeaCore.from_map(
|
|
1328
1327
|
ecd_20201002_models.EncryptPasswordResponse(),
|
|
1329
|
-
self.
|
|
1328
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
1330
1329
|
)
|
|
1331
1330
|
|
|
1332
1331
|
async def encrypt_password_with_options_async(
|
|
@@ -1373,7 +1372,7 @@ class Client(OpenApiClient):
|
|
|
1373
1372
|
)
|
|
1374
1373
|
return TeaCore.from_map(
|
|
1375
1374
|
ecd_20201002_models.EncryptPasswordResponse(),
|
|
1376
|
-
await self.
|
|
1375
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
1377
1376
|
)
|
|
1378
1377
|
|
|
1379
1378
|
def encrypt_password(
|
|
@@ -1442,7 +1441,7 @@ class Client(OpenApiClient):
|
|
|
1442
1441
|
)
|
|
1443
1442
|
return TeaCore.from_map(
|
|
1444
1443
|
ecd_20201002_models.GetCloudDriveServiceMountTokenResponse(),
|
|
1445
|
-
self.
|
|
1444
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
1446
1445
|
)
|
|
1447
1446
|
|
|
1448
1447
|
async def get_cloud_drive_service_mount_token_with_options_async(
|
|
@@ -1485,7 +1484,7 @@ class Client(OpenApiClient):
|
|
|
1485
1484
|
)
|
|
1486
1485
|
return TeaCore.from_map(
|
|
1487
1486
|
ecd_20201002_models.GetCloudDriveServiceMountTokenResponse(),
|
|
1488
|
-
await self.
|
|
1487
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
1489
1488
|
)
|
|
1490
1489
|
|
|
1491
1490
|
def get_cloud_drive_service_mount_token(
|
|
@@ -1520,6 +1519,8 @@ class Client(OpenApiClient):
|
|
|
1520
1519
|
runtime: util_models.RuntimeOptions,
|
|
1521
1520
|
) -> ecd_20201002_models.GetConnectionTicketResponse:
|
|
1522
1521
|
"""
|
|
1522
|
+
@summary 获得连接凭证
|
|
1523
|
+
|
|
1523
1524
|
@param request: GetConnectionTicketRequest
|
|
1524
1525
|
@param runtime: runtime options for this request RuntimeOptions
|
|
1525
1526
|
@return: GetConnectionTicketResponse
|
|
@@ -1572,7 +1573,7 @@ class Client(OpenApiClient):
|
|
|
1572
1573
|
)
|
|
1573
1574
|
return TeaCore.from_map(
|
|
1574
1575
|
ecd_20201002_models.GetConnectionTicketResponse(),
|
|
1575
|
-
self.
|
|
1576
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
1576
1577
|
)
|
|
1577
1578
|
|
|
1578
1579
|
async def get_connection_ticket_with_options_async(
|
|
@@ -1581,6 +1582,8 @@ class Client(OpenApiClient):
|
|
|
1581
1582
|
runtime: util_models.RuntimeOptions,
|
|
1582
1583
|
) -> ecd_20201002_models.GetConnectionTicketResponse:
|
|
1583
1584
|
"""
|
|
1585
|
+
@summary 获得连接凭证
|
|
1586
|
+
|
|
1584
1587
|
@param request: GetConnectionTicketRequest
|
|
1585
1588
|
@param runtime: runtime options for this request RuntimeOptions
|
|
1586
1589
|
@return: GetConnectionTicketResponse
|
|
@@ -1633,7 +1636,7 @@ class Client(OpenApiClient):
|
|
|
1633
1636
|
)
|
|
1634
1637
|
return TeaCore.from_map(
|
|
1635
1638
|
ecd_20201002_models.GetConnectionTicketResponse(),
|
|
1636
|
-
await self.
|
|
1639
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
1637
1640
|
)
|
|
1638
1641
|
|
|
1639
1642
|
def get_connection_ticket(
|
|
@@ -1641,6 +1644,8 @@ class Client(OpenApiClient):
|
|
|
1641
1644
|
request: ecd_20201002_models.GetConnectionTicketRequest,
|
|
1642
1645
|
) -> ecd_20201002_models.GetConnectionTicketResponse:
|
|
1643
1646
|
"""
|
|
1647
|
+
@summary 获得连接凭证
|
|
1648
|
+
|
|
1644
1649
|
@param request: GetConnectionTicketRequest
|
|
1645
1650
|
@return: GetConnectionTicketResponse
|
|
1646
1651
|
"""
|
|
@@ -1652,6 +1657,8 @@ class Client(OpenApiClient):
|
|
|
1652
1657
|
request: ecd_20201002_models.GetConnectionTicketRequest,
|
|
1653
1658
|
) -> ecd_20201002_models.GetConnectionTicketResponse:
|
|
1654
1659
|
"""
|
|
1660
|
+
@summary 获得连接凭证
|
|
1661
|
+
|
|
1655
1662
|
@param request: GetConnectionTicketRequest
|
|
1656
1663
|
@return: GetConnectionTicketResponse
|
|
1657
1664
|
"""
|
|
@@ -1660,22 +1667,30 @@ class Client(OpenApiClient):
|
|
|
1660
1667
|
|
|
1661
1668
|
def get_login_token_with_options(
|
|
1662
1669
|
self,
|
|
1663
|
-
|
|
1670
|
+
tmp_req: ecd_20201002_models.GetLoginTokenRequest,
|
|
1664
1671
|
runtime: util_models.RuntimeOptions,
|
|
1665
1672
|
) -> ecd_20201002_models.GetLoginTokenResponse:
|
|
1666
1673
|
"""
|
|
1667
1674
|
@summary Obtains logon credentials.
|
|
1668
1675
|
|
|
1669
|
-
@param
|
|
1676
|
+
@param tmp_req: GetLoginTokenRequest
|
|
1670
1677
|
@param runtime: runtime options for this request RuntimeOptions
|
|
1671
1678
|
@return: GetLoginTokenResponse
|
|
1672
1679
|
"""
|
|
1673
|
-
UtilClient.validate_model(
|
|
1680
|
+
UtilClient.validate_model(tmp_req)
|
|
1681
|
+
request = ecd_20201002_models.GetLoginTokenShrinkRequest()
|
|
1682
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
1683
|
+
if not UtilClient.is_unset(tmp_req.available_features):
|
|
1684
|
+
request.available_features_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.available_features, 'AvailableFeatures', 'json')
|
|
1674
1685
|
query = {}
|
|
1675
1686
|
if not UtilClient.is_unset(request.authentication_code):
|
|
1676
1687
|
query['AuthenticationCode'] = request.authentication_code
|
|
1688
|
+
if not UtilClient.is_unset(request.available_features_shrink):
|
|
1689
|
+
query['AvailableFeatures'] = request.available_features_shrink
|
|
1677
1690
|
if not UtilClient.is_unset(request.client_id):
|
|
1678
1691
|
query['ClientId'] = request.client_id
|
|
1692
|
+
if not UtilClient.is_unset(request.client_name):
|
|
1693
|
+
query['ClientName'] = request.client_name
|
|
1679
1694
|
if not UtilClient.is_unset(request.client_os):
|
|
1680
1695
|
query['ClientOS'] = request.client_os
|
|
1681
1696
|
if not UtilClient.is_unset(request.client_type):
|
|
@@ -1724,27 +1739,35 @@ class Client(OpenApiClient):
|
|
|
1724
1739
|
)
|
|
1725
1740
|
return TeaCore.from_map(
|
|
1726
1741
|
ecd_20201002_models.GetLoginTokenResponse(),
|
|
1727
|
-
self.
|
|
1742
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
1728
1743
|
)
|
|
1729
1744
|
|
|
1730
1745
|
async def get_login_token_with_options_async(
|
|
1731
1746
|
self,
|
|
1732
|
-
|
|
1747
|
+
tmp_req: ecd_20201002_models.GetLoginTokenRequest,
|
|
1733
1748
|
runtime: util_models.RuntimeOptions,
|
|
1734
1749
|
) -> ecd_20201002_models.GetLoginTokenResponse:
|
|
1735
1750
|
"""
|
|
1736
1751
|
@summary Obtains logon credentials.
|
|
1737
1752
|
|
|
1738
|
-
@param
|
|
1753
|
+
@param tmp_req: GetLoginTokenRequest
|
|
1739
1754
|
@param runtime: runtime options for this request RuntimeOptions
|
|
1740
1755
|
@return: GetLoginTokenResponse
|
|
1741
1756
|
"""
|
|
1742
|
-
UtilClient.validate_model(
|
|
1757
|
+
UtilClient.validate_model(tmp_req)
|
|
1758
|
+
request = ecd_20201002_models.GetLoginTokenShrinkRequest()
|
|
1759
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
1760
|
+
if not UtilClient.is_unset(tmp_req.available_features):
|
|
1761
|
+
request.available_features_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.available_features, 'AvailableFeatures', 'json')
|
|
1743
1762
|
query = {}
|
|
1744
1763
|
if not UtilClient.is_unset(request.authentication_code):
|
|
1745
1764
|
query['AuthenticationCode'] = request.authentication_code
|
|
1765
|
+
if not UtilClient.is_unset(request.available_features_shrink):
|
|
1766
|
+
query['AvailableFeatures'] = request.available_features_shrink
|
|
1746
1767
|
if not UtilClient.is_unset(request.client_id):
|
|
1747
1768
|
query['ClientId'] = request.client_id
|
|
1769
|
+
if not UtilClient.is_unset(request.client_name):
|
|
1770
|
+
query['ClientName'] = request.client_name
|
|
1748
1771
|
if not UtilClient.is_unset(request.client_os):
|
|
1749
1772
|
query['ClientOS'] = request.client_os
|
|
1750
1773
|
if not UtilClient.is_unset(request.client_type):
|
|
@@ -1793,7 +1816,7 @@ class Client(OpenApiClient):
|
|
|
1793
1816
|
)
|
|
1794
1817
|
return TeaCore.from_map(
|
|
1795
1818
|
ecd_20201002_models.GetLoginTokenResponse(),
|
|
1796
|
-
await self.
|
|
1819
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
1797
1820
|
)
|
|
1798
1821
|
|
|
1799
1822
|
def get_login_token(
|
|
@@ -1858,7 +1881,7 @@ class Client(OpenApiClient):
|
|
|
1858
1881
|
)
|
|
1859
1882
|
return TeaCore.from_map(
|
|
1860
1883
|
ecd_20201002_models.IsKeepAliveResponse(),
|
|
1861
|
-
self.
|
|
1884
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
1862
1885
|
)
|
|
1863
1886
|
|
|
1864
1887
|
async def is_keep_alive_with_options_async(
|
|
@@ -1897,7 +1920,7 @@ class Client(OpenApiClient):
|
|
|
1897
1920
|
)
|
|
1898
1921
|
return TeaCore.from_map(
|
|
1899
1922
|
ecd_20201002_models.IsKeepAliveResponse(),
|
|
1900
|
-
await self.
|
|
1923
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
1901
1924
|
)
|
|
1902
1925
|
|
|
1903
1926
|
def is_keep_alive(
|
|
@@ -1962,7 +1985,7 @@ class Client(OpenApiClient):
|
|
|
1962
1985
|
)
|
|
1963
1986
|
return TeaCore.from_map(
|
|
1964
1987
|
ecd_20201002_models.QueryEdsAgentReportConfigResponse(),
|
|
1965
|
-
self.
|
|
1988
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
1966
1989
|
)
|
|
1967
1990
|
|
|
1968
1991
|
async def query_eds_agent_report_config_with_options_async(
|
|
@@ -2001,7 +2024,7 @@ class Client(OpenApiClient):
|
|
|
2001
2024
|
)
|
|
2002
2025
|
return TeaCore.from_map(
|
|
2003
2026
|
ecd_20201002_models.QueryEdsAgentReportConfigResponse(),
|
|
2004
|
-
await self.
|
|
2027
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
2005
2028
|
)
|
|
2006
2029
|
|
|
2007
2030
|
def query_eds_agent_report_config(
|
|
@@ -2082,7 +2105,7 @@ class Client(OpenApiClient):
|
|
|
2082
2105
|
)
|
|
2083
2106
|
return TeaCore.from_map(
|
|
2084
2107
|
ecd_20201002_models.RebootDesktopsResponse(),
|
|
2085
|
-
self.
|
|
2108
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
2086
2109
|
)
|
|
2087
2110
|
|
|
2088
2111
|
async def reboot_desktops_with_options_async(
|
|
@@ -2137,7 +2160,7 @@ class Client(OpenApiClient):
|
|
|
2137
2160
|
)
|
|
2138
2161
|
return TeaCore.from_map(
|
|
2139
2162
|
ecd_20201002_models.RebootDesktopsResponse(),
|
|
2140
|
-
await self.
|
|
2163
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
2141
2164
|
)
|
|
2142
2165
|
|
|
2143
2166
|
def reboot_desktops(
|
|
@@ -2208,7 +2231,7 @@ class Client(OpenApiClient):
|
|
|
2208
2231
|
)
|
|
2209
2232
|
return TeaCore.from_map(
|
|
2210
2233
|
ecd_20201002_models.RefreshLoginTokenResponse(),
|
|
2211
|
-
self.
|
|
2234
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
2212
2235
|
)
|
|
2213
2236
|
|
|
2214
2237
|
async def refresh_login_token_with_options_async(
|
|
@@ -2253,7 +2276,7 @@ class Client(OpenApiClient):
|
|
|
2253
2276
|
)
|
|
2254
2277
|
return TeaCore.from_map(
|
|
2255
2278
|
ecd_20201002_models.RefreshLoginTokenResponse(),
|
|
2256
|
-
await self.
|
|
2279
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
2257
2280
|
)
|
|
2258
2281
|
|
|
2259
2282
|
def refresh_login_token(
|
|
@@ -2316,7 +2339,7 @@ class Client(OpenApiClient):
|
|
|
2316
2339
|
)
|
|
2317
2340
|
return TeaCore.from_map(
|
|
2318
2341
|
ecd_20201002_models.ReportEdsAgentInfoResponse(),
|
|
2319
|
-
self.
|
|
2342
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
2320
2343
|
)
|
|
2321
2344
|
|
|
2322
2345
|
async def report_eds_agent_info_with_options_async(
|
|
@@ -2357,7 +2380,7 @@ class Client(OpenApiClient):
|
|
|
2357
2380
|
)
|
|
2358
2381
|
return TeaCore.from_map(
|
|
2359
2382
|
ecd_20201002_models.ReportEdsAgentInfoResponse(),
|
|
2360
|
-
await self.
|
|
2383
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
2361
2384
|
)
|
|
2362
2385
|
|
|
2363
2386
|
def report_eds_agent_info(
|
|
@@ -2426,7 +2449,7 @@ class Client(OpenApiClient):
|
|
|
2426
2449
|
)
|
|
2427
2450
|
return TeaCore.from_map(
|
|
2428
2451
|
ecd_20201002_models.ReportSessionStatusResponse(),
|
|
2429
|
-
self.
|
|
2452
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
2430
2453
|
)
|
|
2431
2454
|
|
|
2432
2455
|
async def report_session_status_with_options_async(
|
|
@@ -2469,7 +2492,7 @@ class Client(OpenApiClient):
|
|
|
2469
2492
|
)
|
|
2470
2493
|
return TeaCore.from_map(
|
|
2471
2494
|
ecd_20201002_models.ReportSessionStatusResponse(),
|
|
2472
|
-
await self.
|
|
2495
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
2473
2496
|
)
|
|
2474
2497
|
|
|
2475
2498
|
def report_session_status(
|
|
@@ -2538,7 +2561,7 @@ class Client(OpenApiClient):
|
|
|
2538
2561
|
)
|
|
2539
2562
|
return TeaCore.from_map(
|
|
2540
2563
|
ecd_20201002_models.ResetPasswordResponse(),
|
|
2541
|
-
self.
|
|
2564
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
2542
2565
|
)
|
|
2543
2566
|
|
|
2544
2567
|
async def reset_password_with_options_async(
|
|
@@ -2585,7 +2608,7 @@ class Client(OpenApiClient):
|
|
|
2585
2608
|
)
|
|
2586
2609
|
return TeaCore.from_map(
|
|
2587
2610
|
ecd_20201002_models.ResetPasswordResponse(),
|
|
2588
|
-
await self.
|
|
2611
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
2589
2612
|
)
|
|
2590
2613
|
|
|
2591
2614
|
def reset_password(
|
|
@@ -2658,7 +2681,7 @@ class Client(OpenApiClient):
|
|
|
2658
2681
|
)
|
|
2659
2682
|
return TeaCore.from_map(
|
|
2660
2683
|
ecd_20201002_models.ResetSnapshotResponse(),
|
|
2661
|
-
self.
|
|
2684
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
2662
2685
|
)
|
|
2663
2686
|
|
|
2664
2687
|
async def reset_snapshot_with_options_async(
|
|
@@ -2705,7 +2728,7 @@ class Client(OpenApiClient):
|
|
|
2705
2728
|
)
|
|
2706
2729
|
return TeaCore.from_map(
|
|
2707
2730
|
ecd_20201002_models.ResetSnapshotResponse(),
|
|
2708
|
-
await self.
|
|
2731
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
2709
2732
|
)
|
|
2710
2733
|
|
|
2711
2734
|
def reset_snapshot(
|
|
@@ -2780,7 +2803,7 @@ class Client(OpenApiClient):
|
|
|
2780
2803
|
)
|
|
2781
2804
|
return TeaCore.from_map(
|
|
2782
2805
|
ecd_20201002_models.SendTokenCodeResponse(),
|
|
2783
|
-
self.
|
|
2806
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
2784
2807
|
)
|
|
2785
2808
|
|
|
2786
2809
|
async def send_token_code_with_options_async(
|
|
@@ -2829,7 +2852,7 @@ class Client(OpenApiClient):
|
|
|
2829
2852
|
)
|
|
2830
2853
|
return TeaCore.from_map(
|
|
2831
2854
|
ecd_20201002_models.SendTokenCodeResponse(),
|
|
2832
|
-
await self.
|
|
2855
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
2833
2856
|
)
|
|
2834
2857
|
|
|
2835
2858
|
def send_token_code(
|
|
@@ -2906,7 +2929,7 @@ class Client(OpenApiClient):
|
|
|
2906
2929
|
)
|
|
2907
2930
|
return TeaCore.from_map(
|
|
2908
2931
|
ecd_20201002_models.SetFingerPrintTemplateResponse(),
|
|
2909
|
-
self.
|
|
2932
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
2910
2933
|
)
|
|
2911
2934
|
|
|
2912
2935
|
async def set_finger_print_template_with_options_async(
|
|
@@ -2957,7 +2980,7 @@ class Client(OpenApiClient):
|
|
|
2957
2980
|
)
|
|
2958
2981
|
return TeaCore.from_map(
|
|
2959
2982
|
ecd_20201002_models.SetFingerPrintTemplateResponse(),
|
|
2960
|
-
await self.
|
|
2983
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
2961
2984
|
)
|
|
2962
2985
|
|
|
2963
2986
|
def set_finger_print_template(
|
|
@@ -3024,7 +3047,7 @@ class Client(OpenApiClient):
|
|
|
3024
3047
|
)
|
|
3025
3048
|
return TeaCore.from_map(
|
|
3026
3049
|
ecd_20201002_models.SetFingerPrintTemplateDescriptionResponse(),
|
|
3027
|
-
self.
|
|
3050
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
3028
3051
|
)
|
|
3029
3052
|
|
|
3030
3053
|
async def set_finger_print_template_description_with_options_async(
|
|
@@ -3069,7 +3092,7 @@ class Client(OpenApiClient):
|
|
|
3069
3092
|
)
|
|
3070
3093
|
return TeaCore.from_map(
|
|
3071
3094
|
ecd_20201002_models.SetFingerPrintTemplateDescriptionResponse(),
|
|
3072
|
-
await self.
|
|
3095
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
3073
3096
|
)
|
|
3074
3097
|
|
|
3075
3098
|
def set_finger_print_template_description(
|
|
@@ -3144,7 +3167,7 @@ class Client(OpenApiClient):
|
|
|
3144
3167
|
)
|
|
3145
3168
|
return TeaCore.from_map(
|
|
3146
3169
|
ecd_20201002_models.StartDesktopsResponse(),
|
|
3147
|
-
self.
|
|
3170
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
3148
3171
|
)
|
|
3149
3172
|
|
|
3150
3173
|
async def start_desktops_with_options_async(
|
|
@@ -3197,7 +3220,7 @@ class Client(OpenApiClient):
|
|
|
3197
3220
|
)
|
|
3198
3221
|
return TeaCore.from_map(
|
|
3199
3222
|
ecd_20201002_models.StartDesktopsResponse(),
|
|
3200
|
-
await self.
|
|
3223
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
3201
3224
|
)
|
|
3202
3225
|
|
|
3203
3226
|
def start_desktops(
|
|
@@ -3274,7 +3297,7 @@ class Client(OpenApiClient):
|
|
|
3274
3297
|
)
|
|
3275
3298
|
return TeaCore.from_map(
|
|
3276
3299
|
ecd_20201002_models.StartRecordContentResponse(),
|
|
3277
|
-
self.
|
|
3300
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
3278
3301
|
)
|
|
3279
3302
|
|
|
3280
3303
|
async def start_record_content_with_options_async(
|
|
@@ -3321,7 +3344,7 @@ class Client(OpenApiClient):
|
|
|
3321
3344
|
)
|
|
3322
3345
|
return TeaCore.from_map(
|
|
3323
3346
|
ecd_20201002_models.StartRecordContentResponse(),
|
|
3324
|
-
await self.
|
|
3347
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
3325
3348
|
)
|
|
3326
3349
|
|
|
3327
3350
|
def start_record_content(
|
|
@@ -3400,7 +3423,7 @@ class Client(OpenApiClient):
|
|
|
3400
3423
|
)
|
|
3401
3424
|
return TeaCore.from_map(
|
|
3402
3425
|
ecd_20201002_models.StopDesktopsResponse(),
|
|
3403
|
-
self.
|
|
3426
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
3404
3427
|
)
|
|
3405
3428
|
|
|
3406
3429
|
async def stop_desktops_with_options_async(
|
|
@@ -3457,7 +3480,7 @@ class Client(OpenApiClient):
|
|
|
3457
3480
|
)
|
|
3458
3481
|
return TeaCore.from_map(
|
|
3459
3482
|
ecd_20201002_models.StopDesktopsResponse(),
|
|
3460
|
-
await self.
|
|
3483
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
3461
3484
|
)
|
|
3462
3485
|
|
|
3463
3486
|
def stop_desktops(
|
|
@@ -3532,7 +3555,7 @@ class Client(OpenApiClient):
|
|
|
3532
3555
|
)
|
|
3533
3556
|
return TeaCore.from_map(
|
|
3534
3557
|
ecd_20201002_models.StopRecordContentResponse(),
|
|
3535
|
-
self.
|
|
3558
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
3536
3559
|
)
|
|
3537
3560
|
|
|
3538
3561
|
async def stop_record_content_with_options_async(
|
|
@@ -3577,7 +3600,7 @@ class Client(OpenApiClient):
|
|
|
3577
3600
|
)
|
|
3578
3601
|
return TeaCore.from_map(
|
|
3579
3602
|
ecd_20201002_models.StopRecordContentResponse(),
|
|
3580
|
-
await self.
|
|
3603
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
3581
3604
|
)
|
|
3582
3605
|
|
|
3583
3606
|
def stop_record_content(
|
|
@@ -3646,7 +3669,7 @@ class Client(OpenApiClient):
|
|
|
3646
3669
|
)
|
|
3647
3670
|
return TeaCore.from_map(
|
|
3648
3671
|
ecd_20201002_models.UnbindUserDesktopResponse(),
|
|
3649
|
-
self.
|
|
3672
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
3650
3673
|
)
|
|
3651
3674
|
|
|
3652
3675
|
async def unbind_user_desktop_with_options_async(
|
|
@@ -3693,7 +3716,7 @@ class Client(OpenApiClient):
|
|
|
3693
3716
|
)
|
|
3694
3717
|
return TeaCore.from_map(
|
|
3695
3718
|
ecd_20201002_models.UnbindUserDesktopResponse(),
|
|
3696
|
-
await self.
|
|
3719
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
3697
3720
|
)
|
|
3698
3721
|
|
|
3699
3722
|
def unbind_user_desktop(
|
|
@@ -3766,7 +3789,7 @@ class Client(OpenApiClient):
|
|
|
3766
3789
|
)
|
|
3767
3790
|
return TeaCore.from_map(
|
|
3768
3791
|
ecd_20201002_models.VerifyCredentialResponse(),
|
|
3769
|
-
self.
|
|
3792
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
3770
3793
|
)
|
|
3771
3794
|
|
|
3772
3795
|
async def verify_credential_with_options_async(
|
|
@@ -3813,7 +3836,7 @@ class Client(OpenApiClient):
|
|
|
3813
3836
|
)
|
|
3814
3837
|
return TeaCore.from_map(
|
|
3815
3838
|
ecd_20201002_models.VerifyCredentialResponse(),
|
|
3816
|
-
await self.
|
|
3839
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
3817
3840
|
)
|
|
3818
3841
|
|
|
3819
3842
|
def verify_credential(
|
|
@@ -3959,7 +3959,9 @@ class GetLoginTokenRequest(TeaModel):
|
|
|
3959
3959
|
def __init__(
|
|
3960
3960
|
self,
|
|
3961
3961
|
authentication_code: str = None,
|
|
3962
|
+
available_features: Dict[str, str] = None,
|
|
3962
3963
|
client_id: str = None,
|
|
3964
|
+
client_name: str = None,
|
|
3963
3965
|
client_os: str = None,
|
|
3964
3966
|
client_type: str = None,
|
|
3965
3967
|
client_version: str = None,
|
|
@@ -3979,10 +3981,12 @@ class GetLoginTokenRequest(TeaModel):
|
|
|
3979
3981
|
):
|
|
3980
3982
|
# The verification code that is generated by the virtual MFA device. This parameter is required if you set `CurrentStage` to `MFAVerify`.
|
|
3981
3983
|
self.authentication_code = authentication_code
|
|
3984
|
+
self.available_features = available_features
|
|
3982
3985
|
# The ID of the Alibaba Cloud Workspace client. The system generates a unique ID for each client.
|
|
3983
3986
|
#
|
|
3984
3987
|
# This parameter is required.
|
|
3985
3988
|
self.client_id = client_id
|
|
3989
|
+
self.client_name = client_name
|
|
3986
3990
|
# The operating system (OS) of the device that runs an Alibaba Cloud Workspace client.
|
|
3987
3991
|
self.client_os = client_os
|
|
3988
3992
|
# The type of Alibaba Cloud Workspace clients.
|
|
@@ -4055,8 +4059,12 @@ class GetLoginTokenRequest(TeaModel):
|
|
|
4055
4059
|
result = dict()
|
|
4056
4060
|
if self.authentication_code is not None:
|
|
4057
4061
|
result['AuthenticationCode'] = self.authentication_code
|
|
4062
|
+
if self.available_features is not None:
|
|
4063
|
+
result['AvailableFeatures'] = self.available_features
|
|
4058
4064
|
if self.client_id is not None:
|
|
4059
4065
|
result['ClientId'] = self.client_id
|
|
4066
|
+
if self.client_name is not None:
|
|
4067
|
+
result['ClientName'] = self.client_name
|
|
4060
4068
|
if self.client_os is not None:
|
|
4061
4069
|
result['ClientOS'] = self.client_os
|
|
4062
4070
|
if self.client_type is not None:
|
|
@@ -4095,8 +4103,201 @@ class GetLoginTokenRequest(TeaModel):
|
|
|
4095
4103
|
m = m or dict()
|
|
4096
4104
|
if m.get('AuthenticationCode') is not None:
|
|
4097
4105
|
self.authentication_code = m.get('AuthenticationCode')
|
|
4106
|
+
if m.get('AvailableFeatures') is not None:
|
|
4107
|
+
self.available_features = m.get('AvailableFeatures')
|
|
4098
4108
|
if m.get('ClientId') is not None:
|
|
4099
4109
|
self.client_id = m.get('ClientId')
|
|
4110
|
+
if m.get('ClientName') is not None:
|
|
4111
|
+
self.client_name = m.get('ClientName')
|
|
4112
|
+
if m.get('ClientOS') is not None:
|
|
4113
|
+
self.client_os = m.get('ClientOS')
|
|
4114
|
+
if m.get('ClientType') is not None:
|
|
4115
|
+
self.client_type = m.get('ClientType')
|
|
4116
|
+
if m.get('ClientVersion') is not None:
|
|
4117
|
+
self.client_version = m.get('ClientVersion')
|
|
4118
|
+
if m.get('CurrentStage') is not None:
|
|
4119
|
+
self.current_stage = m.get('CurrentStage')
|
|
4120
|
+
if m.get('DirectoryId') is not None:
|
|
4121
|
+
self.directory_id = m.get('DirectoryId')
|
|
4122
|
+
if m.get('EndUserId') is not None:
|
|
4123
|
+
self.end_user_id = m.get('EndUserId')
|
|
4124
|
+
if m.get('KeepAlive') is not None:
|
|
4125
|
+
self.keep_alive = m.get('KeepAlive')
|
|
4126
|
+
if m.get('KeepAliveToken') is not None:
|
|
4127
|
+
self.keep_alive_token = m.get('KeepAliveToken')
|
|
4128
|
+
if m.get('NewPassword') is not None:
|
|
4129
|
+
self.new_password = m.get('NewPassword')
|
|
4130
|
+
if m.get('OfficeSiteId') is not None:
|
|
4131
|
+
self.office_site_id = m.get('OfficeSiteId')
|
|
4132
|
+
if m.get('OldPassword') is not None:
|
|
4133
|
+
self.old_password = m.get('OldPassword')
|
|
4134
|
+
if m.get('Password') is not None:
|
|
4135
|
+
self.password = m.get('Password')
|
|
4136
|
+
if m.get('RegionId') is not None:
|
|
4137
|
+
self.region_id = m.get('RegionId')
|
|
4138
|
+
if m.get('SessionId') is not None:
|
|
4139
|
+
self.session_id = m.get('SessionId')
|
|
4140
|
+
if m.get('TokenCode') is not None:
|
|
4141
|
+
self.token_code = m.get('TokenCode')
|
|
4142
|
+
if m.get('Uuid') is not None:
|
|
4143
|
+
self.uuid = m.get('Uuid')
|
|
4144
|
+
return self
|
|
4145
|
+
|
|
4146
|
+
|
|
4147
|
+
class GetLoginTokenShrinkRequest(TeaModel):
|
|
4148
|
+
def __init__(
|
|
4149
|
+
self,
|
|
4150
|
+
authentication_code: str = None,
|
|
4151
|
+
available_features_shrink: str = None,
|
|
4152
|
+
client_id: str = None,
|
|
4153
|
+
client_name: str = None,
|
|
4154
|
+
client_os: str = None,
|
|
4155
|
+
client_type: str = None,
|
|
4156
|
+
client_version: str = None,
|
|
4157
|
+
current_stage: str = None,
|
|
4158
|
+
directory_id: str = None,
|
|
4159
|
+
end_user_id: str = None,
|
|
4160
|
+
keep_alive: bool = None,
|
|
4161
|
+
keep_alive_token: str = None,
|
|
4162
|
+
new_password: str = None,
|
|
4163
|
+
office_site_id: str = None,
|
|
4164
|
+
old_password: str = None,
|
|
4165
|
+
password: str = None,
|
|
4166
|
+
region_id: str = None,
|
|
4167
|
+
session_id: str = None,
|
|
4168
|
+
token_code: str = None,
|
|
4169
|
+
uuid: str = None,
|
|
4170
|
+
):
|
|
4171
|
+
# The verification code that is generated by the virtual MFA device. This parameter is required if you set `CurrentStage` to `MFAVerify`.
|
|
4172
|
+
self.authentication_code = authentication_code
|
|
4173
|
+
self.available_features_shrink = available_features_shrink
|
|
4174
|
+
# The ID of the Alibaba Cloud Workspace client. The system generates a unique ID for each client.
|
|
4175
|
+
#
|
|
4176
|
+
# This parameter is required.
|
|
4177
|
+
self.client_id = client_id
|
|
4178
|
+
self.client_name = client_name
|
|
4179
|
+
# The operating system (OS) of the device that runs an Alibaba Cloud Workspace client.
|
|
4180
|
+
self.client_os = client_os
|
|
4181
|
+
# The type of Alibaba Cloud Workspace clients.
|
|
4182
|
+
#
|
|
4183
|
+
# Valid values:
|
|
4184
|
+
#
|
|
4185
|
+
# * HTML5: web client.
|
|
4186
|
+
#
|
|
4187
|
+
# * WINDOWS: Windows client.
|
|
4188
|
+
#
|
|
4189
|
+
# * MACOS: macOS client.
|
|
4190
|
+
#
|
|
4191
|
+
# * IOS: iOS client.
|
|
4192
|
+
#
|
|
4193
|
+
# * ANDROID: Android client.
|
|
4194
|
+
self.client_type = client_type
|
|
4195
|
+
# The version of the client. When you use an Alibaba Cloud Workspace client, you can view the client version in the **About** dialog box on the client logon page.
|
|
4196
|
+
self.client_version = client_version
|
|
4197
|
+
# The logon authentication stage. Valid values:
|
|
4198
|
+
#
|
|
4199
|
+
# * `ADPassword`: the stage to verify the identity of the Active Directory (AD) user. You must specify the value when the system verifies the identity of a convenience account or an AD account.
|
|
4200
|
+
# * `MFABind: the stage to bind a virtual multi-factor authentication (MFA) device.`
|
|
4201
|
+
# * `MFAVerify: the stage to verify the verification code that is generated by the virtual MFA device.`
|
|
4202
|
+
# * `TokenVerify`: the stage to perform two-factor authentication on an Alibaba Cloud Workspace client (hereinafter referred to as the client).
|
|
4203
|
+
# * `ChangePassword`: the stage to change the password of the user.
|
|
4204
|
+
# * `KeepAliveVerify`: the stage to obtain LoginToken if KeepAliveToken is valid.
|
|
4205
|
+
self.current_stage = current_stage
|
|
4206
|
+
# The office network ID. This parameter has the same meaning as `OfficeSiteId`. We recommend that you replace `DirectoryId` with `OfficeSiteId`. You can specify a value for `DirectoryId` or `OfficeSiteId`.
|
|
4207
|
+
self.directory_id = directory_id
|
|
4208
|
+
# The name of the convenience user or the AD user. This parameter is required if you set `CurrentStage` to `ADPassword`.
|
|
4209
|
+
self.end_user_id = end_user_id
|
|
4210
|
+
# Specifies whether to keep the user logged on to the client.
|
|
4211
|
+
# Valid values:
|
|
4212
|
+
# * null: Default value. Do not keep the user logged on to the client.
|
|
4213
|
+
# * true: Keep the user logged on to the client.
|
|
4214
|
+
# * false: Do not keep the user logged on to the client.
|
|
4215
|
+
self.keep_alive = keep_alive
|
|
4216
|
+
# The token to keep logging on to an Alibaba Cloud Workspace client. When an end user logs on to the Alibaba Cloud Workspace client and select Auto Sign-in, `KeepAliveToken` is returned after you call this operation. Within the valid period of the returned token``, you can call the `GetLoginToken` operation and set `CurrentStage` to `KeepAliveVerify`. Then, you can obtain LoginToken. If you set `CurrentStage` to `KeepAliveVerify`, `KeepAliveToken` is required.
|
|
4217
|
+
self.keep_alive_token = keep_alive_token
|
|
4218
|
+
# The new password. This parameter is required if you set `CurrentStage` to `ChangePassword`.
|
|
4219
|
+
self.new_password = new_password
|
|
4220
|
+
# The office network ID.
|
|
4221
|
+
self.office_site_id = office_site_id
|
|
4222
|
+
# The current password. This parameter is required if you set `CurrentStage` to `ChangePassword`.
|
|
4223
|
+
self.old_password = old_password
|
|
4224
|
+
# The password of the convenience user or the AD user. This parameter is required if you set `CurrentStage` to `ADPassword`.
|
|
4225
|
+
self.password = password
|
|
4226
|
+
# The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the regions supported by EDS.
|
|
4227
|
+
#
|
|
4228
|
+
# This parameter is required.
|
|
4229
|
+
self.region_id = region_id
|
|
4230
|
+
# The ID of the session.
|
|
4231
|
+
#
|
|
4232
|
+
# * If the virtual multi-factor authentication (MFA) device is not bound or two-factor authentication is not enabled for the client, you do not need to specify a value for `SessionId`.
|
|
4233
|
+
# * If the virtual MFA device is not bound or two-factor authentication is enabled for the client, you must specify a value for `SessionId` to verify the user identity after you specify a value for `ADPassword`. The value of the `SessionId` parameter is returned only if the CurrentStage parameter is set to `ADPassword` when you call the `GetLoginToken` operation.
|
|
4234
|
+
self.session_id = session_id
|
|
4235
|
+
# If two-factor authentication is enabled for Alibaba Cloud Workspace terminals in the EDS console and the system detects that the current logon user is exposed to risks, the system sends a verification code to the email address of the user. This parameter is required if you set `CurrentStage` to `TokenVerify`.
|
|
4236
|
+
self.token_code = token_code
|
|
4237
|
+
# The unique identifier of the client. When you use an Alibaba Cloud Workspace client, you can view the client version in the **About** dialog box on the client logon page.
|
|
4238
|
+
self.uuid = uuid
|
|
4239
|
+
|
|
4240
|
+
def validate(self):
|
|
4241
|
+
pass
|
|
4242
|
+
|
|
4243
|
+
def to_map(self):
|
|
4244
|
+
_map = super().to_map()
|
|
4245
|
+
if _map is not None:
|
|
4246
|
+
return _map
|
|
4247
|
+
|
|
4248
|
+
result = dict()
|
|
4249
|
+
if self.authentication_code is not None:
|
|
4250
|
+
result['AuthenticationCode'] = self.authentication_code
|
|
4251
|
+
if self.available_features_shrink is not None:
|
|
4252
|
+
result['AvailableFeatures'] = self.available_features_shrink
|
|
4253
|
+
if self.client_id is not None:
|
|
4254
|
+
result['ClientId'] = self.client_id
|
|
4255
|
+
if self.client_name is not None:
|
|
4256
|
+
result['ClientName'] = self.client_name
|
|
4257
|
+
if self.client_os is not None:
|
|
4258
|
+
result['ClientOS'] = self.client_os
|
|
4259
|
+
if self.client_type is not None:
|
|
4260
|
+
result['ClientType'] = self.client_type
|
|
4261
|
+
if self.client_version is not None:
|
|
4262
|
+
result['ClientVersion'] = self.client_version
|
|
4263
|
+
if self.current_stage is not None:
|
|
4264
|
+
result['CurrentStage'] = self.current_stage
|
|
4265
|
+
if self.directory_id is not None:
|
|
4266
|
+
result['DirectoryId'] = self.directory_id
|
|
4267
|
+
if self.end_user_id is not None:
|
|
4268
|
+
result['EndUserId'] = self.end_user_id
|
|
4269
|
+
if self.keep_alive is not None:
|
|
4270
|
+
result['KeepAlive'] = self.keep_alive
|
|
4271
|
+
if self.keep_alive_token is not None:
|
|
4272
|
+
result['KeepAliveToken'] = self.keep_alive_token
|
|
4273
|
+
if self.new_password is not None:
|
|
4274
|
+
result['NewPassword'] = self.new_password
|
|
4275
|
+
if self.office_site_id is not None:
|
|
4276
|
+
result['OfficeSiteId'] = self.office_site_id
|
|
4277
|
+
if self.old_password is not None:
|
|
4278
|
+
result['OldPassword'] = self.old_password
|
|
4279
|
+
if self.password is not None:
|
|
4280
|
+
result['Password'] = self.password
|
|
4281
|
+
if self.region_id is not None:
|
|
4282
|
+
result['RegionId'] = self.region_id
|
|
4283
|
+
if self.session_id is not None:
|
|
4284
|
+
result['SessionId'] = self.session_id
|
|
4285
|
+
if self.token_code is not None:
|
|
4286
|
+
result['TokenCode'] = self.token_code
|
|
4287
|
+
if self.uuid is not None:
|
|
4288
|
+
result['Uuid'] = self.uuid
|
|
4289
|
+
return result
|
|
4290
|
+
|
|
4291
|
+
def from_map(self, m: dict = None):
|
|
4292
|
+
m = m or dict()
|
|
4293
|
+
if m.get('AuthenticationCode') is not None:
|
|
4294
|
+
self.authentication_code = m.get('AuthenticationCode')
|
|
4295
|
+
if m.get('AvailableFeatures') is not None:
|
|
4296
|
+
self.available_features_shrink = m.get('AvailableFeatures')
|
|
4297
|
+
if m.get('ClientId') is not None:
|
|
4298
|
+
self.client_id = m.get('ClientId')
|
|
4299
|
+
if m.get('ClientName') is not None:
|
|
4300
|
+
self.client_name = m.get('ClientName')
|
|
4100
4301
|
if m.get('ClientOS') is not None:
|
|
4101
4302
|
self.client_os = m.get('ClientOS')
|
|
4102
4303
|
if m.get('ClientType') is not None:
|
{alibabacloud_ecd20201002-1.2.5.dist-info → alibabacloud_ecd20201002-1.2.7.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: alibabacloud-ecd20201002
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.7
|
|
4
4
|
Summary: Alibaba Cloud ecd (20201002) SDK Library for Python
|
|
5
5
|
Home-page: https://github.com/aliyun/alibabacloud-python-sdk
|
|
6
6
|
Author: Alibaba Cloud SDK
|
|
@@ -21,9 +21,9 @@ Classifier: Topic :: Software Development
|
|
|
21
21
|
Requires-Python: >=3.6
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
|
-
Requires-Dist: alibabacloud-endpoint-util (<1.0.0,>=0.0.
|
|
24
|
+
Requires-Dist: alibabacloud-endpoint-util (<1.0.0,>=0.0.4)
|
|
25
25
|
Requires-Dist: alibabacloud-openapi-util (<1.0.0,>=0.2.2)
|
|
26
|
-
Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.3.
|
|
26
|
+
Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.3.16)
|
|
27
27
|
Requires-Dist: alibabacloud-tea-util (<1.0.0,>=0.3.13)
|
|
28
28
|
|
|
29
29
|
English | [简体中文](README-CN.md)
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_ecd20201002/__init__.py,sha256=8fXL0hX3SI-tAETRl-m4ljrkccNA-ZNsta0Mg8Fv7aI,21
|
|
2
|
+
alibabacloud_ecd20201002/client.py,sha256=YFA7WwsQmG-j8AAzWLU8P_Q2uuE-1STLajdHJgdU1C0,163995
|
|
3
|
+
alibabacloud_ecd20201002/models.py,sha256=qkyVCtMgaDll5AN7vnSFRcK2ev-ZoDa9E0lVvFmFzA0,252966
|
|
4
|
+
alibabacloud_ecd20201002-1.2.7.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_ecd20201002-1.2.7.dist-info/METADATA,sha256=RMlicin6LcxP8PvWwYWrkoPMWFX4iXuNcGpcnUdOv3c,2312
|
|
6
|
+
alibabacloud_ecd20201002-1.2.7.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
+
alibabacloud_ecd20201002-1.2.7.dist-info/top_level.txt,sha256=StSX710186VDYReoyBW7AC51spfR_S0-5CO0fZyRBCk,25
|
|
8
|
+
alibabacloud_ecd20201002-1.2.7.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_ecd20201002/__init__.py,sha256=pgmbrfGeFBEMsmfSmbEnYS5dCf7QqXXgG9I36m6Tong,21
|
|
2
|
-
alibabacloud_ecd20201002/client.py,sha256=QpzFWjiVW_YLey-qv_o6NVR2l41UyRXSMpJ8Nb69cIk,156704
|
|
3
|
-
alibabacloud_ecd20201002/models.py,sha256=BbE5nGoMmfnCXIHAF9MSpW4cbExOfWRYqhg3OjhCJEU,242153
|
|
4
|
-
alibabacloud_ecd20201002-1.2.5.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_ecd20201002-1.2.5.dist-info/METADATA,sha256=FnUlQSUyVMb7qHsWt6Gkgkk-ssFXkRMkihFThDnyl6E,2312
|
|
6
|
-
alibabacloud_ecd20201002-1.2.5.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
-
alibabacloud_ecd20201002-1.2.5.dist-info/top_level.txt,sha256=StSX710186VDYReoyBW7AC51spfR_S0-5CO0fZyRBCk,25
|
|
8
|
-
alibabacloud_ecd20201002-1.2.5.dist-info/RECORD,,
|
{alibabacloud_ecd20201002-1.2.5.dist-info → alibabacloud_ecd20201002-1.2.7.dist-info}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
{alibabacloud_ecd20201002-1.2.5.dist-info → alibabacloud_ecd20201002-1.2.7.dist-info}/top_level.txt
RENAMED
|
File without changes
|