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 the licenses received for all accounts in the organization.
Synopsis
- data ListReceivedLicensesForOrganization = ListReceivedLicensesForOrganization' {}
- newListReceivedLicensesForOrganization :: ListReceivedLicensesForOrganization
- listReceivedLicensesForOrganization_filters :: Lens' ListReceivedLicensesForOrganization (Maybe [Filter])
- listReceivedLicensesForOrganization_maxResults :: Lens' ListReceivedLicensesForOrganization (Maybe Natural)
- listReceivedLicensesForOrganization_nextToken :: Lens' ListReceivedLicensesForOrganization (Maybe Text)
- data ListReceivedLicensesForOrganizationResponse = ListReceivedLicensesForOrganizationResponse' {
- licenses :: Maybe [GrantedLicense]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListReceivedLicensesForOrganizationResponse :: Int -> ListReceivedLicensesForOrganizationResponse
- listReceivedLicensesForOrganizationResponse_licenses :: Lens' ListReceivedLicensesForOrganizationResponse (Maybe [GrantedLicense])
- listReceivedLicensesForOrganizationResponse_nextToken :: Lens' ListReceivedLicensesForOrganizationResponse (Maybe Text)
- listReceivedLicensesForOrganizationResponse_httpStatus :: Lens' ListReceivedLicensesForOrganizationResponse Int
Creating a Request
data ListReceivedLicensesForOrganization Source #
See: newListReceivedLicensesForOrganization
smart constructor.
Instances
newListReceivedLicensesForOrganization :: ListReceivedLicensesForOrganization Source #
Create a value of ListReceivedLicensesForOrganization
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:ListReceivedLicensesForOrganization'
, listReceivedLicensesForOrganization_filters
- Filters to scope the results. The following filters are supported:
Beneficiary
ProductSKU
$sel:maxResults:ListReceivedLicensesForOrganization'
, listReceivedLicensesForOrganization_maxResults
- Maximum number of results to return in a single call.
ListReceivedLicensesForOrganization
, listReceivedLicensesForOrganization_nextToken
- Token for the next set of results.
Request Lenses
listReceivedLicensesForOrganization_filters :: Lens' ListReceivedLicensesForOrganization (Maybe [Filter]) Source #
Filters to scope the results. The following filters are supported:
Beneficiary
ProductSKU
listReceivedLicensesForOrganization_maxResults :: Lens' ListReceivedLicensesForOrganization (Maybe Natural) Source #
Maximum number of results to return in a single call.
listReceivedLicensesForOrganization_nextToken :: Lens' ListReceivedLicensesForOrganization (Maybe Text) Source #
Token for the next set of results.
Destructuring the Response
data ListReceivedLicensesForOrganizationResponse Source #
See: newListReceivedLicensesForOrganizationResponse
smart constructor.
ListReceivedLicensesForOrganizationResponse' | |
|
Instances
newListReceivedLicensesForOrganizationResponse Source #
:: Int |
|
-> ListReceivedLicensesForOrganizationResponse |
Create a value of ListReceivedLicensesForOrganizationResponse
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:ListReceivedLicensesForOrganizationResponse'
, listReceivedLicensesForOrganizationResponse_licenses
- Lists the licenses the organization has received.
ListReceivedLicensesForOrganization
, listReceivedLicensesForOrganizationResponse_nextToken
- Token for the next set of results.
$sel:httpStatus:ListReceivedLicensesForOrganizationResponse'
, listReceivedLicensesForOrganizationResponse_httpStatus
- The response's http status code.
Response Lenses
listReceivedLicensesForOrganizationResponse_licenses :: Lens' ListReceivedLicensesForOrganizationResponse (Maybe [GrantedLicense]) Source #
Lists the licenses the organization has received.
listReceivedLicensesForOrganizationResponse_nextToken :: Lens' ListReceivedLicensesForOrganizationResponse (Maybe Text) Source #
Token for the next set of results.
listReceivedLicensesForOrganizationResponse_httpStatus :: Lens' ListReceivedLicensesForOrganizationResponse Int Source #
The response's http status code.