| 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 |
Network.AWS.AppSync.GetDataSource
Description
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
Arguments
| :: 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.
Instances
Request Lenses
Destructuring the Response
getDataSourceResponse Source #
Arguments
| :: Int | |
| -> GetDataSourceResponse |
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- TheDataSourceobject.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.