@@ -5950,6 +5950,103 @@ def modify_listener_attributes_with_http_info(self, body, **kwargs): # noqa: E5
59505950 _request_timeout = params .get ('_request_timeout' ),
59515951 collection_formats = collection_formats )
59525952
5953+ def modify_listener_domain_extensions (self , body , ** kwargs ): # noqa: E501
5954+ """modify_listener_domain_extensions # noqa: E501
5955+
5956+ This method makes a synchronous HTTP request by default. To make an
5957+ asynchronous HTTP request, please pass async_req=True
5958+ >>> thread = api.modify_listener_domain_extensions(body, async_req=True)
5959+ >>> result = thread.get()
5960+
5961+ :param async_req bool
5962+ :param ModifyListenerDomainExtensionsRequest body: (required)
5963+ :return: ModifyListenerDomainExtensionsResponse
5964+ If the method is called asynchronously,
5965+ returns the request thread.
5966+ """
5967+ kwargs ['_return_http_data_only' ] = True
5968+ if kwargs .get ('async_req' ):
5969+ return self .modify_listener_domain_extensions_with_http_info (body , ** kwargs ) # noqa: E501
5970+ else :
5971+ (data ) = self .modify_listener_domain_extensions_with_http_info (body , ** kwargs ) # noqa: E501
5972+ return data
5973+
5974+ def modify_listener_domain_extensions_with_http_info (self , body , ** kwargs ): # noqa: E501
5975+ """modify_listener_domain_extensions # noqa: E501
5976+
5977+ This method makes a synchronous HTTP request by default. To make an
5978+ asynchronous HTTP request, please pass async_req=True
5979+ >>> thread = api.modify_listener_domain_extensions_with_http_info(body, async_req=True)
5980+ >>> result = thread.get()
5981+
5982+ :param async_req bool
5983+ :param ModifyListenerDomainExtensionsRequest body: (required)
5984+ :return: ModifyListenerDomainExtensionsResponse
5985+ If the method is called asynchronously,
5986+ returns the request thread.
5987+ """
5988+
5989+ all_params = ['body' ] # noqa: E501
5990+ all_params .append ('async_req' )
5991+ all_params .append ('_return_http_data_only' )
5992+ all_params .append ('_preload_content' )
5993+ all_params .append ('_request_timeout' )
5994+
5995+ params = locals ()
5996+ for key , val in six .iteritems (params ['kwargs' ]):
5997+ if key not in all_params :
5998+ raise TypeError (
5999+ "Got an unexpected keyword argument '%s'"
6000+ " to method modify_listener_domain_extensions" % key
6001+ )
6002+ params [key ] = val
6003+ del params ['kwargs' ]
6004+ # verify the required parameter 'body' is set
6005+ if self .api_client .client_side_validation and ('body' not in params or
6006+ params ['body' ] is None ): # noqa: E501
6007+ raise ValueError ("Missing the required parameter `body` when calling `modify_listener_domain_extensions`" ) # noqa: E501
6008+
6009+ collection_formats = {}
6010+
6011+ path_params = {}
6012+
6013+ query_params = []
6014+
6015+ header_params = {}
6016+
6017+ form_params = []
6018+ local_var_files = {}
6019+
6020+ body_params = None
6021+ if 'body' in params :
6022+ body_params = params ['body' ]
6023+ # HTTP header `Accept`
6024+ header_params ['Accept' ] = self .api_client .select_header_accept (
6025+ ['application/json' ]) # noqa: E501
6026+
6027+ # HTTP header `Content-Type`
6028+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
6029+ ['text/plain' ]) # noqa: E501
6030+
6031+ # Authentication setting
6032+ auth_settings = ['volcengineSign' ] # noqa: E501
6033+
6034+ return self .api_client .call_api (
6035+ '/ModifyListenerDomainExtensions/2020-04-01/clb/get/text_plain/' , 'GET' ,
6036+ path_params ,
6037+ query_params ,
6038+ header_params ,
6039+ body = body_params ,
6040+ post_params = form_params ,
6041+ files = local_var_files ,
6042+ response_type = 'ModifyListenerDomainExtensionsResponse' , # noqa: E501
6043+ auth_settings = auth_settings ,
6044+ async_req = params .get ('async_req' ),
6045+ _return_http_data_only = params .get ('_return_http_data_only' ),
6046+ _preload_content = params .get ('_preload_content' , True ),
6047+ _request_timeout = params .get ('_request_timeout' ),
6048+ collection_formats = collection_formats )
6049+
59536050 def modify_load_balancer_attributes (self , body , ** kwargs ): # noqa: E501
59546051 """modify_load_balancer_attributes # noqa: E501
59556052
@@ -6047,6 +6144,103 @@ def modify_load_balancer_attributes_with_http_info(self, body, **kwargs): # noq
60476144 _request_timeout = params .get ('_request_timeout' ),
60486145 collection_formats = collection_formats )
60496146
6147+ def modify_network_load_balancer_access_log (self , body , ** kwargs ): # noqa: E501
6148+ """modify_network_load_balancer_access_log # noqa: E501
6149+
6150+ This method makes a synchronous HTTP request by default. To make an
6151+ asynchronous HTTP request, please pass async_req=True
6152+ >>> thread = api.modify_network_load_balancer_access_log(body, async_req=True)
6153+ >>> result = thread.get()
6154+
6155+ :param async_req bool
6156+ :param ModifyNetworkLoadBalancerAccessLogRequest body: (required)
6157+ :return: ModifyNetworkLoadBalancerAccessLogResponse
6158+ If the method is called asynchronously,
6159+ returns the request thread.
6160+ """
6161+ kwargs ['_return_http_data_only' ] = True
6162+ if kwargs .get ('async_req' ):
6163+ return self .modify_network_load_balancer_access_log_with_http_info (body , ** kwargs ) # noqa: E501
6164+ else :
6165+ (data ) = self .modify_network_load_balancer_access_log_with_http_info (body , ** kwargs ) # noqa: E501
6166+ return data
6167+
6168+ def modify_network_load_balancer_access_log_with_http_info (self , body , ** kwargs ): # noqa: E501
6169+ """modify_network_load_balancer_access_log # noqa: E501
6170+
6171+ This method makes a synchronous HTTP request by default. To make an
6172+ asynchronous HTTP request, please pass async_req=True
6173+ >>> thread = api.modify_network_load_balancer_access_log_with_http_info(body, async_req=True)
6174+ >>> result = thread.get()
6175+
6176+ :param async_req bool
6177+ :param ModifyNetworkLoadBalancerAccessLogRequest body: (required)
6178+ :return: ModifyNetworkLoadBalancerAccessLogResponse
6179+ If the method is called asynchronously,
6180+ returns the request thread.
6181+ """
6182+
6183+ all_params = ['body' ] # noqa: E501
6184+ all_params .append ('async_req' )
6185+ all_params .append ('_return_http_data_only' )
6186+ all_params .append ('_preload_content' )
6187+ all_params .append ('_request_timeout' )
6188+
6189+ params = locals ()
6190+ for key , val in six .iteritems (params ['kwargs' ]):
6191+ if key not in all_params :
6192+ raise TypeError (
6193+ "Got an unexpected keyword argument '%s'"
6194+ " to method modify_network_load_balancer_access_log" % key
6195+ )
6196+ params [key ] = val
6197+ del params ['kwargs' ]
6198+ # verify the required parameter 'body' is set
6199+ if self .api_client .client_side_validation and ('body' not in params or
6200+ params ['body' ] is None ): # noqa: E501
6201+ raise ValueError ("Missing the required parameter `body` when calling `modify_network_load_balancer_access_log`" ) # noqa: E501
6202+
6203+ collection_formats = {}
6204+
6205+ path_params = {}
6206+
6207+ query_params = []
6208+
6209+ header_params = {}
6210+
6211+ form_params = []
6212+ local_var_files = {}
6213+
6214+ body_params = None
6215+ if 'body' in params :
6216+ body_params = params ['body' ]
6217+ # HTTP header `Accept`
6218+ header_params ['Accept' ] = self .api_client .select_header_accept (
6219+ ['application/json' ]) # noqa: E501
6220+
6221+ # HTTP header `Content-Type`
6222+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
6223+ ['text/plain' ]) # noqa: E501
6224+
6225+ # Authentication setting
6226+ auth_settings = ['volcengineSign' ] # noqa: E501
6227+
6228+ return self .api_client .call_api (
6229+ '/ModifyNetworkLoadBalancerAccessLog/2020-04-01/clb/get/text_plain/' , 'GET' ,
6230+ path_params ,
6231+ query_params ,
6232+ header_params ,
6233+ body = body_params ,
6234+ post_params = form_params ,
6235+ files = local_var_files ,
6236+ response_type = 'ModifyNetworkLoadBalancerAccessLogResponse' , # noqa: E501
6237+ auth_settings = auth_settings ,
6238+ async_req = params .get ('async_req' ),
6239+ _return_http_data_only = params .get ('_return_http_data_only' ),
6240+ _preload_content = params .get ('_preload_content' , True ),
6241+ _request_timeout = params .get ('_request_timeout' ),
6242+ collection_formats = collection_formats )
6243+
60506244 def modify_network_load_balancer_attributes (self , body , ** kwargs ): # noqa: E501
60516245 """modify_network_load_balancer_attributes # noqa: E501
60526246
0 commit comments