| 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.AppMesh.ListMeshes
Description
Returns a list of existing service meshes.
This operation returns paginated results.
Synopsis
- data ListMeshes = ListMeshes' {}
- newListMeshes :: ListMeshes
- listMeshes_limit :: Lens' ListMeshes (Maybe Natural)
- listMeshes_nextToken :: Lens' ListMeshes (Maybe Text)
- 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.
Constructors
| ListMeshes' | |
Fields
| |
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: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.
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.
Request Lenses
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.
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.
Destructuring the Response
data ListMeshesResponse Source #
See: newListMeshesResponse smart constructor.
Constructors
| ListMeshesResponse' | |
Fields
| |
Instances
newListMeshesResponse Source #
Arguments
| :: Int | |
| -> ListMeshesResponse |
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:
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.