amazonka-license-manager-user-subscriptions-2.0: Amazon License Manager User Subscriptions 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.LicenseManagerUserSubscriptions.ListInstances

Description

Lists the EC2 instances providing user-based subscriptions.

This operation returns paginated results.

Synopsis

Creating a Request

data ListInstances Source #

See: newListInstances smart constructor.

Constructors

ListInstances' 

Fields

  • filters :: Maybe [Filter]

    An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.

  • maxResults :: Maybe Int

    Maximum number of results to return in a single call.

  • nextToken :: Maybe Text

    Token for the next set of results.

Instances

Instances details
ToJSON ListInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

ToHeaders ListInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

ToPath ListInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

ToQuery ListInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

AWSPager ListInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

AWSRequest ListInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

Associated Types

type AWSResponse ListInstances #

Generic ListInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

Associated Types

type Rep ListInstances :: Type -> Type #

Read ListInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

Show ListInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

NFData ListInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

Methods

rnf :: ListInstances -> () #

Eq ListInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

Hashable ListInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

type AWSResponse ListInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

type Rep ListInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

type Rep ListInstances = D1 ('MetaData "ListInstances" "Amazonka.LicenseManagerUserSubscriptions.ListInstances" "amazonka-license-manager-user-subscriptions-2.0-FTcAVPsIeL0Hw8vwEQErB1" 'False) (C1 ('MetaCons "ListInstances'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListInstances :: ListInstances Source #

Create a value of ListInstances 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:filters:ListInstances', listInstances_filters - An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.

$sel:maxResults:ListInstances', listInstances_maxResults - Maximum number of results to return in a single call.

ListInstances, listInstances_nextToken - Token for the next set of results.

Request Lenses

listInstances_filters :: Lens' ListInstances (Maybe [Filter]) Source #

An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.

listInstances_maxResults :: Lens' ListInstances (Maybe Int) Source #

Maximum number of results to return in a single call.

listInstances_nextToken :: Lens' ListInstances (Maybe Text) Source #

Token for the next set of results.

Destructuring the Response

data ListInstancesResponse Source #

See: newListInstancesResponse smart constructor.

Constructors

ListInstancesResponse' 

Fields

Instances

Instances details
Generic ListInstancesResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

Associated Types

type Rep ListInstancesResponse :: Type -> Type #

Read ListInstancesResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

Show ListInstancesResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

NFData ListInstancesResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

Methods

rnf :: ListInstancesResponse -> () #

Eq ListInstancesResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

type Rep ListInstancesResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.ListInstances

type Rep ListInstancesResponse = D1 ('MetaData "ListInstancesResponse" "Amazonka.LicenseManagerUserSubscriptions.ListInstances" "amazonka-license-manager-user-subscriptions-2.0-FTcAVPsIeL0Hw8vwEQErB1" 'False) (C1 ('MetaCons "ListInstancesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InstanceSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListInstancesResponse Source #

Create a value of ListInstancesResponse 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:instanceSummaries:ListInstancesResponse', listInstancesResponse_instanceSummaries - Metadata that describes the list instances operation.

ListInstances, listInstancesResponse_nextToken - Token for the next set of results.

$sel:httpStatus:ListInstancesResponse', listInstancesResponse_httpStatus - The response's http status code.

Response Lenses

listInstancesResponse_instanceSummaries :: Lens' ListInstancesResponse (Maybe [InstanceSummary]) Source #

Metadata that describes the list instances operation.