| 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.Glue.GetMapping
Description
Creates mappings.
Synopsis
- 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
Arguments
| :: CatalogEntry | |
| -> GetMapping |
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.
Instances
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
Arguments
| :: Int | |
| -> GetMappingResponse |
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.
Instances
Response Lenses
gmrsResponseStatus :: Lens' GetMappingResponse Int Source #
- - | The response status code.
gmrsMapping :: Lens' GetMappingResponse [MappingEntry] Source #
A list of mappings to the specified targets.