# This file is auto-generated by oagen. Do not edit.

"""Enumeration of audit log configuration log stream type values."""

from __future__ import annotations

from enum import Enum
from typing import Optional
from typing import Literal, TypeAlias


class AuditLogConfigurationLogStreamType(str, Enum):
    """Known values for AuditLogConfigurationLogStreamType."""

    AZURE_SENTINEL = "AzureSentinel"
    DATADOG = "Datadog"
    GENERIC_HTTPS = "GenericHttps"
    GOOGLE_CLOUD_STORAGE = "GoogleCloudStorage"
    S_3 = "S3"
    SNOWFLAKE = "Snowflake"
    SPLUNK = "Splunk"

    @classmethod
    def _missing_(cls, value: object) -> Optional["AuditLogConfigurationLogStreamType"]:
        if not isinstance(value, str):
            return None
        unknown = str.__new__(cls, value)
        unknown._name_ = value.upper()
        unknown._value_ = value
        return unknown


AuditLogConfigurationLogStreamTypeLiteral: TypeAlias = Literal[
    "AzureSentinel",
    "Datadog",
    "GenericHttps",
    "GoogleCloudStorage",
    "S3",
    "Snowflake",
    "Splunk",
]
