volcengine-python-sdk 5.0.37__py2.py3-none-any.whl → 5.0.38__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.4
2
2
  Name: volcengine-python-sdk
3
- Version: 5.0.37
3
+ Version: 5.0.38
4
4
  Summary: Volcengine SDK for Python
5
5
  Home-page: https://github.com/volcengine/volcengine-python-sdk
6
6
  Author-email: volc-engine <volc-sdk-team@bytedance.com>
@@ -1,5 +1,5 @@
1
- volcengine_python_sdk-5.0.37.dist-info/licenses/LICENSE.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
2
- volcengine_python_sdk-5.0.37.dist-info/licenses/NOTICE.md,sha256=dqWX0O4-gFqGLdHJsXAiF6Q8JHlu_3nFaQSmrMHzujM,254
1
+ volcengine_python_sdk-5.0.38.dist-info/licenses/LICENSE.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
2
+ volcengine_python_sdk-5.0.38.dist-info/licenses/NOTICE.md,sha256=dqWX0O4-gFqGLdHJsXAiF6Q8JHlu_3nFaQSmrMHzujM,254
3
3
  volcenginesdkacep/__init__.py,sha256=VORBIrHjh3edLqnEeLupqV732jE6q3zUi4Ujko86qjo,31306
4
4
  volcenginesdkacep/api/__init__.py,sha256=MCzGEBg4XwY5aDIDy8nitUz4vu_2xmRRY83V6lqt460,138
5
5
  volcenginesdkacep/api/acep_api.py,sha256=ollQvh5qkrmNbENVBBh2JRha9aGDMUwtO7V6Q1A3-Js,410621
@@ -6179,8 +6179,8 @@ volcenginesdkconfig/models/update_rule_response.py,sha256=f16EgPddqWulPRT1Yw225x
6179
6179
  volcenginesdkconfig/models/update_rule_template_request.py,sha256=k4JyMyOEhL8Zvg9N6siac_6MlcB38ZoDeKfx5uVV4xo,10129
6180
6180
  volcenginesdkconfig/models/update_rule_template_response.py,sha256=eiATOg0bsvElLzs-K0Jt8x8k4JaLxlXUcsg3toMteCM,2814
6181
6181
  volcenginesdkcore/__init__.py,sha256=WkgQAEhL6zg4ofQI82LD-3K-ij28yT-lpMiDoKmppwM,318
6182
- volcenginesdkcore/api_client.py,sha256=VzsmjD0ZihozCkKP_JY8AJoDQxDeV-OzjlLpQLeqLYg,29339
6183
- volcenginesdkcore/configuration.py,sha256=6s-Ytjq8F0wRiYGnwga6KPn4cLQvyzIZWX9_5NW8z9c,12082
6182
+ volcenginesdkcore/api_client.py,sha256=_NU8xjDnjVbVlW2izCGPhLFHIm90z6prqYW8b33YjGU,29339
6183
+ volcenginesdkcore/configuration.py,sha256=yewNqNmbla_mGAc1R-Q9-vFGjqNPdBbEhTLm4PZke50,12082
6184
6184
  volcenginesdkcore/flatten.py,sha256=g3r61JS_AO7WV6ClRDkXgtnVXcw3c7tbZjeLAJxkSLc,3811
6185
6185
  volcenginesdkcore/metadata.py,sha256=lHsOz9JcwdM7oqBb5dhSl6z3qF-M3TnTFbCzxRV89f4,4529
6186
6186
  volcenginesdkcore/model.py,sha256=f3cvQ6QiQfecClucu-_-l5xVI3W5_vF-EKkjwZu7Vjc,177
@@ -10829,10 +10829,10 @@ volcenginesdki18nopenapi/models/zh_hans_for_term_base_term_groups_output.py,sha2
10829
10829
  volcenginesdki18nopenapi/models/zh_hant_for_term_base_term_groups_output.py,sha256=wEJwEL9Id0wZuDYocqR4VG2LT--9HLmZvwXa6sNVA_A,14544
10830
10830
  volcenginesdki18nopenapi/models/zh_hk_for_term_base_term_groups_output.py,sha256=TmGW7w9ihR37iPkT3mDiTt4BCnSmPUW5-eqec1uuz9c,14414
10831
10831
  volcenginesdki18nopenapi/models/zh_tw_for_term_base_term_groups_output.py,sha256=uFMF1S3LZO9nlIfrNCtROQM6ApeweJ7IjlknLTSqsKY,14414
10832
- volcenginesdkiam/__init__.py,sha256=6-I_k3IEpDQ-_JT2n_RqWX6-m8I0lHGGrE4Krd30i54,20224
10832
+ volcenginesdkiam/__init__.py,sha256=auyF8VKDeWnM5sZ6_TLSiwEPaS23nkgPfxANVEaxL9s,21054
10833
10833
  volcenginesdkiam/api/__init__.py,sha256=c7ZjXtnHS_LswIuYUSimKianQTIFYK7hCvQ2o8VsdiE,135
10834
- volcenginesdkiam/api/iam_api.py,sha256=FxtkgYVBbjYuASXS6gDESg_jearGM0QT9AdlJISOpt8,293233
10835
- volcenginesdkiam/models/__init__.py,sha256=L9vLrUtxesGJBBR73EfgCEYTyPhOsqoKj7BeCAYTc30,20145
10834
+ volcenginesdkiam/api/iam_api.py,sha256=M8wXw50Ru-AmW2vMHq65WwoUuw5nsuBjGPjLNyUc5s0,308261
10835
+ volcenginesdkiam/models/__init__.py,sha256=8DAV3KeRPYchKzUieqbdQ7zW38L0WLxonlvHvkLGeKQ,20975
10836
10836
  volcenginesdkiam/models/access_key_for_create_access_key_output.py,sha256=Gw1DkUdpJrYH3JscWF4lDnvcLPjr4nJqaC2XCl2HmzE,7665
