aliyun-python-sdk-sts 3.1.2__py2.py3-none-any.whl → 3.1.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aliyun-python-sdk-sts
3
- Version: 3.1.2
3
+ Version: 3.1.3
4
4
  Summary: The sts module of Aliyun Python sdk.
5
5
  Home-page: http://develop.aliyun.com/sdk/python
6
6
  Author: Aliyun
@@ -12,15 +12,15 @@ Classifier: Development Status :: 4 - Beta
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: License :: OSI Approved :: Apache Software License
14
14
  Classifier: Programming Language :: Python
15
- Classifier: Programming Language :: Python :: 2.6
16
- Classifier: Programming Language :: Python :: 2.7
17
15
  Classifier: Programming Language :: Python :: 3
18
- Classifier: Programming Language :: Python :: 3.3
19
- Classifier: Programming Language :: Python :: 3.4
20
- Classifier: Programming Language :: Python :: 3.5
21
- Classifier: Programming Language :: Python :: 3.6
16
+ Classifier: Programming Language :: Python :: 3.7
17
+ Classifier: Programming Language :: Python :: 3.8
18
+ Classifier: Programming Language :: Python :: 3.9
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
22
  Classifier: Topic :: Software Development
23
- Requires-Dist: aliyun-python-sdk-core (>=2.11.5)
23
+ Requires-Dist: aliyun-python-sdk-core >=2.11.5
24
24
 
25
25
  =============================================================
26
26
  aliyun-python-sdk-sts
@@ -32,7 +32,7 @@ Aliyun Python SDK is the official software development kit. It makes things easy
32
32
 
33
33
  This module works on Python versions:
34
34
 
35
- 2.6.5 and greater
35
+ 3.7 and greater
36
36
 
37
37
  **Documentation:**
38
38
 
