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 |
Retrieves the list of open and accepted behavior graph invitations for the member account. This operation can only be called by a member account.
Open invitations are invitations that the member account has not responded to.
The results do not include behavior graphs for which the member account declined the invitation. The results also do not include behavior graphs that the member account resigned from or was removed from.
Synopsis
- data ListInvitations = ListInvitations' {}
- newListInvitations :: ListInvitations
- listInvitations_nextToken :: Lens' ListInvitations (Maybe Text)
- listInvitations_maxResults :: Lens' ListInvitations (Maybe Natural)
- data ListInvitationsResponse = ListInvitationsResponse' {
- invitations :: Maybe [MemberDetail]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListInvitationsResponse :: Int -> ListInvitationsResponse
- listInvitationsResponse_invitations :: Lens' ListInvitationsResponse (Maybe [MemberDetail])
- listInvitationsResponse_nextToken :: Lens' ListInvitationsResponse (Maybe Text)
- listInvitationsResponse_httpStatus :: Lens' ListInvitationsResponse Int
Creating a Request
data ListInvitations Source #
See: newListInvitations
smart constructor.
ListInvitations' | |
|
Instances
newListInvitations :: ListInvitations Source #
Create a value of ListInvitations
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:nextToken:ListInvitations'
, listInvitations_nextToken
- For requests to retrieve the next page of results, the pagination token
that was returned with the previous page of results. The initial request
does not include a pagination token.
$sel:maxResults:ListInvitations'
, listInvitations_maxResults
- The maximum number of behavior graph invitations to return in the
response. The total must be less than the overall limit on the number of
results to return, which is currently 200.
Request Lenses
listInvitations_nextToken :: Lens' ListInvitations (Maybe Text) Source #
For requests to retrieve the next page of results, the pagination token that was returned with the previous page of results. The initial request does not include a pagination token.
listInvitations_maxResults :: Lens' ListInvitations (Maybe Natural) Source #
The maximum number of behavior graph invitations to return in the response. The total must be less than the overall limit on the number of results to return, which is currently 200.
Destructuring the Response
data ListInvitationsResponse Source #
See: newListInvitationsResponse
smart constructor.
ListInvitationsResponse' | |
|
Instances
newListInvitationsResponse Source #
Create a value of ListInvitationsResponse
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:invitations:ListInvitationsResponse'
, listInvitationsResponse_invitations
- The list of behavior graphs for which the member account has open or
accepted invitations.
$sel:nextToken:ListInvitations'
, listInvitationsResponse_nextToken
- If there are more behavior graphs remaining in the results, then this is
the pagination token to use to request the next page of behavior graphs.
$sel:httpStatus:ListInvitationsResponse'
, listInvitationsResponse_httpStatus
- The response's http status code.
Response Lenses
listInvitationsResponse_invitations :: Lens' ListInvitationsResponse (Maybe [MemberDetail]) Source #
The list of behavior graphs for which the member account has open or accepted invitations.
listInvitationsResponse_nextToken :: Lens' ListInvitationsResponse (Maybe Text) Source #
If there are more behavior graphs remaining in the results, then this is the pagination token to use to request the next page of behavior graphs.
listInvitationsResponse_httpStatus :: Lens' ListInvitationsResponse Int Source #
The response's http status code.