10837
10837
  volcenginesdkiam/models/access_key_last_used_for_get_access_key_last_used_output.py,sha256=GwGEw8F42PynWPyMWW1HX35HDnIqnf_8w48sb0V1eUc,5309
10838
10838
  volcenginesdkiam/models/access_key_metadata_for_list_access_keys_output.py,sha256=Qu-7jwUECXfeFWERtadIfgwsSLmaQMSoxo0uzx7k5Kk,6921
@@ -10844,6 +10844,8 @@ volcenginesdkiam/models/add_thumbprint_to_oidc_provider_request.py,sha256=XYyxwL
10844
10844
  volcenginesdkiam/models/add_thumbprint_to_oidc_provider_response.py,sha256=l839L93U-7bngG40yIMWXhq_evZsRW2C3oAgCgI1Pgs,2856
10845
10845
  volcenginesdkiam/models/add_user_to_group_request.py,sha256=cYR5mwHSxDIcCMavyCBI84Fhc0sAm8KJKHCqZnwFyUI,4605
10846
10846
  volcenginesdkiam/models/add_user_to_group_response.py,sha256=ZfSXNLzhQXcc9aaXK1XfKaqB5wcMt2SmlUOsBBXn8GQ,2791
10847
+ volcenginesdkiam/models/api_key_for_create_api_key_output.py,sha256=DRTdvY6Q2e0pkwwkRKLuc0E0Kzz95uMTyWKvAj_MaI8,7912
10848
+ volcenginesdkiam/models/api_key_for_list_api_keys_output.py,sha256=YMnDrEfD0xiz4xAxBwIQdXvD7LHL1MRF_XWQPF7ttgk,7206
10847
10849
  volcenginesdkiam/models/attach_role_policy_request.py,sha256=vTlRkoZx2qwX2U2HTzi1ioLavbnW8OiKczaYwvxnZNg,6785
10848
10850
  volcenginesdkiam/models/attach_role_policy_response.py,sha256=bmrSUPD578YoH6bTLz5xa312qQ0f3mmzgH_u5Tndkek,2801
10849
10851
  volcenginesdkiam/models/attach_user_group_policy_request.py,sha256=LE3uq40I1jfakXrdNTNxiVBbFU8UV53UjtXj0Rlh1XI,7031
@@ -10856,6 +10858,8 @@ volcenginesdkiam/models/attached_policy_metadata_for_list_attached_user_policies
10856
10858
  volcenginesdkiam/models/certificate_for_list_saml_provider_certificates_output.py,sha256=i3NR-GIyk9YeeAAiOzeAyR5LrU4XGikm_UZiHxXKSoE,11464
10857
10859
  volcenginesdkiam/models/create_access_key_request.py,sha256=dDRSzJ6VR8o8Zr4OyHCgrXUSNtBZX1N7KX3oyKemvy0,3507
10858
10860
  volcenginesdkiam/models/create_access_key_response.py,sha256=VkK6LyesfoC-68vVwXrPr9oRw27zNeYtyokdy8UqUAE,3626
10861
+ volcenginesdkiam/models/create_api_key_request.py,sha256=6JDIGDmj4wu1ZqxEcnhavGzSTvZDr7UjM2c5qZoLr_g,5517
10862
+ volcenginesdkiam/models/create_api_key_response.py,sha256=l1EuTcB-ixM6y0GwhnD8qM6zWjunEfsbe02hNvHgydQ,3521
10859
10863
  volcenginesdkiam/models/create_group_request.py,sha256=Wo-FpTmDHoxP0jCnVjaMz5bJK2PrmSlEucaH_J2JM38,5993
10860
10864
  volcenginesdkiam/models/create_group_response.py,sha256=ySle6aHOm3vSUGS0cz9Tm0Zj14-ySxTSwWp0wcB6EFg,3578
10861
10865
  volcenginesdkiam/models/create_login_profile_request.py,sha256=vCy0ein87uAM9suP5YPO0j3uqdKlxYLB3VhYyclU_Ig,11048
@@ -10876,6 +10880,8 @@ volcenginesdkiam/models/create_user_request.py,sha256=kDven1Ue6F0946ddjz3NHUIXEp
10876
10880
  volcenginesdkiam/models/create_user_response.py,sha256=cHgrn65TTZQ7sTDvsTv2c2lp0-4gNQfUQmAeKFYPaqk,3432
10877
10881
  volcenginesdkiam/models/delete_access_key_request.py,sha256=2_tO9qmhEU5hUbia89UEkng50RUGoxUcWhSYPzQAtgA,4441
10878
10882
  volcenginesdkiam/models/delete_access_key_response.py,sha256=s0RhgHg6-Ld6uzIWs6ZAKzZKThmEt_5aKvTtbeOZCgw,2796
10883
+ volcenginesdkiam/models/delete_api_key_request.py,sha256=l3JCE3dmR95iFCZJi7O74J_TDA8rL2pv7_vj3r8HhRo,4173
10884
+ volcenginesdkiam/models/delete_api_key_response.py,sha256=guK4wM0RKWixCRjySY_yZfrIwQek9sxyfKrXw5aaIbs,2781
10879
10885
  volcenginesdkiam/models/delete_group_request.py,sha256=RUG_PG6-H3M0pv8bVzGM0jA3xYUfyUA02W4FFyDgte8,3731
