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.ListLinuxSubscriptions

Description

Lists the Linux subscriptions that have been discovered. If you have linked your organization, the returned results will include data aggregated across your accounts in Organizations.

This operation returns paginated results.

Synopsis

Creating a Request

data ListLinuxSubscriptions Source #

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

See: newListLinuxSubscriptions smart constructor.

Constructors

ListLinuxSubscriptions' 

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 Subscription with an optional operator to see subscriptions that match, partially match, or don't match a certain subscription's name.

    The valid names for this filter are:

    • Subscription

    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 ListLinuxSubscriptions Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

ToHeaders ListLinuxSubscriptions Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

ToPath ListLinuxSubscriptions Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

ToQuery ListLinuxSubscriptions Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

AWSPager ListLinuxSubscriptions Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

AWSRequest ListLinuxSubscriptions Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

Associated Types

type AWSResponse ListLinuxSubscriptions #

Generic ListLinuxSubscriptions Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

Associated Types

type Rep ListLinuxSubscriptions :: Type -> Type #

Read ListLinuxSubscriptions Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

Show ListLinuxSubscriptions Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

NFData ListLinuxSubscriptions Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

Methods

rnf :: ListLinuxSubscriptions -> () #

Eq ListLinuxSubscriptions Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

Hashable ListLinuxSubscriptions Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

type AWSResponse ListLinuxSubscriptions Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

type Rep ListLinuxSubscriptions Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

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

newListLinuxSubscriptions :: ListLinuxSubscriptions Source #

Create a value of ListLinuxSubscriptions 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:ListLinuxSubscriptions', listLinuxSubscriptions_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 Subscription with an optional operator to see subscriptions that match, partially match, or don't match a certain subscription's name.

The valid names for this filter are:

  • Subscription

The valid Operators for this filter are:

  • contains
  • equals
  • Notequal

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

ListLinuxSubscriptions, listLinuxSubscriptions_nextToken - Token for the next set of results.

Request Lenses

listLinuxSubscriptions_filters :: Lens' ListLinuxSubscriptions (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 Subscription with an optional operator to see subscriptions that match, partially match, or don't match a certain subscription's name.

The valid names for this filter are:

  • Subscription

The valid Operators for this filter are:

  • contains
  • equals
  • Notequal

listLinuxSubscriptions_maxResults :: Lens' ListLinuxSubscriptions (Maybe Int) Source #

Maximum number of results to return in a single call.

Destructuring the Response

data ListLinuxSubscriptionsResponse Source #

See: newListLinuxSubscriptionsResponse smart constructor.

Constructors

ListLinuxSubscriptionsResponse' 

Fields

Instances

Instances details
Generic ListLinuxSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

Associated Types

type Rep ListLinuxSubscriptionsResponse :: Type -> Type #

Read ListLinuxSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

Show ListLinuxSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

NFData ListLinuxSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

Eq ListLinuxSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

type Rep ListLinuxSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.ListLinuxSubscriptions

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

newListLinuxSubscriptionsResponse Source #

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

ListLinuxSubscriptions, listLinuxSubscriptionsResponse_nextToken - Token for the next set of results.

$sel:subscriptions:ListLinuxSubscriptionsResponse', listLinuxSubscriptionsResponse_subscriptions - An array that contains subscription objects.

$sel:httpStatus:ListLinuxSubscriptionsResponse', listLinuxSubscriptionsResponse_httpStatus - The response's http status code.

Response Lenses