libZSservicesZSamazonka-license-managerZSamazonka-license-manager
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.LicenseManager.ListLicenses

Description

Lists the licenses for your account.

Synopsis

Creating a Request

data ListLicenses Source #

See: newListLicenses smart constructor.

Constructors

ListLicenses' 

Fields

Instances

Instances details
Eq ListLicenses Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

Read ListLicenses Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

Show ListLicenses Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

Generic ListLicenses Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

Associated Types

type Rep ListLicenses :: Type -> Type #

NFData ListLicenses Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

Methods

rnf :: ListLicenses -> () #

Hashable ListLicenses Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

ToJSON ListLicenses Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

AWSRequest ListLicenses Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

Associated Types

type AWSResponse ListLicenses #

ToHeaders ListLicenses Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

ToPath ListLicenses Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

ToQuery ListLicenses Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

type Rep ListLicenses Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

type Rep ListLicenses = D1 ('MetaData "ListLicenses" "Amazonka.LicenseManager.ListLicenses" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "ListLicenses'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "licenseArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListLicenses Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

newListLicenses :: ListLicenses Source #

Create a value of ListLicenses 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:ListLicenses', listLicenses_filters - Filters to scope the results. The following filters are supported:

  • Beneficiary
  • ProductSKU
  • Fingerprint
  • Status

$sel:nextToken:ListLicenses', listLicenses_nextToken - Token for the next set of results.

$sel:licenseArns:ListLicenses', listLicenses_licenseArns - Amazon Resource Names (ARNs) of the licenses.

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

Request Lenses

listLicenses_filters :: Lens' ListLicenses (Maybe [Filter]) Source #

Filters to scope the results. The following filters are supported:

  • Beneficiary
  • ProductSKU
  • Fingerprint
  • Status

listLicenses_nextToken :: Lens' ListLicenses (Maybe Text) Source #

Token for the next set of results.

listLicenses_licenseArns :: Lens' ListLicenses (Maybe [Text]) Source #

Amazon Resource Names (ARNs) of the licenses.

listLicenses_maxResults :: Lens' ListLicenses (Maybe Natural) Source #

Maximum number of results to return in a single call.

Destructuring the Response

data ListLicensesResponse Source #

See: newListLicensesResponse smart constructor.

Constructors

ListLicensesResponse' 

Fields

Instances

Instances details
Eq ListLicensesResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

Read ListLicensesResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

Show ListLicensesResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

Generic ListLicensesResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

Associated Types

type Rep ListLicensesResponse :: Type -> Type #

NFData ListLicensesResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

Methods

rnf :: ListLicensesResponse -> () #

type Rep ListLicensesResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListLicenses

type Rep ListLicensesResponse = D1 ('MetaData "ListLicensesResponse" "Amazonka.LicenseManager.ListLicenses" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "ListLicensesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "licenses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [License])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListLicensesResponse Source #

Create a value of ListLicensesResponse 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:nextToken:ListLicenses', listLicensesResponse_nextToken - Token for the next set of results.

$sel:licenses:ListLicensesResponse', listLicensesResponse_licenses - License details.

$sel:httpStatus:ListLicensesResponse', listLicensesResponse_httpStatus - The response's http status code.

Response Lenses