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 virtual services in a service mesh.
This operation returns paginated results.
Synopsis
- data ListVirtualServices = ListVirtualServices' {}
- newListVirtualServices :: Text -> ListVirtualServices
- listVirtualServices_meshOwner :: Lens' ListVirtualServices (Maybe Text)
- listVirtualServices_nextToken :: Lens' ListVirtualServices (Maybe Text)
- listVirtualServices_limit :: Lens' ListVirtualServices (Maybe Natural)
- listVirtualServices_meshName :: Lens' ListVirtualServices Text
- data ListVirtualServicesResponse = ListVirtualServicesResponse' {}
- newListVirtualServicesResponse :: Int -> ListVirtualServicesResponse
- listVirtualServicesResponse_nextToken :: Lens' ListVirtualServicesResponse (Maybe Text)
- listVirtualServicesResponse_httpStatus :: Lens' ListVirtualServicesResponse Int
- listVirtualServicesResponse_virtualServices :: Lens' ListVirtualServicesResponse [VirtualServiceRef]
Creating a Request
data ListVirtualServices Source #
See: newListVirtualServices
smart constructor.
ListVirtualServices' | |
|
Instances
newListVirtualServices Source #
Create a value of ListVirtualServices
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:meshOwner:ListVirtualServices'
, listVirtualServices_meshOwner
- The AWS IAM account ID of the service mesh owner. If the account ID is
not your own, then it's the ID of the account that shared the mesh with
your account. For more information about mesh sharing, see
Working with shared meshes.
$sel:nextToken:ListVirtualServices'
, listVirtualServices_nextToken
- The nextToken
value returned from a previous paginated
ListVirtualServices
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.
$sel:limit:ListVirtualServices'
, listVirtualServices_limit
- The maximum number of results returned by ListVirtualServices
in
paginated output. When you use this parameter, ListVirtualServices
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 ListVirtualServices
request with the
returned nextToken
value. This value can be between 1 and 100. If you
don't use this parameter, ListVirtualServices
returns up to 100
results and a nextToken
value if applicable.
$sel:meshName:ListVirtualServices'
, listVirtualServices_meshName
- The name of the service mesh to list virtual services in.
Request Lenses
listVirtualServices_meshOwner :: Lens' ListVirtualServices (Maybe Text) Source #
The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
listVirtualServices_nextToken :: Lens' ListVirtualServices (Maybe Text) Source #
The nextToken
value returned from a previous paginated
ListVirtualServices
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.
listVirtualServices_limit :: Lens' ListVirtualServices (Maybe Natural) Source #
The maximum number of results returned by ListVirtualServices
in
paginated output. When you use this parameter, ListVirtualServices
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 ListVirtualServices
request with the
returned nextToken
value. This value can be between 1 and 100. If you
don't use this parameter, ListVirtualServices
returns up to 100
results and a nextToken
value if applicable.
listVirtualServices_meshName :: Lens' ListVirtualServices Text Source #
The name of the service mesh to list virtual services in.
Destructuring the Response
data ListVirtualServicesResponse Source #
See: newListVirtualServicesResponse
smart constructor.
ListVirtualServicesResponse' | |
|
Instances
newListVirtualServicesResponse Source #
Create a value of ListVirtualServicesResponse
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:ListVirtualServices'
, listVirtualServicesResponse_nextToken
- The nextToken
value to include in a future ListVirtualServices
request. When the results of a ListVirtualServices
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:ListVirtualServicesResponse'
, listVirtualServicesResponse_httpStatus
- The response's http status code.
$sel:virtualServices:ListVirtualServicesResponse'
, listVirtualServicesResponse_virtualServices
- The list of existing virtual services for the specified service mesh.
Response Lenses
listVirtualServicesResponse_nextToken :: Lens' ListVirtualServicesResponse (Maybe Text) Source #
The nextToken
value to include in a future ListVirtualServices
request. When the results of a ListVirtualServices
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.
listVirtualServicesResponse_httpStatus :: Lens' ListVirtualServicesResponse Int Source #
The response's http status code.
listVirtualServicesResponse_virtualServices :: Lens' ListVirtualServicesResponse [VirtualServiceRef] Source #
The list of existing virtual services for the specified service mesh.