@@ -1294,6 +1294,200 @@ def describe_db_instance_detail_with_http_info(self, body, **kwargs): # noqa: E
12941294 _request_timeout = params .get ('_request_timeout' ),
12951295 collection_formats = collection_formats )
12961296
1297+ def describe_db_instance_parameters (self , body , ** kwargs ): # noqa: E501
1298+ """describe_db_instance_parameters # noqa: E501
1299+
1300+ This method makes a synchronous HTTP request by default. To make an
1301+ asynchronous HTTP request, please pass async_req=True
1302+ >>> thread = api.describe_db_instance_parameters(body, async_req=True)
1303+ >>> result = thread.get()
1304+
1305+ :param async_req bool
1306+ :param DescribeDBInstanceParametersRequest body: (required)
1307+ :return: DescribeDBInstanceParametersResponse
1308+ If the method is called asynchronously,
1309+ returns the request thread.
1310+ """
1311+ kwargs ['_return_http_data_only' ] = True
1312+ if kwargs .get ('async_req' ):
1313+ return self .describe_db_instance_parameters_with_http_info (body , ** kwargs ) # noqa: E501
1314+ else :
1315+ (data ) = self .describe_db_instance_parameters_with_http_info (body , ** kwargs ) # noqa: E501
1316+ return data
1317+
1318+ def describe_db_instance_parameters_with_http_info (self , body , ** kwargs ): # noqa: E501
1319+ """describe_db_instance_parameters # noqa: E501
1320+
1321+ This method makes a synchronous HTTP request by default. To make an
1322+ asynchronous HTTP request, please pass async_req=True
1323+ >>> thread = api.describe_db_instance_parameters_with_http_info(body, async_req=True)
1324+ >>> result = thread.get()
1325+
1326+ :param async_req bool
1327+ :param DescribeDBInstanceParametersRequest body: (required)
1328+ :return: DescribeDBInstanceParametersResponse
1329+ If the method is called asynchronously,
1330+ returns the request thread.
1331+ """
1332+
1333+ all_params = ['body' ] # noqa: E501
1334+ all_params .append ('async_req' )
1335+ all_params .append ('_return_http_data_only' )
1336+ all_params .append ('_preload_content' )
1337+ all_params .append ('_request_timeout' )
1338+
1339+ params = locals ()
1340+ for key , val in six .iteritems (params ['kwargs' ]):
1341+ if key not in all_params :
1342+ raise TypeError (
1343+ "Got an unexpected keyword argument '%s'"
1344+ " to method describe_db_instance_parameters" % key
1345+ )
1346+ params [key ] = val
1347+ del params ['kwargs' ]
1348+ # verify the required parameter 'body' is set
1349+ if self .api_client .client_side_validation and ('body' not in params or
1350+ params ['body' ] is None ): # noqa: E501
1351+ raise ValueError ("Missing the required parameter `body` when calling `describe_db_instance_parameters`" ) # noqa: E501
1352+
1353+ collection_formats = {}
1354+
1355+ path_params = {}
1356+
1357+ query_params = []
1358+
1359+ header_params = {}
1360+
1361+ form_params = []
1362+ local_var_files = {}
1363+
1364+ body_params = None
1365+ if 'body' in params :
1366+ body_params = params ['body' ]
1367+ # HTTP header `Accept`
1368+ header_params ['Accept' ] = self .api_client .select_header_accept (
1369+ ['application/json' ]) # noqa: E501
1370+
1371+ # HTTP header `Content-Type`
1372+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
1373+ ['application/json' ]) # noqa: E501
1374+
1375+ # Authentication setting
1376+ auth_settings = ['volcengineSign' ] # noqa: E501
1377+
1378+ return self .api_client .call_api (
1379+ '/DescribeDBInstanceParameters/2022-01-01/mongodb/post/' , 'POST' ,
1380+ path_params ,
1381+ query_params ,
1382+ header_params ,
1383+ body = body_params ,
1384+ post_params = form_params ,
1385+ files = local_var_files ,
1386+ response_type = 'DescribeDBInstanceParametersResponse' , # noqa: E501
1387+ auth_settings = auth_settings ,
1388+ async_req = params .get ('async_req' ),
1389+ _return_http_data_only = params .get ('_return_http_data_only' ),
1390+ _preload_content = params .get ('_preload_content' , True ),
1391+ _request_timeout = params .get ('_request_timeout' ),
1392+ collection_formats = collection_formats )
1393+
1394+ def describe_db_instance_parameters_log (self , body , ** kwargs ): # noqa: E501
1395+ """describe_db_instance_parameters_log # noqa: E501
1396+
1397+ This method makes a synchronous HTTP request by default. To make an
1398+ asynchronous HTTP request, please pass async_req=True
1399+ >>> thread = api.describe_db_instance_parameters_log(body, async_req=True)
1400+ >>> result = thread.get()
1401+
1402+ :param async_req bool
1403+ :param DescribeDBInstanceParametersLogRequest body: (required)
1404+ :return: DescribeDBInstanceParametersLogResponse
1405+ If the method is called asynchronously,
1406+ returns the request thread.
1407+ """
1408+ kwargs ['_return_http_data_only' ] = True
1409+ if kwargs .get ('async_req' ):
1410+ return self .describe_db_instance_parameters_log_with_http_info (body , ** kwargs ) # noqa: E501
1411+ else :
1412+ (data ) = self .describe_db_instance_parameters_log_with_http_info (body , ** kwargs ) # noqa: E501
1413+ return data
1414+
1415+ def describe_db_instance_parameters_log_with_http_info (self , body , ** kwargs ): # noqa: E501
1416+ """describe_db_instance_parameters_log # noqa: E501
1417+
1418+ This method makes a synchronous HTTP request by default. To make an
1419+ asynchronous HTTP request, please pass async_req=True
1420+ >>> thread = api.describe_db_instance_parameters_log_with_http_info(body, async_req=True)
1421+ >>> result = thread.get()
1422+
1423+ :param async_req bool
1424+ :param DescribeDBInstanceParametersLogRequest body: (required)
1425+ :return: DescribeDBInstanceParametersLogResponse
1426+ If the method is called asynchronously,
1427+ returns the request thread.
1428+ """
1429+
1430+ all_params = ['body' ] # noqa: E501
1431+ all_params .append ('async_req' )
1432+ all_params .append ('_return_http_data_only' )
1433+ all_params .append ('_preload_content' )
1434+ all_params .append ('_request_timeout' )
1435+
1436+ params = locals ()
1437+ for key , val in six .iteritems (params ['kwargs' ]):
1438+ if key not in all_params :
1439+ raise TypeError (
1440+ "Got an unexpected keyword argument '%s'"
1441+ " to method describe_db_instance_parameters_log" % key
1442+ )
1443+ params [key ] = val
1444+ del params ['kwargs' ]
1445+ # verify the required parameter 'body' is set
1446+ if self .api_client .client_side_validation and ('body' not in params or
1447+ params ['body' ] is None ): # noqa: E501
1448+ raise ValueError ("Missing the required parameter `body` when calling `describe_db_instance_parameters_log`" ) # noqa: E501
1449+
1450+ collection_formats = {}
1451+
1452+ path_params = {}
1453+
1454+ query_params = []
1455+
1456+ header_params = {}
1457+
1458+ form_params = []
1459+ local_var_files = {}
1460+
1461+ body_params = None
1462+ if 'body' in params :
1463+ body_params = params ['body' ]
1464+ # HTTP header `Accept`
1465+ header_params ['Accept' ] = self .api_client .select_header_accept (
1466+ ['application/json' ]) # noqa: E501
1467+
1468+ # HTTP header `Content-Type`
1469+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
1470+ ['application/json' ]) # noqa: E501
1471+
1472+ # Authentication setting
1473+ auth_settings = ['volcengineSign' ] # noqa: E501
1474+
1475+ return self .api_client .call_api (
1476+ '/DescribeDBInstanceParametersLog/2022-01-01/mongodb/post/' , 'POST' ,
1477+ path_params ,
1478+ query_params ,
1479+ header_params ,
1480+ body = body_params ,
1481+ post_params = form_params ,
1482+ files = local_var_files ,
1483+ response_type = 'DescribeDBInstanceParametersLogResponse' , # noqa: E501
1484+ auth_settings = auth_settings ,
1485+ async_req = params .get ('async_req' ),
1486+ _return_http_data_only = params .get ('_return_http_data_only' ),
1487+ _preload_content = params .get ('_preload_content' , True ),
1488+ _request_timeout = params .get ('_request_timeout' ),
1489+ collection_formats = collection_formats )
1490+
12971491 def describe_db_instances (self , body , ** kwargs ): # noqa: E501
12981492 """describe_db_instances # noqa: E501
12991493
@@ -1973,6 +2167,103 @@ def modify_db_instance_name_with_http_info(self, body, **kwargs): # noqa: E501
19732167 _request_timeout = params .get ('_request_timeout' ),
19742168 collection_formats = collection_formats )
19752169
2170+ def modify_db_instance_parameters (self , body , ** kwargs ): # noqa: E501
2171+ """modify_db_instance_parameters # noqa: E501
2172+
2173+ This method makes a synchronous HTTP request by default. To make an
2174+ asynchronous HTTP request, please pass async_req=True
2175+ >>> thread = api.modify_db_instance_parameters(body, async_req=True)
2176+ >>> result = thread.get()
2177+
2178+ :param async_req bool
2179+ :param ModifyDBInstanceParametersRequest body: (required)
2180+ :return: ModifyDBInstanceParametersResponse
2181+ If the method is called asynchronously,
2182+ returns the request thread.
2183+ """
2184+ kwargs ['_return_http_data_only' ] = True
2185+ if kwargs .get ('async_req' ):
2186+ return self .modify_db_instance_parameters_with_http_info (body , ** kwargs ) # noqa: E501
2187+ else :
2188+ (data ) = self .modify_db_instance_parameters_with_http_info (body , ** kwargs ) # noqa: E501
2189+ return data
2190+
2191+ def modify_db_instance_parameters_with_http_info (self , body , ** kwargs ): # noqa: E501
2192+ """modify_db_instance_parameters # noqa: E501
2193+
2194+ This method makes a synchronous HTTP request by default. To make an
2195+ asynchronous HTTP request, please pass async_req=True
2196+ >>> thread = api.modify_db_instance_parameters_with_http_info(body, async_req=True)
2197+ >>> result = thread.get()
2198+
2199+ :param async_req bool
2200+ :param ModifyDBInstanceParametersRequest body: (required)
2201+ :return: ModifyDBInstanceParametersResponse
2202+ If the method is called asynchronously,
2203+ returns the request thread.
2204+ """
2205+
2206+ all_params = ['body' ] # noqa: E501
2207+ all_params .append ('async_req' )
2208+ all_params .append ('_return_http_data_only' )
2209+ all_params .append ('_preload_content' )
2210+ all_params .append ('_request_timeout' )
2211+
2212+ params = locals ()
2213+ for key , val in six .iteritems (params ['kwargs' ]):
2214+ if key not in all_params :
2215+ raise TypeError (
2216+ "Got an unexpected keyword argument '%s'"
2217+ " to method modify_db_instance_parameters" % key
2218+ )
2219+ params [key ] = val
2220+ del params ['kwargs' ]
2221+ # verify the required parameter 'body' is set
2222+ if self .api_client .client_side_validation and ('body' not in params or
2223+ params ['body' ] is None ): # noqa: E501
2224+ raise ValueError ("Missing the required parameter `body` when calling `modify_db_instance_parameters`" ) # noqa: E501
2225+
2226+ collection_formats = {}
2227+
2228+ path_params = {}
2229+
2230+ query_params = []
2231+
2232+ header_params = {}
2233+
2234+ form_params = []
2235+ local_var_files = {}
2236+
2237+ body_params = None
2238+ if 'body' in params :
2239+ body_params = params ['body' ]
2240+ # HTTP header `Accept`
2241+ header_params ['Accept' ] = self .api_client .select_header_accept (
2242+ ['application/json' ]) # noqa: E501
2243+
2244+ # HTTP header `Content-Type`
2245+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
2246+ ['application/json' ]) # noqa: E501
2247+
2248+ # Authentication setting
2249+ auth_settings = ['volcengineSign' ] # noqa: E501
2250+
2251+ return self .api_client .call_api (
2252+ '/ModifyDBInstanceParameters/2022-01-01/mongodb/post/' , 'POST' ,
2253+ path_params ,
2254+ query_params ,
2255+ header_params ,
2256+ body = body_params ,
2257+ post_params = form_params ,
2258+ files = local_var_files ,
2259+ response_type = 'ModifyDBInstanceParametersResponse' , # noqa: E501
2260+ auth_settings = auth_settings ,
2261+ async_req = params .get ('async_req' ),
2262+ _return_http_data_only = params .get ('_return_http_data_only' ),
2263+ _preload_content = params .get ('_preload_content' , True ),
2264+ _request_timeout = params .get ('_request_timeout' ),
2265+ collection_formats = collection_formats )
2266+
19762267 def modify_db_instance_spec (self , body , ** kwargs ): # noqa: E501
19772268 """modify_db_instance_spec # noqa: E501
19782269
0 commit comments