10880
10886
  volcenginesdkiam/models/delete_group_response.py,sha256=_vX88Jow5guxyvj4q4_PXKmICjl1aIIeSy3JrbzWc8c,2776
10881
10887
  volcenginesdkiam/models/delete_login_profile_request.py,sha256=bWiwZGX5DG6_X-0cnmQrDz4qdGQUvJayD7CIx4Kgh9M,3669
@@ -10931,6 +10937,8 @@ volcenginesdkiam/models/ip_list_for_get_allowed_ip_addresses_output.py,sha256=_m
10931
10937
  volcenginesdkiam/models/ip_list_for_update_allowed_ip_addresses_input.py,sha256=mOsqREy-RUPTbNB7z44WNgOtFyPNCL23U_PEdQRUhtQ,4333
10932
10938
  volcenginesdkiam/models/list_access_keys_request.py,sha256=bsxeUa9OuNgSnuUMJC-mEQLm7q636HUS-x7JC1BG32U,3498
10933
10939
  volcenginesdkiam/models/list_access_keys_response.py,sha256=3zhzasrT0_pGvTomGitv3DndXKp6nkdSvtdd_AgbCew,3835
10940
+ volcenginesdkiam/models/list_api_keys_request.py,sha256=XozvstJppUs-VfNHAz0_VOd59cbZPyYd10QHEyb0mQA,5707
10941
+ volcenginesdkiam/models/list_api_keys_response.py,sha256=vSTlc5YPCF9gou5QsArDv19hWXFAu9wmo4YdL5OMxK8,4172
10934
10942
  volcenginesdkiam/models/list_attached_role_policies_request.py,sha256=t3uuJou5NAoHIYIxLXWz6NPbK8X9D67iFPR508viZcc,3723
10935
10943
  volcenginesdkiam/models/list_attached_role_policies_response.py,sha256=JYA2OJ4i0yOZ4Ou9brxRb6KH0hhmgaYArmHWOAOIZ0U,4070
10936
10944
  volcenginesdkiam/models/list_attached_user_group_policies_request.py,sha256=MmNWA_ddYuoWgZdhsFJee1vgI0E5i_Uh-3AQrJdy1xs,3893
@@ -11014,6 +11022,8 @@ volcenginesdkiam/models/update_access_key_request.py,sha256=S4z65tPjYMKp7t8sjHHe
11014
11022
  volcenginesdkiam/models/update_access_key_response.py,sha256=VuS76o83ysQcm-vM1nHLoivR1bKaugUKtd8xnlgbleg,2796
11015
11023
  volcenginesdkiam/models/update_allowed_ip_addresses_request.py,sha256=uIr2zF6YXZVPayC8DqbSR50Is6VM6vIdkpWfSJRpe4o,4665
11016
11024
  volcenginesdkiam/models/update_allowed_ip_addresses_response.py,sha256=qoivgxeUfj73nQmQHG-XWOhvx1OJraWesZ6yvEzLIKQ,2841
11025
+ volcenginesdkiam/models/update_api_key_request.py,sha256=IhPlLBDeRBiaDK9-eScA3dkWTBHXI-UaNKzZpnr66sc,7200
11026
+ volcenginesdkiam/models/update_api_key_response.py,sha256=MHU-ewl-6QkTmFMiu7jTB9x1B06xB4f-h5XC0wkDQmo,2781
11017
11027
  volcenginesdkiam/models/update_group_request.py,sha256=NaZyLAl3fyQKgVs7is73NL36qiXCrVu2v5Y8S784ggY,7085
11018
11028
  volcenginesdkiam/models/update_group_response.py,sha256=SzXI6GZScoMGhW3QLriXqFh72ZFZ6aWQs-uL8ZGCXV4,2776
11019
11029
  volcenginesdkiam/models/update_login_profile_request.py,sha256=RWrWh9WBfnYneiOkWD1S_yJRKOWOGAOtgMxWXuYsba8,10914
@@ -23707,7 +23717,7 @@ volcenginesdkwafruntime/api/__init__.py,sha256=di_9IIKQ0HCuzkGrTyZ6h38iP7y1xelH8
23707
23717
  volcenginesdkwafruntime/api/waf_runtime_api.py,sha256=eWgdzFcwflEkhkNrPzZL1mqSid7O1OWiwHGUyWJvZNA,4035
23708
23718
  volcenginesdkwafruntime/models/__init__.py,sha256=di_9IIKQ0HCuzkGrTyZ6h38iP7y1xelH8_IJbKi4aWA,71
23709
23719
  volcenginesdkwafruntime/models/llm_stream_session.py,sha256=U9cig3fuZRBT4Ov8_cUsWDKXcMLNjBDxKt-7IoewoUw,1589
