| 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.GetApiMapping
Description
Gets an API mapping.
Synopsis
- data GetApiMapping = GetApiMapping' {
- apiMappingId :: Text
- domainName :: Text
- newGetApiMapping :: Text -> Text -> GetApiMapping
- getApiMapping_apiMappingId :: Lens' GetApiMapping Text
- getApiMapping_domainName :: Lens' GetApiMapping Text
- data GetApiMappingResponse = GetApiMappingResponse' {
- apiId :: Maybe Text
- apiMappingId :: Maybe Text
- apiMappingKey :: Maybe Text
- stage :: Maybe Text
- httpStatus :: Int
- newGetApiMappingResponse :: Int -> GetApiMappingResponse
- getApiMappingResponse_apiId :: Lens' GetApiMappingResponse (Maybe Text)
- getApiMappingResponse_apiMappingId :: Lens' GetApiMappingResponse (Maybe Text)
- getApiMappingResponse_apiMappingKey :: Lens' GetApiMappingResponse (Maybe Text)
- getApiMappingResponse_stage :: Lens' GetApiMappingResponse (Maybe Text)
- getApiMappingResponse_httpStatus :: Lens' GetApiMappingResponse Int
Creating a Request
data GetApiMapping Source #
See: newGetApiMapping smart constructor.
Constructors
| GetApiMapping' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetApiMapping |
Create a value of GetApiMapping 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:
GetApiMapping, getApiMapping_apiMappingId - The API mapping identifier.
GetApiMapping, getApiMapping_domainName - The domain name.
Request Lenses
getApiMapping_apiMappingId :: Lens' GetApiMapping Text Source #
The API mapping identifier.
getApiMapping_domainName :: Lens' GetApiMapping Text Source #
The domain name.
Destructuring the Response
data GetApiMappingResponse Source #
See: newGetApiMappingResponse smart constructor.
Constructors
| GetApiMappingResponse' | |
Fields
| |
Instances
newGetApiMappingResponse Source #
Create a value of GetApiMappingResponse 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:
GetApiMappingResponse, getApiMappingResponse_apiId - The API identifier.
GetApiMapping, getApiMappingResponse_apiMappingId - The API mapping identifier.
GetApiMappingResponse, getApiMappingResponse_apiMappingKey - The API mapping key.
GetApiMappingResponse, getApiMappingResponse_stage - The API stage.
$sel:httpStatus:GetApiMappingResponse', getApiMappingResponse_httpStatus - The response's http status code.
Response Lenses
getApiMappingResponse_apiId :: Lens' GetApiMappingResponse (Maybe Text) Source #
The API identifier.
getApiMappingResponse_apiMappingId :: Lens' GetApiMappingResponse (Maybe Text) Source #
The API mapping identifier.
getApiMappingResponse_apiMappingKey :: Lens' GetApiMappingResponse (Maybe Text) Source #
The API mapping key.
getApiMappingResponse_stage :: Lens' GetApiMappingResponse (Maybe Text) Source #
The API stage.
getApiMappingResponse_httpStatus :: Lens' GetApiMappingResponse Int Source #
The response's http status code.