@@ -4010,6 +4010,103 @@ def get_pod_property_with_http_info(self, body, **kwargs): # noqa: E501
40104010 _request_timeout = params .get ('_request_timeout' ),
40114011 collection_formats = collection_formats )
40124012
4013+ def get_pre_signed_edge_url (self , body , ** kwargs ): # noqa: E501
4014+ """get_pre_signed_edge_url # noqa: E501
4015+
4016+ This method makes a synchronous HTTP request by default. To make an
4017+ asynchronous HTTP request, please pass async_req=True
4018+ >>> thread = api.get_pre_signed_edge_url(body, async_req=True)
4019+ >>> result = thread.get()
4020+
4021+ :param async_req bool
4022+ :param GetPreSignedEdgeURLRequest body: (required)
4023+ :return: GetPreSignedEdgeURLResponse
4024+ If the method is called asynchronously,
4025+ returns the request thread.
4026+ """
4027+ kwargs ['_return_http_data_only' ] = True
4028+ if kwargs .get ('async_req' ):
4029+ return self .get_pre_signed_edge_url_with_http_info (body , ** kwargs ) # noqa: E501
4030+ else :
4031+ (data ) = self .get_pre_signed_edge_url_with_http_info (body , ** kwargs ) # noqa: E501
4032+ return data
4033+
4034+ def get_pre_signed_edge_url_with_http_info (self , body , ** kwargs ): # noqa: E501
4035+ """get_pre_signed_edge_url # noqa: E501
4036+
4037+ This method makes a synchronous HTTP request by default. To make an
4038+ asynchronous HTTP request, please pass async_req=True
4039+ >>> thread = api.get_pre_signed_edge_url_with_http_info(body, async_req=True)
4040+ >>> result = thread.get()
4041+
4042+ :param async_req bool
4043+ :param GetPreSignedEdgeURLRequest body: (required)
4044+ :return: GetPreSignedEdgeURLResponse
4045+ If the method is called asynchronously,
4046+ returns the request thread.
4047+ """
4048+
4049+ all_params = ['body' ] # noqa: E501
4050+ all_params .append ('async_req' )
4051+ all_params .append ('_return_http_data_only' )
4052+ all_params .append ('_preload_content' )
4053+ all_params .append ('_request_timeout' )
4054+
4055+ params = locals ()
4056+ for key , val in six .iteritems (params ['kwargs' ]):
4057+ if key not in all_params :
4058+ raise TypeError (
4059+ "Got an unexpected keyword argument '%s'"
4060+ " to method get_pre_signed_edge_url" % key
4061+ )
4062+ params [key ] = val
4063+ del params ['kwargs' ]
4064+ # verify the required parameter 'body' is set
4065+ if self .api_client .client_side_validation and ('body' not in params or
4066+ params ['body' ] is None ): # noqa: E501
4067+ raise ValueError ("Missing the required parameter `body` when calling `get_pre_signed_edge_url`" ) # noqa: E501
4068+
4069+ collection_formats = {}
4070+
4071+ path_params = {}
4072+
4073+ query_params = []
4074+
4075+ header_params = {}
4076+
4077+ form_params = []
4078+ local_var_files = {}
4079+
4080+ body_params = None
4081+ if 'body' in params :
4082+ body_params = params ['body' ]
4083+ # HTTP header `Accept`
4084+ header_params ['Accept' ] = self .api_client .select_header_accept (
4085+ ['application/json' ]) # noqa: E501
4086+
4087+ # HTTP header `Content-Type`
4088+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
4089+ ['application/json' ]) # noqa: E501
4090+
4091+ # Authentication setting
4092+ auth_settings = ['volcengineSign' ] # noqa: E501
4093+
4094+ return self .api_client .call_api (
4095+ '/GetPreSignedEdgeURL/2025-05-01/acep/post/application_json/' , 'POST' ,
4096+ path_params ,
4097+ query_params ,
4098+ header_params ,
4099+ body = body_params ,
4100+ post_params = form_params ,
4101+ files = local_var_files ,
4102+ response_type = 'GetPreSignedEdgeURLResponse' , # noqa: E501
4103+ auth_settings = auth_settings ,
4104+ async_req = params .get ('async_req' ),
4105+ _return_http_data_only = params .get ('_return_http_data_only' ),
4106+ _preload_content = params .get ('_preload_content' , True ),
4107+ _request_timeout = params .get ('_request_timeout' ),
4108+ collection_formats = collection_formats )
4109+
40134110 def get_product_resource (self , body , ** kwargs ): # noqa: E501
40144111 """get_product_resource # noqa: E501
40154112
@@ -8375,6 +8472,103 @@ def set_proxy_with_http_info(self, body, **kwargs): # noqa: E501
83758472 _request_timeout = params .get ('_request_timeout' ),
83768473 collection_formats = collection_formats )
83778474
8475+ def start_net_redirect (self , body , ** kwargs ): # noqa: E501
8476+ """start_net_redirect # noqa: E501
8477+
8478+ This method makes a synchronous HTTP request by default. To make an
8479+ asynchronous HTTP request, please pass async_req=True
8480+ >>> thread = api.start_net_redirect(body, async_req=True)
8481+ >>> result = thread.get()
8482+
8483+ :param async_req bool
8484+ :param StartNetRedirectRequest body: (required)
8485+ :return: StartNetRedirectResponse
8486+ If the method is called asynchronously,
8487+ returns the request thread.
8488+ """
8489+ kwargs ['_return_http_data_only' ] = True
8490+ if kwargs .get ('async_req' ):
8491+ return self .start_net_redirect_with_http_info (body , ** kwargs ) # noqa: E501
8492+ else :
8493+ (data ) = self .start_net_redirect_with_http_info (body , ** kwargs ) # noqa: E501
8494+ return data
8495+
8496+ def start_net_redirect_with_http_info (self , body , ** kwargs ): # noqa: E501
8497+ """start_net_redirect # noqa: E501
8498+
8499+ This method makes a synchronous HTTP request by default. To make an
8500+ asynchronous HTTP request, please pass async_req=True
8501+ >>> thread = api.start_net_redirect_with_http_info(body, async_req=True)
8502+ >>> result = thread.get()
8503+
8504+ :param async_req bool
8505+ :param StartNetRedirectRequest body: (required)
8506+ :return: StartNetRedirectResponse
8507+ If the method is called asynchronously,
8508+ returns the request thread.
8509+ """
8510+
8511+ all_params = ['body' ] # noqa: E501
8512+ all_params .append ('async_req' )
8513+ all_params .append ('_return_http_data_only' )
8514+ all_params .append ('_preload_content' )
8515+ all_params .append ('_request_timeout' )
8516+
8517+ params = locals ()
8518+ for key , val in six .iteritems (params ['kwargs' ]):
8519+ if key not in all_params :
8520+ raise TypeError (
8521+ "Got an unexpected keyword argument '%s'"
8522+ " to method start_net_redirect" % key
8523+ )
8524+ params [key ] = val
8525+ del params ['kwargs' ]
8526+ # verify the required parameter 'body' is set
8527+ if self .api_client .client_side_validation and ('body' not in params or
8528+ params ['body' ] is None ): # noqa: E501
8529+ raise ValueError ("Missing the required parameter `body` when calling `start_net_redirect`" ) # noqa: E501
8530+
8531+ collection_formats = {}
8532+
8533+ path_params = {}
8534+
8535+ query_params = []
8536+
8537+ header_params = {}
8538+
8539+ form_params = []
8540+ local_var_files = {}
8541+
8542+ body_params = None
8543+ if 'body' in params :
8544+ body_params = params ['body' ]
8545+ # HTTP header `Accept`
8546+ header_params ['Accept' ] = self .api_client .select_header_accept (
8547+ ['application/json' ]) # noqa: E501
8548+
8549+ # HTTP header `Content-Type`
8550+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
8551+ ['application/json' ]) # noqa: E501
8552+
8553+ # Authentication setting
8554+ auth_settings = ['volcengineSign' ] # noqa: E501
8555+
8556+ return self .api_client .call_api (
8557+ '/StartNetRedirect/2025-05-01/acep/post/application_json/' , 'POST' ,
8558+ path_params ,
8559+ query_params ,
8560+ header_params ,
8561+ body = body_params ,
8562+ post_params = form_params ,
8563+ files = local_var_files ,
8564+ response_type = 'StartNetRedirectResponse' , # noqa: E501
8565+ auth_settings = auth_settings ,
8566+ async_req = params .get ('async_req' ),
8567+ _return_http_data_only = params .get ('_return_http_data_only' ),
8568+ _preload_content = params .get ('_preload_content' , True ),
8569+ _request_timeout = params .get ('_request_timeout' ),
8570+ collection_formats = collection_formats )
8571+
83788572 def start_recording (self , body , ** kwargs ): # noqa: E501
83798573 """start_recording # noqa: E501
83808574
0 commit comments