| 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.APIGateway.GetRestApis
Description
Lists the RestApis resources for your collection.
This operation returns paginated results.
Synopsis
- data GetRestApis = GetRestApis' {}
- newGetRestApis :: GetRestApis
- getRestApis_limit :: Lens' GetRestApis (Maybe Int)
- getRestApis_position :: Lens' GetRestApis (Maybe Text)
- data GetRestApisResponse = GetRestApisResponse' {}
- newGetRestApisResponse :: Int -> GetRestApisResponse
- getRestApisResponse_items :: Lens' GetRestApisResponse (Maybe [RestApi])
- getRestApisResponse_position :: Lens' GetRestApisResponse (Maybe Text)
- getRestApisResponse_httpStatus :: Lens' GetRestApisResponse Int
Creating a Request
data GetRestApis Source #
The GET request to list existing RestApis defined for your collection.
See: newGetRestApis smart constructor.
Constructors
| GetRestApis' | |
Instances
newGetRestApis :: GetRestApis Source #
Create a value of GetRestApis 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:
GetRestApis, getRestApis_limit - The maximum number of returned results per page. The default value is 25
and the maximum value is 500.
GetRestApis, getRestApis_position - The current pagination position in the paged result set.
Request Lenses
getRestApis_limit :: Lens' GetRestApis (Maybe Int) Source #
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
getRestApis_position :: Lens' GetRestApis (Maybe Text) Source #
The current pagination position in the paged result set.
Destructuring the Response
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: newGetRestApisResponse smart constructor.
Constructors
| GetRestApisResponse' | |
Instances
newGetRestApisResponse Source #
Arguments
| :: Int | |
| -> GetRestApisResponse |
Create a value of GetRestApisResponse 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:
GetRestApisResponse, getRestApisResponse_items - The current page of elements from this collection.
GetRestApis, getRestApisResponse_position - Undocumented member.
$sel:httpStatus:GetRestApisResponse', getRestApisResponse_httpStatus - The response's http status code.
Response Lenses
getRestApisResponse_items :: Lens' GetRestApisResponse (Maybe [RestApi]) Source #
The current page of elements from this collection.
getRestApisResponse_position :: Lens' GetRestApisResponse (Maybe Text) Source #
Undocumented member.
getRestApisResponse_httpStatus :: Lens' GetRestApisResponse Int Source #
The response's http status code.