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 |
Lists received licenses.
Synopsis
- data ListReceivedLicenses = ListReceivedLicenses' {}
- newListReceivedLicenses :: ListReceivedLicenses
- listReceivedLicenses_filters :: Lens' ListReceivedLicenses (Maybe [Filter])
- listReceivedLicenses_licenseArns :: Lens' ListReceivedLicenses (Maybe [Text])
- listReceivedLicenses_maxResults :: Lens' ListReceivedLicenses (Maybe Natural)
- listReceivedLicenses_nextToken :: Lens' ListReceivedLicenses (Maybe Text)
- data ListReceivedLicensesResponse = ListReceivedLicensesResponse' {
- licenses :: Maybe [GrantedLicense]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListReceivedLicensesResponse :: Int -> ListReceivedLicensesResponse
- listReceivedLicensesResponse_licenses :: Lens' ListReceivedLicensesResponse (Maybe [GrantedLicense])
- listReceivedLicensesResponse_nextToken :: Lens' ListReceivedLicensesResponse (Maybe Text)
- listReceivedLicensesResponse_httpStatus :: Lens' ListReceivedLicensesResponse Int
Creating a Request
data ListReceivedLicenses Source #
See: newListReceivedLicenses
smart constructor.
ListReceivedLicenses' | |
|
Instances
newListReceivedLicenses :: ListReceivedLicenses Source #
Create a value of ListReceivedLicenses
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:ListReceivedLicenses'
, listReceivedLicenses_filters
- Filters to scope the results. The following filters are supported:
ProductSKU
Status
Fingerprint
IssuerName
Beneficiary
$sel:licenseArns:ListReceivedLicenses'
, listReceivedLicenses_licenseArns
- Amazon Resource Names (ARNs) of the licenses.
$sel:maxResults:ListReceivedLicenses'
, listReceivedLicenses_maxResults
- Maximum number of results to return in a single call.
ListReceivedLicenses
, listReceivedLicenses_nextToken
- Token for the next set of results.
Request Lenses
listReceivedLicenses_filters :: Lens' ListReceivedLicenses (Maybe [Filter]) Source #
Filters to scope the results. The following filters are supported:
ProductSKU
Status
Fingerprint
IssuerName
Beneficiary
listReceivedLicenses_licenseArns :: Lens' ListReceivedLicenses (Maybe [Text]) Source #
Amazon Resource Names (ARNs) of the licenses.
listReceivedLicenses_maxResults :: Lens' ListReceivedLicenses (Maybe Natural) Source #
Maximum number of results to return in a single call.
listReceivedLicenses_nextToken :: Lens' ListReceivedLicenses (Maybe Text) Source #
Token for the next set of results.
Destructuring the Response
data ListReceivedLicensesResponse Source #
See: newListReceivedLicensesResponse
smart constructor.
ListReceivedLicensesResponse' | |
|
Instances
newListReceivedLicensesResponse Source #
Create a value of ListReceivedLicensesResponse
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:ListReceivedLicensesResponse'
, listReceivedLicensesResponse_licenses
- Received license details.
ListReceivedLicenses
, listReceivedLicensesResponse_nextToken
- Token for the next set of results.
$sel:httpStatus:ListReceivedLicensesResponse'
, listReceivedLicensesResponse_httpStatus
- The response's http status code.
Response Lenses
listReceivedLicensesResponse_licenses :: Lens' ListReceivedLicensesResponse (Maybe [GrantedLicense]) Source #
Received license details.
listReceivedLicensesResponse_nextToken :: Lens' ListReceivedLicensesResponse (Maybe Text) Source #
Token for the next set of results.
listReceivedLicensesResponse_httpStatus :: Lens' ListReceivedLicensesResponse Int Source #
The response's http status code.