amazonka-codedeploy-1.3.7: Amazon CodeDeploy SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CodeDeploy.ListOnPremisesInstances

Contents

Description

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.

Synopsis

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:

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:

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.