23710
- volcengine_python_sdk-5.0.37.dist-info/METADATA,sha256=kjJygt9Pn-dOPGMX4AUpAFaagJ383NKBtRmw2XxBF6w,8435
23711
- volcengine_python_sdk-5.0.37.dist-info/WHEEL,sha256=Mk1ST5gDzEO5il5kYREiBnzzM469m5sI8ESPl7TRhJY,110
23712
- volcengine_python_sdk-5.0.37.dist-info/top_level.txt,sha256=A6tVoQmTj4MKuRgLdxx6Lcu_2nYip5uxkhJpCKmdf90,2896
23713
- volcengine_python_sdk-5.0.37.dist-info/RECORD,,
23720
+ volcengine_python_sdk-5.0.38.dist-info/METADATA,sha256=nBoQ0LuYiDLf8DrhwWE-SR1Pv5TYKm-XCdxbY_FfkqE,8435
23721
+ volcengine_python_sdk-5.0.38.dist-info/WHEEL,sha256=qWEHOWeXof9kJLXAXJ1hukQ_MvVtaV9UUAew6N7Y99E,109
23722
+ volcengine_python_sdk-5.0.38.dist-info/top_level.txt,sha256=A6tVoQmTj4MKuRgLdxx6Lcu_2nYip5uxkhJpCKmdf90,2896
23723
+ volcengine_python_sdk-5.0.38.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.10.2)
2
+ Generator: setuptools (83.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any
@@ -69,7 +69,7 @@ class ApiClient(object):
69
69
  self.default_headers[header_name] = header_value
70
70
  self.cookie = cookie
71
71
  # Set default User-Agent.
72
- self.user_agent = 'volcstack-python-sdk/5.0.37'
72
+ self.user_agent = 'volcstack-python-sdk/5.0.38'
73
73
  self.client_side_validation = configuration.client_side_validation
74
74
 
75
75
  self.interceptor_chain = InterceptorChain()
@@ -291,7 +291,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
291
291
  "OS: {env}\n" \
292
292
  "Python Version: {pyversion}\n" \
293
293
  "Version of the API: 0.1.0\n" \
294
- "SDK Package Version: 5.0.37".\
294
+ "SDK Package Version: 5.0.38".\
295
295
  format(env=sys.platform, pyversion=sys.version)
296
296
 
297
297
  @property
@@ -30,6 +30,8 @@ from volcenginesdkiam.models.add_thumbprint_to_oidc_provider_request import AddT
30
30
  from volcenginesdkiam.models.add_thumbprint_to_oidc_provider_response import AddThumbprintToOIDCProviderResponse
31
31
  from volcenginesdkiam.models.add_user_to_group_request import AddUserToGroupRequest
32
32
  from volcenginesdkiam.models.add_user_to_group_response import AddUserToGroupResponse
33
+ from volcenginesdkiam.models.api_key_for_create_api_key_output import ApiKeyForCreateApiKeyOutput
34
+ from volcenginesdkiam.models.api_key_for_list_api_keys_output import ApiKeyForListApiKeysOutput
33
35
  from volcenginesdkiam.models.attach_role_policy_request import AttachRolePolicyRequest
34
36
  from volcenginesdkiam.models.attach_role_policy_response import AttachRolePolicyResponse
35
37
  from volcenginesdkiam.models.attach_user_group_policy_request import AttachUserGroupPolicyRequest
@@ -42,6 +44,8 @@ from volcenginesdkiam.models.attached_policy_metadata_for_list_attached_user_pol
42
44
  from volcenginesdkiam.models.certificate_for_list_saml_provider_certificates_output import CertificateForListSAMLProviderCertificatesOutput
43
45
  from volcenginesdkiam.models.create_access_key_request import CreateAccessKeyRequest
44
46
  from volcenginesdkiam.models.create_access_key_response import CreateAccessKeyResponse
47
+ from volcenginesdkiam.models.create_api_key_request import CreateApiKeyRequest
48
+ from volcenginesdkiam.models.create_api_key_response import CreateApiKeyResponse
45
49
  from volcenginesdkiam.models.create_group_request import CreateGroupRequest
46
50
  from volcenginesdkiam.models.create_group_response import CreateGroupResponse
47
51
  from volcenginesdkiam.models.create_login_profile_request import CreateLoginProfileRequest
@@ -62,6 +66,8 @@ from volcenginesdkiam.models.create_user_request import CreateUserRequest
62
66
  from volcenginesdkiam.models.create_user_response import CreateUserResponse
63
67
  from volcenginesdkiam.models.delete_access_key_request import DeleteAccessKeyRequest
64
68
  from volcenginesdkiam.models.delete_access_key_response import DeleteAccessKeyResponse
69
+ from volcenginesdkiam.models.delete_api_key_request import DeleteApiKeyRequest
70
+ from volcenginesdkiam.models.delete_api_key_response import DeleteApiKeyResponse
65
71
  from volcenginesdkiam.models.delete_group_request import DeleteGroupRequest
66
72
  from volcenginesdkiam.models.delete_group_response import DeleteGroupResponse
67
73
  from volcenginesdkiam.models.delete_login_profile_request import DeleteLoginProfileRequest
@@ -117,6 +123,8 @@ from volcenginesdkiam.models.ip_list_for_update_allowed_ip_addresses_input impor
117
123
  from volcenginesdkiam.models.identity_provider_for_list_identity_providers_output import IdentityProviderForListIdentityProvidersOutput
118
124
  from volcenginesdkiam.models.list_access_keys_request import ListAccessKeysRequest
119
125
  from volcenginesdkiam.models.list_access_keys_response import ListAccessKeysResponse
126
+ from volcenginesdkiam.models.list_api_keys_request import ListApiKeysRequest
127
+ from volcenginesdkiam.models.list_api_keys_response import ListApiKeysResponse
120
128
  from volcenginesdkiam.models.list_attached_role_policies_request import ListAttachedRolePoliciesRequest
121
129
  from volcenginesdkiam.models.list_attached_role_policies_response import ListAttachedRolePoliciesResponse
122
130
  from volcenginesdkiam.models.list_attached_user_group_policies_request import ListAttachedUserGroupPoliciesRequest
@@ -200,6 +208,8 @@ from volcenginesdkiam.models.update_access_key_request import UpdateAccessKeyReq
200
208
  from volcenginesdkiam.models.update_access_key_response import UpdateAccessKeyResponse
201
209
  from volcenginesdkiam.models.update_allowed_ip_addresses_request import UpdateAllowedIPAddressesRequest
202
210
  from volcenginesdkiam.models.update_allowed_ip_addresses_response import UpdateAllowedIPAddressesResponse
211
+ from volcenginesdkiam.models.update_api_key_request import UpdateApiKeyRequest
212
+ from volcenginesdkiam.models.update_api_key_response import UpdateApiKeyResponse
203
213
  from volcenginesdkiam.models.update_group_request import UpdateGroupRequest
204
214
  from volcenginesdkiam.models.update_group_response import UpdateGroupResponse
205
215
  from volcenginesdkiam.models.update_login_profile_request import UpdateLoginProfileRequest
@@ -809,6 +809,103 @@ class IAMApi(object):
809
809
  _request_timeout=params.get('_request_timeout'),
810
810
  collection_formats=collection_formats)
