2727 "ContentType" ,
2828 "CustomHeader" ,
2929 "CustomHTTPSLogsDestinationDetails" ,
30+ "TrafficPeakDestinationAuthentication" ,
31+ "TrafficPeakLogsDestinationDetails" ,
3032 "DataCompressionType" ,
3133 "DestinationAuthentication" ,
3234 "LogsDestinationDetailsBase" ,
@@ -158,6 +160,7 @@ class LogsDestinationType(StrEnum):
158160
159161 akamai_object_storage = "akamai_object_storage"
160162 custom_https = "custom_https"
163+ traffic_peak = "traffic_peak"
161164
162165
163166class AuthenticationType (StrEnum ):
@@ -588,6 +591,15 @@ class DestinationAuthentication(JSONObject):
588591 details : Optional [BasicAuthenticationDetails ] = None
589592
590593
594+ @dataclass
595+ class TrafficPeakDestinationAuthentication (JSONObject ):
596+ """
597+ Authentication details for a TrafficPeak destination.
598+ """
599+
600+ details : Optional [BasicAuthenticationDetails ] = None
601+
602+
591603@dataclass
592604class CustomHeader (JSONObject ):
593605 """
@@ -625,7 +637,8 @@ def load_by_type(
625637 Factory method that instantiates the correct details subclass
626638 based on the destination type string.
627639
628- :param dest_type: The destination type (e.g. "akamai_object_storage", "custom_https").
640+ :param dest_type: The destination type (``akamai_object_storage``,
641+ ``custom_https``, or ``traffic_peak``).
629642 :param json_dict: The raw JSON dict for the details block.
630643 :returns: A populated subclass instance, or None if json_dict is empty/None.
631644 """
@@ -638,6 +651,8 @@ def load_by_type(
638651 )
639652 elif dest_type == LogsDestinationType .custom_https :
640653 return CustomHTTPSLogsDestinationDetails .from_json (json_dict )
654+ elif dest_type == LogsDestinationType .traffic_peak :
655+ return TrafficPeakLogsDestinationDetails .from_json (json_dict )
641656
642657 return None
643658
@@ -656,6 +671,19 @@ class CustomHTTPSLogsDestinationDetails(LogsDestinationDetailsBase):
656671 client_certificate_details : Optional [ClientCertificateDetails ] = None
657672
658673
674+ @dataclass
675+ class TrafficPeakLogsDestinationDetails (LogsDestinationDetailsBase ):
676+ """
677+ Represents the details block for TrafficPeak LogsDestination type.
678+ """
679+
680+ endpoint_url : str = ""
681+ authentication : Optional [TrafficPeakDestinationAuthentication ] = None
682+ data_compression : Optional [DataCompressionType ] = None
683+ content_type : Optional [ContentType ] = None
684+ custom_headers : Optional [List [CustomHeader ]] = None
685+
686+
659687@dataclass
660688class AkamaiObjectStorageLogsDestinationDetails (LogsDestinationDetailsBase ):
661689 """
0 commit comments