amazonka-license-manager-linux-subscriptions-2.0: Amazon License Manager Linux 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.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

Description

Lists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.

This operation returns paginated results.

Synopsis

Creating a Request

data ListLinuxSubscriptionInstances Source #

NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.

See: newListLinuxSubscriptionInstances smart constructor.

Constructors

ListLinuxSubscriptionInstances' 

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. For example, you can filter by the name of AmiID with an optional operator to see subscriptions that match, partially match, or don't match a certain Amazon Machine Image (AMI) ID.

    The valid names for this filter are:

    • AmiID
    • InstanceID
    • AccountID
    • Status
    • Region
    • UsageOperation
    • ProductCode
    • InstanceType

    The valid Operators for this filter are:

    • contains
    • equals
    • Notequal
  • 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 ListLinuxSubscriptionInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

ToHeaders ListLinuxSubscriptionInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

ToPath ListLinuxSubscriptionInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

ToQuery ListLinuxSubscriptionInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

AWSPager ListLinuxSubscriptionInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

AWSRequest ListLinuxSubscriptionInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

Generic ListLinuxSubscriptionInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

Associated Types

type Rep ListLinuxSubscriptionInstances :: Type -> Type #

Read ListLinuxSubscriptionInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

Show ListLinuxSubscriptionInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

NFData ListLinuxSubscriptionInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

Eq ListLinuxSubscriptionInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

Hashable ListLinuxSubscriptionInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

type AWSResponse ListLinuxSubscriptionInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

type Rep ListLinuxSubscriptionInstances Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

type Rep ListLinuxSubscriptionInstances = D1 ('MetaData "ListLinuxSubscriptionInstances" "Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances" "amazonka-license-manager-linux-subscriptions-2.0-AO29CJRkexAJPaOYE130NE" 'False) (C1 ('MetaCons "ListLinuxSubscriptionInstances'" '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)))))

newListLinuxSubscriptionInstances :: ListLinuxSubscriptionInstances Source #

Create a value of ListLinuxSubscriptionInstances 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:ListLinuxSubscriptionInstances', listLinuxSubscriptionInstances_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. For example, you can filter by the name of AmiID with an optional operator to see subscriptions that match, partially match, or don't match a certain Amazon Machine Image (AMI) ID.

The valid names for this filter are:

  • AmiID
  • InstanceID
  • AccountID
  • Status
  • Region
  • UsageOperation
  • ProductCode
  • InstanceType

The valid Operators for this filter are:

  • contains
  • equals
  • Notequal

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

ListLinuxSubscriptionInstances, listLinuxSubscriptionInstances_nextToken - Token for the next set of results.

Request Lenses

listLinuxSubscriptionInstances_filters :: Lens' ListLinuxSubscriptionInstances (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. For example, you can filter by the name of AmiID with an optional operator to see subscriptions that match, partially match, or don't match a certain Amazon Machine Image (AMI) ID.

The valid names for this filter are:

  • AmiID
  • InstanceID
  • AccountID
  • Status
  • Region
  • UsageOperation
  • ProductCode
  • InstanceType

The valid Operators for this filter are:

  • contains
  • equals
  • Notequal

listLinuxSubscriptionInstances_maxResults :: Lens' ListLinuxSubscriptionInstances (Maybe Int) Source #

Maximum number of results to return in a single call.

Destructuring the Response

data ListLinuxSubscriptionInstancesResponse Source #

Constructors

ListLinuxSubscriptionInstancesResponse' 

Fields

Instances

Instances details
Generic ListLinuxSubscriptionInstancesResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

Read ListLinuxSubscriptionInstancesResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

Show ListLinuxSubscriptionInstancesResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

NFData ListLinuxSubscriptionInstancesResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

Eq ListLinuxSubscriptionInstancesResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

type Rep ListLinuxSubscriptionInstancesResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances

type Rep ListLinuxSubscriptionInstancesResponse = D1 ('MetaData "ListLinuxSubscriptionInstancesResponse" "Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptionInstances" "amazonka-license-manager-linux-subscriptions-2.0-AO29CJRkexAJPaOYE130NE" 'False) (C1 ('MetaCons "ListLinuxSubscriptionInstancesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Instance])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListLinuxSubscriptionInstancesResponse Source #

Create a value of ListLinuxSubscriptionInstancesResponse 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:instances:ListLinuxSubscriptionInstancesResponse', listLinuxSubscriptionInstancesResponse_instances - An array that contains instance objects.

ListLinuxSubscriptionInstances, listLinuxSubscriptionInstancesResponse_nextToken - Token for the next set of results.

$sel:httpStatus:ListLinuxSubscriptionInstancesResponse', listLinuxSubscriptionInstancesResponse_httpStatus - The response's http status code.

Response Lenses