volcengine-python-sdk 5.0.18__py2.py3-none-any.whl → 5.0.20__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.
Files changed (21) hide show
  1. {volcengine_python_sdk-5.0.18.dist-info → volcengine_python_sdk-5.0.20.dist-info}/METADATA +1 -1
  2. {volcengine_python_sdk-5.0.18.dist-info → volcengine_python_sdk-5.0.20.dist-info}/RECORD +21 -16
  3. volcenginesdkcore/api_client.py +1 -1
  4. volcenginesdkcore/configuration.py +1 -1
  5. volcenginesdkemr/__init__.py +3 -0
  6. volcenginesdkemr/api/emr_api.py +97 -0
  7. volcenginesdkemr/models/__init__.py +3 -0
  8. volcenginesdkemr/models/item_for_list_node_group_elastic_scheduled_instances_output.py +279 -0
  9. volcenginesdkemr/models/list_node_group_elastic_scheduled_instances_request.py +150 -0
  10. volcenginesdkemr/models/list_node_group_elastic_scheduled_instances_response.py +201 -0
  11. volcenginesdkemr/models/scale_out_node_group_request.py +145 -1
  12. volcenginesdkrdsmysqlv2/__init__.py +2 -0
  13. volcenginesdkrdsmysqlv2/api/rds_mysql_v2_api.py +97 -0
  14. volcenginesdkrdsmysqlv2/models/__init__.py +2 -0
  15. volcenginesdkrdsmysqlv2/models/create_db_instance_request.py +1 -27
  16. volcenginesdkrdsmysqlv2/models/rebuild_db_green_instance_request.py +124 -0
  17. volcenginesdkrdsmysqlv2/models/rebuild_db_green_instance_response.py +95 -0
  18. {volcengine_python_sdk-5.0.18.dist-info → volcengine_python_sdk-5.0.20.dist-info}/WHEEL +0 -0
  19. {volcengine_python_sdk-5.0.18.dist-info → volcengine_python_sdk-5.0.20.dist-info}/licenses/LICENSE.txt +0 -0
  20. {volcengine_python_sdk-5.0.18.dist-info → volcengine_python_sdk-5.0.20.dist-info}/licenses/NOTICE.md +0 -0
  21. {volcengine_python_sdk-5.0.18.dist-info → volcengine_python_sdk-5.0.20.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: volcengine-python-sdk
3
- Version: 5.0.18
3
+ Version: 5.0.20
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.18.dist-info/licenses/LICENSE.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
2
- volcengine_python_sdk-5.0.18.dist-info/licenses/NOTICE.md,sha256=dqWX0O4-gFqGLdHJsXAiF6Q8JHlu_3nFaQSmrMHzujM,254
1
+ volcengine_python_sdk-5.0.20.dist-info/licenses/LICENSE.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
2
+ volcengine_python_sdk-5.0.20.dist-info/licenses/NOTICE.md,sha256=dqWX0O4-gFqGLdHJsXAiF6Q8JHlu_3nFaQSmrMHzujM,254
3
3
  volcenginesdkacep/__init__.py,sha256=3_nKhFpizIsTpBXZMZ9n7GRkl-jOPeA9vJJ7vGfTZ9M,27782
4
4
  volcenginesdkacep/api/__init__.py,sha256=MCzGEBg4XwY5aDIDy8nitUz4vu_2xmRRY83V6lqt460,138
5
5
  volcenginesdkacep/api/acep_api.py,sha256=c-iD0QWzPLiEf96e8tLJmf_aELSsVKAzeUTjeOuFbXc,364887
@@ -4812,8 +4812,8 @@ volcenginesdkconfig/models/tag_for_list_discovered_resources_output.py,sha256=gs
4812
4812
  volcenginesdkconfig/models/update_account_group_request.py,sha256=E-63Vq7Fgmi5oXU8NGyNsMyy2v1KhyWZprrpgVZA2h0,5608
4813
4813
  volcenginesdkconfig/models/update_account_group_response.py,sha256=NwAkFJCOSds-noYdJhcn6Mu0psvvWV9mwA4RNXyMxfE,2814
4814
4814
  volcenginesdkcore/__init__.py,sha256=WkgQAEhL6zg4ofQI82LD-3K-ij28yT-lpMiDoKmppwM,318
4815
- volcenginesdkcore/api_client.py,sha256=nsa8IF87zay0vbCW39Jh6Ep44IemxIjXQbRqRI53aGA,18326
4816
- volcenginesdkcore/configuration.py,sha256=VLqAZBD7qoUGChvB8eGDU5LAem5xU3F5xZ8L3fyTjfg,12082
4815
+ volcenginesdkcore/api_client.py,sha256=XP7ODQajpcxZNmK_rYul5FlScvJKJpNKfehOAaY_Og8,18326
4816
+ volcenginesdkcore/configuration.py,sha256=LAKBE6h3nWjlF1DIAjZeeqIjuKcVkJOkS9HddTqxEco,12082
4817
4817
  volcenginesdkcore/flatten.py,sha256=g3r61JS_AO7WV6ClRDkXgtnVXcw3c7tbZjeLAJxkSLc,3811
4818
4818
  volcenginesdkcore/metadata.py,sha256=lHsOz9JcwdM7oqBb5dhSl6z3qF-M3TnTFbCzxRV89f4,4529
4819
4819
  volcenginesdkcore/model.py,sha256=f3cvQ6QiQfecClucu-_-l5xVI3W5_vF-EKkjwZu7Vjc,177
@@ -6974,10 +6974,10 @@ volcenginesdkefs/models/update_permission_rule_response.py,sha256=bfxBsBQ_x323m0
6974
6974
  volcenginesdkefs/models/update_quota_request.py,sha256=bv8PlJ5ZYDDU2Q5404jMo9pcd2Pq_6MtatJy3kSoWXQ,7148
6975
6975
  volcenginesdkefs/models/update_quota_response.py,sha256=jvUfu6OgorO9kToKy91QtXcmgoXkWxje2nRrSQqt8NE,2776
6976
6976
  volcenginesdkefs/models/zone_for_describe_zones_output.py,sha256=pAjp08lhTTDm-qacfjC990lGDxF12XuniF7V31JJ8bU,4235
6977
- volcenginesdkemr/__init__.py,sha256=4G9ySn0x9vxRPRY2WdlzswoTc31BwXt7pA3z9QmakgQ,13731
6977
+ volcenginesdkemr/__init__.py,sha256=ejjaEeQKx6A-ks2iAsWy49R2ZnREFAAwhK7qb1j6sBY,14149
6978
6978
  volcenginesdkemr/api/__init__.py,sha256=Gr1eOb78ib7bu7AVOGlOt4t9TXQXAa1PLL3dh88wuFA,135
6979
- volcenginesdkemr/api/emr_api.py,sha256=yV40CEE0fxENWiXSKGmrhZutLGcCWygJMokS7fhEw6c,148289
6980
- volcenginesdkemr/models/__init__.py,sha256=bLsj8TfsQBrDdKojAqaCA3Fm1Puc32ENbq_hEyNsku8,13652
6979
+ volcenginesdkemr/api/emr_api.py,sha256=fBMGdKCbZeOhcEiJzU7j4ojvl-_cWrDmfLrAAvuAcPo,152510
6980
+ volcenginesdkemr/models/__init__.py,sha256=_PvSRemMGu-Cr5asVRUGpFNGpIoVXc1Wjf1XG3eUwYw,14070
6981
6981
  volcenginesdkemr/models/application_component_layout_for_create_cluster_input.py,sha256=nlMPULFQktFf0iWxj9BJYACp9njU3JdowNdT9Gj-Dmw,4864
6982
6982
  volcenginesdkemr/models/application_config_for_create_cluster_input.py,sha256=yJakQ-kI3eV_64lqU9H4FJ1pqs40L624HMblf9vHZ94,9307
6983
6983
  volcenginesdkemr/models/application_extra_for_create_cluster_input.py,sha256=KgbqqRilHm1jXrN_6llXCMxHYfFXEpiZNxnVBSynot4,7958
@@ -7023,6 +7023,7 @@ volcenginesdkemr/models/item_for_list_cluster_users_output.py,sha256=7mok4VivnXB
7023
7023
  volcenginesdkemr/models/item_for_list_clusters_output.py,sha256=4SNo_RSM4IBLe-WgnYHTCjO-5wQ7YYhKgP4iQyGwTiI,18684
7024
7024
  volcenginesdkemr/models/item_for_list_component_instances_output.py,sha256=MCzwiqMXz0N5yWI7Adyg_Qm95k9lfPxJ66KsZqWJEp4,9480
7025
7025
  volcenginesdkemr/models/item_for_list_components_output.py,sha256=YXD0VWeVqeF7QpEndkqwN6m8G_Go4BHQOM_czuqysoM,8508
7026
+ volcenginesdkemr/models/item_for_list_node_group_elastic_scheduled_instances_output.py,sha256=9pDeDUdwU1Zypr2IR4YqdSzLYapxRbtayZ5fTSUnPD8,9537
7026
7027
  volcenginesdkemr/models/item_for_list_node_groups_output.py,sha256=HRZP9CJwNUYTZaiNzEAN_wHEDTenCuMssK02Ux3zEX0,14579
7027
7028
  volcenginesdkemr/models/item_for_list_nodes_output.py,sha256=n7Dkz_VxJEaKAGwNW1jzNCtDssLTVdXq0C3-EmM6IYo,11801
7028
7029
  volcenginesdkemr/models/item_for_list_operations_output.py,sha256=ajc8Cn2CKpuLdYSwUupBq7nrBe1pF-PdU6Dwq05m-kU,10556
@@ -7044,6 +7045,8 @@ volcenginesdkemr/models/list_component_instances_request.py,sha256=LK9yk-lzDr_VH
7044
7045
  volcenginesdkemr/models/list_component_instances_response.py,sha256=oN3ArKEcCwkD9CSFNggw7TSGzKcQr2TG-RUcjjC4ILI,5958
7045
7046
  volcenginesdkemr/models/list_components_request.py,sha256=5NCFWidqg2zj8GDghZILOSzq0MsrVVvH-gxqtf1xtVo,5394
7046
7047
  volcenginesdkemr/models/list_components_response.py,sha256=al5U0JEg-K7Kjo5BGfkKA_PBi5G-k4-mGvKCJEvf1OQ,5766
7048
+ volcenginesdkemr/models/list_node_group_elastic_scheduled_instances_request.py,sha256=ZJEg0raEgn5iSUmMc3_uksNmsAGZxZqK-zjXldeQKeA,4795
7049
+ volcenginesdkemr/models/list_node_group_elastic_scheduled_instances_response.py,sha256=aE8dS3nTusQaEDnRyKU3rF3GCx4NwVxOgpZJYHAzbUA,6342
7047
7050
  volcenginesdkemr/models/list_node_groups_request.py,sha256=HP-Bio8BMKcbf0-JyybGantD3RGn8SgbaWkvrqMi8eI,8749
7048
7051
  volcenginesdkemr/models/list_node_groups_response.py,sha256=Aly_U-okWFbqW6sFFx8LU3C3LdyHqc8QddasuLogqfk,5766
7049
7052
  volcenginesdkemr/models/list_nodes_request.py,sha256=V0QFFV4z_Ojh5fM-4VqowJGzzI_jGhpef541zwflCfQ,11241
@@ -7072,7 +7075,7 @@ volcenginesdkemr/models/run_application_action_request.py,sha256=o8cG2cWSx6fPrqM
7072
7075
  volcenginesdkemr/models/run_application_action_response.py,sha256=ToawNTJLaczXYTM9USI8ockknp717Tol-LzXMXkNjqc,5269
7073
7076
  volcenginesdkemr/models/scale_in_node_group_request.py,sha256=XXGZh4eiODBO3v8W3Iyc5rIesYVF_RCgPKCzIFyvKi8,6317
7074
7077
  volcenginesdkemr/models/scale_in_node_group_response.py,sha256=SZUDWHfF5OGr7VO3t_9EVkCUBsPmQIHOq39ORZ1LVD0,5189
7075
- volcenginesdkemr/models/scale_out_node_group_request.py,sha256=mFpFnJHLWIHGd14IqXWC73nniD6NRj-dufVpzKo6dfo,7070
7078
+ volcenginesdkemr/models/scale_out_node_group_request.py,sha256=PMaz6WVhZ-XAiYPdiux--WLnpmHMi-CuMbtmdklAmJ0,14620
7076
7079
  volcenginesdkemr/models/scale_out_node_group_response.py,sha256=Jk6I-Cp8Uk4GRoViqsz1qoo50GP1KTwvDpyOvO9Q2Ho,5209
7077
7080
  volcenginesdkemr/models/scale_up_node_group_disk_request.py,sha256=oYzkWwnXJpesXu5gpv2umILnuWA--5lxPCzK7Fbip2M,6475
7078
7081
  volcenginesdkemr/models/scale_up_node_group_disk_response.py,sha256=SnTyTcciNfmViMHobsF1op9vP0nVLrunHYkbZ1YvYZk,5269
@@ -13089,10 +13092,10 @@ volcenginesdkrdsmysql/models/template_param_for_list_parameter_templates_output.
13089
13092
  volcenginesdkrdsmysql/models/template_param_for_modify_parameter_template_input.py,sha256=ZEajamtVF9XR4ZXDatCPIIFSlZwdQEBtfMgaTWHhWZo,8701
13090
13093
  volcenginesdkrdsmysql/models/upgrade_allow_list_version_request.py,sha256=1nvCNjZV4Ofg81BIR417NCIzh6-MCmpIyomaODT31p8,3762
13091
13094
  volcenginesdkrdsmysql/models/upgrade_allow_list_version_response.py,sha256=aqIBM6j326b8TwJza7UZLTLHynLD5roUvPmscjTuUHY,2842
13092
- volcenginesdkrdsmysqlv2/__init__.py,sha256=0M5uhRqLSdu6w4wjXsBpvP01i2dNjauUeqUVnJKUe1U,64818
13095
+ volcenginesdkrdsmysqlv2/__init__.py,sha256=w_auEfyUxkrNYa8m3mrUW3SetRMD93ZoxuJXxktTtzs,65034
13093
13096
  volcenginesdkrdsmysqlv2/api/__init__.py,sha256=m9b6H7N50diXjCjnj08o2DSjNsNIUkFmgP572k9K8fA,158
13094
- volcenginesdkrdsmysqlv2/api/rds_mysql_v2_api.py,sha256=VInpdjGqlTK0fT7vsUhXB1gntOJnqybekUXVoaXDJJg,627339
13095
- volcenginesdkrdsmysqlv2/models/__init__.py,sha256=vvZH0tUEAhDLtVpC5JYds6XoWno9fIF0UFZu2QAMkXc,64716
13097
+ volcenginesdkrdsmysqlv2/api/rds_mysql_v2_api.py,sha256=x4OV4l_lEib2X6oBXdfMEgmj_hDm1h3ndDFLHyXhW3I,631290
13098
+ volcenginesdkrdsmysqlv2/models/__init__.py,sha256=erG6Z03xjM0YDzK9IOVq-Z8k8fmWy6c58dXGSlCfOF4,64932
13096
13099
  volcenginesdkrdsmysqlv2/models/account_for_describe_db_accounts_output.py,sha256=7b-ih7NRVmv1vK4XF31Xs6RYdeytGPcGjyIBa8MHqMI,12347
13097
13100
  volcenginesdkrdsmysqlv2/models/account_privilege_for_create_db_account_input.py,sha256=Pk52oKLpWsy2hkOMVeuH2PdEzv9Psb-E4ulIamTZvIs,5656
13098
13101
  volcenginesdkrdsmysqlv2/models/account_privilege_for_describe_db_accounts_output.py,sha256=oj2f6PpYEgeu1yV77SxXawTj41RvTjP6ArkmWLoC83M,5724
@@ -13176,7 +13179,7 @@ volcenginesdkrdsmysqlv2/models/create_db_endpoint_public_address_response.py,sha
13176
13179
  volcenginesdkrdsmysqlv2/models/create_db_endpoint_req_for_modify_db_endpoint_connection_mode_input.py,sha256=IDhKe0PUuwZAg0K-6D4sunBxnp-UnRvfqY7Bnw-CJW4,21981
13177
13180
  volcenginesdkrdsmysqlv2/models/create_db_endpoint_request.py,sha256=pJijAIKutBhIcKojdRv81ckg1hjXNoMRLQLi4HFQWdA,21539
13178
13181
  volcenginesdkrdsmysqlv2/models/create_db_endpoint_response.py,sha256=3XdI1S6jHbM4jgiA8LIHDZ08NJ4OyOvB8jbMuCnIpII,4338
13179
- volcenginesdkrdsmysqlv2/models/create_db_instance_request.py,sha256=zW4hZ3S22wISAzChmNGlbhNRJNVFvo56rZiRsXFDQ2s,32048
13182
+ volcenginesdkrdsmysqlv2/models/create_db_instance_request.py,sha256=OnjfiXJFeUwktvrrtF-rkcmyiUVvs2M87hTQgnst1Uc,31388
13180
13183
  volcenginesdkrdsmysqlv2/models/create_db_instance_response.py,sha256=EQiahL5rRNisUwlfiyuTuJsAqqa68gOYkE4m3h146sk,4278
13181
13184
  volcenginesdkrdsmysqlv2/models/create_db_nodes_request.py,sha256=wuEWnrpjZrtpkKG1mcUJHyatco7W0p0_TX9efMZhRKY,8918
13182
13185
  volcenginesdkrdsmysqlv2/models/create_db_nodes_response.py,sha256=EsB5P7dH_zGUgdU61ihGKHQw1q9S4ODGPi4Jj5mANTg,5216
@@ -13524,6 +13527,8 @@ volcenginesdkrdsmysqlv2/models/read_only_node_weight_for_describe_db_instance_de
13524
13527
  volcenginesdkrdsmysqlv2/models/read_only_node_weight_for_describe_db_instance_endpoints_output.py,sha256=lpkKqXSVxxlqMkp2d1DT867Vqp0cIJmPfM235hpLumU,5393
13525
13528
  volcenginesdkrdsmysqlv2/models/read_only_node_weight_for_modify_db_endpoint_connection_mode_input.py,sha256=HxoUcQiP1pkUEDwX03sY5ytlodohPy9k0la0wzb31hY,5427
13526
13529
  volcenginesdkrdsmysqlv2/models/read_only_node_weight_for_modify_db_endpoint_input.py,sha256=6vhVEcoBF1tT35qCfI8Ih1kAOZHXFBT3LClBrz2PAsQ,5189
13530
+ volcenginesdkrdsmysqlv2/models/rebuild_db_green_instance_request.py,sha256=uqYU-5bhVJVjt8eW99P1DJtwj-l2sCBiOH-icNOFSxQ,3756
13531
+ volcenginesdkrdsmysqlv2/models/rebuild_db_green_instance_response.py,sha256=0KIEB2POT65YuTsykbjfC9eCkm_cRGIqHbooeOgvuXY,2840
13527
13532
  volcenginesdkrdsmysqlv2/models/rebuild_db_instance_request.py,sha256=ThxPBe6l411zmnfOQM1PIVPrJwrMT2XwokePiGf90EY,18825
13528
13533
  volcenginesdkrdsmysqlv2/models/rebuild_db_instance_response.py,sha256=nrU-yKHAmSj2Y2oZozsy_2756UxtM7fp3m195XU3YPg,4291
13529
13534
  volcenginesdkrdsmysqlv2/models/rebuild_dr_instance_request.py,sha256=pz5zrOckdY2vcVJ9emuuI-pg5aZZJ92EJQOACtDdY2U,3711
@@ -19877,7 +19882,7 @@ volcenginesdkwafruntime/api/__init__.py,sha256=di_9IIKQ0HCuzkGrTyZ6h38iP7y1xelH8
19877
19882
  volcenginesdkwafruntime/api/waf_runtime_api.py,sha256=eWgdzFcwflEkhkNrPzZL1mqSid7O1OWiwHGUyWJvZNA,4035
19878
19883
  volcenginesdkwafruntime/models/__init__.py,sha256=di_9IIKQ0HCuzkGrTyZ6h38iP7y1xelH8_IJbKi4aWA,71
19879
19884
  volcenginesdkwafruntime/models/llm_stream_session.py,sha256=U9cig3fuZRBT4Ov8_cUsWDKXcMLNjBDxKt-7IoewoUw,1589
19880
- volcengine_python_sdk-5.0.18.dist-info/METADATA,sha256=o6XlNdWi2dxlpNCaV-3XPo2MPV3LsjchRg8z4tIUwro,8200
19881
- volcengine_python_sdk-5.0.18.dist-info/WHEEL,sha256=TdQ5LtNwLuxTCjgxN51AgdU5w-KkB9ttmLbzjTH02pg,109
19882
- volcengine_python_sdk-5.0.18.dist-info/top_level.txt,sha256=9_qsS8ya_4cXJ35kD2F88yVTQYsTeKR8vMGx4-TTJRc,2704
19883
- volcengine_python_sdk-5.0.18.dist-info/RECORD,,
19885
+ volcengine_python_sdk-5.0.20.dist-info/METADATA,sha256=NXDGv1XhQP_htcolFfhklqymCb4QxPBjS6tbO-0_1ZE,8200
19886
+ volcengine_python_sdk-5.0.20.dist-info/WHEEL,sha256=TdQ5LtNwLuxTCjgxN51AgdU5w-KkB9ttmLbzjTH02pg,109
19887
+ volcengine_python_sdk-5.0.20.dist-info/top_level.txt,sha256=9_qsS8ya_4cXJ35kD2F88yVTQYsTeKR8vMGx4-TTJRc,2704
19888
+ volcengine_python_sdk-5.0.20.dist-info/RECORD,,
@@ -64,7 +64,7 @@ class ApiClient(object):
64
64
  self.default_headers[header_name] = header_value
65
65
  self.cookie = cookie
66
66
  # Set default User-Agent.
67
- self.user_agent = 'volcstack-python-sdk/5.0.18'
67
+ self.user_agent = 'volcstack-python-sdk/5.0.20'
68
68
  self.client_side_validation = configuration.client_side_validation
69
69
 
70
70
  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.18".\
294
+ "SDK Package Version: 5.0.20".\
295
295
  format(env=sys.platform, pyversion=sys.version)
296
296
 
297
297
  @property
@@ -64,6 +64,7 @@ from volcenginesdkemr.models.item_for_list_cluster_users_output import ItemForLi
64
64
  from volcenginesdkemr.models.item_for_list_clusters_output import ItemForListClustersOutput
65
65
  from volcenginesdkemr.models.item_for_list_component_instances_output import ItemForListComponentInstancesOutput
66
66
  from volcenginesdkemr.models.item_for_list_components_output import ItemForListComponentsOutput
67
+ from volcenginesdkemr.models.item_for_list_node_group_elastic_scheduled_instances_output import ItemForListNodeGroupElasticScheduledInstancesOutput
67
68
  from volcenginesdkemr.models.item_for_list_node_groups_output import ItemForListNodeGroupsOutput
68
69
  from volcenginesdkemr.models.item_for_list_nodes_output import ItemForListNodesOutput
69
70
  from volcenginesdkemr.models.item_for_list_operations_output import ItemForListOperationsOutput
@@ -85,6 +86,8 @@ from volcenginesdkemr.models.list_component_instances_request import ListCompone
85
86
  from volcenginesdkemr.models.list_component_instances_response import ListComponentInstancesResponse
86
87
  from volcenginesdkemr.models.list_components_request import ListComponentsRequest
87
88
  from volcenginesdkemr.models.list_components_response import ListComponentsResponse
89
+ from volcenginesdkemr.models.list_node_group_elastic_scheduled_instances_request import ListNodeGroupElasticScheduledInstancesRequest
90
+ from volcenginesdkemr.models.list_node_group_elastic_scheduled_instances_response import ListNodeGroupElasticScheduledInstancesResponse
88
91
  from volcenginesdkemr.models.list_node_groups_request import ListNodeGroupsRequest
89
92
  from volcenginesdkemr.models.list_node_groups_response import ListNodeGroupsResponse
90
93
  from volcenginesdkemr.models.list_nodes_request import ListNodesRequest
@@ -1876,6 +1876,103 @@ class EMRApi(object):
1876
1876
  _request_timeout=params.get('_request_timeout'),
1877
1877
  collection_formats=collection_formats)