@@ -0,0 +1,13 @@
1
+ aliyunsdksts/__init__.py,sha256=YRiHoedRvu7RhwBpj3Ve8YpH4vkr1NbnUs5_0AwsggA,21
2
+ aliyunsdksts/endpoint.py,sha256=vWTgKkCL8v6V8Ya5vDuTvfyXPdlvzbqY6Wu8j_UUYwM,2740
3
+ aliyunsdksts/request/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ aliyunsdksts/request/v20150401/AssumeRoleRequest.py,sha256=niCYJcqgTij5liJ1Hs-8diVn3QuBr-G-xwv1uMRSOQg,2481
5
+ aliyunsdksts/request/v20150401/AssumeRoleWithOIDCRequest.py,sha256=Gt_hLz-Z4ovh-D0xHwDXn0IzXN_0ZD8D03Vbhqaykmw,2497
6
+ aliyunsdksts/request/v20150401/AssumeRoleWithSAMLRequest.py,sha256=MfuCFGg_nJa1ElHhP3oVsy9VYt-z7XwZsRzlH9AbuTQ,2300
7
+ aliyunsdksts/request/v20150401/GetCallerIdentityRequest.py,sha256=lc_gNDkrLLjrDvemswK2_HVCaWRlNtnc-eWLOfnbGFo,1311
8
+ aliyunsdksts/request/v20150401/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ aliyun_python_sdk_sts-3.1.3.dist-info/LICENSE,sha256=CvyZB4el1cZGT3cy9OYoITxta_Ea2maondKqmi8EcpU,575
10
+ aliyun_python_sdk_sts-3.1.3.dist-info/METADATA,sha256=O6EKhdtiHzaAQGijtrhCE0zwtBziCsEFARNW_yQnqzw,1454
11
+ aliyun_python_sdk_sts-3.1.3.dist-info/WHEEL,sha256=iYlv5fX357PQyRT2o6tw1bN-YcKFFHKqB_LwHO5wP-g,110
12
+ aliyun_python_sdk_sts-3.1.3.dist-info/top_level.txt,sha256=fi__gO0YQhl8P_0sx0jSAgWy6-Ly-i8OWdBRdcaMLIU,13
13
+ aliyun_python_sdk_sts-3.1.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.37.1)
2
+ Generator: bdist_wheel (0.41.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any
aliyunsdksts/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.1.2'
1
+ __version__ = '3.1.3'
@@ -23,7 +23,7 @@ from aliyunsdksts.endpoint import endpoint_data
23
23
  class AssumeRoleRequest(RpcRequest):
24
24
 
25
25
  def __init__(self):
26
- RpcRequest.__init__(self, 'Sts', '2015-04-01', 'AssumeRole')
26
+ RpcRequest.__init__(self, 'Sts', '2015-04-01', 'AssumeRole','sts')
27
27
  self.set_protocol_type('https')
28
28
  self.set_method('POST')
29
29
 
@@ -37,6 +37,11 @@ class AssumeRoleRequest(RpcRequest):
37
37
 
38
38
  def set_ExternalId(self, ExternalId): # String
39
39
  self.add_query_param('ExternalId', ExternalId)
40
+ def get_SourceIdentity(self): # String
41
+ return self.get_query_params().get('SourceIdentity')
42
+
43
+ def set_SourceIdentity(self, SourceIdentity): # String
44
+ self.add_query_param('SourceIdentity', SourceIdentity)
40
45
  def get_RoleSessionName(self): # String
41
46
  return self.get_query_params().get('RoleSessionName')
42
47
 
@@ -23,7 +23,7 @@ from aliyunsdksts.endpoint import endpoint_data
23
23
  class AssumeRoleWithOIDCRequest(RpcRequest):
24
24
 
25
25
  def __init__(self):
26
- RpcRequest.__init__(self, 'Sts', '2015-04-01', 'AssumeRoleWithOIDC')
26
+ RpcRequest.__init__(self, 'Sts', '2015-04-01', 'AssumeRoleWithOIDC','sts')
27
27
  self.set_protocol_type('https')
28
28
  self.set_method('POST')
29
29
 
@@ -23,7 +23,7 @@ from aliyunsdksts.endpoint import endpoint_data
23
23
  class AssumeRoleWithSAMLRequest(RpcRequest):
24
24
 
25
25
  def __init__(self):
26
- RpcRequest.__init__(self, 'Sts', '2015-04-01', 'AssumeRoleWithSAML')
26
+ RpcRequest.__init__(self, 'Sts', '2015-04-01', 'AssumeRoleWithSAML','sts')
27
27
  self.set_protocol_type('https')
28
28
  self.set_method('POST')
29
29
 
@@ -23,7 +23,7 @@ from aliyunsdksts.endpoint import endpoint_data
23
23
  class GetCallerIdentityRequest(RpcRequest):
24
24
 
25
25
  def __init__(self):
26
- RpcRequest.__init__(self, 'Sts', '2015-04-01', 'GetCallerIdentity')
26
+ RpcRequest.__init__(self, 'Sts', '2015-04-01', 'GetCallerIdentity','sts')
27
27
  self.set_protocol_type('https')
28
28
  self.set_method('POST')
29
29
 
@@ -1,13 +0,0 @@
1
- aliyunsdksts/__init__.py,sha256=yiCcX-MVNmCFZRKOKrnDYx2MOFDNPSw0_GwCAM_uE2c,21
2
- aliyunsdksts/endpoint.py,sha256=vWTgKkCL8v6V8Ya5vDuTvfyXPdlvzbqY6Wu8j_UUYwM,2740
3
- aliyunsdksts/request/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- aliyunsdksts/request/v20150401/AssumeRoleRequest.py,sha256=Z9tbN9KbSBhlx8BcP60DsT762ZoCTgbK7X4VQG7FCHY,2260
5
- aliyunsdksts/request/v20150401/AssumeRoleWithOIDCRequest.py,sha256=BWdcHD2WQwyZ1fmEjaTFr_mvCE3dh-H6eVj-zxE-6-o,2491
6
- aliyunsdksts/request/v20150401/AssumeRoleWithSAMLRequest.py,sha256=-jQRkh8Ucwo8LAawXs6jthb66MLsVMJBBlmvgbTsNZc,2294
7
- aliyunsdksts/request/v20150401/GetCallerIdentityRequest.py,sha256=QaxeZnyO6nmzKWFVyb6hxym-1og7TND1G0xjSZRYR4o,1305
8
- aliyunsdksts/request/v20150401/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- aliyun_python_sdk_sts-3.1.2.dist-info/LICENSE,sha256=CvyZB4el1cZGT3cy9OYoITxta_Ea2maondKqmi8EcpU,575
10
- aliyun_python_sdk_sts-3.1.2.dist-info/METADATA,sha256=9CbQXp3EQSJRS803mh1xJ5R95nv7VA6GhxNM7d1szVs,1455
11
- aliyun_python_sdk_sts-3.1.2.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
12
- aliyun_python_sdk_sts-3.1.2.dist-info/top_level.txt,sha256=fi__gO0YQhl8P_0sx0jSAgWy6-Ly-i8OWdBRdcaMLIU,13
13
- aliyun_python_sdk_sts-3.1.2.dist-info/RECORD,,