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 |
Synopsis
- data ApiMapping = ApiMapping' {
- apiMappingKey :: Maybe Text
- apiMappingId :: Maybe Text
- stage :: Text
- apiId :: Text
- newApiMapping :: Text -> Text -> ApiMapping
- apiMapping_apiMappingKey :: Lens' ApiMapping (Maybe Text)
- apiMapping_apiMappingId :: Lens' ApiMapping (Maybe Text)
- apiMapping_stage :: Lens' ApiMapping Text
- apiMapping_apiId :: Lens' ApiMapping Text
Documentation
data ApiMapping Source #
Represents an API mapping.
See: newApiMapping
smart constructor.
ApiMapping' | |
|
Instances
Create a value of ApiMapping
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:apiMappingKey:ApiMapping'
, apiMapping_apiMappingKey
- The API mapping key.
$sel:apiMappingId:ApiMapping'
, apiMapping_apiMappingId
- The API mapping identifier.
$sel:stage:ApiMapping'
, apiMapping_stage
- The API stage.
$sel:apiId:ApiMapping'
, apiMapping_apiId
- The API identifier.
apiMapping_apiMappingKey :: Lens' ApiMapping (Maybe Text) Source #
The API mapping key.
apiMapping_apiMappingId :: Lens' ApiMapping (Maybe Text) Source #
The API mapping identifier.
apiMapping_stage :: Lens' ApiMapping Text Source #
The API stage.
apiMapping_apiId :: Lens' ApiMapping Text Source #
The API identifier.