| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.CodeDeploy.ListOnPremisesInstances
Description
Gets a list of names for one or more on-premises instances.
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.
- 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:
lopiTagFilters- The on-premises instance tags that will be used to restrict the corresponding on-premises instance names returned.lopiNextToken- An identifier returned from the previous list on-premises instances call. It can be used to return the next set of on-premises instances in the list.lopiRegistrationStatus- The registration status of the on-premises instances: * Deregistered: Include deregistered on-premises instances in the resulting list. * Registered: Include registered on-premises instances in the resulting list.
data ListOnPremisesInstances Source #
Represents the input of a ListOnPremisesInstances operation.
See: listOnPremisesInstances smart constructor.
Instances
Request Lenses
lopiTagFilters :: Lens' ListOnPremisesInstances [TagFilter] Source #
The on-premises instance tags that will be used to restrict the corresponding on-premises instance names returned.
lopiNextToken :: Lens' ListOnPremisesInstances (Maybe Text) Source #
An identifier returned from the previous list on-premises instances call. It can be used to return the next set of on-premises instances in the list.
lopiRegistrationStatus :: Lens' ListOnPremisesInstances (Maybe RegistrationStatus) Source #
The registration status of the on-premises instances: * Deregistered: Include deregistered on-premises instances in the resulting list. * Registered: Include registered on-premises instances in the resulting list.
Destructuring the Response
listOnPremisesInstancesResponse Source #
Arguments
| :: Int | |
| -> ListOnPremisesInstancesResponse |
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:
lopirsNextToken- If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list on-premises instances call to return the next set of on-premises instances in the list.lopirsInstanceNames- The list of matching on-premises instance names.lopirsResponseStatus- -- | The response status code.
data ListOnPremisesInstancesResponse Source #
Represents the output of list on-premises instances operation.
See: listOnPremisesInstancesResponse smart constructor.
Instances
Response Lenses
lopirsNextToken :: Lens' ListOnPremisesInstancesResponse (Maybe Text) Source #
If a large amount of information is returned, an identifier is also returned. It 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.