Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets a list of one or more on-premises instance names.
Unless otherwise specified, both registered and deregistered on-premises instance names will be listed. To list only registered or deregistered on-premises instance names, use the registration status parameter.
See: AWS API Reference for ListOnPremisesInstances.
- listOnPremisesInstances :: ListOnPremisesInstances
- data ListOnPremisesInstances
- lopiTagFilters :: Lens' ListOnPremisesInstances [TagFilter]
- lopiNextToken :: Lens' ListOnPremisesInstances (Maybe Text)
- lopiRegistrationStatus :: Lens' ListOnPremisesInstances (Maybe RegistrationStatus)
- listOnPremisesInstancesResponse :: Int -> ListOnPremisesInstancesResponse
- data ListOnPremisesInstancesResponse
- lopirsNextToken :: Lens' ListOnPremisesInstancesResponse (Maybe Text)
- lopirsInstanceNames :: Lens' ListOnPremisesInstancesResponse [Text]
- lopirsResponseStatus :: Lens' ListOnPremisesInstancesResponse Int
Creating a Request
listOnPremisesInstances :: ListOnPremisesInstances Source
Creates a value of ListOnPremisesInstances
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListOnPremisesInstances Source
Represents the input of a list on-premises instances operation.
.
See: listOnPremisesInstances
smart constructor.
Request Lenses
lopiTagFilters :: Lens' ListOnPremisesInstances [TagFilter] Source
The on-premises instance tags that will be used to restrict the corresponding on-premises instance names that are returned.
lopiNextToken :: Lens' ListOnPremisesInstances (Maybe Text) Source
An identifier that was returned from the previous list on-premises instances call, which can be used to return the next set of on-premises instances in the list.
lopiRegistrationStatus :: Lens' ListOnPremisesInstances (Maybe RegistrationStatus) Source
The on-premises instances registration status:
- Deregistered: Include in the resulting list deregistered on-premises instances.
- Registered: Include in the resulting list registered on-premises instances.
Destructuring the Response
listOnPremisesInstancesResponse Source
Creates a value of ListOnPremisesInstancesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListOnPremisesInstancesResponse Source
Represents the output of list on-premises instances operation.
See: listOnPremisesInstancesResponse
smart constructor.
Response Lenses
lopirsNextToken :: Lens' ListOnPremisesInstancesResponse (Maybe Text) Source
If the amount of information that is returned is significantly large, an identifier will also be returned, which can be used in a subsequent list on-premises instances call to return the next set of on-premises instances in the list.
lopirsInstanceNames :: Lens' ListOnPremisesInstancesResponse [Text] Source
The list of matching on-premises instance names.
lopirsResponseStatus :: Lens' ListOnPremisesInstancesResponse Int Source
The response status code.