811
811
 
812
+ def create_api_key(self, body, **kwargs): # noqa: E501
813
+ """create_api_key # noqa: E501
814
+
815
+ This method makes a synchronous HTTP request by default. To make an
816
+ asynchronous HTTP request, please pass async_req=True
817
+ >>> thread = api.create_api_key(body, async_req=True)
818
+ >>> result = thread.get()
819
+
820
+ :param async_req bool
821
+ :param CreateApiKeyRequest body: (required)
822
+ :return: CreateApiKeyResponse
823
+ If the method is called asynchronously,
824
+ returns the request thread.
825
+ """
826
+ kwargs['_return_http_data_only'] = True
827
+ if kwargs.get('async_req'):
828
+ return self.create_api_key_with_http_info(body, **kwargs) # noqa: E501
829
+ else:
830
+ (data) = self.create_api_key_with_http_info(body, **kwargs) # noqa: E501
831
+ return data
832
+
833
+ def create_api_key_with_http_info(self, body, **kwargs): # noqa: E501
834
+ """create_api_key # noqa: E501
835
+
836
+ This method makes a synchronous HTTP request by default. To make an
837
+ asynchronous HTTP request, please pass async_req=True
838
+ >>> thread = api.create_api_key_with_http_info(body, async_req=True)
839
+ >>> result = thread.get()
840
+
841
+ :param async_req bool
842
+ :param CreateApiKeyRequest body: (required)
843
+ :return: CreateApiKeyResponse
844
+ If the method is called asynchronously,
845
+ returns the request thread.
846
+ """
847
+
848
+ all_params = ['body'] # noqa: E501
849
+ all_params.append('async_req')
850
+ all_params.append('_return_http_data_only')
851
+ all_params.append('_preload_content')
852
+ all_params.append('_request_timeout')
853
+
854
+ params = locals()
855
+ for key, val in six.iteritems(params['kwargs']):
856
+ if key not in all_params:
857
+ raise TypeError(
858
+ "Got an unexpected keyword argument '%s'"
859
+ " to method create_api_key" % key
860
+ )
861
+ params[key] = val
862
+ del params['kwargs']
863
+ # verify the required parameter 'body' is set
864
+ if self.api_client.client_side_validation and ('body' not in params or
865
+ params['body'] is None): # noqa: E501
866
+ raise ValueError("Missing the required parameter `body` when calling `create_api_key`") # noqa: E501
867
+
868
+ collection_formats = {}
869
+
870
+ path_params = {}
871
+
872
+ query_params = []
873
+
874
+ header_params = {}
875
+
876
+ form_params = []
877
+ local_var_files = {}
878
+
879
+ body_params = None
880
+ if 'body' in params:
881
+ body_params = params['body']
882
+ # HTTP header `Accept`
883
+ header_params['Accept'] = self.api_client.select_header_accept(
884
+ ['application/json']) # noqa: E501
885
+
886
+ # HTTP header `Content-Type`
887
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
888
+ ['text/plain']) # noqa: E501
889
+
890
+ # Authentication setting
891
+ auth_settings = ['volcengineSign'] # noqa: E501
892
+
893
+ return self.api_client.call_api(
894
+ '/CreateApiKey/2018-01-01/iam/get/text_plain/', 'GET',
895
+ path_params,
896
+ query_params,
897
+ header_params,
898
+ body=body_params,
899
+ post_params=form_params,
900
+ files=local_var_files,
901
+ response_type='CreateApiKeyResponse', # noqa: E501
902
+ auth_settings=auth_settings,
903
+ async_req=params.get('async_req'),
904
+ _return_http_data_only=params.get('_return_http_data_only'),
905
+ _preload_content=params.get('_preload_content', True),
906
+ _request_timeout=params.get('_request_timeout'),
907
+ collection_formats=collection_formats)
908
+
812
909
  def create_group(self, body, **kwargs): # noqa: E501
