commonMain.aws.sdk.kotlin.services.appstream.model.FleetErrorCode.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appstream-jvm Show documentation
Show all versions of appstream-jvm Show documentation
The AWS SDK for Kotlin client for AppStream
// 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 = value
}
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 = value
}
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 = value
}
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 = value
}
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 = value
}
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 = value
}
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 = value
}
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 = value
}
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 = value
}
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 = value
}
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 = value
}
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 = value
}
public object FleetInstanceProvisioningFailure : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
override val value: kotlin.String = "FLEET_INSTANCE_PROVISIONING_FAILURE"
override fun toString(): kotlin.String = value
}
public object FleetStopped : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
override val value: kotlin.String = "FLEET_STOPPED"
override fun toString(): kotlin.String = value
}
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 = value
}
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 = value
}
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 = value
}
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 = value
}
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 = value
}
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 = value
}
public object IgwNotAttached : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
override val value: kotlin.String = "IGW_NOT_ATTACHED"
override fun toString(): kotlin.String = value
}
public object ImageNotFound : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
override val value: kotlin.String = "IMAGE_NOT_FOUND"
override fun toString(): kotlin.String = value
}
public object InternalServiceError : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
override val value: kotlin.String = "INTERNAL_SERVICE_ERROR"
override fun toString(): kotlin.String = value
}
public object InvalidSubnetConfiguration : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
override val value: kotlin.String = "INVALID_SUBNET_CONFIGURATION"
override fun toString(): kotlin.String = value
}
public object MachineRoleIsMissing : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
override val value: kotlin.String = "MACHINE_ROLE_IS_MISSING"
override fun toString(): kotlin.String = value
}
public object NetworkInterfaceLimitExceeded : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
override val value: kotlin.String = "NETWORK_INTERFACE_LIMIT_EXCEEDED"
override fun toString(): kotlin.String = value
}
public object SecurityGroupsNotFound : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
override val value: kotlin.String = "SECURITY_GROUPS_NOT_FOUND"
override fun toString(): kotlin.String = value
}
public object StsDisabledInRegion : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
override val value: kotlin.String = "STS_DISABLED_IN_REGION"
override fun toString(): kotlin.String = value
}
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 = value
}
public object SubnetNotFound : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
override val value: kotlin.String = "SUBNET_NOT_FOUND"
override fun toString(): kotlin.String = value
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.appstream.model.FleetErrorCode() {
override fun toString(): kotlin.String = value
}
public companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
public fun fromValue(str: kotlin.String): aws.sdk.kotlin.services.appstream.model.FleetErrorCode = when(str) {
"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(str)
}
/**
* Get a list of all possible variants
*/
public fun 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