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 |
Lists all Amazon Chime AppInstance
s created under a single AWS
account.
Synopsis
- data ListAppInstances = ListAppInstances' {}
- newListAppInstances :: ListAppInstances
- listAppInstances_nextToken :: Lens' ListAppInstances (Maybe Text)
- listAppInstances_maxResults :: Lens' ListAppInstances (Maybe Natural)
- data ListAppInstancesResponse = ListAppInstancesResponse' {
- appInstances :: Maybe [AppInstanceSummary]
- nextToken :: Maybe (Sensitive Text)
- httpStatus :: Int
- newListAppInstancesResponse :: Int -> ListAppInstancesResponse
- listAppInstancesResponse_appInstances :: Lens' ListAppInstancesResponse (Maybe [AppInstanceSummary])
- listAppInstancesResponse_nextToken :: Lens' ListAppInstancesResponse (Maybe Text)
- listAppInstancesResponse_httpStatus :: Lens' ListAppInstancesResponse Int
Creating a Request
data ListAppInstances Source #
See: newListAppInstances
smart constructor.
Instances
newListAppInstances :: ListAppInstances Source #
Create a value of ListAppInstances
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:ListAppInstances'
, listAppInstances_nextToken
- The token passed by previous API requests until you reach the maximum
number of AppInstance
s.
$sel:maxResults:ListAppInstances'
, listAppInstances_maxResults
- The maximum number of AppInstance
s that you want to return.
Request Lenses
listAppInstances_nextToken :: Lens' ListAppInstances (Maybe Text) Source #
The token passed by previous API requests until you reach the maximum
number of AppInstance
s.
listAppInstances_maxResults :: Lens' ListAppInstances (Maybe Natural) Source #
The maximum number of AppInstance
s that you want to return.
Destructuring the Response
data ListAppInstancesResponse Source #
See: newListAppInstancesResponse
smart constructor.
ListAppInstancesResponse' | |
|
Instances
newListAppInstancesResponse Source #
Create a value of ListAppInstancesResponse
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:appInstances:ListAppInstancesResponse'
, listAppInstancesResponse_appInstances
- The information for each AppInstance
.
$sel:nextToken:ListAppInstances'
, listAppInstancesResponse_nextToken
- The token passed by previous API requests until the maximum number of
AppInstance
s is reached.
$sel:httpStatus:ListAppInstancesResponse'
, listAppInstancesResponse_httpStatus
- The response's http status code.
Response Lenses
listAppInstancesResponse_appInstances :: Lens' ListAppInstancesResponse (Maybe [AppInstanceSummary]) Source #
The information for each AppInstance
.
listAppInstancesResponse_nextToken :: Lens' ListAppInstancesResponse (Maybe Text) Source #
The token passed by previous API requests until the maximum number of
AppInstance
s is reached.
listAppInstancesResponse_httpStatus :: Lens' ListAppInstancesResponse Int Source #
The response's http status code.