813
910
  """create_group # noqa: E501
814
911
 
@@ -1779,6 +1876,103 @@ class IAMApi(object):
1779
1876
  _request_timeout=params.get('_request_timeout'),
1780
1877
  collection_formats=collection_formats)
1781
1878
 
1879
+ def delete_api_key(self, body, **kwargs): # noqa: E501
1880
+ """delete_api_key # noqa: E501
1881
+
1882
+ This method makes a synchronous HTTP request by default. To make an
1883
+ asynchronous HTTP request, please pass async_req=True
1884
+ >>> thread = api.delete_api_key(body, async_req=True)
1885
+ >>> result = thread.get()
1886
+
1887
+ :param async_req bool
1888
+ :param DeleteApiKeyRequest body: (required)
1889
+ :return: DeleteApiKeyResponse
1890
+ If the method is called asynchronously,
1891
+ returns the request thread.
1892
+ """
1893
+ kwargs['_return_http_data_only'] = True
1894
+ if kwargs.get('async_req'):
1895
+ return self.delete_api_key_with_http_info(body, **kwargs) # noqa: E501
1896
+ else:
1897
+ (data) = self.delete_api_key_with_http_info(body, **kwargs) # noqa: E501
1898
+ return data
1899
+
1900
+ def delete_api_key_with_http_info(self, body, **kwargs): # noqa: E501
1901
+ """delete_api_key # noqa: E501
1902
+
1903
+ This method makes a synchronous HTTP request by default. To make an
1904
+ asynchronous HTTP request, please pass async_req=True
1905
+ >>> thread = api.delete_api_key_with_http_info(body, async_req=True)
1906
+ >>> result = thread.get()
1907
+
1908
+ :param async_req bool
1909
+ :param DeleteApiKeyRequest body: (required)
1910
+ :return: DeleteApiKeyResponse
1911
+ If the method is called asynchronously,
1912
+ returns the request thread.
1913
+ """
1914
+
1915
+ all_params = ['body'] # noqa: E501
1916
+ all_params.append('async_req')
1917
+ all_params.append('_return_http_data_only')
1918
+ all_params.append('_preload_content')
1919
+ all_params.append('_request_timeout')
1920
+
1921
+ params = locals()
1922
+ for key, val in six.iteritems(params['kwargs']):
1923
+ if key not in all_params:
1924
+ raise TypeError(
1925
+ "Got an unexpected keyword argument '%s'"
1926
+ " to method delete_api_key" % key
1927
+ )
1928
+ params[key] = val
1929
+ del params['kwargs']
1930
+ # verify the required parameter 'body' is set
1931
+ if self.api_client.client_side_validation and ('body' not in params or
1932
+ params['body'] is None): # noqa: E501
1933
+ raise ValueError("Missing the required parameter `body` when calling `delete_api_key`") # noqa: E501
1934
+
1935
+ collection_formats = {}
1936
+
1937
+ path_params = {}
1938
+
1939
+ query_params = []
1940
+
1941
+ header_params = {}
1942
+
1943
+ form_params = []
1944
+ local_var_files = {}
1945
+
1946
+ body_params = None
1947
+ if 'body' in params:
1948
+ body_params = params['body']
1949
+ # HTTP header `Accept`
1950
+ header_params['Accept'] = self.api_client.select_header_accept(
1951
+ ['application/json']) # noqa: E501
1952
+
1953
+ # HTTP header `Content-Type`
1954
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
1955
+ ['text/plain']) # noqa: E501
1956
+
1957
+ # Authentication setting
1958
+ auth_settings = ['volcengineSign'] # noqa: E501
1959
+
1960
+ return self.api_client.call_api(
1961
+ '/DeleteApiKey/2018-01-01/iam/get/text_plain/', 'GET',
1962
+ path_params,
1963
+ query_params,
1964
+ header_params,
1965
+ body=body_params,
1966
+ post_params=form_params,
1967
+ files=local_var_files,
1968
+ response_type='DeleteApiKeyResponse', # noqa: E501
1969
+ auth_settings=auth_settings,
1970
+ async_req=params.get('async_req'),
1971
+ _return_http_data_only=params.get('_return_http_data_only'),
1972
+ _preload_content=params.get('_preload_content', True),
1973
+ _request_timeout=params.get('_request_timeout'),
1974
+ collection_formats=collection_formats)
1975
+
1782
1976
  def delete_group(self, body, **kwargs): # noqa: E501
1783
1977
  """delete_group # noqa: E501
1784
1978
 
@@ -4301,6 +4495,103 @@ class IAMApi(object):
4301
4495
  _request_timeout=params.get('_request_timeout'),
4302
4496
  collection_formats=collection_formats)
4303
4497
 
4498
+ def list_api_keys(self, body, **kwargs): # noqa: E501
4499
+ """list_api_keys # noqa: E501
4500
+
4501
+ This method makes a synchronous HTTP request by default. To make an
4502
+ asynchronous HTTP request, please pass async_req=True
4503
+ >>> thread = api.list_api_keys(body, async_req=True)
4504
+ >>> result = thread.get()
4505
+
4506
+ :param async_req bool
4507
+ :param ListApiKeysRequest body: (required)
4508
+ :return: ListApiKeysResponse
4509
+ If the method is called asynchronously,
4510
+ returns the request thread.
4511
+ """
4512
+ kwargs['_return_http_data_only'] = True
4513
+ if kwargs.get('async_req'):
4514
+ return self.list_api_keys_with_http_info(body, **kwargs) # noqa: E501
4515
+ else:
4516
+ (data) = self.list_api_keys_with_http_info(body, **kwargs) # noqa: E501
4517
+ return data
4518
+
4519
+ def list_api_keys_with_http_info(self, body, **kwargs): # noqa: E501
4520
+ """list_api_keys # noqa: E501
4521
+
4522
+ This method makes a synchronous HTTP request by default. To make an
4523
+ asynchronous HTTP request, please pass async_req=True
4524
+ >>> thread = api.list_api_keys_with_http_info(body, async_req=True)
4525
+ >>> result = thread.get()
4526
+
4527
+ :param async_req bool
4528
+ :param ListApiKeysRequest body: (required)
4529
+ :return: ListApiKeysResponse
4530
+ If the method is called asynchronously,
4531
+ returns the request thread.
4532
+ """
4533
+
4534
+ all_params = ['body'] # noqa: E501
4535
+ all_params.append('async_req')
4536
+ all_params.append('_return_http_data_only')
4537
+ all_params.append('_preload_content')
4538
+ all_params.append('_request_timeout')
4539
+
4540
+ params = locals()
4541
+ for key, val in six.iteritems(params['kwargs']):
4542
+ if key not in all_params:
4543
+ raise TypeError(
4544
+ "Got an unexpected keyword argument '%s'"
4545
+ " to method list_api_keys" % key
4546
+ )
4547
+ params[key] = val
4548
+ del params['kwargs']
4549
+ # verify the required parameter 'body' is set
4550
+ if self.api_client.client_side_validation and ('body' not in params or
4551
+ params['body'] is None): # noqa: E501
4552
+ raise ValueError("Missing the required parameter `body` when calling `list_api_keys`") # noqa: E501
4553
+
4554
+ collection_formats = {}
4555
+
4556
+ path_params = {}
4557
+
4558
+ query_params = []
4559
+
4560
+ header_params = {}
4561
+
4562
+ form_params = []
4563
+ local_var_files = {}
4564
+
4565
+ body_params = None
4566
+ if 'body' in params:
4567
+ body_params = params['body']
4568
+ # HTTP header `Accept`
4569
+ header_params['Accept'] = self.api_client.select_header_accept(
4570
+ ['application/json']) # noqa: E501
4571
+
4572
+ # HTTP header `Content-Type`
4573
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
4574
+ ['text/plain']) # noqa: E501
4575
+
4576
+ # Authentication setting
4577
+ auth_settings = ['volcengineSign'] # noqa: E501
4578
+
4579
+ return self.api_client.call_api(
4580
+ '/ListApiKeys/2018-01-01/iam/get/text_plain/', 'GET',
4581
+ path_params,
4582
+ query_params,
4583
+ header_params,
4584
+ body=body_params,
4585
+ post_params=form_params,
4586
+ files=local_var_files,
4587
+ response_type='ListApiKeysResponse', # noqa: E501
4588
+ auth_settings=auth_settings,
4589
+ async_req=params.get('async_req'),
4590
+ _return_http_data_only=params.get('_return_http_data_only'),
4591
+ _preload_content=params.get('_preload_content', True),
4592
+ _request_timeout=params.get('_request_timeout'),
4593
+ collection_formats=collection_formats)
4594
+
4304
4595
  def list_attached_role_policies(self, body, **kwargs): # noqa: E501
