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

"""Enumeration of generate link intent values."""

from __future__ import annotations

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


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

    SSO = "sso"
    DSYNC = "dsync"
    AUDIT_LOGS = "audit_logs"
    LOG_STREAMS = "log_streams"
    DOMAIN_VERIFICATION = "domain_verification"
    CERTIFICATE_RENEWAL = "certificate_renewal"
    BRING_YOUR_OWN_KEY = "bring_your_own_key"

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


GenerateLinkIntentLiteral: TypeAlias = Literal[
    "sso",
    "dsync",
    "audit_logs",
    "log_streams",
    "domain_verification",
    "certificate_renewal",
    "bring_your_own_key",
]
