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