-- | 'CreateDataSourceFromRedshift' constructor.
--
-- The fields accessible through corresponding lenses are:
--
-- * 'cdsfrComputeStatistics' @::@ 'Maybe' 'Bool'
--
-- * 'cdsfrDataSourceId' @::@ 'Text'
--
-- * 'cdsfrDataSourceName' @::@ 'Maybe' 'Text'
--
-- * 'cdsfrDataSpec' @::@ 'RedshiftDataSpec'
--
-- * 'cdsfrRoleARN' @::@ 'Text'
--
createDataSourceFromRedshift :: Text -- ^ 'cdsfrDataSourceId'
                             -> RedshiftDataSpec -- ^ 'cdsfrDataSpec'
                             -> Text -- ^ 'cdsfrRoleARN'
                             -> CreateDataSourceFromRedshift
createDataSourceFromRedshift p1 p2 p3 = CreateDataSourceFromRedshift
    { _cdsfrDataSourceId      = p1
    , _cdsfrDataSpec          = p2
    , _cdsfrRoleARN           = p3
    , _cdsfrDataSourceName    = Nothing
    , _cdsfrComputeStatistics = Nothing
    }
createDataSourceFromRedshift :: Text -- ^ 'cdsfrDataSourceId'
                             -> RedshiftDataSpec -- ^ 'cdsfrDataSpec'
                             -> Text -- ^ 'cdsfrRoleARN'
                             -> CreateDataSourceFromRedshift
createDataSourceFromRedshift p1 p2 p3 = CreateDataSourceFromRedshift
    { _cdsfrDataSourceId      = p1
    , _cdsfrDataSpec          = p2
    , _cdsfrRoleARN           = p3
    , _cdsfrDataSourceName    = Nothing
    , _cdsfrComputeStatistics = Nothing
    }
createDataSourceFromRedshift p1 p2 p3 = CreateDataSourceFromRedshift
    { _cdsfrDataSourceId      = p1
    , _cdsfrDataSpec          = p2
    , _cdsfrRoleARN           = p3
    , _cdsfrDataSourceName    = Nothing
    , _cdsfrComputeStatistics = Nothing
    }