@@ -1197,6 +1197,103 @@ def authorize_security_group_ingress_with_http_info(self, body, **kwargs): # no
11971197 _request_timeout = params .get ('_request_timeout' ),
11981198 collection_formats = collection_formats )
11991199
1200+ def cancel_bandwidth_package_eip_bandwidth (self , body , ** kwargs ): # noqa: E501
1201+ """cancel_bandwidth_package_eip_bandwidth # noqa: E501
1202+
1203+ This method makes a synchronous HTTP request by default. To make an
1204+ asynchronous HTTP request, please pass async_req=True
1205+ >>> thread = api.cancel_bandwidth_package_eip_bandwidth(body, async_req=True)
1206+ >>> result = thread.get()
1207+
1208+ :param async_req bool
1209+ :param CancelBandwidthPackageEipBandwidthRequest body: (required)
1210+ :return: CancelBandwidthPackageEipBandwidthResponse
1211+ If the method is called asynchronously,
1212+ returns the request thread.
1213+ """
1214+ kwargs ['_return_http_data_only' ] = True
1215+ if kwargs .get ('async_req' ):
1216+ return self .cancel_bandwidth_package_eip_bandwidth_with_http_info (body , ** kwargs ) # noqa: E501
1217+ else :
1218+ (data ) = self .cancel_bandwidth_package_eip_bandwidth_with_http_info (body , ** kwargs ) # noqa: E501
1219+ return data
1220+
1221+ def cancel_bandwidth_package_eip_bandwidth_with_http_info (self , body , ** kwargs ): # noqa: E501
1222+ """cancel_bandwidth_package_eip_bandwidth # noqa: E501
1223+
1224+ This method makes a synchronous HTTP request by default. To make an
1225+ asynchronous HTTP request, please pass async_req=True
1226+ >>> thread = api.cancel_bandwidth_package_eip_bandwidth_with_http_info(body, async_req=True)
1227+ >>> result = thread.get()
1228+
1229+ :param async_req bool
1230+ :param CancelBandwidthPackageEipBandwidthRequest body: (required)
1231+ :return: CancelBandwidthPackageEipBandwidthResponse
1232+ If the method is called asynchronously,
1233+ returns the request thread.
1234+ """
1235+
1236+ all_params = ['body' ] # noqa: E501
1237+ all_params .append ('async_req' )
1238+ all_params .append ('_return_http_data_only' )
1239+ all_params .append ('_preload_content' )
1240+ all_params .append ('_request_timeout' )
1241+
1242+ params = locals ()
1243+ for key , val in six .iteritems (params ['kwargs' ]):
1244+ if key not in all_params :
1245+ raise TypeError (
1246+ "Got an unexpected keyword argument '%s'"
1247+ " to method cancel_bandwidth_package_eip_bandwidth" % key
1248+ )
1249+ params [key ] = val
1250+ del params ['kwargs' ]
1251+ # verify the required parameter 'body' is set
1252+ if self .api_client .client_side_validation and ('body' not in params or
1253+ params ['body' ] is None ): # noqa: E501
1254+ raise ValueError ("Missing the required parameter `body` when calling `cancel_bandwidth_package_eip_bandwidth`" ) # noqa: E501
1255+
1256+ collection_formats = {}
1257+
1258+ path_params = {}
1259+
1260+ query_params = []
1261+
1262+ header_params = {}
1263+
1264+ form_params = []
1265+ local_var_files = {}
1266+
1267+ body_params = None
1268+ if 'body' in params :
1269+ body_params = params ['body' ]
1270+ # HTTP header `Accept`
1271+ header_params ['Accept' ] = self .api_client .select_header_accept (
1272+ ['application/json' ]) # noqa: E501
1273+
1274+ # HTTP header `Content-Type`
1275+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
1276+ ['text/plain' ]) # noqa: E501
1277+
1278+ # Authentication setting
1279+ auth_settings = ['volcengineSign' ] # noqa: E501
1280+
1281+ return self .api_client .call_api (
1282+ '/CancelBandwidthPackageEipBandwidth/2020-04-01/vpc/get/text_plain/' , 'GET' ,
1283+ path_params ,
1284+ query_params ,
1285+ header_params ,
1286+ body = body_params ,
1287+ post_params = form_params ,
1288+ files = local_var_files ,
1289+ response_type = 'CancelBandwidthPackageEipBandwidthResponse' , # noqa: E501
1290+ auth_settings = auth_settings ,
1291+ async_req = params .get ('async_req' ),
1292+ _return_http_data_only = params .get ('_return_http_data_only' ),
1293+ _preload_content = params .get ('_preload_content' , True ),
1294+ _request_timeout = params .get ('_request_timeout' ),
1295+ collection_formats = collection_formats )
1296+
12001297 def create_bandwidth_package (self , body , ** kwargs ): # noqa: E501
12011298 """create_bandwidth_package # noqa: E501
12021299
@@ -5756,6 +5853,103 @@ def modify_bandwidth_package_attributes_with_http_info(self, body, **kwargs): #
57565853 _request_timeout = params .get ('_request_timeout' ),
57575854 collection_formats = collection_formats )
57585855
5856+ def modify_bandwidth_package_eip_bandwidth (self , body , ** kwargs ): # noqa: E501
5857+ """modify_bandwidth_package_eip_bandwidth # noqa: E501
5858+
5859+ This method makes a synchronous HTTP request by default. To make an
5860+ asynchronous HTTP request, please pass async_req=True
5861+ >>> thread = api.modify_bandwidth_package_eip_bandwidth(body, async_req=True)
5862+ >>> result = thread.get()
5863+
5864+ :param async_req bool
5865+ :param ModifyBandwidthPackageEipBandwidthRequest body: (required)
5866+ :return: ModifyBandwidthPackageEipBandwidthResponse
5867+ If the method is called asynchronously,
5868+ returns the request thread.
5869+ """
5870+ kwargs ['_return_http_data_only' ] = True
5871+ if kwargs .get ('async_req' ):
5872+ return self .modify_bandwidth_package_eip_bandwidth_with_http_info (body , ** kwargs ) # noqa: E501
5873+ else :
5874+ (data ) = self .modify_bandwidth_package_eip_bandwidth_with_http_info (body , ** kwargs ) # noqa: E501
5875+ return data
5876+
5877+ def modify_bandwidth_package_eip_bandwidth_with_http_info (self , body , ** kwargs ): # noqa: E501
5878+ """modify_bandwidth_package_eip_bandwidth # noqa: E501
5879+
5880+ This method makes a synchronous HTTP request by default. To make an
5881+ asynchronous HTTP request, please pass async_req=True
5882+ >>> thread = api.modify_bandwidth_package_eip_bandwidth_with_http_info(body, async_req=True)
5883+ >>> result = thread.get()
5884+
5885+ :param async_req bool
5886+ :param ModifyBandwidthPackageEipBandwidthRequest body: (required)
5887+ :return: ModifyBandwidthPackageEipBandwidthResponse
5888+ If the method is called asynchronously,
5889+ returns the request thread.
5890+ """
5891+
5892+ all_params = ['body' ] # noqa: E501
5893+ all_params .append ('async_req' )
5894+ all_params .append ('_return_http_data_only' )
5895+ all_params .append ('_preload_content' )
5896+ all_params .append ('_request_timeout' )
5897+
5898+ params = locals ()
5899+ for key , val in six .iteritems (params ['kwargs' ]):
5900+ if key not in all_params :
5901+ raise TypeError (
5902+ "Got an unexpected keyword argument '%s'"
5903+ " to method modify_bandwidth_package_eip_bandwidth" % key
5904+ )
5905+ params [key ] = val
5906+ del params ['kwargs' ]
5907+ # verify the required parameter 'body' is set
5908+ if self .api_client .client_side_validation and ('body' not in params or
5909+ params ['body' ] is None ): # noqa: E501
5910+ raise ValueError ("Missing the required parameter `body` when calling `modify_bandwidth_package_eip_bandwidth`" ) # noqa: E501
5911+
5912+ collection_formats = {}
5913+
5914+ path_params = {}
5915+
5916+ query_params = []
5917+
5918+ header_params = {}
5919+
5920+ form_params = []
5921+ local_var_files = {}
5922+
5923+ body_params = None
5924+ if 'body' in params :
5925+ body_params = params ['body' ]
5926+ # HTTP header `Accept`
5927+ header_params ['Accept' ] = self .api_client .select_header_accept (
5928+ ['application/json' ]) # noqa: E501
5929+
5930+ # HTTP header `Content-Type`
5931+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
5932+ ['text/plain' ]) # noqa: E501
5933+
5934+ # Authentication setting
5935+ auth_settings = ['volcengineSign' ] # noqa: E501
5936+
5937+ return self .api_client .call_api (
5938+ '/ModifyBandwidthPackageEipBandwidth/2020-04-01/vpc/get/text_plain/' , 'GET' ,
5939+ path_params ,
5940+ query_params ,
5941+ header_params ,
5942+ body = body_params ,
5943+ post_params = form_params ,
5944+ files = local_var_files ,
5945+ response_type = 'ModifyBandwidthPackageEipBandwidthResponse' , # noqa: E501
5946+ auth_settings = auth_settings ,
5947+ async_req = params .get ('async_req' ),
5948+ _return_http_data_only = params .get ('_return_http_data_only' ),
5949+ _preload_content = params .get ('_preload_content' , True ),
5950+ _request_timeout = params .get ('_request_timeout' ),
5951+ collection_formats = collection_formats )
5952+
57595953 def modify_bandwidth_package_spec (self , body , ** kwargs ): # noqa: E501
57605954 """modify_bandwidth_package_spec # noqa: E501
57615955
@@ -7502,6 +7696,103 @@ def tag_resources_with_http_info(self, body, **kwargs): # noqa: E501
75027696 _request_timeout = params .get ('_request_timeout' ),
75037697 collection_formats = collection_formats )
75047698
7699+ def temporary_upgrade_eip_address (self , body , ** kwargs ): # noqa: E501
7700+ """temporary_upgrade_eip_address # noqa: E501
7701+
7702+ This method makes a synchronous HTTP request by default. To make an
7703+ asynchronous HTTP request, please pass async_req=True
7704+ >>> thread = api.temporary_upgrade_eip_address(body, async_req=True)
7705+ >>> result = thread.get()
7706+
7707+ :param async_req bool
7708+ :param TemporaryUpgradeEipAddressRequest body: (required)
7709+ :return: TemporaryUpgradeEipAddressResponse
7710+ If the method is called asynchronously,
7711+ returns the request thread.
7712+ """
7713+ kwargs ['_return_http_data_only' ] = True
7714+ if kwargs .get ('async_req' ):
7715+ return self .temporary_upgrade_eip_address_with_http_info (body , ** kwargs ) # noqa: E501
7716+ else :
7717+ (data ) = self .temporary_upgrade_eip_address_with_http_info (body , ** kwargs ) # noqa: E501
7718+ return data
7719+
7720+ def temporary_upgrade_eip_address_with_http_info (self , body , ** kwargs ): # noqa: E501
7721+ """temporary_upgrade_eip_address # noqa: E501
7722+
7723+ This method makes a synchronous HTTP request by default. To make an
7724+ asynchronous HTTP request, please pass async_req=True
7725+ >>> thread = api.temporary_upgrade_eip_address_with_http_info(body, async_req=True)
7726+ >>> result = thread.get()
7727+
7728+ :param async_req bool
7729+ :param TemporaryUpgradeEipAddressRequest body: (required)
7730+ :return: TemporaryUpgradeEipAddressResponse
7731+ If the method is called asynchronously,
7732+ returns the request thread.
7733+ """
7734+
7735+ all_params = ['body' ] # noqa: E501
7736+ all_params .append ('async_req' )
7737+ all_params .append ('_return_http_data_only' )
7738+ all_params .append ('_preload_content' )
7739+ all_params .append ('_request_timeout' )
7740+
7741+ params = locals ()
7742+ for key , val in six .iteritems (params ['kwargs' ]):
7743+ if key not in all_params :
7744+ raise TypeError (
7745+ "Got an unexpected keyword argument '%s'"
7746+ " to method temporary_upgrade_eip_address" % key
7747+ )
7748+ params [key ] = val
7749+ del params ['kwargs' ]
7750+ # verify the required parameter 'body' is set
7751+ if self .api_client .client_side_validation and ('body' not in params or
7752+ params ['body' ] is None ): # noqa: E501
7753+ raise ValueError ("Missing the required parameter `body` when calling `temporary_upgrade_eip_address`" ) # noqa: E501
7754+
7755+ collection_formats = {}
7756+
7757+ path_params = {}
7758+
7759+ query_params = []
7760+
7761+ header_params = {}
7762+
7763+ form_params = []
7764+ local_var_files = {}
7765+
7766+ body_params = None
7767+ if 'body' in params :
7768+ body_params = params ['body' ]
7769+ # HTTP header `Accept`
7770+ header_params ['Accept' ] = self .api_client .select_header_accept (
7771+ ['application/json' ]) # noqa: E501
7772+
7773+ # HTTP header `Content-Type`
7774+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
7775+ ['text/plain' ]) # noqa: E501
7776+
7777+ # Authentication setting
7778+ auth_settings = ['volcengineSign' ] # noqa: E501
7779+
7780+ return self .api_client .call_api (
7781+ '/TemporaryUpgradeEipAddress/2020-04-01/vpc/get/text_plain/' , 'GET' ,
7782+ path_params ,
7783+ query_params ,
7784+ header_params ,
7785+ body = body_params ,
7786+ post_params = form_params ,
7787+ files = local_var_files ,
7788+ response_type = 'TemporaryUpgradeEipAddressResponse' , # noqa: E501
7789+ auth_settings = auth_settings ,
7790+ async_req = params .get ('async_req' ),
7791+ _return_http_data_only = params .get ('_return_http_data_only' ),
7792+ _preload_content = params .get ('_preload_content' , True ),
7793+ _request_timeout = params .get ('_request_timeout' ),
7794+ collection_formats = collection_formats )
7795+
75057796 def unassign_ipv6_addresses (self , body , ** kwargs ): # noqa: E501
75067797 """unassign_ipv6_addresses # noqa: E501
75077798
0 commit comments