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 received licenses.
Synopsis
- data ListReceivedLicenses = ListReceivedLicenses' {}
- newListReceivedLicenses :: ListReceivedLicenses
- listReceivedLicenses_filters :: Lens' ListReceivedLicenses (Maybe [Filter])
- listReceivedLicenses_nextToken :: Lens' ListReceivedLicenses (Maybe Text)
- listReceivedLicenses_licenseArns :: Lens' ListReceivedLicenses (Maybe [Text])
- listReceivedLicenses_maxResults :: Lens' ListReceivedLicenses (Maybe Natural)
- data ListReceivedLicensesResponse = ListReceivedLicensesResponse' {
- nextToken :: Maybe Text
- licenses :: Maybe [GrantedLicense]
- httpStatus :: Int
- newListReceivedLicensesResponse :: Int -> ListReceivedLicensesResponse
- listReceivedLicensesResponse_nextToken :: Lens' ListReceivedLicensesResponse (Maybe Text)
- listReceivedLicensesResponse_licenses :: Lens' ListReceivedLicensesResponse (Maybe [GrantedLicense])
- 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:nextToken:ListReceivedLicenses'
, listReceivedLicenses_nextToken
- Token for the next set of results.
$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.
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_nextToken :: Lens' ListReceivedLicenses (Maybe Text) Source #
Token for the next set of results.
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.
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:nextToken:ListReceivedLicenses'
, listReceivedLicensesResponse_nextToken
- Token for the next set of results.
$sel:licenses:ListReceivedLicensesResponse'
, listReceivedLicensesResponse_licenses
- Received license details.
$sel:httpStatus:ListReceivedLicensesResponse'
, listReceivedLicensesResponse_httpStatus
- The response's http status code.
Response Lenses
listReceivedLicensesResponse_nextToken :: Lens' ListReceivedLicensesResponse (Maybe Text) Source #
Token for the next set of results.
listReceivedLicensesResponse_licenses :: Lens' ListReceivedLicensesResponse (Maybe [GrantedLicense]) Source #
Received license details.
listReceivedLicensesResponse_httpStatus :: Lens' ListReceivedLicensesResponse Int Source #
The response's http status code.