tencentcloud-sdk-python 3.1.124__py2.py3-none-any.whl → 3.1.126__py2.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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/adp/v20260520/adp_client.py +23 -0
- tencentcloud/adp/v20260520/adp_client_async.py +18 -0
- tencentcloud/adp/v20260520/models.py +134 -10
- tencentcloud/ags/v20250920/models.py +2 -2
- tencentcloud/cam/v20190116/models.py +81 -36
- tencentcloud/config/v20220802/models.py +137 -110
- tencentcloud/csip/v20221121/csip_client.py +161 -0
- tencentcloud/csip/v20221121/csip_client_async.py +126 -0
- tencentcloud/csip/v20221121/models.py +4774 -623
- tencentcloud/cvm/v20170312/models.py +59 -6
- tencentcloud/cwp/v20180228/cwp_client.py +1 -1
- tencentcloud/cwp/v20180228/cwp_client_async.py +1 -1
- tencentcloud/cwp/v20180228/models.py +427 -42
- tencentcloud/cynosdb/v20190107/models.py +100 -40
- tencentcloud/dataagent/v20250513/dataagent_client.py +41 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +36 -0
- tencentcloud/dataagent/v20250513/models.py +218 -0
- tencentcloud/dcdb/v20180411/models.py +92 -6
- tencentcloud/dts/v20211206/models.py +113 -0
- tencentcloud/ess/v20201111/models.py +25 -22
- tencentcloud/essbasic/v20210526/models.py +25 -22
- tencentcloud/faceid/v20180301/models.py +18 -50
- tencentcloud/ga2/v20250115/models.py +224 -224
- tencentcloud/ioa/v20220601/ioa_client.py +1 -1
- tencentcloud/ioa/v20220601/ioa_client_async.py +1 -1
- tencentcloud/ioa/v20220601/models.py +31 -18
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +18 -0
- tencentcloud/iotexplorer/v20190423/models.py +336 -0
- tencentcloud/live/v20180801/models.py +53 -0
- tencentcloud/mps/v20190612/models.py +17 -2
- tencentcloud/mqtt/v20240516/errorcodes.py +3 -0
- tencentcloud/mqtt/v20240516/models.py +210 -20
- tencentcloud/oceanus/v20190422/models.py +651 -154
- tencentcloud/ocr/v20181119/models.py +8 -8
- tencentcloud/organization/v20210331/errorcodes.py +3 -0
- tencentcloud/organization/v20210331/models.py +29 -14
- tencentcloud/rum/v20210622/models.py +64 -68
- tencentcloud/smh/v20210712/errorcodes.py +15 -0
- tencentcloud/smh/v20210712/models.py +70 -38
- tencentcloud/trocket/v20230308/models.py +282 -0
- tencentcloud/trocket/v20230308/trocket_client.py +24 -0
- tencentcloud/trocket/v20230308/trocket_client_async.py +19 -0
- tencentcloud/trtc/v20190722/models.py +32 -132
- tencentcloud/tse/v20201207/models.py +8 -8
- tencentcloud/tsf/v20180326/models.py +15 -0
- tencentcloud/vod/v20180717/models.py +552 -0
- tencentcloud/vod/v20180717/vod_client.py +100 -0
- tencentcloud/vod/v20180717/vod_client_async.py +80 -0
- tencentcloud/vpc/v20170312/models.py +14 -14
- tencentcloud/wedata/v20250806/models.py +679 -358
- tencentcloud/wedata/v20250806/wedata_client.py +1 -1
- tencentcloud/wedata/v20250806/wedata_client_async.py +1 -1
- {tencentcloud_sdk_python-3.1.124.dist-info → tencentcloud_sdk_python-3.1.126.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.124.dist-info → tencentcloud_sdk_python-3.1.126.dist-info}/RECORD +59 -59
- {tencentcloud_sdk_python-3.1.124.dist-info → tencentcloud_sdk_python-3.1.126.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.124.dist-info → tencentcloud_sdk_python-3.1.126.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.124.dist-info → tencentcloud_sdk_python-3.1.126.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -26,6 +26,29 @@ class AdpClient(AbstractClient):
|
|
|
26
26
|
_service = 'adp'
|
|
27
27
|
|
|
28
28
|
|
|
29
|
+
def CopyAgentFromApp(self, request):
|
|
30
|
+
r"""创建Agent
|
|
31
|
+
|
|
32
|
+
:param request: Request instance for CopyAgentFromApp.
|
|
33
|
+
:type request: :class:`tencentcloud.adp.v20260520.models.CopyAgentFromAppRequest`
|
|
34
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.CopyAgentFromAppResponse`
|
|
35
|
+
|
|
36
|
+
"""
|
|
37
|
+
try:
|
|
38
|
+
params = request._serialize()
|
|
39
|
+
headers = request.headers
|
|
40
|
+
body = self.call("CopyAgentFromApp", params, headers=headers)
|
|
41
|
+
response = json.loads(body)
|
|
42
|
+
model = models.CopyAgentFromAppResponse()
|
|
43
|
+
model._deserialize(response["Response"])
|
|
44
|
+
return model
|
|
45
|
+
except Exception as e:
|
|
46
|
+
if isinstance(e, TencentCloudSDKException):
|
|
47
|
+
raise
|
|
48
|
+
else:
|
|
49
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
|
+
|
|
51
|
+
|
|
29
52
|
def CopyApp(self, request):
|
|
30
53
|
r"""复制应用
|
|
31
54
|
|
|
@@ -25,6 +25,24 @@ class AdpClient(AbstractClient):
|
|
|
25
25
|
_endpoint = 'adp.tencentcloudapi.com'
|
|
26
26
|
_service = 'adp'
|
|
27
27
|
|
|
28
|
+
async def CopyAgentFromApp(
|
|
29
|
+
self,
|
|
30
|
+
request: models.CopyAgentFromAppRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.CopyAgentFromAppResponse:
|
|
33
|
+
"""
|
|
34
|
+
创建Agent
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "CopyAgentFromApp"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.CopyAgentFromAppResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|
|
45
|
+
|
|
28
46
|
async def CopyApp(
|
|
29
47
|
self,
|
|
30
48
|
request: models.CopyAppRequest,
|
|
@@ -6450,6 +6450,115 @@ class ConversationWorkspace(AbstractModel):
|
|
|
6450
6450
|
|
|
6451
6451
|
|
|
6452
6452
|
|
|
6453
|
+
class CopyAgentFromAppRequest(AbstractModel):
|
|
6454
|
+
r"""CopyAgentFromApp请求参数结构体
|
|
6455
|
+
|
|
6456
|
+
"""
|
|
6457
|
+
|
|
6458
|
+
def __init__(self):
|
|
6459
|
+
r"""
|
|
6460
|
+
:param _AppId: <p>应用Id</p>
|
|
6461
|
+
:type AppId: str
|
|
6462
|
+
:param _TargetAppId: <p>目标应用ID,kind=0时需传入</p>
|
|
6463
|
+
:type TargetAppId: str
|
|
6464
|
+
:param _Kind: <p>Agent 类型,区分 B 端配置态 Agent 与 C 端用户态 Agent</p><p>枚举值:</p><ul><li>0: 配置端Agent </li><li>1: 用户态 Agent</li></ul>
|
|
6465
|
+
:type Kind: int
|
|
6466
|
+
"""
|
|
6467
|
+
self._AppId = None
|
|
6468
|
+
self._TargetAppId = None
|
|
6469
|
+
self._Kind = None
|
|
6470
|
+
|
|
6471
|
+
@property
|
|
6472
|
+
def AppId(self):
|
|
6473
|
+
r"""<p>应用Id</p>
|
|
6474
|
+
:rtype: str
|
|
6475
|
+
"""
|
|
6476
|
+
return self._AppId
|
|
6477
|
+
|
|
6478
|
+
@AppId.setter
|
|
6479
|
+
def AppId(self, AppId):
|
|
6480
|
+
self._AppId = AppId
|
|
6481
|
+
|
|
6482
|
+
@property
|
|
6483
|
+
def TargetAppId(self):
|
|
6484
|
+
r"""<p>目标应用ID,kind=0时需传入</p>
|
|
6485
|
+
:rtype: str
|
|
6486
|
+
"""
|
|
6487
|
+
return self._TargetAppId
|
|
6488
|
+
|
|
6489
|
+
@TargetAppId.setter
|
|
6490
|
+
def TargetAppId(self, TargetAppId):
|
|
6491
|
+
self._TargetAppId = TargetAppId
|
|
6492
|
+
|
|
6493
|
+
@property
|
|
6494
|
+
def Kind(self):
|
|
6495
|
+
r"""<p>Agent 类型,区分 B 端配置态 Agent 与 C 端用户态 Agent</p><p>枚举值:</p><ul><li>0: 配置端Agent </li><li>1: 用户态 Agent</li></ul>
|
|
6496
|
+
:rtype: int
|
|
6497
|
+
"""
|
|
6498
|
+
return self._Kind
|
|
6499
|
+
|
|
6500
|
+
@Kind.setter
|
|
6501
|
+
def Kind(self, Kind):
|
|
6502
|
+
self._Kind = Kind
|
|
6503
|
+
|
|
6504
|
+
|
|
6505
|
+
def _deserialize(self, params):
|
|
6506
|
+
self._AppId = params.get("AppId")
|
|
6507
|
+
self._TargetAppId = params.get("TargetAppId")
|
|
6508
|
+
self._Kind = params.get("Kind")
|
|
6509
|
+
memeber_set = set(params.keys())
|
|
6510
|
+
for name, value in vars(self).items():
|
|
6511
|
+
property_name = name[1:]
|
|
6512
|
+
if property_name in memeber_set:
|
|
6513
|
+
memeber_set.remove(property_name)
|
|
6514
|
+
if len(memeber_set) > 0:
|
|
6515
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6516
|
+
|
|
6517
|
+
|
|
6518
|
+
|
|
6519
|
+
class CopyAgentFromAppResponse(AbstractModel):
|
|
6520
|
+
r"""CopyAgentFromApp返回参数结构体
|
|
6521
|
+
|
|
6522
|
+
"""
|
|
6523
|
+
|
|
6524
|
+
def __init__(self):
|
|
6525
|
+
r"""
|
|
6526
|
+
:param _ParentAgentId: <p>主 Agent Id</p>
|
|
6527
|
+
:type ParentAgentId: str
|
|
6528
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6529
|
+
:type RequestId: str
|
|
6530
|
+
"""
|
|
6531
|
+
self._ParentAgentId = None
|
|
6532
|
+
self._RequestId = None
|
|
6533
|
+
|
|
6534
|
+
@property
|
|
6535
|
+
def ParentAgentId(self):
|
|
6536
|
+
r"""<p>主 Agent Id</p>
|
|
6537
|
+
:rtype: str
|
|
6538
|
+
"""
|
|
6539
|
+
return self._ParentAgentId
|
|
6540
|
+
|
|
6541
|
+
@ParentAgentId.setter
|
|
6542
|
+
def ParentAgentId(self, ParentAgentId):
|
|
6543
|
+
self._ParentAgentId = ParentAgentId
|
|
6544
|
+
|
|
6545
|
+
@property
|
|
6546
|
+
def RequestId(self):
|
|
6547
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6548
|
+
:rtype: str
|
|
6549
|
+
"""
|
|
6550
|
+
return self._RequestId
|
|
6551
|
+
|
|
6552
|
+
@RequestId.setter
|
|
6553
|
+
def RequestId(self, RequestId):
|
|
6554
|
+
self._RequestId = RequestId
|
|
6555
|
+
|
|
6556
|
+
|
|
6557
|
+
def _deserialize(self, params):
|
|
6558
|
+
self._ParentAgentId = params.get("ParentAgentId")
|
|
6559
|
+
self._RequestId = params.get("RequestId")
|
|
6560
|
+
|
|
6561
|
+
|
|
6453
6562
|
class CopyAppRequest(AbstractModel):
|
|
6454
6563
|
r"""CopyApp请求参数结构体
|
|
6455
6564
|
|
|
@@ -15689,26 +15798,29 @@ class SingleWorkflowConfig(AbstractModel):
|
|
|
15689
15798
|
|
|
15690
15799
|
def __init__(self):
|
|
15691
15800
|
r"""
|
|
15692
|
-
:param _AsyncWorkflow:
|
|
15801
|
+
:param _AsyncWorkflow: <p>是否开启异步工作流</p>
|
|
15693
15802
|
:type AsyncWorkflow: bool
|
|
15694
|
-
:param _Status:
|
|
15803
|
+
:param _Status: <p>状态 发布状态(UNPUBLISHED: 待发布 PUBLISHING: 发布中 PUBLISHED: 已发布 PUBLISHED_FAIL:发布失败;DRAFT:待调试)</p>
|
|
15695
15804
|
:type Status: str
|
|
15696
|
-
:param _WorkflowDescription:
|
|
15805
|
+
:param _WorkflowDescription: <p>工作流描述</p>
|
|
15697
15806
|
:type WorkflowDescription: str
|
|
15698
|
-
:param _WorkflowId:
|
|
15807
|
+
:param _WorkflowId: <p>工作流Id</p>
|
|
15699
15808
|
:type WorkflowId: str
|
|
15700
|
-
:param _WorkflowName:
|
|
15809
|
+
:param _WorkflowName: <p>工作流名称</p>
|
|
15701
15810
|
:type WorkflowName: str
|
|
15811
|
+
:param _Enabled: <p>工作流是否启用</p>
|
|
15812
|
+
:type Enabled: bool
|
|
15702
15813
|
"""
|
|
15703
15814
|
self._AsyncWorkflow = None
|
|
15704
15815
|
self._Status = None
|
|
15705
15816
|
self._WorkflowDescription = None
|
|
15706
15817
|
self._WorkflowId = None
|
|
15707
15818
|
self._WorkflowName = None
|
|
15819
|
+
self._Enabled = None
|
|
15708
15820
|
|
|
15709
15821
|
@property
|
|
15710
15822
|
def AsyncWorkflow(self):
|
|
15711
|
-
r"""
|
|
15823
|
+
r"""<p>是否开启异步工作流</p>
|
|
15712
15824
|
:rtype: bool
|
|
15713
15825
|
"""
|
|
15714
15826
|
return self._AsyncWorkflow
|
|
@@ -15719,7 +15831,7 @@ class SingleWorkflowConfig(AbstractModel):
|
|
|
15719
15831
|
|
|
15720
15832
|
@property
|
|
15721
15833
|
def Status(self):
|
|
15722
|
-
r"""
|
|
15834
|
+
r"""<p>状态 发布状态(UNPUBLISHED: 待发布 PUBLISHING: 发布中 PUBLISHED: 已发布 PUBLISHED_FAIL:发布失败;DRAFT:待调试)</p>
|
|
15723
15835
|
:rtype: str
|
|
15724
15836
|
"""
|
|
15725
15837
|
return self._Status
|
|
@@ -15730,7 +15842,7 @@ class SingleWorkflowConfig(AbstractModel):
|
|
|
15730
15842
|
|
|
15731
15843
|
@property
|
|
15732
15844
|
def WorkflowDescription(self):
|
|
15733
|
-
r"""
|
|
15845
|
+
r"""<p>工作流描述</p>
|
|
15734
15846
|
:rtype: str
|
|
15735
15847
|
"""
|
|
15736
15848
|
return self._WorkflowDescription
|
|
@@ -15741,7 +15853,7 @@ class SingleWorkflowConfig(AbstractModel):
|
|
|
15741
15853
|
|
|
15742
15854
|
@property
|
|
15743
15855
|
def WorkflowId(self):
|
|
15744
|
-
r"""
|
|
15856
|
+
r"""<p>工作流Id</p>
|
|
15745
15857
|
:rtype: str
|
|
15746
15858
|
"""
|
|
15747
15859
|
return self._WorkflowId
|
|
@@ -15752,7 +15864,7 @@ class SingleWorkflowConfig(AbstractModel):
|
|
|
15752
15864
|
|
|
15753
15865
|
@property
|
|
15754
15866
|
def WorkflowName(self):
|
|
15755
|
-
r"""
|
|
15867
|
+
r"""<p>工作流名称</p>
|
|
15756
15868
|
:rtype: str
|
|
15757
15869
|
"""
|
|
15758
15870
|
return self._WorkflowName
|
|
@@ -15761,6 +15873,17 @@ class SingleWorkflowConfig(AbstractModel):
|
|
|
15761
15873
|
def WorkflowName(self, WorkflowName):
|
|
15762
15874
|
self._WorkflowName = WorkflowName
|
|
15763
15875
|
|
|
15876
|
+
@property
|
|
15877
|
+
def Enabled(self):
|
|
15878
|
+
r"""<p>工作流是否启用</p>
|
|
15879
|
+
:rtype: bool
|
|
15880
|
+
"""
|
|
15881
|
+
return self._Enabled
|
|
15882
|
+
|
|
15883
|
+
@Enabled.setter
|
|
15884
|
+
def Enabled(self, Enabled):
|
|
15885
|
+
self._Enabled = Enabled
|
|
15886
|
+
|
|
15764
15887
|
|
|
15765
15888
|
def _deserialize(self, params):
|
|
15766
15889
|
self._AsyncWorkflow = params.get("AsyncWorkflow")
|
|
@@ -15768,6 +15891,7 @@ class SingleWorkflowConfig(AbstractModel):
|
|
|
15768
15891
|
self._WorkflowDescription = params.get("WorkflowDescription")
|
|
15769
15892
|
self._WorkflowId = params.get("WorkflowId")
|
|
15770
15893
|
self._WorkflowName = params.get("WorkflowName")
|
|
15894
|
+
self._Enabled = params.get("Enabled")
|
|
15771
15895
|
memeber_set = set(params.keys())
|
|
15772
15896
|
for name, value in vars(self).items():
|
|
15773
15897
|
property_name = name[1:]
|
|
@@ -618,7 +618,7 @@ class CreateSandboxToolRequest(AbstractModel):
|
|
|
618
618
|
r"""
|
|
619
619
|
:param _ToolName: <p>沙箱工具名称,长度 1-50 字符,支持英文、数字、下划线和连接线。同一 AppId 下沙箱工具名称必须唯一</p>
|
|
620
620
|
:type ToolName: str
|
|
621
|
-
:param _ToolType: <p>沙箱工具类型,目前支持:browser、code-interpreter、custom
|
|
621
|
+
:param _ToolType: <p>沙箱工具类型,目前支持:browser、code-interpreter、custom等</p><p>枚举值:</p><ul><li>browser: browser</li><li>code-interpreter: code-interpreter</li><li>mobile: mobile</li><li>osworld: osworld</li><li>custom: custom</li><li>swebench: swebench</li><li>aio: aio</li><li>android-world: android-world</li><li>waa: waa</li></ul>
|
|
622
622
|
:type ToolType: str
|
|
623
623
|
:param _NetworkConfiguration: <p>网络配置</p>
|
|
624
624
|
:type NetworkConfiguration: :class:`tencentcloud.ags.v20250920.models.NetworkConfiguration`
|
|
@@ -667,7 +667,7 @@ class CreateSandboxToolRequest(AbstractModel):
|
|
|
667
667
|
|
|
668
668
|
@property
|
|
669
669
|
def ToolType(self):
|
|
670
|
-
r"""<p>沙箱工具类型,目前支持:browser、code-interpreter、custom
|
|
670
|
+
r"""<p>沙箱工具类型,目前支持:browser、code-interpreter、custom等</p><p>枚举值:</p><ul><li>browser: browser</li><li>code-interpreter: code-interpreter</li><li>mobile: mobile</li><li>osworld: osworld</li><li>custom: custom</li><li>swebench: swebench</li><li>aio: aio</li><li>android-world: android-world</li><li>waa: waa</li></ul>
|
|
671
671
|
:rtype: str
|
|
672
672
|
"""
|
|
673
673
|
return self._ToolType
|
|
@@ -2075,26 +2075,29 @@ class CreateOIDCConfigRequest(AbstractModel):
|
|
|
2075
2075
|
|
|
2076
2076
|
def __init__(self):
|
|
2077
2077
|
r"""
|
|
2078
|
-
:param _IdentityUrl:
|
|
2078
|
+
:param _IdentityUrl: <p>身份提供商URL</p>
|
|
2079
2079
|
:type IdentityUrl: str
|
|
2080
|
-
:param _ClientId:
|
|
2080
|
+
:param _ClientId: <p>客户端ID</p>
|
|
2081
2081
|
:type ClientId: list of str
|
|
2082
|
-
:param _Name:
|
|
2082
|
+
:param _Name: <p>名称</p>
|
|
2083
2083
|
:type Name: str
|
|
2084
|
-
:param _IdentityKey:
|
|
2084
|
+
:param _IdentityKey: <p>签名公钥,需要base64</p>
|
|
2085
2085
|
:type IdentityKey: str
|
|
2086
|
-
:param _Description:
|
|
2086
|
+
:param _Description: <p>描述</p>
|
|
2087
2087
|
:type Description: str
|
|
2088
|
+
:param _AutoRotateKey: <p>OIDC公钥自动轮转开关</p><p>枚举值:</p><ul><li>0: 关闭</li><li>1: 开启</li></ul><p>默认值:0</p>
|
|
2089
|
+
:type AutoRotateKey: int
|
|
2088
2090
|
"""
|
|
2089
2091
|
self._IdentityUrl = None
|
|
2090
2092
|
self._ClientId = None
|
|
2091
2093
|
self._Name = None
|
|
2092
2094
|
self._IdentityKey = None
|
|
2093
2095
|
self._Description = None
|
|
2096
|
+
self._AutoRotateKey = None
|
|
2094
2097
|
|
|
2095
2098
|
@property
|
|
2096
2099
|
def IdentityUrl(self):
|
|
2097
|
-
r"""
|
|
2100
|
+
r"""<p>身份提供商URL</p>
|
|
2098
2101
|
:rtype: str
|
|
2099
2102
|
"""
|
|
2100
2103
|
return self._IdentityUrl
|
|
@@ -2105,7 +2108,7 @@ class CreateOIDCConfigRequest(AbstractModel):
|
|
|
2105
2108
|
|
|
2106
2109
|
@property
|
|
2107
2110
|
def ClientId(self):
|
|
2108
|
-
r"""
|
|
2111
|
+
r"""<p>客户端ID</p>
|
|
2109
2112
|
:rtype: list of str
|
|
2110
2113
|
"""
|
|
2111
2114
|
return self._ClientId
|
|
@@ -2116,7 +2119,7 @@ class CreateOIDCConfigRequest(AbstractModel):
|
|
|
2116
2119
|
|
|
2117
2120
|
@property
|
|
2118
2121
|
def Name(self):
|
|
2119
|
-
r"""
|
|
2122
|
+
r"""<p>名称</p>
|
|
2120
2123
|
:rtype: str
|
|
2121
2124
|
"""
|
|
2122
2125
|
return self._Name
|
|
@@ -2127,7 +2130,7 @@ class CreateOIDCConfigRequest(AbstractModel):
|
|
|
2127
2130
|
|
|
2128
2131
|
@property
|
|
2129
2132
|
def IdentityKey(self):
|
|
2130
|
-
r"""
|
|
2133
|
+
r"""<p>签名公钥,需要base64</p>
|
|
2131
2134
|
:rtype: str
|
|
2132
2135
|
"""
|
|
2133
2136
|
return self._IdentityKey
|
|
@@ -2138,7 +2141,7 @@ class CreateOIDCConfigRequest(AbstractModel):
|
|
|
2138
2141
|
|
|
2139
2142
|
@property
|
|
2140
2143
|
def Description(self):
|
|
2141
|
-
r"""
|
|
2144
|
+
r"""<p>描述</p>
|
|
2142
2145
|
:rtype: str
|
|
2143
2146
|
"""
|
|
2144
2147
|
return self._Description
|
|
@@ -2147,6 +2150,17 @@ class CreateOIDCConfigRequest(AbstractModel):
|
|
|
2147
2150
|
def Description(self, Description):
|
|
2148
2151
|
self._Description = Description
|
|
2149
2152
|
|
|
2153
|
+
@property
|
|
2154
|
+
def AutoRotateKey(self):
|
|
2155
|
+
r"""<p>OIDC公钥自动轮转开关</p><p>枚举值:</p><ul><li>0: 关闭</li><li>1: 开启</li></ul><p>默认值:0</p>
|
|
2156
|
+
:rtype: int
|
|
2157
|
+
"""
|
|
2158
|
+
return self._AutoRotateKey
|
|
2159
|
+
|
|
2160
|
+
@AutoRotateKey.setter
|
|
2161
|
+
def AutoRotateKey(self, AutoRotateKey):
|
|
2162
|
+
self._AutoRotateKey = AutoRotateKey
|
|
2163
|
+
|
|
2150
2164
|
|
|
2151
2165
|
def _deserialize(self, params):
|
|
2152
2166
|
self._IdentityUrl = params.get("IdentityUrl")
|
|
@@ -2154,6 +2168,7 @@ class CreateOIDCConfigRequest(AbstractModel):
|
|
|
2154
2168
|
self._Name = params.get("Name")
|
|
2155
2169
|
self._IdentityKey = params.get("IdentityKey")
|
|
2156
2170
|
self._Description = params.get("Description")
|
|
2171
|
+
self._AutoRotateKey = params.get("AutoRotateKey")
|
|
2157
2172
|
memeber_set = set(params.keys())
|
|
2158
2173
|
for name, value in vars(self).items():
|
|
2159
2174
|
property_name = name[1:]
|
|
@@ -4103,14 +4118,14 @@ class DescribeOIDCConfigRequest(AbstractModel):
|
|
|
4103
4118
|
|
|
4104
4119
|
def __init__(self):
|
|
4105
4120
|
r"""
|
|
4106
|
-
:param _Name:
|
|
4121
|
+
:param _Name: <p>名称</p>
|
|
4107
4122
|
:type Name: str
|
|
4108
4123
|
"""
|
|
4109
4124
|
self._Name = None
|
|
4110
4125
|
|
|
4111
4126
|
@property
|
|
4112
4127
|
def Name(self):
|
|
4113
|
-
r"""
|
|
4128
|
+
r"""<p>名称</p>
|
|
4114
4129
|
:rtype: str
|
|
4115
4130
|
"""
|
|
4116
4131
|
return self._Name
|
|
@@ -4139,20 +4154,22 @@ class DescribeOIDCConfigResponse(AbstractModel):
|
|
|
4139
4154
|
|
|
4140
4155
|
def __init__(self):
|
|
4141
4156
|
r"""
|
|
4142
|
-
:param _ProviderType:
|
|
4157
|
+
:param _ProviderType: <p>身份提供商类型 11角色身份提供商</p>
|
|
4143
4158
|
:type ProviderType: int
|
|
4144
|
-
:param _IdentityUrl:
|
|
4159
|
+
:param _IdentityUrl: <p>身份提供商URL</p>
|
|
4145
4160
|
:type IdentityUrl: str
|
|
4146
|
-
:param _IdentityKey:
|
|
4161
|
+
:param _IdentityKey: <p>签名公钥</p>
|
|
4147
4162
|
:type IdentityKey: str
|
|
4148
|
-
:param _ClientId:
|
|
4163
|
+
:param _ClientId: <p>客户端id</p>
|
|
4149
4164
|
:type ClientId: list of str
|
|
4150
|
-
:param _Status:
|
|
4165
|
+
:param _Status: <p>状态:0:未设置,11:已开启,2:已禁用</p>
|
|
4151
4166
|
:type Status: int
|
|
4152
|
-
:param _Description:
|
|
4167
|
+
:param _Description: <p>描述</p>
|
|
4153
4168
|
:type Description: str
|
|
4154
|
-
:param _Name:
|
|
4169
|
+
:param _Name: <p>名称</p>
|
|
4155
4170
|
:type Name: str
|
|
4171
|
+
:param _AutoRotateKey: <p>OIDC公钥自动轮转开关</p><p>枚举值:</p><ul><li>0: 关闭</li><li>1: 开启</li></ul><p>默认值:0</p>
|
|
4172
|
+
:type AutoRotateKey: int
|
|
4156
4173
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4157
4174
|
:type RequestId: str
|
|
4158
4175
|
"""
|
|
@@ -4163,11 +4180,12 @@ class DescribeOIDCConfigResponse(AbstractModel):
|
|
|
4163
4180
|
self._Status = None
|
|
4164
4181
|
self._Description = None
|
|
4165
4182
|
self._Name = None
|
|
4183
|
+
self._AutoRotateKey = None
|
|
4166
4184
|
self._RequestId = None
|
|
4167
4185
|
|
|
4168
4186
|
@property
|
|
4169
4187
|
def ProviderType(self):
|
|
4170
|
-
r"""
|
|
4188
|
+
r"""<p>身份提供商类型 11角色身份提供商</p>
|
|
4171
4189
|
:rtype: int
|
|
4172
4190
|
"""
|
|
4173
4191
|
return self._ProviderType
|
|
@@ -4178,7 +4196,7 @@ class DescribeOIDCConfigResponse(AbstractModel):
|
|
|
4178
4196
|
|
|
4179
4197
|
@property
|
|
4180
4198
|
def IdentityUrl(self):
|
|
4181
|
-
r"""
|
|
4199
|
+
r"""<p>身份提供商URL</p>
|
|
4182
4200
|
:rtype: str
|
|
4183
4201
|
"""
|
|
4184
4202
|
return self._IdentityUrl
|
|
@@ -4189,7 +4207,7 @@ class DescribeOIDCConfigResponse(AbstractModel):
|
|
|
4189
4207
|
|
|
4190
4208
|
@property
|
|
4191
4209
|
def IdentityKey(self):
|
|
4192
|
-
r"""
|
|
4210
|
+
r"""<p>签名公钥</p>
|
|
4193
4211
|
:rtype: str
|
|
4194
4212
|
"""
|
|
4195
4213
|
return self._IdentityKey
|
|
@@ -4200,7 +4218,7 @@ class DescribeOIDCConfigResponse(AbstractModel):
|
|
|
4200
4218
|
|
|
4201
4219
|
@property
|
|
4202
4220
|
def ClientId(self):
|
|
4203
|
-
r"""
|
|
4221
|
+
r"""<p>客户端id</p>
|
|
4204
4222
|
:rtype: list of str
|
|
4205
4223
|
"""
|
|
4206
4224
|
return self._ClientId
|
|
@@ -4211,7 +4229,7 @@ class DescribeOIDCConfigResponse(AbstractModel):
|
|
|
4211
4229
|
|
|
4212
4230
|
@property
|
|
4213
4231
|
def Status(self):
|
|
4214
|
-
r"""
|
|
4232
|
+
r"""<p>状态:0:未设置,11:已开启,2:已禁用</p>
|
|
4215
4233
|
:rtype: int
|
|
4216
4234
|
"""
|
|
4217
4235
|
return self._Status
|
|
@@ -4222,7 +4240,7 @@ class DescribeOIDCConfigResponse(AbstractModel):
|
|
|
4222
4240
|
|
|
4223
4241
|
@property
|
|
4224
4242
|
def Description(self):
|
|
4225
|
-
r"""
|
|
4243
|
+
r"""<p>描述</p>
|
|
4226
4244
|
:rtype: str
|
|
4227
4245
|
"""
|
|
4228
4246
|
return self._Description
|
|
@@ -4233,7 +4251,7 @@ class DescribeOIDCConfigResponse(AbstractModel):
|
|
|
4233
4251
|
|
|
4234
4252
|
@property
|
|
4235
4253
|
def Name(self):
|
|
4236
|
-
r"""
|
|
4254
|
+
r"""<p>名称</p>
|
|
4237
4255
|
:rtype: str
|
|
4238
4256
|
"""
|
|
4239
4257
|
return self._Name
|
|
@@ -4242,6 +4260,17 @@ class DescribeOIDCConfigResponse(AbstractModel):
|
|
|
4242
4260
|
def Name(self, Name):
|
|
4243
4261
|
self._Name = Name
|
|
4244
4262
|
|
|
4263
|
+
@property
|
|
4264
|
+
def AutoRotateKey(self):
|
|
4265
|
+
r"""<p>OIDC公钥自动轮转开关</p><p>枚举值:</p><ul><li>0: 关闭</li><li>1: 开启</li></ul><p>默认值:0</p>
|
|
4266
|
+
:rtype: int
|
|
4267
|
+
"""
|
|
4268
|
+
return self._AutoRotateKey
|
|
4269
|
+
|
|
4270
|
+
@AutoRotateKey.setter
|
|
4271
|
+
def AutoRotateKey(self, AutoRotateKey):
|
|
4272
|
+
self._AutoRotateKey = AutoRotateKey
|
|
4273
|
+
|
|
4245
4274
|
@property
|
|
4246
4275
|
def RequestId(self):
|
|
4247
4276
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -4262,6 +4291,7 @@ class DescribeOIDCConfigResponse(AbstractModel):
|
|
|
4262
4291
|
self._Status = params.get("Status")
|
|
4263
4292
|
self._Description = params.get("Description")
|
|
4264
4293
|
self._Name = params.get("Name")
|
|
4294
|
+
self._AutoRotateKey = params.get("AutoRotateKey")
|
|
4265
4295
|
self._RequestId = params.get("RequestId")
|
|
4266
4296
|
|
|
4267
4297
|
|
|
@@ -13146,26 +13176,29 @@ class UpdateOIDCConfigRequest(AbstractModel):
|
|
|
13146
13176
|
|
|
13147
13177
|
def __init__(self):
|
|
13148
13178
|
r"""
|
|
13149
|
-
:param _IdentityUrl:
|
|
13179
|
+
:param _IdentityUrl: <p>身份提供商URL</p>
|
|
13150
13180
|
:type IdentityUrl: str
|
|
13151
|
-
:param _ClientId:
|
|
13181
|
+
:param _ClientId: <p>客户端ID</p>
|
|
13152
13182
|
:type ClientId: list of str
|
|
13153
|
-
:param _Name:
|
|
13183
|
+
:param _Name: <p>名称</p>
|
|
13154
13184
|
:type Name: str
|
|
13155
|
-
:param _IdentityKey:
|
|
13185
|
+
:param _IdentityKey: <p>签名公钥,需要base64</p>
|
|
13156
13186
|
:type IdentityKey: str
|
|
13157
|
-
:param _Description:
|
|
13187
|
+
:param _Description: <p>描述</p>
|
|
13158
13188
|
:type Description: str
|
|
13189
|
+
:param _AutoRotateKey: <p>OIDC公钥自动轮转开关</p><p>枚举值:</p><ul><li>0: 关闭</li><li>1: 开启</li></ul><p>默认值:0</p>
|
|
13190
|
+
:type AutoRotateKey: int
|
|
13159
13191
|
"""
|
|
13160
13192
|
self._IdentityUrl = None
|
|
13161
13193
|
self._ClientId = None
|
|
13162
13194
|
self._Name = None
|
|
13163
13195
|
self._IdentityKey = None
|
|
13164
13196
|
self._Description = None
|
|
13197
|
+
self._AutoRotateKey = None
|
|
13165
13198
|
|
|
13166
13199
|
@property
|
|
13167
13200
|
def IdentityUrl(self):
|
|
13168
|
-
r"""
|
|
13201
|
+
r"""<p>身份提供商URL</p>
|
|
13169
13202
|
:rtype: str
|
|
13170
13203
|
"""
|
|
13171
13204
|
return self._IdentityUrl
|
|
@@ -13176,7 +13209,7 @@ class UpdateOIDCConfigRequest(AbstractModel):
|
|
|
13176
13209
|
|
|
13177
13210
|
@property
|
|
13178
13211
|
def ClientId(self):
|
|
13179
|
-
r"""
|
|
13212
|
+
r"""<p>客户端ID</p>
|
|
13180
13213
|
:rtype: list of str
|
|
13181
13214
|
"""
|
|
13182
13215
|
return self._ClientId
|
|
@@ -13187,7 +13220,7 @@ class UpdateOIDCConfigRequest(AbstractModel):
|
|
|
13187
13220
|
|
|
13188
13221
|
@property
|
|
13189
13222
|
def Name(self):
|
|
13190
|
-
r"""
|
|
13223
|
+
r"""<p>名称</p>
|
|
13191
13224
|
:rtype: str
|
|
13192
13225
|
"""
|
|
13193
13226
|
return self._Name
|
|
@@ -13198,7 +13231,7 @@ class UpdateOIDCConfigRequest(AbstractModel):
|
|
|
13198
13231
|
|
|
13199
13232
|
@property
|
|
13200
13233
|
def IdentityKey(self):
|
|
13201
|
-
r"""
|
|
13234
|
+
r"""<p>签名公钥,需要base64</p>
|
|
13202
13235
|
:rtype: str
|
|
13203
13236
|
"""
|
|
13204
13237
|
return self._IdentityKey
|
|
@@ -13209,7 +13242,7 @@ class UpdateOIDCConfigRequest(AbstractModel):
|
|
|
13209
13242
|
|
|
13210
13243
|
@property
|
|
13211
13244
|
def Description(self):
|
|
13212
|
-
r"""
|
|
13245
|
+
r"""<p>描述</p>
|
|
13213
13246
|
:rtype: str
|
|
13214
13247
|
"""
|
|
13215
13248
|
return self._Description
|
|
@@ -13218,6 +13251,17 @@ class UpdateOIDCConfigRequest(AbstractModel):
|
|
|
13218
13251
|
def Description(self, Description):
|
|
13219
13252
|
self._Description = Description
|
|
13220
13253
|
|
|
13254
|
+
@property
|
|
13255
|
+
def AutoRotateKey(self):
|
|
13256
|
+
r"""<p>OIDC公钥自动轮转开关</p><p>枚举值:</p><ul><li>0: 关闭</li><li>1: 开启</li></ul><p>默认值:0</p>
|
|
13257
|
+
:rtype: int
|
|
13258
|
+
"""
|
|
13259
|
+
return self._AutoRotateKey
|
|
13260
|
+
|
|
13261
|
+
@AutoRotateKey.setter
|
|
13262
|
+
def AutoRotateKey(self, AutoRotateKey):
|
|
13263
|
+
self._AutoRotateKey = AutoRotateKey
|
|
13264
|
+
|
|
13221
13265
|
|
|
13222
13266
|
def _deserialize(self, params):
|
|
13223
13267
|
self._IdentityUrl = params.get("IdentityUrl")
|
|
@@ -13225,6 +13269,7 @@ class UpdateOIDCConfigRequest(AbstractModel):
|
|
|
13225
13269
|
self._Name = params.get("Name")
|
|
13226
13270
|
self._IdentityKey = params.get("IdentityKey")
|
|
13227
13271
|
self._Description = params.get("Description")
|
|
13272
|
+
self._AutoRotateKey = params.get("AutoRotateKey")
|
|
13228
13273
|
memeber_set = set(params.keys())
|
|
13229
13274
|
for name, value in vars(self).items():
|
|
13230
13275
|
property_name = name[1:]
|