tencentcloud-sdk-python 3.0.1269__py2.py3-none-any.whl → 3.0.1270__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/af/v20200226/af_client.py +3 -1
- tencentcloud/billing/v20180709/models.py +2 -2
- tencentcloud/ckafka/v20190819/models.py +2 -2
- tencentcloud/cwp/v20180228/models.py +16 -0
- tencentcloud/ess/v20201111/models.py +27 -0
- tencentcloud/essbasic/v20210526/models.py +27 -0
- tencentcloud/faceid/v20180301/models.py +4 -0
- tencentcloud/iai/v20180301/models.py +12 -12
- tencentcloud/iap/__init__.py +0 -0
- tencentcloud/iap/v20240713/__init__.py +0 -0
- tencentcloud/iap/v20240713/errorcodes.py +48 -0
- tencentcloud/iap/v20240713/iap_client.py +164 -0
- tencentcloud/iap/v20240713/models.py +762 -0
- tencentcloud/lcic/v20220817/models.py +12 -6
- tencentcloud/live/v20180801/errorcodes.py +15 -0
- tencentcloud/live/v20180801/live_client.py +185 -0
- tencentcloud/live/v20180801/models.py +3372 -1460
- tencentcloud/mps/v20190612/models.py +32 -0
- tencentcloud/redis/v20180412/models.py +314 -216
- tencentcloud/redis/v20180412/redis_client.py +47 -47
- tencentcloud/tat/v20201028/models.py +10 -10
- tencentcloud/tke/v20220501/tke_client.py +2 -2
- tencentcloud/tse/v20201207/models.py +311 -6
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +769 -32
- tencentcloud/vpc/v20170312/vpc_client.py +93 -1
- {tencentcloud_sdk_python-3.0.1269.dist-info → tencentcloud_sdk_python-3.0.1270.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1269.dist-info → tencentcloud_sdk_python-3.0.1270.dist-info}/RECORD +32 -27
- {tencentcloud_sdk_python-3.0.1269.dist-info → tencentcloud_sdk_python-3.0.1270.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1269.dist-info → tencentcloud_sdk_python-3.0.1270.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1269.dist-info → tencentcloud_sdk_python-3.0.1270.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,762 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
import warnings
|
17
|
+
|
18
|
+
from tencentcloud.common.abstract_model import AbstractModel
|
19
|
+
|
20
|
+
|
21
|
+
class CreateIAPUserOIDCConfigRequest(AbstractModel):
|
22
|
+
"""CreateIAPUserOIDCConfig请求参数结构体
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _IdentityUrl: 身份提供商URL。OpenID Connect身份提供商标识。对应企业IdP提供的Openid-configuration中"issuer"字段的值。
|
29
|
+
:type IdentityUrl: str
|
30
|
+
:param _ClientId: 客户端ID,在OpenID Connect身份提供商注册的客户端ID。
|
31
|
+
:type ClientId: str
|
32
|
+
:param _AuthorizationEndpoint: 授权请求Endpoint,OpenID Connect身份提供商授权地址。对应企业IdP提供的Openid-configuration中"authorization_endpoint"字段的值。
|
33
|
+
:type AuthorizationEndpoint: str
|
34
|
+
:param _ResponseType: 授权请求Response type,固定值id_token
|
35
|
+
:type ResponseType: str
|
36
|
+
:param _ResponseMode: 授权请求Response mode。授权请求返回模式,form_post和fragment两种可选模式,推荐选择form_post模式。
|
37
|
+
:type ResponseMode: str
|
38
|
+
:param _MappingFiled: 映射字段名称。IdP的id_token中哪一个字段映射到子用户的用户名,通常是sub或者name字段
|
39
|
+
:type MappingFiled: str
|
40
|
+
:param _IdentityKey: 签名公钥,需要base64_encode。验证OpenID Connect身份提供商ID Token签名的公钥。为了您的账号安全,建议您定期轮换签名公钥。
|
41
|
+
:type IdentityKey: str
|
42
|
+
:param _Scope: 授权请求Scope。openid; email;profile。授权请求信息范围。默认必选openid。
|
43
|
+
:type Scope: list of str
|
44
|
+
:param _Description: 描述
|
45
|
+
:type Description: str
|
46
|
+
"""
|
47
|
+
self._IdentityUrl = None
|
48
|
+
self._ClientId = None
|
49
|
+
self._AuthorizationEndpoint = None
|
50
|
+
self._ResponseType = None
|
51
|
+
self._ResponseMode = None
|
52
|
+
self._MappingFiled = None
|
53
|
+
self._IdentityKey = None
|
54
|
+
self._Scope = None
|
55
|
+
self._Description = None
|
56
|
+
|
57
|
+
@property
|
58
|
+
def IdentityUrl(self):
|
59
|
+
"""身份提供商URL。OpenID Connect身份提供商标识。对应企业IdP提供的Openid-configuration中"issuer"字段的值。
|
60
|
+
:rtype: str
|
61
|
+
"""
|
62
|
+
return self._IdentityUrl
|
63
|
+
|
64
|
+
@IdentityUrl.setter
|
65
|
+
def IdentityUrl(self, IdentityUrl):
|
66
|
+
self._IdentityUrl = IdentityUrl
|
67
|
+
|
68
|
+
@property
|
69
|
+
def ClientId(self):
|
70
|
+
"""客户端ID,在OpenID Connect身份提供商注册的客户端ID。
|
71
|
+
:rtype: str
|
72
|
+
"""
|
73
|
+
return self._ClientId
|
74
|
+
|
75
|
+
@ClientId.setter
|
76
|
+
def ClientId(self, ClientId):
|
77
|
+
self._ClientId = ClientId
|
78
|
+
|
79
|
+
@property
|
80
|
+
def AuthorizationEndpoint(self):
|
81
|
+
"""授权请求Endpoint,OpenID Connect身份提供商授权地址。对应企业IdP提供的Openid-configuration中"authorization_endpoint"字段的值。
|
82
|
+
:rtype: str
|
83
|
+
"""
|
84
|
+
return self._AuthorizationEndpoint
|
85
|
+
|
86
|
+
@AuthorizationEndpoint.setter
|
87
|
+
def AuthorizationEndpoint(self, AuthorizationEndpoint):
|
88
|
+
self._AuthorizationEndpoint = AuthorizationEndpoint
|
89
|
+
|
90
|
+
@property
|
91
|
+
def ResponseType(self):
|
92
|
+
"""授权请求Response type,固定值id_token
|
93
|
+
:rtype: str
|
94
|
+
"""
|
95
|
+
return self._ResponseType
|
96
|
+
|
97
|
+
@ResponseType.setter
|
98
|
+
def ResponseType(self, ResponseType):
|
99
|
+
self._ResponseType = ResponseType
|
100
|
+
|
101
|
+
@property
|
102
|
+
def ResponseMode(self):
|
103
|
+
"""授权请求Response mode。授权请求返回模式,form_post和fragment两种可选模式,推荐选择form_post模式。
|
104
|
+
:rtype: str
|
105
|
+
"""
|
106
|
+
return self._ResponseMode
|
107
|
+
|
108
|
+
@ResponseMode.setter
|
109
|
+
def ResponseMode(self, ResponseMode):
|
110
|
+
self._ResponseMode = ResponseMode
|
111
|
+
|
112
|
+
@property
|
113
|
+
def MappingFiled(self):
|
114
|
+
"""映射字段名称。IdP的id_token中哪一个字段映射到子用户的用户名,通常是sub或者name字段
|
115
|
+
:rtype: str
|
116
|
+
"""
|
117
|
+
return self._MappingFiled
|
118
|
+
|
119
|
+
@MappingFiled.setter
|
120
|
+
def MappingFiled(self, MappingFiled):
|
121
|
+
self._MappingFiled = MappingFiled
|
122
|
+
|
123
|
+
@property
|
124
|
+
def IdentityKey(self):
|
125
|
+
"""签名公钥,需要base64_encode。验证OpenID Connect身份提供商ID Token签名的公钥。为了您的账号安全,建议您定期轮换签名公钥。
|
126
|
+
:rtype: str
|
127
|
+
"""
|
128
|
+
return self._IdentityKey
|
129
|
+
|
130
|
+
@IdentityKey.setter
|
131
|
+
def IdentityKey(self, IdentityKey):
|
132
|
+
self._IdentityKey = IdentityKey
|
133
|
+
|
134
|
+
@property
|
135
|
+
def Scope(self):
|
136
|
+
"""授权请求Scope。openid; email;profile。授权请求信息范围。默认必选openid。
|
137
|
+
:rtype: list of str
|
138
|
+
"""
|
139
|
+
return self._Scope
|
140
|
+
|
141
|
+
@Scope.setter
|
142
|
+
def Scope(self, Scope):
|
143
|
+
self._Scope = Scope
|
144
|
+
|
145
|
+
@property
|
146
|
+
def Description(self):
|
147
|
+
"""描述
|
148
|
+
:rtype: str
|
149
|
+
"""
|
150
|
+
return self._Description
|
151
|
+
|
152
|
+
@Description.setter
|
153
|
+
def Description(self, Description):
|
154
|
+
self._Description = Description
|
155
|
+
|
156
|
+
|
157
|
+
def _deserialize(self, params):
|
158
|
+
self._IdentityUrl = params.get("IdentityUrl")
|
159
|
+
self._ClientId = params.get("ClientId")
|
160
|
+
self._AuthorizationEndpoint = params.get("AuthorizationEndpoint")
|
161
|
+
self._ResponseType = params.get("ResponseType")
|
162
|
+
self._ResponseMode = params.get("ResponseMode")
|
163
|
+
self._MappingFiled = params.get("MappingFiled")
|
164
|
+
self._IdentityKey = params.get("IdentityKey")
|
165
|
+
self._Scope = params.get("Scope")
|
166
|
+
self._Description = params.get("Description")
|
167
|
+
memeber_set = set(params.keys())
|
168
|
+
for name, value in vars(self).items():
|
169
|
+
property_name = name[1:]
|
170
|
+
if property_name in memeber_set:
|
171
|
+
memeber_set.remove(property_name)
|
172
|
+
if len(memeber_set) > 0:
|
173
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
class CreateIAPUserOIDCConfigResponse(AbstractModel):
|
178
|
+
"""CreateIAPUserOIDCConfig返回参数结构体
|
179
|
+
|
180
|
+
"""
|
181
|
+
|
182
|
+
def __init__(self):
|
183
|
+
r"""
|
184
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
185
|
+
:type RequestId: str
|
186
|
+
"""
|
187
|
+
self._RequestId = None
|
188
|
+
|
189
|
+
@property
|
190
|
+
def RequestId(self):
|
191
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
192
|
+
:rtype: str
|
193
|
+
"""
|
194
|
+
return self._RequestId
|
195
|
+
|
196
|
+
@RequestId.setter
|
197
|
+
def RequestId(self, RequestId):
|
198
|
+
self._RequestId = RequestId
|
199
|
+
|
200
|
+
|
201
|
+
def _deserialize(self, params):
|
202
|
+
self._RequestId = params.get("RequestId")
|
203
|
+
|
204
|
+
|
205
|
+
class DescribeIAPLoginSessionDurationRequest(AbstractModel):
|
206
|
+
"""DescribeIAPLoginSessionDuration请求参数结构体
|
207
|
+
|
208
|
+
"""
|
209
|
+
|
210
|
+
|
211
|
+
class DescribeIAPLoginSessionDurationResponse(AbstractModel):
|
212
|
+
"""DescribeIAPLoginSessionDuration返回参数结构体
|
213
|
+
|
214
|
+
"""
|
215
|
+
|
216
|
+
def __init__(self):
|
217
|
+
r"""
|
218
|
+
:param _Duration: 登录会话时长
|
219
|
+
:type Duration: int
|
220
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
221
|
+
:type RequestId: str
|
222
|
+
"""
|
223
|
+
self._Duration = None
|
224
|
+
self._RequestId = None
|
225
|
+
|
226
|
+
@property
|
227
|
+
def Duration(self):
|
228
|
+
"""登录会话时长
|
229
|
+
:rtype: int
|
230
|
+
"""
|
231
|
+
return self._Duration
|
232
|
+
|
233
|
+
@Duration.setter
|
234
|
+
def Duration(self, Duration):
|
235
|
+
self._Duration = Duration
|
236
|
+
|
237
|
+
@property
|
238
|
+
def RequestId(self):
|
239
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
240
|
+
:rtype: str
|
241
|
+
"""
|
242
|
+
return self._RequestId
|
243
|
+
|
244
|
+
@RequestId.setter
|
245
|
+
def RequestId(self, RequestId):
|
246
|
+
self._RequestId = RequestId
|
247
|
+
|
248
|
+
|
249
|
+
def _deserialize(self, params):
|
250
|
+
self._Duration = params.get("Duration")
|
251
|
+
self._RequestId = params.get("RequestId")
|
252
|
+
|
253
|
+
|
254
|
+
class DescribeIAPUserOIDCConfigRequest(AbstractModel):
|
255
|
+
"""DescribeIAPUserOIDCConfig请求参数结构体
|
256
|
+
|
257
|
+
"""
|
258
|
+
|
259
|
+
|
260
|
+
class DescribeIAPUserOIDCConfigResponse(AbstractModel):
|
261
|
+
"""DescribeIAPUserOIDCConfig返回参数结构体
|
262
|
+
|
263
|
+
"""
|
264
|
+
|
265
|
+
def __init__(self):
|
266
|
+
r"""
|
267
|
+
:param _ProviderType: 身份提供商类型。 13:IAP用户OIDC身份提供商
|
268
|
+
:type ProviderType: int
|
269
|
+
:param _IdentityUrl: 身份提供商URL
|
270
|
+
:type IdentityUrl: str
|
271
|
+
:param _IdentityKey: 签名公钥
|
272
|
+
:type IdentityKey: str
|
273
|
+
:param _ClientId: 客户端id
|
274
|
+
:type ClientId: str
|
275
|
+
:param _Status: 状态:0:未设置,11:已开启,2:已禁用
|
276
|
+
:type Status: int
|
277
|
+
:param _Fingerprints: HTTPS CA证书的验证指纹,允许英文字母和数字,每个指纹长度为40个字符,最多5个指纹。
|
278
|
+
:type Fingerprints: list of str
|
279
|
+
:param _EnableAutoPublicKey: 是否需要开启自动使用OIDC签名公钥,1:需要,2:不需要,默认不需要
|
280
|
+
:type EnableAutoPublicKey: int
|
281
|
+
:param _AuthorizationEndpoint: 授权请求Endpoint
|
282
|
+
:type AuthorizationEndpoint: str
|
283
|
+
:param _Scope: 授权请求Scope
|
284
|
+
:type Scope: list of str
|
285
|
+
:param _ResponseType: 授权请求Response type
|
286
|
+
:type ResponseType: str
|
287
|
+
:param _ResponseMode: 授权请求Response mode
|
288
|
+
:type ResponseMode: str
|
289
|
+
:param _MappingFiled: 映射字段名称
|
290
|
+
:type MappingFiled: str
|
291
|
+
:param _Description: 描述
|
292
|
+
:type Description: str
|
293
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
294
|
+
:type RequestId: str
|
295
|
+
"""
|
296
|
+
self._ProviderType = None
|
297
|
+
self._IdentityUrl = None
|
298
|
+
self._IdentityKey = None
|
299
|
+
self._ClientId = None
|
300
|
+
self._Status = None
|
301
|
+
self._Fingerprints = None
|
302
|
+
self._EnableAutoPublicKey = None
|
303
|
+
self._AuthorizationEndpoint = None
|
304
|
+
self._Scope = None
|
305
|
+
self._ResponseType = None
|
306
|
+
self._ResponseMode = None
|
307
|
+
self._MappingFiled = None
|
308
|
+
self._Description = None
|
309
|
+
self._RequestId = None
|
310
|
+
|
311
|
+
@property
|
312
|
+
def ProviderType(self):
|
313
|
+
"""身份提供商类型。 13:IAP用户OIDC身份提供商
|
314
|
+
:rtype: int
|
315
|
+
"""
|
316
|
+
return self._ProviderType
|
317
|
+
|
318
|
+
@ProviderType.setter
|
319
|
+
def ProviderType(self, ProviderType):
|
320
|
+
self._ProviderType = ProviderType
|
321
|
+
|
322
|
+
@property
|
323
|
+
def IdentityUrl(self):
|
324
|
+
"""身份提供商URL
|
325
|
+
:rtype: str
|
326
|
+
"""
|
327
|
+
return self._IdentityUrl
|
328
|
+
|
329
|
+
@IdentityUrl.setter
|
330
|
+
def IdentityUrl(self, IdentityUrl):
|
331
|
+
self._IdentityUrl = IdentityUrl
|
332
|
+
|
333
|
+
@property
|
334
|
+
def IdentityKey(self):
|
335
|
+
"""签名公钥
|
336
|
+
:rtype: str
|
337
|
+
"""
|
338
|
+
return self._IdentityKey
|
339
|
+
|
340
|
+
@IdentityKey.setter
|
341
|
+
def IdentityKey(self, IdentityKey):
|
342
|
+
self._IdentityKey = IdentityKey
|
343
|
+
|
344
|
+
@property
|
345
|
+
def ClientId(self):
|
346
|
+
"""客户端id
|
347
|
+
:rtype: str
|
348
|
+
"""
|
349
|
+
return self._ClientId
|
350
|
+
|
351
|
+
@ClientId.setter
|
352
|
+
def ClientId(self, ClientId):
|
353
|
+
self._ClientId = ClientId
|
354
|
+
|
355
|
+
@property
|
356
|
+
def Status(self):
|
357
|
+
"""状态:0:未设置,11:已开启,2:已禁用
|
358
|
+
:rtype: int
|
359
|
+
"""
|
360
|
+
return self._Status
|
361
|
+
|
362
|
+
@Status.setter
|
363
|
+
def Status(self, Status):
|
364
|
+
self._Status = Status
|
365
|
+
|
366
|
+
@property
|
367
|
+
def Fingerprints(self):
|
368
|
+
"""HTTPS CA证书的验证指纹,允许英文字母和数字,每个指纹长度为40个字符,最多5个指纹。
|
369
|
+
:rtype: list of str
|
370
|
+
"""
|
371
|
+
return self._Fingerprints
|
372
|
+
|
373
|
+
@Fingerprints.setter
|
374
|
+
def Fingerprints(self, Fingerprints):
|
375
|
+
self._Fingerprints = Fingerprints
|
376
|
+
|
377
|
+
@property
|
378
|
+
def EnableAutoPublicKey(self):
|
379
|
+
"""是否需要开启自动使用OIDC签名公钥,1:需要,2:不需要,默认不需要
|
380
|
+
:rtype: int
|
381
|
+
"""
|
382
|
+
return self._EnableAutoPublicKey
|
383
|
+
|
384
|
+
@EnableAutoPublicKey.setter
|
385
|
+
def EnableAutoPublicKey(self, EnableAutoPublicKey):
|
386
|
+
self._EnableAutoPublicKey = EnableAutoPublicKey
|
387
|
+
|
388
|
+
@property
|
389
|
+
def AuthorizationEndpoint(self):
|
390
|
+
"""授权请求Endpoint
|
391
|
+
:rtype: str
|
392
|
+
"""
|
393
|
+
return self._AuthorizationEndpoint
|
394
|
+
|
395
|
+
@AuthorizationEndpoint.setter
|
396
|
+
def AuthorizationEndpoint(self, AuthorizationEndpoint):
|
397
|
+
self._AuthorizationEndpoint = AuthorizationEndpoint
|
398
|
+
|
399
|
+
@property
|
400
|
+
def Scope(self):
|
401
|
+
"""授权请求Scope
|
402
|
+
:rtype: list of str
|
403
|
+
"""
|
404
|
+
return self._Scope
|
405
|
+
|
406
|
+
@Scope.setter
|
407
|
+
def Scope(self, Scope):
|
408
|
+
self._Scope = Scope
|
409
|
+
|
410
|
+
@property
|
411
|
+
def ResponseType(self):
|
412
|
+
"""授权请求Response type
|
413
|
+
:rtype: str
|
414
|
+
"""
|
415
|
+
return self._ResponseType
|
416
|
+
|
417
|
+
@ResponseType.setter
|
418
|
+
def ResponseType(self, ResponseType):
|
419
|
+
self._ResponseType = ResponseType
|
420
|
+
|
421
|
+
@property
|
422
|
+
def ResponseMode(self):
|
423
|
+
"""授权请求Response mode
|
424
|
+
:rtype: str
|
425
|
+
"""
|
426
|
+
return self._ResponseMode
|
427
|
+
|
428
|
+
@ResponseMode.setter
|
429
|
+
def ResponseMode(self, ResponseMode):
|
430
|
+
self._ResponseMode = ResponseMode
|
431
|
+
|
432
|
+
@property
|
433
|
+
def MappingFiled(self):
|
434
|
+
"""映射字段名称
|
435
|
+
:rtype: str
|
436
|
+
"""
|
437
|
+
return self._MappingFiled
|
438
|
+
|
439
|
+
@MappingFiled.setter
|
440
|
+
def MappingFiled(self, MappingFiled):
|
441
|
+
self._MappingFiled = MappingFiled
|
442
|
+
|
443
|
+
@property
|
444
|
+
def Description(self):
|
445
|
+
"""描述
|
446
|
+
:rtype: str
|
447
|
+
"""
|
448
|
+
return self._Description
|
449
|
+
|
450
|
+
@Description.setter
|
451
|
+
def Description(self, Description):
|
452
|
+
self._Description = Description
|
453
|
+
|
454
|
+
@property
|
455
|
+
def RequestId(self):
|
456
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
457
|
+
:rtype: str
|
458
|
+
"""
|
459
|
+
return self._RequestId
|
460
|
+
|
461
|
+
@RequestId.setter
|
462
|
+
def RequestId(self, RequestId):
|
463
|
+
self._RequestId = RequestId
|
464
|
+
|
465
|
+
|
466
|
+
def _deserialize(self, params):
|
467
|
+
self._ProviderType = params.get("ProviderType")
|
468
|
+
self._IdentityUrl = params.get("IdentityUrl")
|
469
|
+
self._IdentityKey = params.get("IdentityKey")
|
470
|
+
self._ClientId = params.get("ClientId")
|
471
|
+
self._Status = params.get("Status")
|
472
|
+
self._Fingerprints = params.get("Fingerprints")
|
473
|
+
self._EnableAutoPublicKey = params.get("EnableAutoPublicKey")
|
474
|
+
self._AuthorizationEndpoint = params.get("AuthorizationEndpoint")
|
475
|
+
self._Scope = params.get("Scope")
|
476
|
+
self._ResponseType = params.get("ResponseType")
|
477
|
+
self._ResponseMode = params.get("ResponseMode")
|
478
|
+
self._MappingFiled = params.get("MappingFiled")
|
479
|
+
self._Description = params.get("Description")
|
480
|
+
self._RequestId = params.get("RequestId")
|
481
|
+
|
482
|
+
|
483
|
+
class DisableIAPUserSSORequest(AbstractModel):
|
484
|
+
"""DisableIAPUserSSO请求参数结构体
|
485
|
+
|
486
|
+
"""
|
487
|
+
|
488
|
+
|
489
|
+
class DisableIAPUserSSOResponse(AbstractModel):
|
490
|
+
"""DisableIAPUserSSO返回参数结构体
|
491
|
+
|
492
|
+
"""
|
493
|
+
|
494
|
+
def __init__(self):
|
495
|
+
r"""
|
496
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
497
|
+
:type RequestId: str
|
498
|
+
"""
|
499
|
+
self._RequestId = None
|
500
|
+
|
501
|
+
@property
|
502
|
+
def RequestId(self):
|
503
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
504
|
+
:rtype: str
|
505
|
+
"""
|
506
|
+
return self._RequestId
|
507
|
+
|
508
|
+
@RequestId.setter
|
509
|
+
def RequestId(self, RequestId):
|
510
|
+
self._RequestId = RequestId
|
511
|
+
|
512
|
+
|
513
|
+
def _deserialize(self, params):
|
514
|
+
self._RequestId = params.get("RequestId")
|
515
|
+
|
516
|
+
|
517
|
+
class ModifyIAPLoginSessionDurationRequest(AbstractModel):
|
518
|
+
"""ModifyIAPLoginSessionDuration请求参数结构体
|
519
|
+
|
520
|
+
"""
|
521
|
+
|
522
|
+
def __init__(self):
|
523
|
+
r"""
|
524
|
+
:param _Duration: 登录会话时长
|
525
|
+
:type Duration: int
|
526
|
+
"""
|
527
|
+
self._Duration = None
|
528
|
+
|
529
|
+
@property
|
530
|
+
def Duration(self):
|
531
|
+
"""登录会话时长
|
532
|
+
:rtype: int
|
533
|
+
"""
|
534
|
+
return self._Duration
|
535
|
+
|
536
|
+
@Duration.setter
|
537
|
+
def Duration(self, Duration):
|
538
|
+
self._Duration = Duration
|
539
|
+
|
540
|
+
|
541
|
+
def _deserialize(self, params):
|
542
|
+
self._Duration = params.get("Duration")
|
543
|
+
memeber_set = set(params.keys())
|
544
|
+
for name, value in vars(self).items():
|
545
|
+
property_name = name[1:]
|
546
|
+
if property_name in memeber_set:
|
547
|
+
memeber_set.remove(property_name)
|
548
|
+
if len(memeber_set) > 0:
|
549
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
550
|
+
|
551
|
+
|
552
|
+
|
553
|
+
class ModifyIAPLoginSessionDurationResponse(AbstractModel):
|
554
|
+
"""ModifyIAPLoginSessionDuration返回参数结构体
|
555
|
+
|
556
|
+
"""
|
557
|
+
|
558
|
+
def __init__(self):
|
559
|
+
r"""
|
560
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
561
|
+
:type RequestId: str
|
562
|
+
"""
|
563
|
+
self._RequestId = None
|
564
|
+
|
565
|
+
@property
|
566
|
+
def RequestId(self):
|
567
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
568
|
+
:rtype: str
|
569
|
+
"""
|
570
|
+
return self._RequestId
|
571
|
+
|
572
|
+
@RequestId.setter
|
573
|
+
def RequestId(self, RequestId):
|
574
|
+
self._RequestId = RequestId
|
575
|
+
|
576
|
+
|
577
|
+
def _deserialize(self, params):
|
578
|
+
self._RequestId = params.get("RequestId")
|
579
|
+
|
580
|
+
|
581
|
+
class UpdateIAPUserOIDCConfigRequest(AbstractModel):
|
582
|
+
"""UpdateIAPUserOIDCConfig请求参数结构体
|
583
|
+
|
584
|
+
"""
|
585
|
+
|
586
|
+
def __init__(self):
|
587
|
+
r"""
|
588
|
+
:param _IdentityUrl: 身份提供商URL。OpenID Connect身份提供商标识。对应企业IdP提供的Openid-configuration中"issuer"字段的值。
|
589
|
+
:type IdentityUrl: str
|
590
|
+
:param _ClientId: 客户端ID,在OpenID Connect身份提供商注册的客户端ID。
|
591
|
+
:type ClientId: str
|
592
|
+
:param _AuthorizationEndpoint: 授权请求Endpoint,OpenID Connect身份提供商授权地址。对应企业IdP提供的Openid-configuration中"authorization_endpoint"字段的值。
|
593
|
+
:type AuthorizationEndpoint: str
|
594
|
+
:param _ResponseType: 授权请求Response type,固定值id_token
|
595
|
+
:type ResponseType: str
|
596
|
+
:param _ResponseMode: 授权请求Response mode。授权请求返回模式,form_post和fragment两种可选模式,推荐选择form_post模式。
|
597
|
+
:type ResponseMode: str
|
598
|
+
:param _MappingFiled: 映射字段名称。IdP的id_token中哪一个字段映射到子用户的用户名,通常是sub或者name字段
|
599
|
+
:type MappingFiled: str
|
600
|
+
:param _IdentityKey: RSA签名公钥,JWKS格式,需要进行base64_encode。验证OpenID Connect身份提供商ID Token签名的公钥。为了您的账号安全,建议您定期轮换签名公钥。
|
601
|
+
:type IdentityKey: str
|
602
|
+
:param _Scope: 授权请求Scope。openid; email;profile。授权请求信息范围。默认必选openid。
|
603
|
+
:type Scope: list of str
|
604
|
+
:param _Description: 描述,长度为1~255个英文或中文字符,默认值为空。
|
605
|
+
:type Description: str
|
606
|
+
"""
|
607
|
+
self._IdentityUrl = None
|
608
|
+
self._ClientId = None
|
609
|
+
self._AuthorizationEndpoint = None
|
610
|
+
self._ResponseType = None
|
611
|
+
self._ResponseMode = None
|
612
|
+
self._MappingFiled = None
|
613
|
+
self._IdentityKey = None
|
614
|
+
self._Scope = None
|
615
|
+
self._Description = None
|
616
|
+
|
617
|
+
@property
|
618
|
+
def IdentityUrl(self):
|
619
|
+
"""身份提供商URL。OpenID Connect身份提供商标识。对应企业IdP提供的Openid-configuration中"issuer"字段的值。
|
620
|
+
:rtype: str
|
621
|
+
"""
|
622
|
+
return self._IdentityUrl
|
623
|
+
|
624
|
+
@IdentityUrl.setter
|
625
|
+
def IdentityUrl(self, IdentityUrl):
|
626
|
+
self._IdentityUrl = IdentityUrl
|
627
|
+
|
628
|
+
@property
|
629
|
+
def ClientId(self):
|
630
|
+
"""客户端ID,在OpenID Connect身份提供商注册的客户端ID。
|
631
|
+
:rtype: str
|
632
|
+
"""
|
633
|
+
return self._ClientId
|
634
|
+
|
635
|
+
@ClientId.setter
|
636
|
+
def ClientId(self, ClientId):
|
637
|
+
self._ClientId = ClientId
|
638
|
+
|
639
|
+
@property
|
640
|
+
def AuthorizationEndpoint(self):
|
641
|
+
"""授权请求Endpoint,OpenID Connect身份提供商授权地址。对应企业IdP提供的Openid-configuration中"authorization_endpoint"字段的值。
|
642
|
+
:rtype: str
|
643
|
+
"""
|
644
|
+
return self._AuthorizationEndpoint
|
645
|
+
|
646
|
+
@AuthorizationEndpoint.setter
|
647
|
+
def AuthorizationEndpoint(self, AuthorizationEndpoint):
|
648
|
+
self._AuthorizationEndpoint = AuthorizationEndpoint
|
649
|
+
|
650
|
+
@property
|
651
|
+
def ResponseType(self):
|
652
|
+
"""授权请求Response type,固定值id_token
|
653
|
+
:rtype: str
|
654
|
+
"""
|
655
|
+
return self._ResponseType
|
656
|
+
|
657
|
+
@ResponseType.setter
|
658
|
+
def ResponseType(self, ResponseType):
|
659
|
+
self._ResponseType = ResponseType
|
660
|
+
|
661
|
+
@property
|
662
|
+
def ResponseMode(self):
|
663
|
+
"""授权请求Response mode。授权请求返回模式,form_post和fragment两种可选模式,推荐选择form_post模式。
|
664
|
+
:rtype: str
|
665
|
+
"""
|
666
|
+
return self._ResponseMode
|
667
|
+
|
668
|
+
@ResponseMode.setter
|
669
|
+
def ResponseMode(self, ResponseMode):
|
670
|
+
self._ResponseMode = ResponseMode
|
671
|
+
|
672
|
+
@property
|
673
|
+
def MappingFiled(self):
|
674
|
+
"""映射字段名称。IdP的id_token中哪一个字段映射到子用户的用户名,通常是sub或者name字段
|
675
|
+
:rtype: str
|
676
|
+
"""
|
677
|
+
return self._MappingFiled
|
678
|
+
|
679
|
+
@MappingFiled.setter
|
680
|
+
def MappingFiled(self, MappingFiled):
|
681
|
+
self._MappingFiled = MappingFiled
|
682
|
+
|
683
|
+
@property
|
684
|
+
def IdentityKey(self):
|
685
|
+
"""RSA签名公钥,JWKS格式,需要进行base64_encode。验证OpenID Connect身份提供商ID Token签名的公钥。为了您的账号安全,建议您定期轮换签名公钥。
|
686
|
+
:rtype: str
|
687
|
+
"""
|
688
|
+
return self._IdentityKey
|
689
|
+
|
690
|
+
@IdentityKey.setter
|
691
|
+
def IdentityKey(self, IdentityKey):
|
692
|
+
self._IdentityKey = IdentityKey
|
693
|
+
|
694
|
+
@property
|
695
|
+
def Scope(self):
|
696
|
+
"""授权请求Scope。openid; email;profile。授权请求信息范围。默认必选openid。
|
697
|
+
:rtype: list of str
|
698
|
+
"""
|
699
|
+
return self._Scope
|
700
|
+
|
701
|
+
@Scope.setter
|
702
|
+
def Scope(self, Scope):
|
703
|
+
self._Scope = Scope
|
704
|
+
|
705
|
+
@property
|
706
|
+
def Description(self):
|
707
|
+
"""描述,长度为1~255个英文或中文字符,默认值为空。
|
708
|
+
:rtype: str
|
709
|
+
"""
|
710
|
+
return self._Description
|
711
|
+
|
712
|
+
@Description.setter
|
713
|
+
def Description(self, Description):
|
714
|
+
self._Description = Description
|
715
|
+
|
716
|
+
|
717
|
+
def _deserialize(self, params):
|
718
|
+
self._IdentityUrl = params.get("IdentityUrl")
|
719
|
+
self._ClientId = params.get("ClientId")
|
720
|
+
self._AuthorizationEndpoint = params.get("AuthorizationEndpoint")
|
721
|
+
self._ResponseType = params.get("ResponseType")
|
722
|
+
self._ResponseMode = params.get("ResponseMode")
|
723
|
+
self._MappingFiled = params.get("MappingFiled")
|
724
|
+
self._IdentityKey = params.get("IdentityKey")
|
725
|
+
self._Scope = params.get("Scope")
|
726
|
+
self._Description = params.get("Description")
|
727
|
+
memeber_set = set(params.keys())
|
728
|
+
for name, value in vars(self).items():
|
729
|
+
property_name = name[1:]
|
730
|
+
if property_name in memeber_set:
|
731
|
+
memeber_set.remove(property_name)
|
732
|
+
if len(memeber_set) > 0:
|
733
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
734
|
+
|
735
|
+
|
736
|
+
|
737
|
+
class UpdateIAPUserOIDCConfigResponse(AbstractModel):
|
738
|
+
"""UpdateIAPUserOIDCConfig返回参数结构体
|
739
|
+
|
740
|
+
"""
|
741
|
+
|
742
|
+
def __init__(self):
|
743
|
+
r"""
|
744
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
745
|
+
:type RequestId: str
|
746
|
+
"""
|
747
|
+
self._RequestId = None
|
748
|
+
|
749
|
+
@property
|
750
|
+
def RequestId(self):
|
751
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
752
|
+
:rtype: str
|
753
|
+
"""
|
754
|
+
return self._RequestId
|
755
|
+
|
756
|
+
@RequestId.setter
|
757
|
+
def RequestId(self, RequestId):
|
758
|
+
self._RequestId = RequestId
|
759
|
+
|
760
|
+
|
761
|
+
def _deserialize(self, params):
|
762
|
+
self._RequestId = params.get("RequestId")
|