@@ -324,6 +324,103 @@ def describe_alert_strategy_with_http_info(self, body, **kwargs): # noqa: E501
324324 _request_timeout = params .get ('_request_timeout' ),
325325 collection_formats = collection_formats )
326326
327+ def describe_cdn_access_log (self , body , ** kwargs ): # noqa: E501
328+ """describe_cdn_access_log # noqa: E501
329+
330+ This method makes a synchronous HTTP request by default. To make an
331+ asynchronous HTTP request, please pass async_req=True
332+ >>> thread = api.describe_cdn_access_log(body, async_req=True)
333+ >>> result = thread.get()
334+
335+ :param async_req bool
336+ :param DescribeCdnAccessLogRequest body: (required)
337+ :return: DescribeCdnAccessLogResponse
338+ If the method is called asynchronously,
339+ returns the request thread.
340+ """
341+ kwargs ['_return_http_data_only' ] = True
342+ if kwargs .get ('async_req' ):
343+ return self .describe_cdn_access_log_with_http_info (body , ** kwargs ) # noqa: E501
344+ else :
345+ (data ) = self .describe_cdn_access_log_with_http_info (body , ** kwargs ) # noqa: E501
346+ return data
347+
348+ def describe_cdn_access_log_with_http_info (self , body , ** kwargs ): # noqa: E501
349+ """describe_cdn_access_log # noqa: E501
350+
351+ This method makes a synchronous HTTP request by default. To make an
352+ asynchronous HTTP request, please pass async_req=True
353+ >>> thread = api.describe_cdn_access_log_with_http_info(body, async_req=True)
354+ >>> result = thread.get()
355+
356+ :param async_req bool
357+ :param DescribeCdnAccessLogRequest body: (required)
358+ :return: DescribeCdnAccessLogResponse
359+ If the method is called asynchronously,
360+ returns the request thread.
361+ """
362+
363+ all_params = ['body' ] # noqa: E501
364+ all_params .append ('async_req' )
365+ all_params .append ('_return_http_data_only' )
366+ all_params .append ('_preload_content' )
367+ all_params .append ('_request_timeout' )
368+
369+ params = locals ()
370+ for key , val in six .iteritems (params ['kwargs' ]):
371+ if key not in all_params :
372+ raise TypeError (
373+ "Got an unexpected keyword argument '%s'"
374+ " to method describe_cdn_access_log" % key
375+ )
376+ params [key ] = val
377+ del params ['kwargs' ]
378+ # verify the required parameter 'body' is set
379+ if self .api_client .client_side_validation and ('body' not in params or
380+ params ['body' ] is None ): # noqa: E501
381+ raise ValueError ("Missing the required parameter `body` when calling `describe_cdn_access_log`" ) # noqa: E501
382+
383+ collection_formats = {}
384+
385+ path_params = {}
386+
387+ query_params = []
388+
389+ header_params = {}
390+
391+ form_params = []
392+ local_var_files = {}
393+
394+ body_params = None
395+ if 'body' in params :
396+ body_params = params ['body' ]
397+ # HTTP header `Accept`
398+ header_params ['Accept' ] = self .api_client .select_header_accept (
399+ ['application/json' ]) # noqa: E501
400+
401+ # HTTP header `Content-Type`
402+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
403+ ['application/json' ]) # noqa: E501
404+
405+ # Authentication setting
406+ auth_settings = ['volcengineSign' ] # noqa: E501
407+
408+ return self .api_client .call_api (
409+ '/DescribeCdnAccessLog/2022-03-01/mcdn/post/application_json/' , 'POST' ,
410+ path_params ,
411+ query_params ,
412+ header_params ,
413+ body = body_params ,
414+ post_params = form_params ,
415+ files = local_var_files ,
416+ response_type = 'DescribeCdnAccessLogResponse' , # noqa: E501
417+ auth_settings = auth_settings ,
418+ async_req = params .get ('async_req' ),
419+ _return_http_data_only = params .get ('_return_http_data_only' ),
420+ _preload_content = params .get ('_preload_content' , True ),
421+ _request_timeout = params .get ('_request_timeout' ),
422+ collection_formats = collection_formats )
423+
327424 def describe_cdn_data_offline (self , body , ** kwargs ): # noqa: E501
328425 """describe_cdn_data_offline # noqa: E501
329426
0 commit comments