4305
4596
  """list_attached_role_policies # noqa: E501
4306
4597
 
@@ -6629,6 +6920,103 @@ class IAMApi(object):
6629
6920
  _request_timeout=params.get('_request_timeout'),
6630
6921
  collection_formats=collection_formats)
6631
6922
 
6923
+ def update_api_key(self, body, **kwargs): # noqa: E501
6924
+ """update_api_key # noqa: E501
6925
+
6926
+ This method makes a synchronous HTTP request by default. To make an
6927
+ asynchronous HTTP request, please pass async_req=True
6928
+ >>> thread = api.update_api_key(body, async_req=True)
6929
+ >>> result = thread.get()
6930
+
6931
+ :param async_req bool
6932
+ :param UpdateApiKeyRequest body: (required)
6933
+ :return: UpdateApiKeyResponse
6934
+ If the method is called asynchronously,
6935
+ returns the request thread.
6936
+ """
6937
+ kwargs['_return_http_data_only'] = True
6938
+ if kwargs.get('async_req'):
6939
+ return self.update_api_key_with_http_info(body, **kwargs) # noqa: E501
6940
+ else:
6941
+ (data) = self.update_api_key_with_http_info(body, **kwargs) # noqa: E501
6942
+ return data
6943
+
6944
+ def update_api_key_with_http_info(self, body, **kwargs): # noqa: E501
6945
+ """update_api_key # noqa: E501
6946
+
6947
+ This method makes a synchronous HTTP request by default. To make an
6948
+ asynchronous HTTP request, please pass async_req=True
6949
+ >>> thread = api.update_api_key_with_http_info(body, async_req=True)
6950
+ >>> result = thread.get()
6951
+
6952
+ :param async_req bool
6953
+ :param UpdateApiKeyRequest body: (required)
6954
+ :return: UpdateApiKeyResponse
6955
+ If the method is called asynchronously,
6956
+ returns the request thread.
6957
+ """
6958
+
6959
+ all_params = ['body'] # noqa: E501
6960
+ all_params.append('async_req')
6961
+ all_params.append('_return_http_data_only')
6962
+ all_params.append('_preload_content')
6963
+ all_params.append('_request_timeout')
6964
+
6965
+ params = locals()
6966
+ for key, val in six.iteritems(params['kwargs']):
6967
+ if key not in all_params:
6968
+ raise TypeError(
6969
+ "Got an unexpected keyword argument '%s'"
6970
+ " to method update_api_key" % key
6971
+ )
6972
+ params[key] = val
6973
+ del params['kwargs']
6974
+ # verify the required parameter 'body' is set
6975
+ if self.api_client.client_side_validation and ('body' not in params or
6976
+ params['body'] is None): # noqa: E501
6977
+ raise ValueError("Missing the required parameter `body` when calling `update_api_key`") # noqa: E501
6978
+
6979
+ collection_formats = {}
6980
+
6981
+ path_params = {}
6982
+
6983
+ query_params = []
6984
+
6985
+ header_params = {}
6986
+
6987
+ form_params = []
6988
+ local_var_files = {}
6989
+
6990
+ body_params = None
6991
+ if 'body' in params:
6992
+ body_params = params['body']
6993
+ # HTTP header `Accept`
6994
+ header_params['Accept'] = self.api_client.select_header_accept(
6995
+ ['application/json']) # noqa: E501
6996
+
6997
+ # HTTP header `Content-Type`
6998
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
6999
+ ['text/plain']) # noqa: E501
7000
+
7001
+ # Authentication setting
7002
+ auth_settings = ['volcengineSign'] # noqa: E501
7003
+
7004
+ return self.api_client.call_api(
7005
+ '/UpdateApiKey/2018-01-01/iam/get/text_plain/', 'GET',
7006
+ path_params,
7007
+ query_params,
7008
+ header_params,
7009
+ body=body_params,
7010
+ post_params=form_params,
7011
+ files=local_var_files,
7012
+ response_type='UpdateApiKeyResponse', # noqa: E501
7013
+ auth_settings=auth_settings,
7014
+ async_req=params.get('async_req'),
7015
+ _return_http_data_only=params.get('_return_http_data_only'),
7016
+ _preload_content=params.get('_preload_content', True),
7017
+ _request_timeout=params.get('_request_timeout'),
7018
+ collection_formats=collection_formats)
7019
+
6632
7020
  def update_group(self, body, **kwargs): # noqa: E501
6633
7021
  """update_group # noqa: E501
