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 application instances.
Synopsis
- data ListApplicationInstances = ListApplicationInstances' {}
- newListApplicationInstances :: ListApplicationInstances
- listApplicationInstances_nextToken :: Lens' ListApplicationInstances (Maybe Text)
- listApplicationInstances_statusFilter :: Lens' ListApplicationInstances (Maybe StatusFilter)
- listApplicationInstances_deviceId :: Lens' ListApplicationInstances (Maybe Text)
- listApplicationInstances_maxResults :: Lens' ListApplicationInstances (Maybe Natural)
- data ListApplicationInstancesResponse = ListApplicationInstancesResponse' {}
- newListApplicationInstancesResponse :: Int -> ListApplicationInstancesResponse
- listApplicationInstancesResponse_nextToken :: Lens' ListApplicationInstancesResponse (Maybe Text)
- listApplicationInstancesResponse_applicationInstances :: Lens' ListApplicationInstancesResponse (Maybe [ApplicationInstance])
- listApplicationInstancesResponse_httpStatus :: Lens' ListApplicationInstancesResponse Int
Creating a Request
data ListApplicationInstances Source #
See: newListApplicationInstances
smart constructor.
ListApplicationInstances' | |
|
Instances
newListApplicationInstances :: ListApplicationInstances Source #
Create a value of ListApplicationInstances
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:ListApplicationInstances'
, listApplicationInstances_nextToken
- Specify the pagination token from a previous request to retrieve the
next page of results.
$sel:statusFilter:ListApplicationInstances'
, listApplicationInstances_statusFilter
- Only include instances with a specific status.
$sel:deviceId:ListApplicationInstances'
, listApplicationInstances_deviceId
- The application instances' device ID.
$sel:maxResults:ListApplicationInstances'
, listApplicationInstances_maxResults
- The maximum number of application instances to return in one page of
results.
Request Lenses
listApplicationInstances_nextToken :: Lens' ListApplicationInstances (Maybe Text) Source #
Specify the pagination token from a previous request to retrieve the next page of results.
listApplicationInstances_statusFilter :: Lens' ListApplicationInstances (Maybe StatusFilter) Source #
Only include instances with a specific status.
listApplicationInstances_deviceId :: Lens' ListApplicationInstances (Maybe Text) Source #
The application instances' device ID.
listApplicationInstances_maxResults :: Lens' ListApplicationInstances (Maybe Natural) Source #
The maximum number of application instances to return in one page of results.
Destructuring the Response
data ListApplicationInstancesResponse Source #
See: newListApplicationInstancesResponse
smart constructor.
ListApplicationInstancesResponse' | |
|
Instances
newListApplicationInstancesResponse Source #
Create a value of ListApplicationInstancesResponse
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:ListApplicationInstances'
, listApplicationInstancesResponse_nextToken
- A pagination token that's included if more results are available.
$sel:applicationInstances:ListApplicationInstancesResponse'
, listApplicationInstancesResponse_applicationInstances
- A list of application instances.
$sel:httpStatus:ListApplicationInstancesResponse'
, listApplicationInstancesResponse_httpStatus
- The response's http status code.
Response Lenses
listApplicationInstancesResponse_nextToken :: Lens' ListApplicationInstancesResponse (Maybe Text) Source #
A pagination token that's included if more results are available.
listApplicationInstancesResponse_applicationInstances :: Lens' ListApplicationInstancesResponse (Maybe [ApplicationInstance]) Source #
A list of application instances.
listApplicationInstancesResponse_httpStatus :: Lens' ListApplicationInstancesResponse Int Source #
The response's http status code.