Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Lists all GuardDuty membership invitations that were sent to the current AWS account.
This operation returns paginated results.
Synopsis
- listInvitations :: ListInvitations
- data ListInvitations
- liNextToken :: Lens' ListInvitations (Maybe Text)
- liMaxResults :: Lens' ListInvitations (Maybe Natural)
- listInvitationsResponse :: Int -> ListInvitationsResponse
- data ListInvitationsResponse
- lirsInvitations :: Lens' ListInvitationsResponse [Invitation]
- lirsNextToken :: Lens' ListInvitationsResponse (Maybe Text)
- lirsResponseStatus :: Lens' ListInvitationsResponse Int
Creating a Request
listInvitations :: ListInvitations Source #
Creates a value of ListInvitations
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
liNextToken
- You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListInvitations action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.liMaxResults
- You can use this parameter to indicate the maximum number of invitations you want in the response. The default value is 50. The maximum value is 50.
data ListInvitations Source #
See: listInvitations
smart constructor.
Instances
Request Lenses
liNextToken :: Lens' ListInvitations (Maybe Text) Source #
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListInvitations action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
liMaxResults :: Lens' ListInvitations (Maybe Natural) Source #
You can use this parameter to indicate the maximum number of invitations you want in the response. The default value is 50. The maximum value is 50.
Destructuring the Response
listInvitationsResponse Source #
Creates a value of ListInvitationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lirsInvitations
- Undocumented member.lirsNextToken
- Undocumented member.lirsResponseStatus
- -- | The response status code.
data ListInvitationsResponse Source #
See: listInvitationsResponse
smart constructor.
Instances
Response Lenses
lirsInvitations :: Lens' ListInvitationsResponse [Invitation] Source #
Undocumented member.
lirsNextToken :: Lens' ListInvitationsResponse (Maybe Text) Source #
Undocumented member.
lirsResponseStatus :: Lens' ListInvitationsResponse Int Source #
- - | The response status code.