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 a collection of Api resources.
This operation returns paginated results.
Synopsis
- data GetApis = GetApis' {}
- newGetApis :: GetApis
- getApis_nextToken :: Lens' GetApis (Maybe Text)
- getApis_maxResults :: 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.
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:nextToken:GetApis'
, getApis_nextToken
- The next page of elements from this collection. Not valid for the last
element of the collection.
$sel:maxResults:GetApis'
, getApis_maxResults
- The maximum number of elements to be returned for this resource.
Request Lenses
getApis_nextToken :: Lens' GetApis (Maybe Text) Source #
The next page of elements from this collection. Not valid for the last element of the collection.
getApis_maxResults :: Lens' GetApis (Maybe Text) Source #
The maximum number of elements to be returned for this resource.
Destructuring the Response
data GetApisResponse Source #
See: newGetApisResponse
smart constructor.
Instances
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.
$sel:nextToken: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.