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 grants that are received but not accepted.
Synopsis
- data ListReceivedGrants = ListReceivedGrants' {}
- newListReceivedGrants :: ListReceivedGrants
- listReceivedGrants_filters :: Lens' ListReceivedGrants (Maybe [Filter])
- listReceivedGrants_nextToken :: Lens' ListReceivedGrants (Maybe Text)
- listReceivedGrants_grantArns :: Lens' ListReceivedGrants (Maybe [Text])
- listReceivedGrants_maxResults :: Lens' ListReceivedGrants (Maybe Natural)
- 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.
ListReceivedGrants' | |
|
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:nextToken:ListReceivedGrants'
, listReceivedGrants_nextToken
- Token for the next set of results.
$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.
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_nextToken :: Lens' ListReceivedGrants (Maybe Text) Source #
Token for the next set of results.
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.
Destructuring the Response
data ListReceivedGrantsResponse Source #
See: newListReceivedGrantsResponse
smart constructor.
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.
$sel:nextToken: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.