commonMain.aws.sdk.kotlin.services.mediaconvert.endpoints.internal.Partitions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mediaconvert Show documentation
Show all versions of mediaconvert Show documentation
The AWS SDK for Kotlin client for MediaConvert
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.endpoints.internal
import aws.sdk.kotlin.runtime.endpoint.functions.Partition
import aws.sdk.kotlin.runtime.endpoint.functions.PartitionConfig
import aws.sdk.kotlin.runtime.endpoint.functions.partition
internal fun partition(region: String?): PartitionConfig? {
return partition(defaultPartitions, region)
}
private val defaultPartitions = listOf(
Partition(
id = "aws",
regionRegex = Regex("^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$"),
regions = mapOf(
"af-south-1" to PartitionConfig(
),
"ap-east-1" to PartitionConfig(
),
"ap-northeast-1" to PartitionConfig(
),
"ap-northeast-2" to PartitionConfig(
),
"ap-northeast-3" to PartitionConfig(
),
"ap-south-1" to PartitionConfig(
),
"ap-south-2" to PartitionConfig(
),
"ap-southeast-1" to PartitionConfig(
),
"ap-southeast-2" to PartitionConfig(
),
"ap-southeast-3" to PartitionConfig(
),
"aws-global" to PartitionConfig(
),
"ca-central-1" to PartitionConfig(
),
"eu-central-1" to PartitionConfig(
),
"eu-central-2" to PartitionConfig(
),
"eu-north-1" to PartitionConfig(
),
"eu-south-1" to PartitionConfig(
),
"eu-south-2" to PartitionConfig(
),
"eu-west-1" to PartitionConfig(
),
"eu-west-2" to PartitionConfig(
),
"eu-west-3" to PartitionConfig(
),
"me-central-1" to PartitionConfig(
),
"me-south-1" to PartitionConfig(
),
"sa-east-1" to PartitionConfig(
),
"us-east-1" to PartitionConfig(
),
"us-east-2" to PartitionConfig(
),
"us-west-1" to PartitionConfig(
),
"us-west-2" to PartitionConfig(
),
),
baseConfig = PartitionConfig(
name = "aws",
dnsSuffix = "amazonaws.com",
dualStackDnsSuffix = "api.aws",
supportsFIPS = true,
supportsDualStack = true,
),
),
Partition(
id = "aws-cn",
regionRegex = Regex("^cn\\-\\w+\\-\\d+$"),
regions = mapOf(
"aws-cn-global" to PartitionConfig(
),
"cn-north-1" to PartitionConfig(
),
"cn-northwest-1" to PartitionConfig(
),
),
baseConfig = PartitionConfig(
name = "aws-cn",
dnsSuffix = "amazonaws.com.cn",
dualStackDnsSuffix = "api.amazonwebservices.com.cn",
supportsFIPS = true,
supportsDualStack = true,
),
),
Partition(
id = "aws-us-gov",
regionRegex = Regex("^us\\-gov\\-\\w+\\-\\d+$"),
regions = mapOf(
"aws-us-gov-global" to PartitionConfig(
),
"us-gov-east-1" to PartitionConfig(
),
"us-gov-west-1" to PartitionConfig(
),
),
baseConfig = PartitionConfig(
name = "aws-us-gov",
dnsSuffix = "amazonaws.com",
dualStackDnsSuffix = "api.aws",
supportsFIPS = true,
supportsDualStack = true,
),
),
Partition(
id = "aws-iso",
regionRegex = Regex("^us\\-iso\\-\\w+\\-\\d+$"),
regions = mapOf(
"aws-iso-global" to PartitionConfig(
),
"us-iso-east-1" to PartitionConfig(
),
"us-iso-west-1" to PartitionConfig(
),
),
baseConfig = PartitionConfig(
name = "aws-iso",
dnsSuffix = "c2s.ic.gov",
dualStackDnsSuffix = "c2s.ic.gov",
supportsFIPS = true,
supportsDualStack = false,
),
),
Partition(
id = "aws-iso-b",
regionRegex = Regex("^us\\-isob\\-\\w+\\-\\d+$"),
regions = mapOf(
"aws-iso-b-global" to PartitionConfig(
),
"us-isob-east-1" to PartitionConfig(
),
),
baseConfig = PartitionConfig(
name = "aws-iso-b",
dnsSuffix = "sc2s.sgov.gov",
dualStackDnsSuffix = "sc2s.sgov.gov",
supportsFIPS = true,
supportsDualStack = false,
),
),
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy