@@ -4883,6 +4883,103 @@ def enable_sharded_cluster_with_http_info(self, body, **kwargs): # noqa: E501
48834883 _request_timeout = params .get ('_request_timeout' ),
48844884 collection_formats = collection_formats )
48854885
4886+ def execute_planned_event (self , body , ** kwargs ): # noqa: E501
4887+ """execute_planned_event # noqa: E501
4888+
4889+ This method makes a synchronous HTTP request by default. To make an
4890+ asynchronous HTTP request, please pass async_req=True
4891+ >>> thread = api.execute_planned_event(body, async_req=True)
4892+ >>> result = thread.get()
4893+
4894+ :param async_req bool
4895+ :param ExecutePlannedEventRequest body: (required)
4896+ :return: ExecutePlannedEventResponse
4897+ If the method is called asynchronously,
4898+ returns the request thread.
4899+ """
4900+ kwargs ['_return_http_data_only' ] = True
4901+ if kwargs .get ('async_req' ):
4902+ return self .execute_planned_event_with_http_info (body , ** kwargs ) # noqa: E501
4903+ else :
4904+ (data ) = self .execute_planned_event_with_http_info (body , ** kwargs ) # noqa: E501
4905+ return data
4906+
4907+ def execute_planned_event_with_http_info (self , body , ** kwargs ): # noqa: E501
4908+ """execute_planned_event # noqa: E501
4909+
4910+ This method makes a synchronous HTTP request by default. To make an
4911+ asynchronous HTTP request, please pass async_req=True
4912+ >>> thread = api.execute_planned_event_with_http_info(body, async_req=True)
4913+ >>> result = thread.get()
4914+
4915+ :param async_req bool
4916+ :param ExecutePlannedEventRequest body: (required)
4917+ :return: ExecutePlannedEventResponse
4918+ If the method is called asynchronously,
4919+ returns the request thread.
4920+ """
4921+
4922+ all_params = ['body' ] # noqa: E501
4923+ all_params .append ('async_req' )
4924+ all_params .append ('_return_http_data_only' )
4925+ all_params .append ('_preload_content' )
4926+ all_params .append ('_request_timeout' )
4927+
4928+ params = locals ()
4929+ for key , val in six .iteritems (params ['kwargs' ]):
4930+ if key not in all_params :
4931+ raise TypeError (
4932+ "Got an unexpected keyword argument '%s'"
4933+ " to method execute_planned_event" % key
4934+ )
4935+ params [key ] = val
4936+ del params ['kwargs' ]
4937+ # verify the required parameter 'body' is set
4938+ if self .api_client .client_side_validation and ('body' not in params or
4939+ params ['body' ] is None ): # noqa: E501
4940+ raise ValueError ("Missing the required parameter `body` when calling `execute_planned_event`" ) # noqa: E501
4941+
4942+ collection_formats = {}
4943+
4944+ path_params = {}
4945+
4946+ query_params = []
4947+
4948+ header_params = {}
4949+
4950+ form_params = []
4951+ local_var_files = {}
4952+
4953+ body_params = None
4954+ if 'body' in params :
4955+ body_params = params ['body' ]
4956+ # HTTP header `Accept`
4957+ header_params ['Accept' ] = self .api_client .select_header_accept (
4958+ ['application/json' ]) # noqa: E501
4959+
4960+ # HTTP header `Content-Type`
4961+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
4962+ ['application/json' ]) # noqa: E501
4963+
4964+ # Authentication setting
4965+ auth_settings = ['volcengineSign' ] # noqa: E501
4966+
4967+ return self .api_client .call_api (
4968+ '/ExecutePlannedEvent/2020-12-07/redis/post/application_json/' , 'POST' ,
4969+ path_params ,
4970+ query_params ,
4971+ header_params ,
4972+ body = body_params ,
4973+ post_params = form_params ,
4974+ files = local_var_files ,
4975+ response_type = 'ExecutePlannedEventResponse' , # noqa: E501
4976+ auth_settings = auth_settings ,
4977+ async_req = params .get ('async_req' ),
4978+ _return_http_data_only = params .get ('_return_http_data_only' ),
4979+ _preload_content = params .get ('_preload_content' , True ),
4980+ _request_timeout = params .get ('_request_timeout' ),
4981+ collection_formats = collection_formats )
4982+
48864983 def flush_db_instance (self , body , ** kwargs ): # noqa: E501
48874984 """flush_db_instance # noqa: E501
48884985
@@ -7114,6 +7211,103 @@ def modify_parameter_group_with_http_info(self, body, **kwargs): # noqa: E501
71147211 _request_timeout = params .get ('_request_timeout' ),
71157212 collection_formats = collection_formats )
71167213
7214+ def modify_planned_event_execute_time (self , body , ** kwargs ): # noqa: E501
7215+ """modify_planned_event_execute_time # noqa: E501
7216+
7217+ This method makes a synchronous HTTP request by default. To make an
7218+ asynchronous HTTP request, please pass async_req=True
7219+ >>> thread = api.modify_planned_event_execute_time(body, async_req=True)
7220+ >>> result = thread.get()
7221+
7222+ :param async_req bool
7223+ :param ModifyPlannedEventExecuteTimeRequest body: (required)
7224+ :return: ModifyPlannedEventExecuteTimeResponse
7225+ If the method is called asynchronously,
7226+ returns the request thread.
7227+ """
7228+ kwargs ['_return_http_data_only' ] = True
7229+ if kwargs .get ('async_req' ):
7230+ return self .modify_planned_event_execute_time_with_http_info (body , ** kwargs ) # noqa: E501
7231+ else :
7232+ (data ) = self .modify_planned_event_execute_time_with_http_info (body , ** kwargs ) # noqa: E501
7233+ return data
7234+
7235+ def modify_planned_event_execute_time_with_http_info (self , body , ** kwargs ): # noqa: E501
7236+ """modify_planned_event_execute_time # noqa: E501
7237+
7238+ This method makes a synchronous HTTP request by default. To make an
7239+ asynchronous HTTP request, please pass async_req=True
7240+ >>> thread = api.modify_planned_event_execute_time_with_http_info(body, async_req=True)
7241+ >>> result = thread.get()
7242+
7243+ :param async_req bool
7244+ :param ModifyPlannedEventExecuteTimeRequest body: (required)
7245+ :return: ModifyPlannedEventExecuteTimeResponse
7246+ If the method is called asynchronously,
7247+ returns the request thread.
7248+ """
7249+
7250+ all_params = ['body' ] # noqa: E501
7251+ all_params .append ('async_req' )
7252+ all_params .append ('_return_http_data_only' )
7253+ all_params .append ('_preload_content' )
7254+ all_params .append ('_request_timeout' )
7255+
7256+ params = locals ()
7257+ for key , val in six .iteritems (params ['kwargs' ]):
7258+ if key not in all_params :
7259+ raise TypeError (
7260+ "Got an unexpected keyword argument '%s'"
7261+ " to method modify_planned_event_execute_time" % key
7262+ )
7263+ params [key ] = val
7264+ del params ['kwargs' ]
7265+ # verify the required parameter 'body' is set
7266+ if self .api_client .client_side_validation and ('body' not in params or
7267+ params ['body' ] is None ): # noqa: E501
7268+ raise ValueError ("Missing the required parameter `body` when calling `modify_planned_event_execute_time`" ) # noqa: E501
7269+
7270+ collection_formats = {}
7271+
7272+ path_params = {}
7273+
7274+ query_params = []
7275+
7276+ header_params = {}
7277+
7278+ form_params = []
7279+ local_var_files = {}
7280+
7281+ body_params = None
7282+ if 'body' in params :
7283+ body_params = params ['body' ]
7284+ # HTTP header `Accept`
7285+ header_params ['Accept' ] = self .api_client .select_header_accept (
7286+ ['application/json' ]) # noqa: E501
7287+
7288+ # HTTP header `Content-Type`
7289+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
7290+ ['application/json' ]) # noqa: E501
7291+
7292+ # Authentication setting
7293+ auth_settings = ['volcengineSign' ] # noqa: E501
7294+
7295+ return self .api_client .call_api (
7296+ '/ModifyPlannedEventExecuteTime/2020-12-07/redis/post/application_json/' , 'POST' ,
7297+ path_params ,
7298+ query_params ,
7299+ header_params ,
7300+ body = body_params ,
7301+ post_params = form_params ,
7302+ files = local_var_files ,
7303+ response_type = 'ModifyPlannedEventExecuteTimeResponse' , # noqa: E501
7304+ auth_settings = auth_settings ,
7305+ async_req = params .get ('async_req' ),
7306+ _return_http_data_only = params .get ('_return_http_data_only' ),
7307+ _preload_content = params .get ('_preload_content' , True ),
7308+ _request_timeout = params .get ('_request_timeout' ),
7309+ collection_formats = collection_formats )
7310+
71177311 def remove_tags_from_resource (self , body , ** kwargs ): # noqa: E501
71187312 """remove_tags_from_resource # noqa: E501
71197313
0 commit comments