Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves a DataSource
object.
- getDataSource :: Text -> Text -> GetDataSource
- data GetDataSource
- gdsApiId :: Lens' GetDataSource Text
- gdsName :: Lens' GetDataSource Text
- getDataSourceResponse :: Int -> GetDataSourceResponse
- data GetDataSourceResponse
- gdsrsDataSource :: Lens' GetDataSourceResponse (Maybe DataSource)
- gdsrsResponseStatus :: Lens' GetDataSourceResponse Int
Creating a Request
:: Text | |
-> Text | |
-> GetDataSource |
Creates a value of GetDataSource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetDataSource Source #
See: getDataSource
smart constructor.
Request Lenses
Destructuring the Response
getDataSourceResponse Source #
Creates a value of GetDataSourceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdsrsDataSource
- TheDataSource
object.gdsrsResponseStatus
- -- | The response status code.
data GetDataSourceResponse Source #
See: getDataSourceResponse
smart constructor.
Response Lenses
gdsrsDataSource :: Lens' GetDataSourceResponse (Maybe DataSource) Source #
The DataSource
object.
gdsrsResponseStatus :: Lens' GetDataSourceResponse Int Source #
- - | The response status code.