Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Lists the licenses for your account.
Synopsis
- data ListLicenses = ListLicenses' {}
- newListLicenses :: ListLicenses
- listLicenses_filters :: Lens' ListLicenses (Maybe [Filter])
- listLicenses_nextToken :: Lens' ListLicenses (Maybe Text)
- listLicenses_licenseArns :: Lens' ListLicenses (Maybe [Text])
- listLicenses_maxResults :: Lens' ListLicenses (Maybe Natural)
- data ListLicensesResponse = ListLicensesResponse' {}
- newListLicensesResponse :: Int -> ListLicensesResponse
- listLicensesResponse_nextToken :: Lens' ListLicensesResponse (Maybe Text)
- listLicensesResponse_licenses :: Lens' ListLicensesResponse (Maybe [License])
- listLicensesResponse_httpStatus :: Lens' ListLicensesResponse Int
Creating a Request
data ListLicenses Source #
See: newListLicenses
smart constructor.
ListLicenses' | |
|
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: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.
Instances
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
listLicensesResponse_nextToken :: Lens' ListLicensesResponse (Maybe Text) Source #
Token for the next set of results.
listLicensesResponse_licenses :: Lens' ListLicensesResponse (Maybe [License]) Source #
License details.
listLicensesResponse_httpStatus :: Lens' ListLicensesResponse Int Source #
The response's http status code.