| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.LicenseManagerUserSubscriptions.ListInstances
Description
Lists the EC2 instances providing user-based subscriptions.
This operation returns paginated results.
Synopsis
- data ListInstances = ListInstances' {}
- newListInstances :: ListInstances
- listInstances_filters :: Lens' ListInstances (Maybe [Filter])
- listInstances_maxResults :: Lens' ListInstances (Maybe Int)
- listInstances_nextToken :: Lens' ListInstances (Maybe Text)
- data ListInstancesResponse = ListInstancesResponse' {}
- newListInstancesResponse :: Int -> ListInstancesResponse
- listInstancesResponse_instanceSummaries :: Lens' ListInstancesResponse (Maybe [InstanceSummary])
- listInstancesResponse_nextToken :: Lens' ListInstancesResponse (Maybe Text)
- listInstancesResponse_httpStatus :: Lens' ListInstancesResponse Int
Creating a Request
data ListInstances Source #
See: newListInstances smart constructor.
Constructors
| ListInstances' | |
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:filters:ListInstances', listInstances_filters - An array of structures that you can use to filter the results to those
that match one or more sets of key-value pairs that you specify.
$sel:maxResults:ListInstances', listInstances_maxResults - Maximum number of results to return in a single call.
ListInstances, listInstances_nextToken - Token for the next set of results.
Request Lenses
listInstances_filters :: Lens' ListInstances (Maybe [Filter]) Source #
An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.
listInstances_maxResults :: Lens' ListInstances (Maybe Int) Source #
Maximum number of results to return in a single call.
listInstances_nextToken :: Lens' ListInstances (Maybe Text) Source #
Token for the next set of results.
Destructuring the Response
data ListInstancesResponse Source #
See: newListInstancesResponse smart constructor.
Constructors
| ListInstancesResponse' | |
Fields
| |
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:instanceSummaries:ListInstancesResponse', listInstancesResponse_instanceSummaries - Metadata that describes the list instances operation.
ListInstances, listInstancesResponse_nextToken - Token for the next set of results.
$sel:httpStatus:ListInstancesResponse', listInstancesResponse_httpStatus - The response's http status code.
Response Lenses
listInstancesResponse_instanceSummaries :: Lens' ListInstancesResponse (Maybe [InstanceSummary]) Source #
Metadata that describes the list instances operation.
listInstancesResponse_nextToken :: Lens' ListInstancesResponse (Maybe Text) Source #
Token for the next set of results.
listInstancesResponse_httpStatus :: Lens' ListInstancesResponse Int Source #
The response's http status code.