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 |
The API mapping.
Synopsis
- data UpdateApiMapping = UpdateApiMapping' {
- stage :: Maybe Text
- apiMappingKey :: Maybe Text
- apiMappingId :: Text
- apiId :: Text
- domainName :: Text
- newUpdateApiMapping :: Text -> Text -> Text -> UpdateApiMapping
- updateApiMapping_stage :: Lens' UpdateApiMapping (Maybe Text)
- updateApiMapping_apiMappingKey :: Lens' UpdateApiMapping (Maybe Text)
- updateApiMapping_apiMappingId :: Lens' UpdateApiMapping Text
- updateApiMapping_apiId :: Lens' UpdateApiMapping Text
- updateApiMapping_domainName :: Lens' UpdateApiMapping Text
- data UpdateApiMappingResponse = UpdateApiMappingResponse' {
- stage :: Maybe Text
- apiId :: Maybe Text
- apiMappingKey :: Maybe Text
- apiMappingId :: Maybe Text
- httpStatus :: Int
- newUpdateApiMappingResponse :: Int -> UpdateApiMappingResponse
- updateApiMappingResponse_stage :: Lens' UpdateApiMappingResponse (Maybe Text)
- updateApiMappingResponse_apiId :: Lens' UpdateApiMappingResponse (Maybe Text)
- updateApiMappingResponse_apiMappingKey :: Lens' UpdateApiMappingResponse (Maybe Text)
- updateApiMappingResponse_apiMappingId :: Lens' UpdateApiMappingResponse (Maybe Text)
- updateApiMappingResponse_httpStatus :: Lens' UpdateApiMappingResponse Int
Creating a Request
data UpdateApiMapping Source #
Updates an ApiMapping.
See: newUpdateApiMapping
smart constructor.
UpdateApiMapping' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> UpdateApiMapping |
Create a value of UpdateApiMapping
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:stage:UpdateApiMapping'
, updateApiMapping_stage
- The API stage.
$sel:apiMappingKey:UpdateApiMapping'
, updateApiMapping_apiMappingKey
- The API mapping key.
$sel:apiMappingId:UpdateApiMapping'
, updateApiMapping_apiMappingId
- The API mapping identifier.
$sel:apiId:UpdateApiMapping'
, updateApiMapping_apiId
- The API identifier.
$sel:domainName:UpdateApiMapping'
, updateApiMapping_domainName
- The domain name.
Request Lenses
updateApiMapping_stage :: Lens' UpdateApiMapping (Maybe Text) Source #
The API stage.
updateApiMapping_apiMappingKey :: Lens' UpdateApiMapping (Maybe Text) Source #
The API mapping key.
updateApiMapping_apiMappingId :: Lens' UpdateApiMapping Text Source #
The API mapping identifier.
updateApiMapping_apiId :: Lens' UpdateApiMapping Text Source #
The API identifier.
updateApiMapping_domainName :: Lens' UpdateApiMapping Text Source #
The domain name.
Destructuring the Response
data UpdateApiMappingResponse Source #
See: newUpdateApiMappingResponse
smart constructor.
UpdateApiMappingResponse' | |
|
Instances
newUpdateApiMappingResponse Source #
Create a value of UpdateApiMappingResponse
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:stage:UpdateApiMapping'
, updateApiMappingResponse_stage
- The API stage.
$sel:apiId:UpdateApiMapping'
, updateApiMappingResponse_apiId
- The API identifier.
$sel:apiMappingKey:UpdateApiMapping'
, updateApiMappingResponse_apiMappingKey
- The API mapping key.
$sel:apiMappingId:UpdateApiMapping'
, updateApiMappingResponse_apiMappingId
- The API mapping identifier.
$sel:httpStatus:UpdateApiMappingResponse'
, updateApiMappingResponse_httpStatus
- The response's http status code.
Response Lenses
updateApiMappingResponse_stage :: Lens' UpdateApiMappingResponse (Maybe Text) Source #
The API stage.
updateApiMappingResponse_apiId :: Lens' UpdateApiMappingResponse (Maybe Text) Source #
The API identifier.
updateApiMappingResponse_apiMappingKey :: Lens' UpdateApiMappingResponse (Maybe Text) Source #
The API mapping key.
updateApiMappingResponse_apiMappingId :: Lens' UpdateApiMappingResponse (Maybe Text) Source #
The API mapping identifier.
updateApiMappingResponse_httpStatus :: Lens' UpdateApiMappingResponse Int Source #
The response's http status code.