| 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.GetApis
Description
Gets a collection of Api resources.
This operation returns paginated results.
Synopsis
- data GetApis = GetApis' {}
- newGetApis :: GetApis
- getApis_maxResults :: Lens' GetApis (Maybe Text)
- getApis_nextToken :: Lens' GetApis (Maybe Text)
- data GetApisResponse = GetApisResponse' {}
- newGetApisResponse :: Int -> GetApisResponse
- getApisResponse_items :: Lens' GetApisResponse (Maybe [Api])
- getApisResponse_nextToken :: Lens' GetApisResponse (Maybe Text)
- getApisResponse_httpStatus :: Lens' GetApisResponse Int
Creating a Request
See: newGetApis smart constructor.
Constructors
| GetApis' | |
Instances
newGetApis :: GetApis Source #
Create a value of GetApis 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:GetApis', getApis_maxResults - The maximum number of elements to be returned for this resource.
GetApis, getApis_nextToken - The next page of elements from this collection. Not valid for the last
element of the collection.
Request Lenses
getApis_maxResults :: Lens' GetApis (Maybe Text) Source #
The maximum number of elements to be returned for this resource.
getApis_nextToken :: Lens' GetApis (Maybe Text) Source #
The next page of elements from this collection. Not valid for the last element of the collection.
Destructuring the Response
data GetApisResponse Source #
See: newGetApisResponse smart constructor.
Constructors
| GetApisResponse' | |
Instances
Arguments
| :: Int | |
| -> GetApisResponse |
Create a value of GetApisResponse 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:GetApisResponse', getApisResponse_items - The elements from this collection.
GetApis, getApisResponse_nextToken - The next page of elements from this collection. Not valid for the last
element of the collection.
$sel:httpStatus:GetApisResponse', getApisResponse_httpStatus - The response's http status code.
Response Lenses
getApisResponse_items :: Lens' GetApisResponse (Maybe [Api]) Source #
The elements from this collection.
getApisResponse_nextToken :: Lens' GetApisResponse (Maybe Text) Source #
The next page of elements from this collection. Not valid for the last element of the collection.
getApisResponse_httpStatus :: Lens' GetApisResponse Int Source #
The response's http status code.