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 |
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.
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:
$sel:limit:GetRestApis'
, getRestApis_limit
- The maximum number of returned results per page. The default value is 25
and the maximum value is 500.
$sel:position: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.
Instances
newGetRestApisResponse Source #
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:
$sel:items:GetRestApisResponse'
, getRestApisResponse_items
- The current page of elements from this collection.
$sel:position: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.