| 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.ListDistributedGrants
Description
Lists the grants distributed for the specified license.
Synopsis
- data ListDistributedGrants = ListDistributedGrants' {}
- newListDistributedGrants :: ListDistributedGrants
- listDistributedGrants_filters :: Lens' ListDistributedGrants (Maybe [Filter])
- listDistributedGrants_grantArns :: Lens' ListDistributedGrants (Maybe [Text])
- listDistributedGrants_maxResults :: Lens' ListDistributedGrants (Maybe Natural)
- listDistributedGrants_nextToken :: Lens' ListDistributedGrants (Maybe Text)
- data ListDistributedGrantsResponse = ListDistributedGrantsResponse' {}
- newListDistributedGrantsResponse :: Int -> ListDistributedGrantsResponse
- listDistributedGrantsResponse_grants :: Lens' ListDistributedGrantsResponse (Maybe [Grant])
- listDistributedGrantsResponse_nextToken :: Lens' ListDistributedGrantsResponse (Maybe Text)
- listDistributedGrantsResponse_httpStatus :: Lens' ListDistributedGrantsResponse Int
Creating a Request
data ListDistributedGrants Source #
See: newListDistributedGrants smart constructor.
Constructors
| ListDistributedGrants' | |
Fields
| |
Instances
newListDistributedGrants :: ListDistributedGrants Source #
Create a value of ListDistributedGrants 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:ListDistributedGrants', listDistributedGrants_filters - Filters to scope the results. The following filters are supported:
LicenseArn
GrantStatus
GranteePrincipalARN
ProductSKU
LicenseIssuerName
$sel:grantArns:ListDistributedGrants', listDistributedGrants_grantArns - Amazon Resource Names (ARNs) of the grants.
$sel:maxResults:ListDistributedGrants', listDistributedGrants_maxResults - Maximum number of results to return in a single call.
ListDistributedGrants, listDistributedGrants_nextToken - Token for the next set of results.
Request Lenses
listDistributedGrants_filters :: Lens' ListDistributedGrants (Maybe [Filter]) Source #
Filters to scope the results. The following filters are supported:
LicenseArn
GrantStatus
GranteePrincipalARN
ProductSKU
LicenseIssuerName
listDistributedGrants_grantArns :: Lens' ListDistributedGrants (Maybe [Text]) Source #
Amazon Resource Names (ARNs) of the grants.
listDistributedGrants_maxResults :: Lens' ListDistributedGrants (Maybe Natural) Source #
Maximum number of results to return in a single call.
listDistributedGrants_nextToken :: Lens' ListDistributedGrants (Maybe Text) Source #
Token for the next set of results.
Destructuring the Response
data ListDistributedGrantsResponse Source #
See: newListDistributedGrantsResponse smart constructor.
Constructors
| ListDistributedGrantsResponse' | |
Instances
newListDistributedGrantsResponse Source #
Create a value of ListDistributedGrantsResponse 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:ListDistributedGrantsResponse', listDistributedGrantsResponse_grants - Distributed grant details.
ListDistributedGrants, listDistributedGrantsResponse_nextToken - Token for the next set of results.
$sel:httpStatus:ListDistributedGrantsResponse', listDistributedGrantsResponse_httpStatus - The response's http status code.
Response Lenses
listDistributedGrantsResponse_grants :: Lens' ListDistributedGrantsResponse (Maybe [Grant]) Source #
Distributed grant details.
listDistributedGrantsResponse_nextToken :: Lens' ListDistributedGrantsResponse (Maybe Text) Source #
Token for the next set of results.
listDistributedGrantsResponse_httpStatus :: Lens' ListDistributedGrantsResponse Int Source #
The response's http status code.