1616if TYPE_CHECKING :
1717 from datadog_api_client .v2 .model .logs_archive_encryption_s3 import LogsArchiveEncryptionS3
1818 from datadog_api_client .v2 .model .logs_archive_integration_s3 import LogsArchiveIntegrationS3
19+ from datadog_api_client .v2 .model .logs_archive_storage_class_s3_type import LogsArchiveStorageClassS3Type
1920 from datadog_api_client .v2 .model .logs_archive_destination_s3_type import LogsArchiveDestinationS3Type
2021
2122
@@ -24,13 +25,15 @@ class LogsArchiveDestinationS3(ModelNormal):
2425 def openapi_types (_ ):
2526 from datadog_api_client .v2 .model .logs_archive_encryption_s3 import LogsArchiveEncryptionS3
2627 from datadog_api_client .v2 .model .logs_archive_integration_s3 import LogsArchiveIntegrationS3
28+ from datadog_api_client .v2 .model .logs_archive_storage_class_s3_type import LogsArchiveStorageClassS3Type
2729 from datadog_api_client .v2 .model .logs_archive_destination_s3_type import LogsArchiveDestinationS3Type
2830
2931 return {
3032 "bucket" : (str ,),
3133 "encryption" : (LogsArchiveEncryptionS3 ,),
3234 "integration" : (LogsArchiveIntegrationS3 ,),
3335 "path" : (str ,),
36+ "storage_class" : (LogsArchiveStorageClassS3Type ,),
3437 "type" : (LogsArchiveDestinationS3Type ,),
3538 }
3639
@@ -39,6 +42,7 @@ def openapi_types(_):
3942 "encryption" : "encryption" ,
4043 "integration" : "integration" ,
4144 "path" : "path" ,
45+ "storage_class" : "storage_class" ,
4246 "type" : "type" ,
4347 }
4448
@@ -49,6 +53,7 @@ def __init__(
4953 type : LogsArchiveDestinationS3Type ,
5054 encryption : Union [LogsArchiveEncryptionS3 , UnsetType ] = unset ,
5155 path : Union [str , UnsetType ] = unset ,
56+ storage_class : Union [LogsArchiveStorageClassS3Type , UnsetType ] = unset ,
5257 ** kwargs ,
5358 ):
5459 """
@@ -66,13 +71,18 @@ def __init__(
6671 :param path: The archive path.
6772 :type path: str, optional
6873
74+ :param storage_class: The storage class where the archive will be stored.
75+ :type storage_class: LogsArchiveStorageClassS3Type, optional
76+
6977 :param type: Type of the S3 archive destination.
7078 :type type: LogsArchiveDestinationS3Type
7179 """
7280 if encryption is not unset :
7381 kwargs ["encryption" ] = encryption
7482 if path is not unset :
7583 kwargs ["path" ] = path
84+ if storage_class is not unset :
85+ kwargs ["storage_class" ] = storage_class
7686 super ().__init__ (kwargs )
7787
7888 self_ .bucket = bucket
0 commit comments