amazonka-codedeploy-2.0: Amazon CodeDeploy SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.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 are listed. To list only registered or deregistered on-premises instance names, use the registration status parameter.

This operation returns paginated results.

Synopsis

Creating a Request

data ListOnPremisesInstances Source #

Represents the input of a ListOnPremisesInstances operation.

See: newListOnPremisesInstances smart constructor.

Constructors

ListOnPremisesInstances' 

Fields

  • nextToken :: Maybe Text

    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.

  • registrationStatus :: Maybe RegistrationStatus

    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.
  • tagFilters :: Maybe [TagFilter]

    The on-premises instance tags that are used to restrict the on-premises instance names returned.

Instances

Instances details
ToJSON ListOnPremisesInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

ToHeaders ListOnPremisesInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

ToPath ListOnPremisesInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

ToQuery ListOnPremisesInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

AWSPager ListOnPremisesInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

AWSRequest ListOnPremisesInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

Generic ListOnPremisesInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

Associated Types

type Rep ListOnPremisesInstances :: Type -> Type #

Read ListOnPremisesInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

Show ListOnPremisesInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

NFData ListOnPremisesInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

Methods

rnf :: ListOnPremisesInstances -> () #

Eq ListOnPremisesInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

Hashable ListOnPremisesInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

type AWSResponse ListOnPremisesInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

type Rep ListOnPremisesInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

type Rep ListOnPremisesInstances = D1 ('MetaData "ListOnPremisesInstances" "Amazonka.CodeDeploy.ListOnPremisesInstances" "amazonka-codedeploy-2.0-4OehMEUeOr9G9ZXD2VmvAo" 'False) (C1 ('MetaCons "ListOnPremisesInstances'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "registrationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RegistrationStatus)) :*: S1 ('MetaSel ('Just "tagFilters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TagFilter])))))

newListOnPremisesInstances :: ListOnPremisesInstances Source #

Create a value of ListOnPremisesInstances 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:

ListOnPremisesInstances, listOnPremisesInstances_nextToken - 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.

$sel:registrationStatus:ListOnPremisesInstances', listOnPremisesInstances_registrationStatus - 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.

ListOnPremisesInstances, listOnPremisesInstances_tagFilters - The on-premises instance tags that are used to restrict the on-premises instance names returned.

Request Lenses

listOnPremisesInstances_nextToken :: 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.

listOnPremisesInstances_registrationStatus :: 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.

listOnPremisesInstances_tagFilters :: Lens' ListOnPremisesInstances (Maybe [TagFilter]) Source #

The on-premises instance tags that are used to restrict the on-premises instance names returned.

Destructuring the Response

data ListOnPremisesInstancesResponse Source #

Represents the output of the list on-premises instances operation.

See: newListOnPremisesInstancesResponse smart constructor.

Constructors

ListOnPremisesInstancesResponse' 

Fields

  • instanceNames :: Maybe [Text]

    The list of matching on-premises instance names.

  • nextToken :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListOnPremisesInstancesResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

Associated Types

type Rep ListOnPremisesInstancesResponse :: Type -> Type #

Read ListOnPremisesInstancesResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

Show ListOnPremisesInstancesResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

NFData ListOnPremisesInstancesResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

Eq ListOnPremisesInstancesResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

type Rep ListOnPremisesInstancesResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListOnPremisesInstances

type Rep ListOnPremisesInstancesResponse = D1 ('MetaData "ListOnPremisesInstancesResponse" "Amazonka.CodeDeploy.ListOnPremisesInstances" "amazonka-codedeploy-2.0-4OehMEUeOr9G9ZXD2VmvAo" 'False) (C1 ('MetaCons "ListOnPremisesInstancesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListOnPremisesInstancesResponse Source #

Create a value of ListOnPremisesInstancesResponse 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:instanceNames:ListOnPremisesInstancesResponse', listOnPremisesInstancesResponse_instanceNames - The list of matching on-premises instance names.

ListOnPremisesInstances, listOnPremisesInstancesResponse_nextToken - 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.

$sel:httpStatus:ListOnPremisesInstancesResponse', listOnPremisesInstancesResponse_httpStatus - The response's http status code.

Response Lenses

listOnPremisesInstancesResponse_nextToken :: 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.