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.
http://docs.aws.amazon.com/codedeploy/latest/APIReference/API_ListOnPremisesInstances.html
- data ListOnPremisesInstances
- listOnPremisesInstances :: ListOnPremisesInstances
- lopiNextToken :: Lens' ListOnPremisesInstances (Maybe Text)
- lopiRegistrationStatus :: Lens' ListOnPremisesInstances (Maybe RegistrationStatus)
- lopiTagFilters :: Lens' ListOnPremisesInstances [TagFilter]
- data ListOnPremisesInstancesResponse
- listOnPremisesInstancesResponse :: ListOnPremisesInstancesResponse
- lopirInstanceNames :: Lens' ListOnPremisesInstancesResponse [Text]
- lopirNextToken :: Lens' ListOnPremisesInstancesResponse (Maybe Text)
Request
data ListOnPremisesInstances Source
Request constructor
listOnPremisesInstances :: ListOnPremisesInstances Source
ListOnPremisesInstances
constructor.
The fields accessible through corresponding lenses are:
Request lenses
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.
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.
Response
Response constructor
listOnPremisesInstancesResponse :: ListOnPremisesInstancesResponse Source
ListOnPremisesInstancesResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
lopirInstanceNames :: Lens' ListOnPremisesInstancesResponse [Text] Source
The list of matching on-premises instance names.
lopirNextToken :: 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.