def vpc_endpoint_type(endpoint_type):
    valid_types = ['Interface', 'Gateway']
    if (endpoint_type not in valid_types):
        raise ValueError(('VpcEndpointType must be one of: "%s"' % ', '.join(valid_types)))
    return endpoint_type
def vpc_endpoint_type(endpoint_type):
    valid_types = ['Interface', 'Gateway']
    if (endpoint_type not in valid_types):
        raise ValueError(('VpcEndpointType must be one of: "%s"' % ', '.join(valid_types)))
    return endpoint_type