def scalable_dimension_type(scalable_dimension):
    valid_values = ['autoscaling:autoScalingGroup:DesiredCapacity', 'ecs:service:DesiredCount', 'ec2:spot-fleet-request:TargetCapacity', 'rds:cluster:ReadReplicaCount', 'dynamodb:table:ReadCapacityUnits', 'dynamodb:table:WriteCapacityUnits', 'dynamodb:index:ReadCapacityUnits', 'dynamodb:index:WriteCapacityUnits']
    if (scalable_dimension not in valid_values):
        raise ValueError(('ScalableDimension must be one of: "%s"' % ', '.join(valid_values)))
    return scalable_dimension
def scalable_dimension_type(scalable_dimension):
    valid_values = ['autoscaling:autoScalingGroup:DesiredCapacity', 'ecs:service:DesiredCount', 'ec2:spot-fleet-request:TargetCapacity', 'rds:cluster:ReadReplicaCount', 'dynamodb:table:ReadCapacityUnits', 'dynamodb:table:WriteCapacityUnits', 'dynamodb:index:ReadCapacityUnits', 'dynamodb:index:WriteCapacityUnits']
    if (scalable_dimension not in valid_values):
        raise ValueError(('ScalableDimension must be one of: "%s"' % ', '.join(valid_values)))
    return scalable_dimension