6634
7022
 
@@ -26,6 +26,8 @@ from volcenginesdkiam.models.add_thumbprint_to_oidc_provider_request import AddT
26
26
  from volcenginesdkiam.models.add_thumbprint_to_oidc_provider_response import AddThumbprintToOIDCProviderResponse
27
27
  from volcenginesdkiam.models.add_user_to_group_request import AddUserToGroupRequest
28
28
  from volcenginesdkiam.models.add_user_to_group_response import AddUserToGroupResponse
29
+ from volcenginesdkiam.models.api_key_for_create_api_key_output import ApiKeyForCreateApiKeyOutput
30
+ from volcenginesdkiam.models.api_key_for_list_api_keys_output import ApiKeyForListApiKeysOutput
29
31
  from volcenginesdkiam.models.attach_role_policy_request import AttachRolePolicyRequest
30
32
  from volcenginesdkiam.models.attach_role_policy_response import AttachRolePolicyResponse
31
33
  from volcenginesdkiam.models.attach_user_group_policy_request import AttachUserGroupPolicyRequest
@@ -38,6 +40,8 @@ from volcenginesdkiam.models.attached_policy_metadata_for_list_attached_user_pol
38
40
  from volcenginesdkiam.models.certificate_for_list_saml_provider_certificates_output import CertificateForListSAMLProviderCertificatesOutput
39
41
  from volcenginesdkiam.models.create_access_key_request import CreateAccessKeyRequest
40
42
  from volcenginesdkiam.models.create_access_key_response import CreateAccessKeyResponse
43
+ from volcenginesdkiam.models.create_api_key_request import CreateApiKeyRequest
44
+ from volcenginesdkiam.models.create_api_key_response import CreateApiKeyResponse
41
45
  from volcenginesdkiam.models.create_group_request import CreateGroupRequest
42
46
  from volcenginesdkiam.models.create_group_response import CreateGroupResponse
43
47
  from volcenginesdkiam.models.create_login_profile_request import CreateLoginProfileRequest
@@ -58,6 +62,8 @@ from volcenginesdkiam.models.create_user_request import CreateUserRequest
58
62
  from volcenginesdkiam.models.create_user_response import CreateUserResponse
59
63
  from volcenginesdkiam.models.delete_access_key_request import DeleteAccessKeyRequest
60
64
  from volcenginesdkiam.models.delete_access_key_response import DeleteAccessKeyResponse
65
+ from volcenginesdkiam.models.delete_api_key_request import DeleteApiKeyRequest
66
+ from volcenginesdkiam.models.delete_api_key_response import DeleteApiKeyResponse
61
67
  from volcenginesdkiam.models.delete_group_request import DeleteGroupRequest
62
68
  from volcenginesdkiam.models.delete_group_response import DeleteGroupResponse
63
69
  from volcenginesdkiam.models.delete_login_profile_request import DeleteLoginProfileRequest
@@ -113,6 +119,8 @@ from volcenginesdkiam.models.ip_list_for_update_allowed_ip_addresses_input impor
113
119
  from volcenginesdkiam.models.identity_provider_for_list_identity_providers_output import IdentityProviderForListIdentityProvidersOutput
114
120
  from volcenginesdkiam.models.list_access_keys_request import ListAccessKeysRequest
115
121
  from volcenginesdkiam.models.list_access_keys_response import ListAccessKeysResponse
122
+ from volcenginesdkiam.models.list_api_keys_request import ListApiKeysRequest
123
+ from volcenginesdkiam.models.list_api_keys_response import ListApiKeysResponse
116
124
  from volcenginesdkiam.models.list_attached_role_policies_request import ListAttachedRolePoliciesRequest
117
125
  from volcenginesdkiam.models.list_attached_role_policies_response import ListAttachedRolePoliciesResponse
118
126
  from volcenginesdkiam.models.list_attached_user_group_policies_request import ListAttachedUserGroupPoliciesRequest
@@ -196,6 +204,8 @@ from volcenginesdkiam.models.update_access_key_request import UpdateAccessKeyReq
196
204
  from volcenginesdkiam.models.update_access_key_response import UpdateAccessKeyResponse
197
205
  from volcenginesdkiam.models.update_allowed_ip_addresses_request import UpdateAllowedIPAddressesRequest
198
206
  from volcenginesdkiam.models.update_allowed_ip_addresses_response import UpdateAllowedIPAddressesResponse
207
+ from volcenginesdkiam.models.update_api_key_request import UpdateApiKeyRequest
208
+ from volcenginesdkiam.models.update_api_key_response import UpdateApiKeyResponse
199
209
  from volcenginesdkiam.models.update_group_request import UpdateGroupRequest
200
210
  from volcenginesdkiam.models.update_group_response import UpdateGroupResponse
201
211
  from volcenginesdkiam.models.update_login_profile_request import UpdateLoginProfileRequest