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 |
Gets API mappings.
Synopsis
- data GetApiMappings = GetApiMappings' {
- nextToken :: Maybe Text
- maxResults :: Maybe Text
- domainName :: Text
- newGetApiMappings :: Text -> GetApiMappings
- getApiMappings_nextToken :: Lens' GetApiMappings (Maybe Text)
- getApiMappings_maxResults :: 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.
GetApiMappings' | |
|
Instances
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:nextToken:GetApiMappings'
, getApiMappings_nextToken
- The next page of elements from this collection. Not valid for the last
element of the collection.
$sel:maxResults:GetApiMappings'
, getApiMappings_maxResults
- The maximum number of elements to be returned for this resource.
$sel:domainName:GetApiMappings'
, getApiMappings_domainName
- The domain name.
Request Lenses
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_maxResults :: Lens' GetApiMappings (Maybe Text) Source #
The maximum number of elements to be returned for this resource.
getApiMappings_domainName :: Lens' GetApiMappings Text Source #
The domain name.
Destructuring the Response
data GetApiMappingsResponse Source #
See: newGetApiMappingsResponse
smart constructor.
GetApiMappingsResponse' | |
|
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.
$sel:nextToken: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.