1878
1878
 
1879
+ def list_node_group_elastic_scheduled_instances(self, body, **kwargs): # noqa: E501
1880
+ """list_node_group_elastic_scheduled_instances # 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.list_node_group_elastic_scheduled_instances(body, async_req=True)
1885
+ >>> result = thread.get()
1886
+
1887
+ :param async_req bool
1888
+ :param ListNodeGroupElasticScheduledInstancesRequest body: (required)
1889
+ :return: ListNodeGroupElasticScheduledInstancesResponse
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.list_node_group_elastic_scheduled_instances_with_http_info(body, **kwargs) # noqa: E501
1896
+ else:
1897
+ (data) = self.list_node_group_elastic_scheduled_instances_with_http_info(body, **kwargs) # noqa: E501
1898
+ return data
1899
+
1900
+ def list_node_group_elastic_scheduled_instances_with_http_info(self, body, **kwargs): # noqa: E501
1901
+ """list_node_group_elastic_scheduled_instances # 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.list_node_group_elastic_scheduled_instances_with_http_info(body, async_req=True)
1906
+ >>> result = thread.get()
1907
+
1908
+ :param async_req bool
1909
+ :param ListNodeGroupElasticScheduledInstancesRequest body: (required)
1910
+ :return: ListNodeGroupElasticScheduledInstancesResponse
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 list_node_group_elastic_scheduled_instances" % 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 `list_node_group_elastic_scheduled_instances`") # 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
+ ['application/json']) # noqa: E501
1956
+
1957
+ # Authentication setting
1958
+ auth_settings = ['volcengineSign'] # noqa: E501
1959
+
1960
+ return self.api_client.call_api(
1961
+ '/ListNodeGroupElasticScheduledInstances/2023-08-15/emr/post/application_json/', 'POST',
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='ListNodeGroupElasticScheduledInstancesResponse', # 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
+
1879
1976
  def list_node_groups(self, body, **kwargs): # noqa: E501
1880
1977
  """list_node_groups # noqa: E501
1881
1978
 
@@ -60,6 +60,7 @@ from volcenginesdkemr.models.item_for_list_cluster_users_output import ItemForLi
60
60
  from volcenginesdkemr.models.item_for_list_clusters_output import ItemForListClustersOutput
61
61
  from volcenginesdkemr.models.item_for_list_component_instances_output import ItemForListComponentInstancesOutput
62
62
  from volcenginesdkemr.models.item_for_list_components_output import ItemForListComponentsOutput
63
+ from volcenginesdkemr.models.item_for_list_node_group_elastic_scheduled_instances_output import ItemForListNodeGroupElasticScheduledInstancesOutput
63
64
  from volcenginesdkemr.models.item_for_list_node_groups_output import ItemForListNodeGroupsOutput
64
65
  from volcenginesdkemr.models.item_for_list_nodes_output import ItemForListNodesOutput
65
66
  from volcenginesdkemr.models.item_for_list_operations_output import ItemForListOperationsOutput
@@ -81,6 +82,8 @@ from volcenginesdkemr.models.list_component_instances_request import ListCompone
81
82
  from volcenginesdkemr.models.list_component_instances_response import ListComponentInstancesResponse
82
83
  from volcenginesdkemr.models.list_components_request import ListComponentsRequest
83
84
  from volcenginesdkemr.models.list_components_response import ListComponentsResponse
85
+ from volcenginesdkemr.models.list_node_group_elastic_scheduled_instances_request import ListNodeGroupElasticScheduledInstancesRequest
86
+ from volcenginesdkemr.models.list_node_group_elastic_scheduled_instances_response import ListNodeGroupElasticScheduledInstancesResponse
84
87
  from volcenginesdkemr.models.list_node_groups_request import ListNodeGroupsRequest
85
88
  from volcenginesdkemr.models.list_node_groups_response import ListNodeGroupsResponse
86
89
  from volcenginesdkemr.models.list_nodes_request import ListNodesRequest
@@ -0,0 +1,279 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ emr
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: common-version
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+
14
+ import pprint
15
+ import re # noqa: F401
16
+
17
+ import six
18
+
19
+ from volcenginesdkcore.configuration import Configuration
20
+
21
+
22
+ class ItemForListNodeGroupElasticScheduledInstancesOutput(object):
23
+ """NOTE: This class is auto generated by the swagger code generator program.
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ swagger_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ swagger_types = {
36
+ 'auto_release_at': 'str',
37
+ 'count': 'int',
38
+ 'end_delivery_at': 'str',
39
+ 'scheduled_instance_id': 'str',
40
+ 'scheduled_instance_type': 'str',
41
+ 'start_delivery_at': 'str',
42
+ 'status': 'str'
43
+ }
44
+
45
+ attribute_map = {
46
+ 'auto_release_at': 'AutoReleaseAt',
47
+ 'count': 'Count',
48
+ 'end_delivery_at': 'EndDeliveryAt',
49
+ 'scheduled_instance_id': 'ScheduledInstanceId',
50
+ 'scheduled_instance_type': 'ScheduledInstanceType',
51
+ 'start_delivery_at': 'StartDeliveryAt',
52
+ 'status': 'Status'
53
+ }
54
+
55
+ def __init__(self, auto_release_at=None, count=None, end_delivery_at=None, scheduled_instance_id=None, scheduled_instance_type=None, start_delivery_at=None, status=None, _configuration=None): # noqa: E501
56
+ """ItemForListNodeGroupElasticScheduledInstancesOutput - a model defined in Swagger""" # noqa: E501
57
+ if _configuration is None:
58
+ _configuration = Configuration()
59
+ self._configuration = _configuration
60
+
61
+ self._auto_release_at = None
62
+ self._count = None
63
+ self._end_delivery_at = None
64
+ self._scheduled_instance_id = None
65
+ self._scheduled_instance_type = None
66
+ self._start_delivery_at = None
67
+ self._status = None
68
+ self.discriminator = None
69
+
70
+ if auto_release_at is not None:
71
+ self.auto_release_at = auto_release_at
72
+ if count is not None:
73
+ self.count = count
74
+ if end_delivery_at is not None:
75
+ self.end_delivery_at = end_delivery_at
76
+ if scheduled_instance_id is not None:
77
+ self.scheduled_instance_id = scheduled_instance_id
78
+ if scheduled_instance_type is not None:
79
+ self.scheduled_instance_type = scheduled_instance_type
80
+ if start_delivery_at is not None:
81
+ self.start_delivery_at = start_delivery_at
82
+ if status is not None:
83
+ self.status = status
84
+
85
+ @property
86
+ def auto_release_at(self):
87
+ """Gets the auto_release_at of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
88
+
89
+
90
+ :return: The auto_release_at of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
91
+ :rtype: str
92
+ """
93
+ return self._auto_release_at
94
+
95
+ @auto_release_at.setter
96
+ def auto_release_at(self, auto_release_at):
97
+ """Sets the auto_release_at of this ItemForListNodeGroupElasticScheduledInstancesOutput.
98
+
99
+
100
+ :param auto_release_at: The auto_release_at of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
101
+ :type: str
102
+ """
103
+
104
+ self._auto_release_at = auto_release_at
105
+
106
+ @property
107
+ def count(self):
108
+ """Gets the count of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
109
+
110
+
111
+ :return: The count of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
112
+ :rtype: int
113
+ """
114
+ return self._count
115
+
116
+ @count.setter
117
+ def count(self, count):
118
+ """Sets the count of this ItemForListNodeGroupElasticScheduledInstancesOutput.
119
+
120
+
121
+ :param count: The count of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
122
+ :type: int
123
+ """
124
+
125
+ self._count = count
126
+
127
+ @property
128
+ def end_delivery_at(self):
129
+ """Gets the end_delivery_at of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
130
+
131
+
132
+ :return: The end_delivery_at of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
133
+ :rtype: str
134
+ """
135
+ return self._end_delivery_at
136
+
137
+ @end_delivery_at.setter
138
+ def end_delivery_at(self, end_delivery_at):
139
+ """Sets the end_delivery_at of this ItemForListNodeGroupElasticScheduledInstancesOutput.
140
+
141
+
142
+ :param end_delivery_at: The end_delivery_at of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
143
+ :type: str
144
+ """
145
+
146
+ self._end_delivery_at = end_delivery_at
147
+
148
+ @property
149
+ def scheduled_instance_id(self):
150
+ """Gets the scheduled_instance_id of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
151
+
152
+
153
+ :return: The scheduled_instance_id of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
154
+ :rtype: str
155
+ """
156
+ return self._scheduled_instance_id
157
+
158
+ @scheduled_instance_id.setter
159
+ def scheduled_instance_id(self, scheduled_instance_id):
160
+ """Sets the scheduled_instance_id of this ItemForListNodeGroupElasticScheduledInstancesOutput.
161
+
162
+
163
+ :param scheduled_instance_id: The scheduled_instance_id of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
164
+ :type: str
165
+ """
166
+
167
+ self._scheduled_instance_id = scheduled_instance_id
168
+
169
+ @property
170
+ def scheduled_instance_type(self):
171
+ """Gets the scheduled_instance_type of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
172
+
173
+
174
+ :return: The scheduled_instance_type of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
175
+ :rtype: str
176
+ """
177
+ return self._scheduled_instance_type
178
+
179
+ @scheduled_instance_type.setter
180
+ def scheduled_instance_type(self, scheduled_instance_type):
181
+ """Sets the scheduled_instance_type of this ItemForListNodeGroupElasticScheduledInstancesOutput.
182
+
183
+
184
+ :param scheduled_instance_type: The scheduled_instance_type of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
185
+ :type: str
186
+ """
187
+
188
+ self._scheduled_instance_type = scheduled_instance_type
189
+
190
+ @property
191
+ def start_delivery_at(self):
192
+ """Gets the start_delivery_at of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
193
+
194
+
195
+ :return: The start_delivery_at of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
196
+ :rtype: str
197
+ """
198
+ return self._start_delivery_at
199
+
200
+ @start_delivery_at.setter
201
+ def start_delivery_at(self, start_delivery_at):
202
+ """Sets the start_delivery_at of this ItemForListNodeGroupElasticScheduledInstancesOutput.
203
+
204
+
205
+ :param start_delivery_at: The start_delivery_at of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
206
+ :type: str
207
+ """
208
+
209
+ self._start_delivery_at = start_delivery_at
210
+
211
+ @property
212
+ def status(self):
213
+ """Gets the status of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
214
+
215
+
216
+ :return: The status of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
217
+ :rtype: str
218
+ """
219
+ return self._status
220
+
221
+ @status.setter
222
+ def status(self, status):
223
+ """Sets the status of this ItemForListNodeGroupElasticScheduledInstancesOutput.
224
+
225
+
226
+ :param status: The status of this ItemForListNodeGroupElasticScheduledInstancesOutput. # noqa: E501
227
+ :type: str
228
+ """
229
+
230
+ self._status = status
231
+
232
+ def to_dict(self):
233
+ """Returns the model properties as a dict"""
234
+ result = {}
235
+
236
+ for attr, _ in six.iteritems(self.swagger_types):
237
+ value = getattr(self, attr)
238
+ if isinstance(value, list):
239
+ result[attr] = list(map(
240
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
241
+ value
242
+ ))
243
+ elif hasattr(value, "to_dict"):
244
+ result[attr] = value.to_dict()
245
+ elif isinstance(value, dict):
246
+ result[attr] = dict(map(
247
+ lambda item: (item[0], item[1].to_dict())
248
+ if hasattr(item[1], "to_dict") else item,
249
+ value.items()
250
+ ))
251
+ else:
252
+ result[attr] = value
253
+ if issubclass(ItemForListNodeGroupElasticScheduledInstancesOutput, dict):
254
+ for key, value in self.items():
255
+ result[key] = value
256
+
257
+ return result
258
+
259
+ def to_str(self):
260
+ """Returns the string representation of the model"""
261
+ return pprint.pformat(self.to_dict())
262
+
263
+ def __repr__(self):
264
+ """For `print` and `pprint`"""
265
+ return self.to_str()
266
+
267
+ def __eq__(self, other):
268
+ """Returns true if both objects are equal"""
269
+ if not isinstance(other, ItemForListNodeGroupElasticScheduledInstancesOutput):
270
+ return False
271
+
272
+ return self.to_dict() == other.to_dict()
273
+
274
+ def __ne__(self, other):
275
+ """Returns true if both objects are not equal"""
276
+ if not isinstance(other, ItemForListNodeGroupElasticScheduledInstancesOutput):
277
+ return True
278
+
279
+ return self.to_dict() != other.to_dict()