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 |
List service instances with summaries of detail data.
This operation returns paginated results.
Synopsis
- data ListServiceInstances = ListServiceInstances' {
- nextToken :: Maybe Text
- serviceName :: Maybe Text
- maxResults :: Maybe Natural
- newListServiceInstances :: ListServiceInstances
- listServiceInstances_nextToken :: Lens' ListServiceInstances (Maybe Text)
- listServiceInstances_serviceName :: Lens' ListServiceInstances (Maybe Text)
- listServiceInstances_maxResults :: Lens' ListServiceInstances (Maybe Natural)
- data ListServiceInstancesResponse = ListServiceInstancesResponse' {}
- newListServiceInstancesResponse :: Int -> ListServiceInstancesResponse
- listServiceInstancesResponse_nextToken :: Lens' ListServiceInstancesResponse (Maybe Text)
- listServiceInstancesResponse_httpStatus :: Lens' ListServiceInstancesResponse Int
- listServiceInstancesResponse_serviceInstances :: Lens' ListServiceInstancesResponse [ServiceInstanceSummary]
Creating a Request
data ListServiceInstances Source #
See: newListServiceInstances
smart constructor.
ListServiceInstances' | |
|
Instances
newListServiceInstances :: ListServiceInstances Source #
Create a value of ListServiceInstances
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:ListServiceInstances'
, listServiceInstances_nextToken
- A token to indicate the location of the next service in the array of
service instances, after the list of service instances that was
previously requested.
$sel:serviceName:ListServiceInstances'
, listServiceInstances_serviceName
- The name of the service that the service instance belongs to.
$sel:maxResults:ListServiceInstances'
, listServiceInstances_maxResults
- The maximum number of service instances to list.
Request Lenses
listServiceInstances_nextToken :: Lens' ListServiceInstances (Maybe Text) Source #
A token to indicate the location of the next service in the array of service instances, after the list of service instances that was previously requested.
listServiceInstances_serviceName :: Lens' ListServiceInstances (Maybe Text) Source #
The name of the service that the service instance belongs to.
listServiceInstances_maxResults :: Lens' ListServiceInstances (Maybe Natural) Source #
The maximum number of service instances to list.
Destructuring the Response
data ListServiceInstancesResponse Source #
See: newListServiceInstancesResponse
smart constructor.
ListServiceInstancesResponse' | |
|
Instances
newListServiceInstancesResponse Source #
Create a value of ListServiceInstancesResponse
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:ListServiceInstances'
, listServiceInstancesResponse_nextToken
- A token to indicate the location of the next service instance in the
array of service instances, after the current requested list of service
instances.
$sel:httpStatus:ListServiceInstancesResponse'
, listServiceInstancesResponse_httpStatus
- The response's http status code.
$sel:serviceInstances:ListServiceInstancesResponse'
, listServiceInstancesResponse_serviceInstances
- An array of service instances with summaries of detail data.
Response Lenses
listServiceInstancesResponse_nextToken :: Lens' ListServiceInstancesResponse (Maybe Text) Source #
A token to indicate the location of the next service instance in the array of service instances, after the current requested list of service instances.
listServiceInstancesResponse_httpStatus :: Lens' ListServiceInstancesResponse Int Source #
The response's http status code.
listServiceInstancesResponse_serviceInstances :: Lens' ListServiceInstancesResponse [ServiceInstanceSummary] Source #
An array of service instances with summaries of detail data.