commonMain.aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pinpointsmsvoicev2-jvm Show documentation
Show all versions of pinpointsmsvoicev2-jvm Show documentation
The AWS SDK for Kotlin client for Pinpoint SMS Voice V2
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.pinpointsmsvoicev2.model
import kotlin.collections.List
public sealed class ServiceQuotaExceededExceptionReason {
public abstract val value: kotlin.String
public object AssociationsPerRegistration : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "ASSOCIATIONS_PER_REGISTRATION"
override fun toString(): kotlin.String = "AssociationsPerRegistration"
}
public object ConfigurationSetsPerAccount : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "CONFIGURATION_SETS_PER_ACCOUNT"
override fun toString(): kotlin.String = "ConfigurationSetsPerAccount"
}
public object DailyDestinationCallLimit : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "DAILY_DESTINATION_CALL_LIMIT"
override fun toString(): kotlin.String = "DailyDestinationCallLimit"
}
public object EventDestinationsPerConfigurationSet : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "EVENT_DESTINATIONS_PER_CONFIGURATION_SET"
override fun toString(): kotlin.String = "EventDestinationsPerConfigurationSet"
}
public object KeywordsPerPhoneNumber : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "KEYWORDS_PER_PHONE_NUMBER"
override fun toString(): kotlin.String = "KeywordsPerPhoneNumber"
}
public object KeywordsPerPool : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "KEYWORDS_PER_POOL"
override fun toString(): kotlin.String = "KeywordsPerPool"
}
public object MonthlySpendLimitReachedForMedia : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "MONTHLY_SPEND_LIMIT_REACHED_FOR_MEDIA"
override fun toString(): kotlin.String = "MonthlySpendLimitReachedForMedia"
}
public object MonthlySpendLimitReachedForText : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "MONTHLY_SPEND_LIMIT_REACHED_FOR_TEXT"
override fun toString(): kotlin.String = "MonthlySpendLimitReachedForText"
}
public object MonthlySpendLimitReachedForVoice : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "MONTHLY_SPEND_LIMIT_REACHED_FOR_VOICE"
override fun toString(): kotlin.String = "MonthlySpendLimitReachedForVoice"
}
public object OptOutListsPerAccount : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "OPT_OUT_LISTS_PER_ACCOUNT"
override fun toString(): kotlin.String = "OptOutListsPerAccount"
}
public object OriginationIdentitiesPerPool : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "ORIGINATION_IDENTITIES_PER_POOL"
override fun toString(): kotlin.String = "OriginationIdentitiesPerPool"
}
public object PhoneNumbersPerAccount : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "PHONE_NUMBERS_PER_ACCOUNT"
override fun toString(): kotlin.String = "PhoneNumbersPerAccount"
}
public object PhoneNumbersPerRegistration : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "PHONE_NUMBERS_PER_REGISTRATION"
override fun toString(): kotlin.String = "PhoneNumbersPerRegistration"
}
public object PoolsPerAccount : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "POOLS_PER_ACCOUNT"
override fun toString(): kotlin.String = "PoolsPerAccount"
}
public object ProtectConfigurationsPerAccount : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "PROTECT_CONFIGURATIONS_PER_ACCOUNT"
override fun toString(): kotlin.String = "ProtectConfigurationsPerAccount"
}
public object RegistrationsPerAccount : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "REGISTRATIONS_PER_ACCOUNT"
override fun toString(): kotlin.String = "RegistrationsPerAccount"
}
public object RegistrationAttachmentsCreatedPerDay : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "REGISTRATION_ATTACHMENTS_CREATED_PER_DAY"
override fun toString(): kotlin.String = "RegistrationAttachmentsCreatedPerDay"
}
public object RegistrationAttachmentsPerAccount : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "REGISTRATION_ATTACHMENTS_PER_ACCOUNT"
override fun toString(): kotlin.String = "RegistrationAttachmentsPerAccount"
}
public object RegistrationVersionsCreatedPerDay : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "REGISTRATION_VERSIONS_CREATED_PER_DAY"
override fun toString(): kotlin.String = "RegistrationVersionsCreatedPerDay"
}
public object SenderIdsPerAccount : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "SENDER_IDS_PER_ACCOUNT"
override fun toString(): kotlin.String = "SenderIdsPerAccount"
}
public object TagsPerResource : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "TAGS_PER_RESOURCE"
override fun toString(): kotlin.String = "TagsPerResource"
}
public object VerificationAttemptsPerDay : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "VERIFICATION_ATTEMPTS_PER_DAY"
override fun toString(): kotlin.String = "VerificationAttemptsPerDay"
}
public object VerifiedDestinationNumbersPerAccount : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
override val value: kotlin.String = "VERIFIED_DESTINATION_NUMBERS_PER_ACCOUNT"
override fun toString(): kotlin.String = "VerifiedDestinationNumbersPerAccount"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason() {
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.pinpointsmsvoicev2.model.ServiceQuotaExceededExceptionReason = when (value) {
"ASSOCIATIONS_PER_REGISTRATION" -> AssociationsPerRegistration
"CONFIGURATION_SETS_PER_ACCOUNT" -> ConfigurationSetsPerAccount
"DAILY_DESTINATION_CALL_LIMIT" -> DailyDestinationCallLimit
"EVENT_DESTINATIONS_PER_CONFIGURATION_SET" -> EventDestinationsPerConfigurationSet
"KEYWORDS_PER_PHONE_NUMBER" -> KeywordsPerPhoneNumber
"KEYWORDS_PER_POOL" -> KeywordsPerPool
"MONTHLY_SPEND_LIMIT_REACHED_FOR_MEDIA" -> MonthlySpendLimitReachedForMedia
"MONTHLY_SPEND_LIMIT_REACHED_FOR_TEXT" -> MonthlySpendLimitReachedForText
"MONTHLY_SPEND_LIMIT_REACHED_FOR_VOICE" -> MonthlySpendLimitReachedForVoice
"OPT_OUT_LISTS_PER_ACCOUNT" -> OptOutListsPerAccount
"ORIGINATION_IDENTITIES_PER_POOL" -> OriginationIdentitiesPerPool
"PHONE_NUMBERS_PER_ACCOUNT" -> PhoneNumbersPerAccount
"PHONE_NUMBERS_PER_REGISTRATION" -> PhoneNumbersPerRegistration
"POOLS_PER_ACCOUNT" -> PoolsPerAccount
"PROTECT_CONFIGURATIONS_PER_ACCOUNT" -> ProtectConfigurationsPerAccount
"REGISTRATIONS_PER_ACCOUNT" -> RegistrationsPerAccount
"REGISTRATION_ATTACHMENTS_CREATED_PER_DAY" -> RegistrationAttachmentsCreatedPerDay
"REGISTRATION_ATTACHMENTS_PER_ACCOUNT" -> RegistrationAttachmentsPerAccount
"REGISTRATION_VERSIONS_CREATED_PER_DAY" -> RegistrationVersionsCreatedPerDay
"SENDER_IDS_PER_ACCOUNT" -> SenderIdsPerAccount
"TAGS_PER_RESOURCE" -> TagsPerResource
"VERIFICATION_ATTEMPTS_PER_DAY" -> VerificationAttemptsPerDay
"VERIFIED_DESTINATION_NUMBERS_PER_ACCOUNT" -> VerifiedDestinationNumbersPerAccount
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
AssociationsPerRegistration,
ConfigurationSetsPerAccount,
DailyDestinationCallLimit,
EventDestinationsPerConfigurationSet,
KeywordsPerPhoneNumber,
KeywordsPerPool,
MonthlySpendLimitReachedForMedia,
MonthlySpendLimitReachedForText,
MonthlySpendLimitReachedForVoice,
OptOutListsPerAccount,
OriginationIdentitiesPerPool,
PhoneNumbersPerAccount,
PhoneNumbersPerRegistration,
PoolsPerAccount,
ProtectConfigurationsPerAccount,
RegistrationsPerAccount,
RegistrationAttachmentsCreatedPerDay,
RegistrationAttachmentsPerAccount,
RegistrationVersionsCreatedPerDay,
SenderIdsPerAccount,
TagsPerResource,
VerificationAttemptsPerDay,
VerifiedDestinationNumbersPerAccount,
)
}
}