@@ -4107,6 +4107,103 @@ def describe_prefix_list_entries_with_http_info(self, body, **kwargs): # noqa:
41074107 _request_timeout = params .get ('_request_timeout' ),
41084108 collection_formats = collection_formats )
41094109
4110+ def describe_prefix_lists (self , body , ** kwargs ): # noqa: E501
4111+ """describe_prefix_lists # noqa: E501
4112+
4113+ This method makes a synchronous HTTP request by default. To make an
4114+ asynchronous HTTP request, please pass async_req=True
4115+ >>> thread = api.describe_prefix_lists(body, async_req=True)
4116+ >>> result = thread.get()
4117+
4118+ :param async_req bool
4119+ :param DescribePrefixListsRequest body: (required)
4120+ :return: DescribePrefixListsResponse
4121+ If the method is called asynchronously,
4122+ returns the request thread.
4123+ """
4124+ kwargs ['_return_http_data_only' ] = True
4125+ if kwargs .get ('async_req' ):
4126+ return self .describe_prefix_lists_with_http_info (body , ** kwargs ) # noqa: E501
4127+ else :
4128+ (data ) = self .describe_prefix_lists_with_http_info (body , ** kwargs ) # noqa: E501
4129+ return data
4130+
4131+ def describe_prefix_lists_with_http_info (self , body , ** kwargs ): # noqa: E501
4132+ """describe_prefix_lists # noqa: E501
4133+
4134+ This method makes a synchronous HTTP request by default. To make an
4135+ asynchronous HTTP request, please pass async_req=True
4136+ >>> thread = api.describe_prefix_lists_with_http_info(body, async_req=True)
4137+ >>> result = thread.get()
4138+
4139+ :param async_req bool
4140+ :param DescribePrefixListsRequest body: (required)
4141+ :return: DescribePrefixListsResponse
4142+ If the method is called asynchronously,
4143+ returns the request thread.
4144+ """
4145+
4146+ all_params = ['body' ] # noqa: E501
4147+ all_params .append ('async_req' )
4148+ all_params .append ('_return_http_data_only' )
4149+ all_params .append ('_preload_content' )
4150+ all_params .append ('_request_timeout' )
4151+
4152+ params = locals ()
4153+ for key , val in six .iteritems (params ['kwargs' ]):
4154+ if key not in all_params :
4155+ raise TypeError (
4156+ "Got an unexpected keyword argument '%s'"
4157+ " to method describe_prefix_lists" % key
4158+ )
4159+ params [key ] = val
4160+ del params ['kwargs' ]
4161+ # verify the required parameter 'body' is set
4162+ if self .api_client .client_side_validation and ('body' not in params or
4163+ params ['body' ] is None ): # noqa: E501
4164+ raise ValueError ("Missing the required parameter `body` when calling `describe_prefix_lists`" ) # noqa: E501
4165+
4166+ collection_formats = {}
4167+
4168+ path_params = {}
4169+
4170+ query_params = []
4171+
4172+ header_params = {}
4173+
4174+ form_params = []
4175+ local_var_files = {}
4176+
4177+ body_params = None
4178+ if 'body' in params :
4179+ body_params = params ['body' ]
4180+ # HTTP header `Accept`
4181+ header_params ['Accept' ] = self .api_client .select_header_accept (
4182+ ['application/json' ]) # noqa: E501
4183+
4184+ # HTTP header `Content-Type`
4185+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
4186+ ['text/plain' ]) # noqa: E501
4187+
4188+ # Authentication setting
4189+ auth_settings = ['volcengineSign' ] # noqa: E501
4190+
4191+ return self .api_client .call_api (
4192+ '/DescribePrefixLists/2020-04-01/vpc/get/text_plain/' , 'GET' ,
4193+ path_params ,
4194+ query_params ,
4195+ header_params ,
4196+ body = body_params ,
4197+ post_params = form_params ,
4198+ files = local_var_files ,
4199+ response_type = 'DescribePrefixListsResponse' , # noqa: E501
4200+ auth_settings = auth_settings ,
4201+ async_req = params .get ('async_req' ),
4202+ _return_http_data_only = params .get ('_return_http_data_only' ),
4203+ _preload_content = params .get ('_preload_content' , True ),
4204+ _request_timeout = params .get ('_request_timeout' ),
4205+ collection_formats = collection_formats )
4206+
41104207 def describe_route_entry_list (self , body , ** kwargs ): # noqa: E501
41114208 """describe_route_entry_list # noqa: E501
41124209
0 commit comments