in AWSClientRuntime/Sources/Endpoints/Partition.swift [58:66]
func endpointDefinitionForRegion(region: String) -> ServiceEndpointMetadata {
if let endpointMetadata = endpoints[region] {
return endpointMetadata
} else if !isRegionalized {
return endpoints[partitionEndpoint] ?? ServiceEndpointMetadata()
} else {
return ServiceEndpointMetadata()
}
}