| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.APIGateway.GetRestAPIs
Description
Lists the RestApis resources for your collection.
This operation returns paginated results.
- getRestAPIs :: GetRestAPIs
- data GetRestAPIs
- graLimit :: Lens' GetRestAPIs (Maybe Int)
- graPosition :: Lens' GetRestAPIs (Maybe Text)
- getRestAPIsResponse :: Int -> GetRestAPIsResponse
- data GetRestAPIsResponse
- grarsItems :: Lens' GetRestAPIsResponse [RestAPI]
- grarsPosition :: Lens' GetRestAPIsResponse (Maybe Text)
- grarsResponseStatus :: Lens' GetRestAPIsResponse Int
Creating a Request
getRestAPIs :: GetRestAPIs Source #
Creates a value of GetRestAPIs with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
graLimit- The maximum number of returned results per page. The default value is 25 and the maximum value is 500.graPosition- The current pagination position in the paged result set.
data GetRestAPIs Source #
The GET request to list existing RestApis defined for your collection.
See: getRestAPIs smart constructor.
Instances
Request Lenses
graLimit :: Lens' GetRestAPIs (Maybe Int) Source #
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
graPosition :: Lens' GetRestAPIs (Maybe Text) Source #
The current pagination position in the paged result set.
Destructuring the Response
Arguments
| :: Int | |
| -> GetRestAPIsResponse |
Creates a value of GetRestAPIsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grarsItems- The current page of elements from this collection.grarsPosition- Undocumented member.grarsResponseStatus- -- | The response status code.
data GetRestAPIsResponse Source #
Contains references to your APIs and links that guide you in how to interact with your collection. A collection offers a paginated view of your APIs.
See: getRestAPIsResponse smart constructor.
Response Lenses
grarsItems :: Lens' GetRestAPIsResponse [RestAPI] Source #
The current page of elements from this collection.
grarsPosition :: Lens' GetRestAPIsResponse (Maybe Text) Source #
Undocumented member.
grarsResponseStatus :: Lens' GetRestAPIsResponse Int Source #
- - | The response status code.