Copyright | (c) 2013-2021 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 |
Creates mappings.
Synopsis
- data GetMapping = GetMapping' {
- sinks :: Maybe [CatalogEntry]
- location :: Maybe Location
- source :: CatalogEntry
- newGetMapping :: CatalogEntry -> GetMapping
- getMapping_sinks :: Lens' GetMapping (Maybe [CatalogEntry])
- getMapping_location :: Lens' GetMapping (Maybe Location)
- 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.
GetMapping' | |
|
Instances
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:
$sel:sinks:GetMapping'
, getMapping_sinks
- A list of target tables.
$sel:location:GetMapping'
, getMapping_location
- Parameters for the mapping.
$sel:source:GetMapping'
, getMapping_source
- Specifies the source table.
Request Lenses
getMapping_sinks :: Lens' GetMapping (Maybe [CatalogEntry]) Source #
A list of target tables.
getMapping_location :: Lens' GetMapping (Maybe Location) Source #
Parameters for the mapping.
getMapping_source :: Lens' GetMapping CatalogEntry Source #
Specifies the source table.
Destructuring the Response
data GetMappingResponse Source #
See: newGetMappingResponse
smart constructor.
GetMappingResponse' | |
|
Instances
newGetMappingResponse Source #
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.
$sel:mapping: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.