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 |
Returns a list of existing service meshes.
This operation returns paginated results.
Synopsis
- data ListMeshes = ListMeshes' {}
- newListMeshes :: ListMeshes
- listMeshes_nextToken :: Lens' ListMeshes (Maybe Text)
- listMeshes_limit :: Lens' ListMeshes (Maybe Natural)
- data ListMeshesResponse = ListMeshesResponse' {}
- newListMeshesResponse :: Int -> ListMeshesResponse
- listMeshesResponse_nextToken :: Lens' ListMeshesResponse (Maybe Text)
- listMeshesResponse_httpStatus :: Lens' ListMeshesResponse Int
- listMeshesResponse_meshes :: Lens' ListMeshesResponse [MeshRef]
Creating a Request
data ListMeshes Source #
See: newListMeshes
smart constructor.
ListMeshes' | |
|
Instances
newListMeshes :: ListMeshes Source #
Create a value of ListMeshes
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:ListMeshes'
, listMeshes_nextToken
- The nextToken
value returned from a previous paginated ListMeshes
request where limit
was used and the results exceeded the value of
that parameter. Pagination continues from the end of the previous
results that returned the nextToken
value.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
$sel:limit:ListMeshes'
, listMeshes_limit
- The maximum number of results returned by ListMeshes
in paginated
output. When you use this parameter, ListMeshes
returns only limit
results in a single page along with a nextToken
response element. You
can see the remaining results of the initial request by sending another
ListMeshes
request with the returned nextToken
value. This value can
be between 1 and 100. If you don't use this parameter, ListMeshes
returns up to 100 results and a nextToken
value if applicable.
Request Lenses
listMeshes_nextToken :: Lens' ListMeshes (Maybe Text) Source #
The nextToken
value returned from a previous paginated ListMeshes
request where limit
was used and the results exceeded the value of
that parameter. Pagination continues from the end of the previous
results that returned the nextToken
value.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
listMeshes_limit :: Lens' ListMeshes (Maybe Natural) Source #
The maximum number of results returned by ListMeshes
in paginated
output. When you use this parameter, ListMeshes
returns only limit
results in a single page along with a nextToken
response element. You
can see the remaining results of the initial request by sending another
ListMeshes
request with the returned nextToken
value. This value can
be between 1 and 100. If you don't use this parameter, ListMeshes
returns up to 100 results and a nextToken
value if applicable.
Destructuring the Response
data ListMeshesResponse Source #
See: newListMeshesResponse
smart constructor.
ListMeshesResponse' | |
|
Instances
newListMeshesResponse Source #
Create a value of ListMeshesResponse
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:ListMeshes'
, listMeshesResponse_nextToken
- The nextToken
value to include in a future ListMeshes
request. When
the results of a ListMeshes
request exceed limit
, you can use this
value to retrieve the next page of results. This value is null
when
there are no more results to return.
$sel:httpStatus:ListMeshesResponse'
, listMeshesResponse_httpStatus
- The response's http status code.
$sel:meshes:ListMeshesResponse'
, listMeshesResponse_meshes
- The list of existing service meshes.
Response Lenses
listMeshesResponse_nextToken :: Lens' ListMeshesResponse (Maybe Text) Source #
The nextToken
value to include in a future ListMeshes
request. When
the results of a ListMeshes
request exceed limit
, you can use this
value to retrieve the next page of results. This value is null
when
there are no more results to return.
listMeshesResponse_httpStatus :: Lens' ListMeshesResponse Int Source #
The response's http status code.
listMeshesResponse_meshes :: Lens' ListMeshesResponse [MeshRef] Source #
The list of existing service meshes.