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 |
Returns a list of all invitations for the current AWS account.
Applies only to Hyperledger Fabric.
Synopsis
- data ListInvitations = ListInvitations' {}
- newListInvitations :: ListInvitations
- listInvitations_nextToken :: Lens' ListInvitations (Maybe Text)
- listInvitations_maxResults :: Lens' ListInvitations (Maybe Natural)
- data ListInvitationsResponse = ListInvitationsResponse' {
- invitations :: Maybe [Invitation]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListInvitationsResponse :: Int -> ListInvitationsResponse
- listInvitationsResponse_invitations :: Lens' ListInvitationsResponse (Maybe [Invitation])
- listInvitationsResponse_nextToken :: Lens' ListInvitationsResponse (Maybe Text)
- listInvitationsResponse_httpStatus :: Lens' ListInvitationsResponse Int
Creating a Request
data ListInvitations Source #
See: newListInvitations
smart constructor.
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
- The pagination token that indicates the next set of results to retrieve.
$sel:maxResults:ListInvitations'
, listInvitations_maxResults
- The maximum number of invitations to return.
Request Lenses
listInvitations_nextToken :: Lens' ListInvitations (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
listInvitations_maxResults :: Lens' ListInvitations (Maybe Natural) Source #
The maximum number of invitations to return.
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 invitations for the network.
$sel:nextToken:ListInvitations'
, listInvitationsResponse_nextToken
- The pagination token that indicates the next set of results to retrieve.
$sel:httpStatus:ListInvitationsResponse'
, listInvitationsResponse_httpStatus
- The response's http status code.
Response Lenses
listInvitationsResponse_invitations :: Lens' ListInvitationsResponse (Maybe [Invitation]) Source #
The invitations for the network.
listInvitationsResponse_nextToken :: Lens' ListInvitationsResponse (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
listInvitationsResponse_httpStatus :: Lens' ListInvitationsResponse Int Source #
The response's http status code.