Copyright | (c) 2013-2017 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 |
Creates mappings.
- getMapping :: CatalogEntry -> GetMapping
- data GetMapping
- gmSinks :: Lens' GetMapping [CatalogEntry]
- gmLocation :: Lens' GetMapping (Maybe Location)
- gmSource :: Lens' GetMapping CatalogEntry
- getMappingResponse :: Int -> GetMappingResponse
- data GetMappingResponse
- gmrsResponseStatus :: Lens' GetMappingResponse Int
- gmrsMapping :: Lens' GetMappingResponse [MappingEntry]
Creating a Request
Creates a value of GetMapping
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gmSinks
- A list of target tables.gmLocation
- Parameters for the mapping.gmSource
- Specifies the source table.
data GetMapping Source #
See: getMapping
smart constructor.
Request Lenses
gmSinks :: Lens' GetMapping [CatalogEntry] Source #
A list of target tables.
gmLocation :: Lens' GetMapping (Maybe Location) Source #
Parameters for the mapping.
gmSource :: Lens' GetMapping CatalogEntry Source #
Specifies the source table.
Destructuring the Response
Creates a value of GetMappingResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gmrsResponseStatus
- -- | The response status code.gmrsMapping
- A list of mappings to the specified targets.
data GetMappingResponse Source #
See: getMappingResponse
smart constructor.
Response Lenses
gmrsResponseStatus :: Lens' GetMappingResponse Int Source #
- - | The response status code.
gmrsMapping :: Lens' GetMappingResponse [MappingEntry] Source #
A list of mappings to the specified targets.