| 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.GetApiMappings
Description
Gets API mappings.
Synopsis
- data GetApiMappings = GetApiMappings' {
- maxResults :: Maybe Text
- nextToken :: Maybe Text
- domainName :: Text
- newGetApiMappings :: Text -> GetApiMappings
- getApiMappings_maxResults :: Lens' GetApiMappings (Maybe Text)
- getApiMappings_nextToken :: Lens' GetApiMappings (Maybe Text)
- getApiMappings_domainName :: Lens' GetApiMappings Text
- data GetApiMappingsResponse = GetApiMappingsResponse' {
- items :: Maybe [ApiMapping]
- nextToken :: Maybe Text
- httpStatus :: Int
- newGetApiMappingsResponse :: Int -> GetApiMappingsResponse
- getApiMappingsResponse_items :: Lens' GetApiMappingsResponse (Maybe [ApiMapping])
- getApiMappingsResponse_nextToken :: Lens' GetApiMappingsResponse (Maybe Text)
- getApiMappingsResponse_httpStatus :: Lens' GetApiMappingsResponse Int
Creating a Request
data GetApiMappings Source #
See: newGetApiMappings smart constructor.
Constructors
| GetApiMappings' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetApiMappings |
Create a value of GetApiMappings 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:maxResults:GetApiMappings', getApiMappings_maxResults - The maximum number of elements to be returned for this resource.
GetApiMappings, getApiMappings_nextToken - The next page of elements from this collection. Not valid for the last
element of the collection.
GetApiMappings, getApiMappings_domainName - The domain name.
Request Lenses
getApiMappings_maxResults :: Lens' GetApiMappings (Maybe Text) Source #
The maximum number of elements to be returned for this resource.
getApiMappings_nextToken :: Lens' GetApiMappings (Maybe Text) Source #
The next page of elements from this collection. Not valid for the last element of the collection.
getApiMappings_domainName :: Lens' GetApiMappings Text Source #
The domain name.
Destructuring the Response
data GetApiMappingsResponse Source #
See: newGetApiMappingsResponse smart constructor.
Constructors
| GetApiMappingsResponse' | |
Fields
| |
Instances
newGetApiMappingsResponse Source #
Create a value of GetApiMappingsResponse 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:items:GetApiMappingsResponse', getApiMappingsResponse_items - The elements from this collection.
GetApiMappings, getApiMappingsResponse_nextToken - The next page of elements from this collection. Not valid for the last
element of the collection.
$sel:httpStatus:GetApiMappingsResponse', getApiMappingsResponse_httpStatus - The response's http status code.
Response Lenses
getApiMappingsResponse_items :: Lens' GetApiMappingsResponse (Maybe [ApiMapping]) Source #
The elements from this collection.
getApiMappingsResponse_nextToken :: Lens' GetApiMappingsResponse (Maybe Text) Source #
The next page of elements from this collection. Not valid for the last element of the collection.
getApiMappingsResponse_httpStatus :: Lens' GetApiMappingsResponse Int Source #
The response's http status code.