All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.appstream.model.FleetErrorCode.kt Maven / Gradle / Ivy

There is a newer version: 1.3.99
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.appstream.model

import kotlin.collections.List

public sealed class FleetErrorCode {
    public abstract val value: kotlin.String

    public object DomainJoinErrorAccessDenied : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "DOMAIN_JOIN_ERROR_ACCESS_DENIED"
        override fun toString(): kotlin.String = "DomainJoinErrorAccessDenied"
    }

    public object DomainJoinErrorDsMachineAccountQuotaExceeded : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED"
        override fun toString(): kotlin.String = "DomainJoinErrorDsMachineAccountQuotaExceeded"
    }

    public object DomainJoinErrorFileNotFound : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND"
        override fun toString(): kotlin.String = "DomainJoinErrorFileNotFound"
    }

    public object DomainJoinErrorInvalidParameter : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "DOMAIN_JOIN_ERROR_INVALID_PARAMETER"
        override fun toString(): kotlin.String = "DomainJoinErrorInvalidParameter"
    }

    public object DomainJoinErrorLogonFailure : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "DOMAIN_JOIN_ERROR_LOGON_FAILURE"
        override fun toString(): kotlin.String = "DomainJoinErrorLogonFailure"
    }

    public object DomainJoinErrorMoreData : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "DOMAIN_JOIN_ERROR_MORE_DATA"
        override fun toString(): kotlin.String = "DomainJoinErrorMoreData"
    }

    public object DomainJoinErrorNotSupported : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "DOMAIN_JOIN_ERROR_NOT_SUPPORTED"
        override fun toString(): kotlin.String = "DomainJoinErrorNotSupported"
    }

    public object DomainJoinErrorNoSuchDomain : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN"
        override fun toString(): kotlin.String = "DomainJoinErrorNoSuchDomain"
    }

    public object DomainJoinInternalServiceError : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR"
        override fun toString(): kotlin.String = "DomainJoinInternalServiceError"
    }

    public object DomainJoinNerrInvalidWorkgroupName : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME"
        override fun toString(): kotlin.String = "DomainJoinNerrInvalidWorkgroupName"
    }

    public object DomainJoinNerrPasswordExpired : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED"
        override fun toString(): kotlin.String = "DomainJoinNerrPasswordExpired"
    }

    public object DomainJoinNerrWorkstationNotStarted : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED"
        override fun toString(): kotlin.String = "DomainJoinNerrWorkstationNotStarted"
    }

    public object FleetInstanceProvisioningFailure : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "FLEET_INSTANCE_PROVISIONING_FAILURE"
        override fun toString(): kotlin.String = "FleetInstanceProvisioningFailure"
    }

    public object FleetStopped : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "FLEET_STOPPED"
        override fun toString(): kotlin.String = "FleetStopped"
    }

    public object IamServiceRoleIsMissing : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "IAM_SERVICE_ROLE_IS_MISSING"
        override fun toString(): kotlin.String = "IamServiceRoleIsMissing"
    }

    public object IamServiceRoleMissingDescribeSecurityGroupsAction : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION"
        override fun toString(): kotlin.String = "IamServiceRoleMissingDescribeSecurityGroupsAction"
    }

    public object IamServiceRoleMissingDescribeSubnetAction : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION"
        override fun toString(): kotlin.String = "IamServiceRoleMissingDescribeSubnetAction"
    }

    public object IamServiceRoleMissingEniCreateAction : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION"
        override fun toString(): kotlin.String = "IamServiceRoleMissingEniCreateAction"
    }

    public object IamServiceRoleMissingEniDeleteAction : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION"
        override fun toString(): kotlin.String = "IamServiceRoleMissingEniDeleteAction"
    }

    public object IamServiceRoleMissingEniDescribeAction : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION"
        override fun toString(): kotlin.String = "IamServiceRoleMissingEniDescribeAction"
    }

    public object IgwNotAttached : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "IGW_NOT_ATTACHED"
        override fun toString(): kotlin.String = "IgwNotAttached"
    }

    public object ImageNotFound : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "IMAGE_NOT_FOUND"
        override fun toString(): kotlin.String = "ImageNotFound"
    }

    public object InternalServiceError : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "INTERNAL_SERVICE_ERROR"
        override fun toString(): kotlin.String = "InternalServiceError"
    }

    public object InvalidSubnetConfiguration : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "INVALID_SUBNET_CONFIGURATION"
        override fun toString(): kotlin.String = "InvalidSubnetConfiguration"
    }

    public object MachineRoleIsMissing : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "MACHINE_ROLE_IS_MISSING"
        override fun toString(): kotlin.String = "MachineRoleIsMissing"
    }

    public object NetworkInterfaceLimitExceeded : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "NETWORK_INTERFACE_LIMIT_EXCEEDED"
        override fun toString(): kotlin.String = "NetworkInterfaceLimitExceeded"
    }

    public object SecurityGroupsNotFound : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "SECURITY_GROUPS_NOT_FOUND"
        override fun toString(): kotlin.String = "SecurityGroupsNotFound"
    }

    public object StsDisabledInRegion : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "STS_DISABLED_IN_REGION"
        override fun toString(): kotlin.String = "StsDisabledInRegion"
    }

    public object SubnetHasInsufficientIpAddresses : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES"
        override fun toString(): kotlin.String = "SubnetHasInsufficientIpAddresses"
    }

    public object SubnetNotFound : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override val value: kotlin.String = "SUBNET_NOT_FOUND"
        override fun toString(): kotlin.String = "SubnetNotFound"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
        override fun toString(): kotlin.String = "SdkUnknown($value)"
    }

    public companion object {
        /**
         * Convert a raw value to one of the sealed variants or [SdkUnknown]
         */
        public fun fromValue(value: kotlin.String): aws.sdk.kotlin.services.appstream.model.FleetErrorCode = when (value) {
            "DOMAIN_JOIN_ERROR_ACCESS_DENIED" -> DomainJoinErrorAccessDenied
            "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED" -> DomainJoinErrorDsMachineAccountQuotaExceeded
            "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND" -> DomainJoinErrorFileNotFound
            "DOMAIN_JOIN_ERROR_INVALID_PARAMETER" -> DomainJoinErrorInvalidParameter
            "DOMAIN_JOIN_ERROR_LOGON_FAILURE" -> DomainJoinErrorLogonFailure
            "DOMAIN_JOIN_ERROR_MORE_DATA" -> DomainJoinErrorMoreData
            "DOMAIN_JOIN_ERROR_NOT_SUPPORTED" -> DomainJoinErrorNotSupported
            "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN" -> DomainJoinErrorNoSuchDomain
            "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR" -> DomainJoinInternalServiceError
            "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME" -> DomainJoinNerrInvalidWorkgroupName
            "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED" -> DomainJoinNerrPasswordExpired
            "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED" -> DomainJoinNerrWorkstationNotStarted
            "FLEET_INSTANCE_PROVISIONING_FAILURE" -> FleetInstanceProvisioningFailure
            "FLEET_STOPPED" -> FleetStopped
            "IAM_SERVICE_ROLE_IS_MISSING" -> IamServiceRoleIsMissing
            "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION" -> IamServiceRoleMissingDescribeSecurityGroupsAction
            "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION" -> IamServiceRoleMissingDescribeSubnetAction
            "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION" -> IamServiceRoleMissingEniCreateAction
            "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION" -> IamServiceRoleMissingEniDeleteAction
            "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION" -> IamServiceRoleMissingEniDescribeAction
            "IGW_NOT_ATTACHED" -> IgwNotAttached
            "IMAGE_NOT_FOUND" -> ImageNotFound
            "INTERNAL_SERVICE_ERROR" -> InternalServiceError
            "INVALID_SUBNET_CONFIGURATION" -> InvalidSubnetConfiguration
            "MACHINE_ROLE_IS_MISSING" -> MachineRoleIsMissing
            "NETWORK_INTERFACE_LIMIT_EXCEEDED" -> NetworkInterfaceLimitExceeded
            "SECURITY_GROUPS_NOT_FOUND" -> SecurityGroupsNotFound
            "STS_DISABLED_IN_REGION" -> StsDisabledInRegion
            "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES" -> SubnetHasInsufficientIpAddresses
            "SUBNET_NOT_FOUND" -> SubnetNotFound
            else -> SdkUnknown(value)
        }

        /**
         * Get a list of all possible variants
         */
        public fun values(): kotlin.collections.List = values

        private val values: kotlin.collections.List = listOf(
            DomainJoinErrorAccessDenied,
            DomainJoinErrorDsMachineAccountQuotaExceeded,
            DomainJoinErrorFileNotFound,
            DomainJoinErrorInvalidParameter,
            DomainJoinErrorLogonFailure,
            DomainJoinErrorMoreData,
            DomainJoinErrorNotSupported,
            DomainJoinErrorNoSuchDomain,
            DomainJoinInternalServiceError,
            DomainJoinNerrInvalidWorkgroupName,
            DomainJoinNerrPasswordExpired,
            DomainJoinNerrWorkstationNotStarted,
            FleetInstanceProvisioningFailure,
            FleetStopped,
            IamServiceRoleIsMissing,
            IamServiceRoleMissingDescribeSecurityGroupsAction,
            IamServiceRoleMissingDescribeSubnetAction,
            IamServiceRoleMissingEniCreateAction,
            IamServiceRoleMissingEniDeleteAction,
            IamServiceRoleMissingEniDescribeAction,
            IgwNotAttached,
            ImageNotFound,
            InternalServiceError,
            InvalidSubnetConfiguration,
            MachineRoleIsMissing,
            NetworkInterfaceLimitExceeded,
            SecurityGroupsNotFound,
            StsDisabledInRegion,
            SubnetHasInsufficientIpAddresses,
            SubnetNotFound,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy