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 the SSO instances that the caller has access to.
This operation returns paginated results.
Synopsis
- data ListInstances = ListInstances' {}
- newListInstances :: ListInstances
- listInstances_nextToken :: Lens' ListInstances (Maybe Text)
- listInstances_maxResults :: Lens' ListInstances (Maybe Natural)
- data ListInstancesResponse = ListInstancesResponse' {
- nextToken :: Maybe Text
- instances :: Maybe [InstanceMetadata]
- httpStatus :: Int
- newListInstancesResponse :: Int -> ListInstancesResponse
- listInstancesResponse_nextToken :: Lens' ListInstancesResponse (Maybe Text)
- listInstancesResponse_instances :: Lens' ListInstancesResponse (Maybe [InstanceMetadata])
- listInstancesResponse_httpStatus :: Lens' ListInstancesResponse Int
Creating a Request
data ListInstances Source #
See: newListInstances
smart constructor.
Instances
newListInstances :: ListInstances Source #
Create a value of ListInstances
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:ListInstances'
, listInstances_nextToken
- The pagination token for the list API. Initially the value is null. Use
the output of previous API calls to make subsequent calls.
$sel:maxResults:ListInstances'
, listInstances_maxResults
- The maximum number of results to display for the instance.
Request Lenses
listInstances_nextToken :: Lens' ListInstances (Maybe Text) Source #
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
listInstances_maxResults :: Lens' ListInstances (Maybe Natural) Source #
The maximum number of results to display for the instance.
Destructuring the Response
data ListInstancesResponse Source #
See: newListInstancesResponse
smart constructor.
ListInstancesResponse' | |
|
Instances
newListInstancesResponse Source #
Create a value of ListInstancesResponse
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:ListInstances'
, listInstancesResponse_nextToken
- The pagination token for the list API. Initially the value is null. Use
the output of previous API calls to make subsequent calls.
$sel:instances:ListInstancesResponse'
, listInstancesResponse_instances
- Lists the SSO instances that the caller has access to.
$sel:httpStatus:ListInstancesResponse'
, listInstancesResponse_httpStatus
- The response's http status code.
Response Lenses
listInstancesResponse_nextToken :: Lens' ListInstancesResponse (Maybe Text) Source #
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
listInstancesResponse_instances :: Lens' ListInstancesResponse (Maybe [InstanceMetadata]) Source #
Lists the SSO instances that the caller has access to.
listInstancesResponse_httpStatus :: Lens' ListInstancesResponse Int Source #
The response's http status code.