aliyun-python-sdk-sts 3.1.1__tar.gz → 3.1.3__tar.gz

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.
Files changed (20) hide show
  1. {aliyun-python-sdk-sts-3.1.1/aliyun_python_sdk_sts.egg-info → aliyun-python-sdk-sts-3.1.3}/PKG-INFO +8 -8
  2. {aliyun-python-sdk-sts-3.1.1 → aliyun-python-sdk-sts-3.1.3}/README.rst +1 -1
  3. {aliyun-python-sdk-sts-3.1.1 → aliyun-python-sdk-sts-3.1.3/aliyun_python_sdk_sts.egg-info}/PKG-INFO +8 -8
  4. aliyun-python-sdk-sts-3.1.3/aliyunsdksts/__init__.py +1 -0
  5. {aliyun-python-sdk-sts-3.1.1 → aliyun-python-sdk-sts-3.1.3}/aliyunsdksts/request/v20150401/AssumeRoleRequest.py +6 -1
  6. {aliyun-python-sdk-sts-3.1.1 → aliyun-python-sdk-sts-3.1.3}/aliyunsdksts/request/v20150401/AssumeRoleWithOIDCRequest.py +1 -1
  7. {aliyun-python-sdk-sts-3.1.1 → aliyun-python-sdk-sts-3.1.3}/aliyunsdksts/request/v20150401/AssumeRoleWithSAMLRequest.py +1 -1
  8. {aliyun-python-sdk-sts-3.1.1 → aliyun-python-sdk-sts-3.1.3}/aliyunsdksts/request/v20150401/GetCallerIdentityRequest.py +1 -1
  9. {aliyun-python-sdk-sts-3.1.1 → aliyun-python-sdk-sts-3.1.3}/setup.py +6 -6
  10. aliyun-python-sdk-sts-3.1.1/aliyunsdksts/__init__.py +0 -1
  11. {aliyun-python-sdk-sts-3.1.1 → aliyun-python-sdk-sts-3.1.3}/LICENSE +0 -0
  12. {aliyun-python-sdk-sts-3.1.1 → aliyun-python-sdk-sts-3.1.3}/MANIFEST.in +0 -0
  13. {aliyun-python-sdk-sts-3.1.1 → aliyun-python-sdk-sts-3.1.3}/aliyun_python_sdk_sts.egg-info/SOURCES.txt +0 -0
  14. {aliyun-python-sdk-sts-3.1.1 → aliyun-python-sdk-sts-3.1.3}/aliyun_python_sdk_sts.egg-info/dependency_links.txt +0 -0
  15. {aliyun-python-sdk-sts-3.1.1 → aliyun-python-sdk-sts-3.1.3}/aliyun_python_sdk_sts.egg-info/requires.txt +0 -0
  16. {aliyun-python-sdk-sts-3.1.1 → aliyun-python-sdk-sts-3.1.3}/aliyun_python_sdk_sts.egg-info/top_level.txt +0 -0
  17. {aliyun-python-sdk-sts-3.1.1 → aliyun-python-sdk-sts-3.1.3}/aliyunsdksts/endpoint.py +0 -0
  18. {aliyun-python-sdk-sts-3.1.1 → aliyun-python-sdk-sts-3.1.3}/aliyunsdksts/request/__init__.py +0 -0
  19. {aliyun-python-sdk-sts-3.1.1 → aliyun-python-sdk-sts-3.1.3}/aliyunsdksts/request/v20150401/__init__.py +0 -0
  20. {aliyun-python-sdk-sts-3.1.1 → aliyun-python-sdk-sts-3.1.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: aliyun-python-sdk-sts
3
- Version: 3.1.1
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
@@ -16,7 +16,7 @@ Description: =============================================================
16
16
 
17
17
  This module works on Python versions:
18
18
 
19
- 2.6.5 and greater
19
+ 3.7 and greater
20
20
 
21
21
  **Documentation:**
22
22
 
@@ -28,11 +28,11 @@ Classifier: Development Status :: 4 - Beta
28
28
  Classifier: Intended Audience :: Developers
29
29
  Classifier: License :: OSI Approved :: Apache Software License
30
30
  Classifier: Programming Language :: Python
31
- Classifier: Programming Language :: Python :: 2.6
32
- Classifier: Programming Language :: Python :: 2.7
33
31
  Classifier: Programming Language :: Python :: 3
34
- Classifier: Programming Language :: Python :: 3.3
35
- Classifier: Programming Language :: Python :: 3.4
36
- Classifier: Programming Language :: Python :: 3.5
37
- Classifier: Programming Language :: Python :: 3.6
32
+ Classifier: Programming Language :: Python :: 3.7
33
+ Classifier: Programming Language :: Python :: 3.8
34
+ Classifier: Programming Language :: Python :: 3.9
35
+ Classifier: Programming Language :: Python :: 3.10
36
+ Classifier: Programming Language :: Python :: 3.11
37
+ Classifier: Programming Language :: Python :: 3.12
38
38
  Classifier: Topic :: Software Development
@@ -8,7 +8,7 @@ Aliyun Python SDK is the official software development kit. It makes things easy
8
8
 
9
9
  This module works on Python versions:
10
10
 
11
- 2.6.5 and greater
11
+ 3.7 and greater
12
12
 
13
13
  **Documentation:**
14
14
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: aliyun-python-sdk-sts
3
- Version: 3.1.1
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
@@ -16,7 +16,7 @@ Description: =============================================================
16
16
 
17
17
  This module works on Python versions:
18
18
 
19
- 2.6.5 and greater
19
+ 3.7 and greater
20
20
 
21
21
  **Documentation:**
22
22
 
@@ -28,11 +28,11 @@ Classifier: Development Status :: 4 - Beta
28
28
  Classifier: Intended Audience :: Developers
29
29
  Classifier: License :: OSI Approved :: Apache Software License
30
30
  Classifier: Programming Language :: Python
31
- Classifier: Programming Language :: Python :: 2.6
32
- Classifier: Programming Language :: Python :: 2.7
33
31
  Classifier: Programming Language :: Python :: 3
34
- Classifier: Programming Language :: Python :: 3.3
35
- Classifier: Programming Language :: Python :: 3.4
36
- Classifier: Programming Language :: Python :: 3.5
37
- Classifier: Programming Language :: Python :: 3.6
32
+ Classifier: Programming Language :: Python :: 3.7
33
+ Classifier: Programming Language :: Python :: 3.8
34
+ Classifier: Programming Language :: Python :: 3.9
35
+ Classifier: Programming Language :: Python :: 3.10
36
+ Classifier: Programming Language :: Python :: 3.11
37
+ Classifier: Programming Language :: Python :: 3.12
38
38
  Classifier: Topic :: Software Development
@@ -0,0 +1 @@
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
 
@@ -65,13 +65,13 @@ setup(
65
65
  "Intended Audience :: Developers",
66
66
  "License :: OSI Approved :: Apache Software License",
67
67
  "Programming Language :: Python",
68
- "Programming Language :: Python :: 2.6",
69
- "Programming Language :: Python :: 2.7",
70
68
  "Programming Language :: Python :: 3",
71
- "Programming Language :: Python :: 3.3",
72
- "Programming Language :: Python :: 3.4",
73
- "Programming Language :: Python :: 3.5",
74
- "Programming Language :: Python :: 3.6",
69
+ "Programming Language :: Python :: 3.7",
70
+ "Programming Language :: Python :: 3.8",
71
+ "Programming Language :: Python :: 3.9",
72
+ "Programming Language :: Python :: 3.10",
73
+ "Programming Language :: Python :: 3.11",
74
+ "Programming Language :: Python :: 3.12",
75
75
  "Topic :: Software Development",
76
76
  )
77
77
 
@@ -1 +0,0 @@
1
- __version__ = '3.1.1'