| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Glue.GetMapping
Description
Creates mappings.
Synopsis
- data GetMapping = GetMapping' {
- location :: Maybe Location
- sinks :: Maybe [CatalogEntry]
- source :: CatalogEntry
- newGetMapping :: CatalogEntry -> GetMapping
- getMapping_location :: Lens' GetMapping (Maybe Location)
- getMapping_sinks :: Lens' GetMapping (Maybe [CatalogEntry])
- getMapping_source :: Lens' GetMapping CatalogEntry
- data GetMappingResponse = GetMappingResponse' {
- httpStatus :: Int
- mapping :: [MappingEntry]
- newGetMappingResponse :: Int -> GetMappingResponse
- getMappingResponse_httpStatus :: Lens' GetMappingResponse Int
- getMappingResponse_mapping :: Lens' GetMappingResponse [MappingEntry]
Creating a Request
data GetMapping Source #
See: newGetMapping smart constructor.
Constructors
| GetMapping' | |
Fields
| |
Instances
Arguments
| :: CatalogEntry | |
| -> GetMapping |
Create a value of GetMapping with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetMapping, getMapping_location - Parameters for the mapping.
$sel:sinks:GetMapping', getMapping_sinks - A list of target tables.
GetMapping, getMapping_source - Specifies the source table.
Request Lenses
getMapping_location :: Lens' GetMapping (Maybe Location) Source #
Parameters for the mapping.
getMapping_sinks :: Lens' GetMapping (Maybe [CatalogEntry]) Source #
A list of target tables.
getMapping_source :: Lens' GetMapping CatalogEntry Source #
Specifies the source table.
Destructuring the Response
data GetMappingResponse Source #
See: newGetMappingResponse smart constructor.
Constructors
| GetMappingResponse' | |
Fields
| |
Instances
newGetMappingResponse Source #
Arguments
| :: Int | |
| -> GetMappingResponse |
Create a value of GetMappingResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:GetMappingResponse', getMappingResponse_httpStatus - The response's http status code.
GetMappingResponse, getMappingResponse_mapping - A list of mappings to the specified targets.
Response Lenses
getMappingResponse_httpStatus :: Lens' GetMappingResponse Int Source #
The response's http status code.
getMappingResponse_mapping :: Lens' GetMappingResponse [MappingEntry] Source #
A list of mappings to the specified targets.