| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.LicenseManager.ListLicenses
Description
Lists the licenses for your account.
Synopsis
- data ListLicenses = ListLicenses' {}
- newListLicenses :: ListLicenses
- listLicenses_filters :: Lens' ListLicenses (Maybe [Filter])
- listLicenses_licenseArns :: Lens' ListLicenses (Maybe [Text])
- listLicenses_maxResults :: Lens' ListLicenses (Maybe Natural)
- listLicenses_nextToken :: Lens' ListLicenses (Maybe Text)
- data ListLicensesResponse = ListLicensesResponse' {}
- newListLicensesResponse :: Int -> ListLicensesResponse
- listLicensesResponse_licenses :: Lens' ListLicensesResponse (Maybe [License])
- listLicensesResponse_nextToken :: Lens' ListLicensesResponse (Maybe Text)
- listLicensesResponse_httpStatus :: Lens' ListLicensesResponse Int
Creating a Request
data ListLicenses Source #
See: newListLicenses smart constructor.
Constructors
| ListLicenses' | |
Fields
| |
Instances
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: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.
ListLicenses, listLicenses_nextToken - Token for the next set of results.
Request Lenses
listLicenses_filters :: Lens' ListLicenses (Maybe [Filter]) Source #
Filters to scope the results. The following filters are supported:
Beneficiary
ProductSKU
Fingerprint
Status
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.
listLicenses_nextToken :: Lens' ListLicenses (Maybe Text) Source #
Token for the next set of results.
Destructuring the Response
data ListLicensesResponse Source #
See: newListLicensesResponse smart constructor.
Constructors
| ListLicensesResponse' | |
Instances
newListLicensesResponse Source #
Arguments
| :: Int | |
| -> ListLicensesResponse |
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:licenses:ListLicensesResponse', listLicensesResponse_licenses - License details.
ListLicenses, listLicensesResponse_nextToken - Token for the next set of results.
$sel:httpStatus:ListLicensesResponse', listLicensesResponse_httpStatus - The response's http status code.
Response Lenses
listLicensesResponse_licenses :: Lens' ListLicensesResponse (Maybe [License]) Source #
License details.
listLicensesResponse_nextToken :: Lens' ListLicensesResponse (Maybe Text) Source #
Token for the next set of results.
listLicensesResponse_httpStatus :: Lens' ListLicensesResponse Int Source #
The response's http status code.