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 grants received for all accounts in the organization.
Synopsis
- data ListReceivedGrantsForOrganization = ListReceivedGrantsForOrganization' {}
- newListReceivedGrantsForOrganization :: Text -> ListReceivedGrantsForOrganization
- listReceivedGrantsForOrganization_filters :: Lens' ListReceivedGrantsForOrganization (Maybe [Filter])
- listReceivedGrantsForOrganization_maxResults :: Lens' ListReceivedGrantsForOrganization (Maybe Natural)
- listReceivedGrantsForOrganization_nextToken :: Lens' ListReceivedGrantsForOrganization (Maybe Text)
- listReceivedGrantsForOrganization_licenseArn :: Lens' ListReceivedGrantsForOrganization Text
- data ListReceivedGrantsForOrganizationResponse = ListReceivedGrantsForOrganizationResponse' {}
- newListReceivedGrantsForOrganizationResponse :: Int -> ListReceivedGrantsForOrganizationResponse
- listReceivedGrantsForOrganizationResponse_grants :: Lens' ListReceivedGrantsForOrganizationResponse (Maybe [Grant])
- listReceivedGrantsForOrganizationResponse_nextToken :: Lens' ListReceivedGrantsForOrganizationResponse (Maybe Text)
- listReceivedGrantsForOrganizationResponse_httpStatus :: Lens' ListReceivedGrantsForOrganizationResponse Int
Creating a Request
data ListReceivedGrantsForOrganization Source #
See: newListReceivedGrantsForOrganization
smart constructor.
ListReceivedGrantsForOrganization' | |
|
Instances
newListReceivedGrantsForOrganization Source #
Create a value of ListReceivedGrantsForOrganization
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:ListReceivedGrantsForOrganization'
, listReceivedGrantsForOrganization_filters
- Filters to scope the results. The following filters are supported:
ParentArn
GranteePrincipalArn
$sel:maxResults:ListReceivedGrantsForOrganization'
, listReceivedGrantsForOrganization_maxResults
- Maximum number of results to return in a single call.
ListReceivedGrantsForOrganization
, listReceivedGrantsForOrganization_nextToken
- Token for the next set of results.
ListReceivedGrantsForOrganization
, listReceivedGrantsForOrganization_licenseArn
- The Amazon Resource Name (ARN) of the received license.
Request Lenses
listReceivedGrantsForOrganization_filters :: Lens' ListReceivedGrantsForOrganization (Maybe [Filter]) Source #
Filters to scope the results. The following filters are supported:
ParentArn
GranteePrincipalArn
listReceivedGrantsForOrganization_maxResults :: Lens' ListReceivedGrantsForOrganization (Maybe Natural) Source #
Maximum number of results to return in a single call.
listReceivedGrantsForOrganization_nextToken :: Lens' ListReceivedGrantsForOrganization (Maybe Text) Source #
Token for the next set of results.
listReceivedGrantsForOrganization_licenseArn :: Lens' ListReceivedGrantsForOrganization Text Source #
The Amazon Resource Name (ARN) of the received license.
Destructuring the Response
data ListReceivedGrantsForOrganizationResponse Source #
See: newListReceivedGrantsForOrganizationResponse
smart constructor.
Instances
newListReceivedGrantsForOrganizationResponse Source #
Create a value of ListReceivedGrantsForOrganizationResponse
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:ListReceivedGrantsForOrganizationResponse'
, listReceivedGrantsForOrganizationResponse_grants
- Lists the grants the organization has received.
ListReceivedGrantsForOrganization
, listReceivedGrantsForOrganizationResponse_nextToken
- Token for the next set of results.
$sel:httpStatus:ListReceivedGrantsForOrganizationResponse'
, listReceivedGrantsForOrganizationResponse_httpStatus
- The response's http status code.
Response Lenses
listReceivedGrantsForOrganizationResponse_grants :: Lens' ListReceivedGrantsForOrganizationResponse (Maybe [Grant]) Source #
Lists the grants the organization has received.
listReceivedGrantsForOrganizationResponse_nextToken :: Lens' ListReceivedGrantsForOrganizationResponse (Maybe Text) Source #
Token for the next set of results.
listReceivedGrantsForOrganizationResponse_httpStatus :: Lens' ListReceivedGrantsForOrganizationResponse Int Source #
The response's http status code.