@@ -1876,6 +1876,103 @@ def list_components_with_http_info(self, body, **kwargs): # noqa: E501
18761876 _request_timeout = params .get ('_request_timeout' ),
18771877 collection_formats = collection_formats )
18781878
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+
18791976 def list_node_groups (self , body , ** kwargs ): # noqa: E501
18801977 """list_node_groups # noqa: E501
18811978
0 commit comments