| 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.ListReceivedGrants
Description
Lists grants that are received but not accepted.
Synopsis
- data ListReceivedGrants = ListReceivedGrants' {}
- newListReceivedGrants :: ListReceivedGrants
- listReceivedGrants_filters :: Lens' ListReceivedGrants (Maybe [Filter])
- listReceivedGrants_grantArns :: Lens' ListReceivedGrants (Maybe [Text])
- listReceivedGrants_maxResults :: Lens' ListReceivedGrants (Maybe Natural)
- listReceivedGrants_nextToken :: Lens' ListReceivedGrants (Maybe Text)
- data ListReceivedGrantsResponse = ListReceivedGrantsResponse' {}
- newListReceivedGrantsResponse :: Int -> ListReceivedGrantsResponse
- listReceivedGrantsResponse_grants :: Lens' ListReceivedGrantsResponse (Maybe [Grant])
- listReceivedGrantsResponse_nextToken :: Lens' ListReceivedGrantsResponse (Maybe Text)
- listReceivedGrantsResponse_httpStatus :: Lens' ListReceivedGrantsResponse Int
Creating a Request
data ListReceivedGrants Source #
See: newListReceivedGrants smart constructor.
Constructors
| ListReceivedGrants' | |
Fields
| |
Instances
newListReceivedGrants :: ListReceivedGrants Source #
Create a value of ListReceivedGrants 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:ListReceivedGrants', listReceivedGrants_filters - Filters to scope the results. The following filters are supported:
ProductSKU
LicenseIssuerName
LicenseArn
GrantStatus
GranterAccountId
$sel:grantArns:ListReceivedGrants', listReceivedGrants_grantArns - Amazon Resource Names (ARNs) of the grants.
$sel:maxResults:ListReceivedGrants', listReceivedGrants_maxResults - Maximum number of results to return in a single call.
ListReceivedGrants, listReceivedGrants_nextToken - Token for the next set of results.
Request Lenses
listReceivedGrants_filters :: Lens' ListReceivedGrants (Maybe [Filter]) Source #
Filters to scope the results. The following filters are supported:
ProductSKU
LicenseIssuerName
LicenseArn
GrantStatus
GranterAccountId
listReceivedGrants_grantArns :: Lens' ListReceivedGrants (Maybe [Text]) Source #
Amazon Resource Names (ARNs) of the grants.
listReceivedGrants_maxResults :: Lens' ListReceivedGrants (Maybe Natural) Source #
Maximum number of results to return in a single call.
listReceivedGrants_nextToken :: Lens' ListReceivedGrants (Maybe Text) Source #
Token for the next set of results.
Destructuring the Response
data ListReceivedGrantsResponse Source #
See: newListReceivedGrantsResponse smart constructor.
Constructors
| ListReceivedGrantsResponse' | |
Instances
newListReceivedGrantsResponse Source #
Create a value of ListReceivedGrantsResponse 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:grants:ListReceivedGrantsResponse', listReceivedGrantsResponse_grants - Received grant details.
ListReceivedGrants, listReceivedGrantsResponse_nextToken - Token for the next set of results.
$sel:httpStatus:ListReceivedGrantsResponse', listReceivedGrantsResponse_httpStatus - The response's http status code.
Response Lenses
listReceivedGrantsResponse_grants :: Lens' ListReceivedGrantsResponse (Maybe [Grant]) Source #
Received grant details.
listReceivedGrantsResponse_nextToken :: Lens' ListReceivedGrantsResponse (Maybe Text) Source #
Token for the next set of results.
listReceivedGrantsResponse_httpStatus :: Lens' ListReceivedGrantsResponse Int Source #
The response's http status code.