@@ -4204,6 +4204,103 @@ def list_tags_for_resources_with_http_info(self, body, **kwargs): # noqa: E501
42044204 _request_timeout = params .get ('_request_timeout' ),
42054205 collection_formats = collection_formats )
42064206
4207+ def modify_endpoint_payer_account (self , body , ** kwargs ): # noqa: E501
4208+ """modify_endpoint_payer_account # noqa: E501
4209+
4210+ This method makes a synchronous HTTP request by default. To make an
4211+ asynchronous HTTP request, please pass async_req=True
4212+ >>> thread = api.modify_endpoint_payer_account(body, async_req=True)
4213+ >>> result = thread.get()
4214+
4215+ :param async_req bool
4216+ :param ModifyEndpointPayerAccountRequest body: (required)
4217+ :return: ModifyEndpointPayerAccountResponse
4218+ If the method is called asynchronously,
4219+ returns the request thread.
4220+ """
4221+ kwargs ['_return_http_data_only' ] = True
4222+ if kwargs .get ('async_req' ):
4223+ return self .modify_endpoint_payer_account_with_http_info (body , ** kwargs ) # noqa: E501
4224+ else :
4225+ (data ) = self .modify_endpoint_payer_account_with_http_info (body , ** kwargs ) # noqa: E501
4226+ return data
4227+
4228+ def modify_endpoint_payer_account_with_http_info (self , body , ** kwargs ): # noqa: E501
4229+ """modify_endpoint_payer_account # noqa: E501
4230+
4231+ This method makes a synchronous HTTP request by default. To make an
4232+ asynchronous HTTP request, please pass async_req=True
4233+ >>> thread = api.modify_endpoint_payer_account_with_http_info(body, async_req=True)
4234+ >>> result = thread.get()
4235+
4236+ :param async_req bool
4237+ :param ModifyEndpointPayerAccountRequest body: (required)
4238+ :return: ModifyEndpointPayerAccountResponse
4239+ If the method is called asynchronously,
4240+ returns the request thread.
4241+ """
4242+
4243+ all_params = ['body' ] # noqa: E501
4244+ all_params .append ('async_req' )
4245+ all_params .append ('_return_http_data_only' )
4246+ all_params .append ('_preload_content' )
4247+ all_params .append ('_request_timeout' )
4248+
4249+ params = locals ()
4250+ for key , val in six .iteritems (params ['kwargs' ]):
4251+ if key not in all_params :
4252+ raise TypeError (
4253+ "Got an unexpected keyword argument '%s'"
4254+ " to method modify_endpoint_payer_account" % key
4255+ )
4256+ params [key ] = val
4257+ del params ['kwargs' ]
4258+ # verify the required parameter 'body' is set
4259+ if self .api_client .client_side_validation and ('body' not in params or
4260+ params ['body' ] is None ): # noqa: E501
4261+ raise ValueError ("Missing the required parameter `body` when calling `modify_endpoint_payer_account`" ) # noqa: E501
4262+
4263+ collection_formats = {}
4264+
4265+ path_params = {}
4266+
4267+ query_params = []
4268+
4269+ header_params = {}
4270+
4271+ form_params = []
4272+ local_var_files = {}
4273+
4274+ body_params = None
4275+ if 'body' in params :
4276+ body_params = params ['body' ]
4277+ # HTTP header `Accept`
4278+ header_params ['Accept' ] = self .api_client .select_header_accept (
4279+ ['application/json' ]) # noqa: E501
4280+
4281+ # HTTP header `Content-Type`
4282+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
4283+ ['text/plain' ]) # noqa: E501
4284+
4285+ # Authentication setting
4286+ auth_settings = ['volcengineSign' ] # noqa: E501
4287+
4288+ return self .api_client .call_api (
4289+ '/ModifyEndpointPayerAccount/2020-04-01/privatelink/get/text_plain/' , 'GET' ,
4290+ path_params ,
4291+ query_params ,
4292+ header_params ,
4293+ body = body_params ,
4294+ post_params = form_params ,
4295+ files = local_var_files ,
4296+ response_type = 'ModifyEndpointPayerAccountResponse' , # noqa: E501
4297+ auth_settings = auth_settings ,
4298+ async_req = params .get ('async_req' ),
4299+ _return_http_data_only = params .get ('_return_http_data_only' ),
4300+ _preload_content = params .get ('_preload_content' , True ),
4301+ _request_timeout = params .get ('_request_timeout' ),
4302+ collection_formats = collection_formats )
4303+
42074304 def modify_private_link_gateway_attributes (self , body , ** kwargs ): # noqa: E501
42084305 """modify_private_link_gateway_attributes # noqa: E501
42094306
@@ -4495,6 +4592,103 @@ def modify_vpc_endpoint_attributes_with_http_info(self, body, **kwargs): # noqa
44954592 _request_timeout = params .get ('_request_timeout' ),
44964593 collection_formats = collection_formats )
44974594
4595+ def modify_vpc_endpoint_connections (self , body , ** kwargs ): # noqa: E501
4596+ """modify_vpc_endpoint_connections # noqa: E501
4597+
4598+ This method makes a synchronous HTTP request by default. To make an
4599+ asynchronous HTTP request, please pass async_req=True
4600+ >>> thread = api.modify_vpc_endpoint_connections(body, async_req=True)
4601+ >>> result = thread.get()
4602+
4603+ :param async_req bool
4604+ :param ModifyVpcEndpointConnectionsRequest body: (required)
4605+ :return: ModifyVpcEndpointConnectionsResponse
4606+ If the method is called asynchronously,
4607+ returns the request thread.
4608+ """
4609+ kwargs ['_return_http_data_only' ] = True
4610+ if kwargs .get ('async_req' ):
4611+ return self .modify_vpc_endpoint_connections_with_http_info (body , ** kwargs ) # noqa: E501
4612+ else :
4613+ (data ) = self .modify_vpc_endpoint_connections_with_http_info (body , ** kwargs ) # noqa: E501
4614+ return data
4615+
4616+ def modify_vpc_endpoint_connections_with_http_info (self , body , ** kwargs ): # noqa: E501
4617+ """modify_vpc_endpoint_connections # noqa: E501
4618+
4619+ This method makes a synchronous HTTP request by default. To make an
4620+ asynchronous HTTP request, please pass async_req=True
4621+ >>> thread = api.modify_vpc_endpoint_connections_with_http_info(body, async_req=True)
4622+ >>> result = thread.get()
4623+
4624+ :param async_req bool
4625+ :param ModifyVpcEndpointConnectionsRequest body: (required)
4626+ :return: ModifyVpcEndpointConnectionsResponse
4627+ If the method is called asynchronously,
4628+ returns the request thread.
4629+ """
4630+
4631+ all_params = ['body' ] # noqa: E501
4632+ all_params .append ('async_req' )
4633+ all_params .append ('_return_http_data_only' )
4634+ all_params .append ('_preload_content' )
4635+ all_params .append ('_request_timeout' )
4636+
4637+ params = locals ()
4638+ for key , val in six .iteritems (params ['kwargs' ]):
4639+ if key not in all_params :
4640+ raise TypeError (
4641+ "Got an unexpected keyword argument '%s'"
4642+ " to method modify_vpc_endpoint_connections" % key
4643+ )
4644+ params [key ] = val
4645+ del params ['kwargs' ]
4646+ # verify the required parameter 'body' is set
4647+ if self .api_client .client_side_validation and ('body' not in params or
4648+ params ['body' ] is None ): # noqa: E501
4649+ raise ValueError ("Missing the required parameter `body` when calling `modify_vpc_endpoint_connections`" ) # noqa: E501
4650+
4651+ collection_formats = {}
4652+
4653+ path_params = {}
4654+
4655+ query_params = []
4656+
4657+ header_params = {}
4658+
4659+ form_params = []
4660+ local_var_files = {}
4661+
4662+ body_params = None
4663+ if 'body' in params :
4664+ body_params = params ['body' ]
4665+ # HTTP header `Accept`
4666+ header_params ['Accept' ] = self .api_client .select_header_accept (
4667+ ['application/json' ]) # noqa: E501
4668+
4669+ # HTTP header `Content-Type`
4670+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
4671+ ['text/plain' ]) # noqa: E501
4672+
4673+ # Authentication setting
4674+ auth_settings = ['volcengineSign' ] # noqa: E501
4675+
4676+ return self .api_client .call_api (
4677+ '/ModifyVpcEndpointConnections/2020-04-01/privatelink/get/text_plain/' , 'GET' ,
4678+ path_params ,
4679+ query_params ,
4680+ header_params ,
4681+ body = body_params ,
4682+ post_params = form_params ,
4683+ files = local_var_files ,
4684+ response_type = 'ModifyVpcEndpointConnectionsResponse' , # noqa: E501
4685+ auth_settings = auth_settings ,
4686+ async_req = params .get ('async_req' ),
4687+ _return_http_data_only = params .get ('_return_http_data_only' ),
4688+ _preload_content = params .get ('_preload_content' , True ),
4689+ _request_timeout = params .get ('_request_timeout' ),
4690+ collection_formats = collection_formats )
4691+
44984692 def modify_vpc_endpoint_service_attributes (self , body , ** kwargs ): # noqa: E501
44994693 """modify_vpc_endpoint_service_attributes # noqa: E501
45004694
0 commit comments