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 the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.
Synopsis
- data GetInvitationsCount = GetInvitationsCount' {
- newGetInvitationsCount :: GetInvitationsCount
- data GetInvitationsCountResponse = GetInvitationsCountResponse' {}
- newGetInvitationsCountResponse :: Int -> GetInvitationsCountResponse
- getInvitationsCountResponse_invitationsCount :: Lens' GetInvitationsCountResponse (Maybe Int)
- getInvitationsCountResponse_httpStatus :: Lens' GetInvitationsCountResponse Int
Creating a Request
data GetInvitationsCount Source #
See: newGetInvitationsCount
smart constructor.
Instances
newGetInvitationsCount :: GetInvitationsCount Source #
Create a value of GetInvitationsCount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetInvitationsCountResponse Source #
See: newGetInvitationsCountResponse
smart constructor.
GetInvitationsCountResponse' | |
|
Instances
newGetInvitationsCountResponse Source #
Create a value of GetInvitationsCountResponse
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:invitationsCount:GetInvitationsCountResponse'
, getInvitationsCountResponse_invitationsCount
- The number of received invitations.
$sel:httpStatus:GetInvitationsCountResponse'
, getInvitationsCountResponse_httpStatus
- The response's http status code.
Response Lenses
getInvitationsCountResponse_invitationsCount :: Lens' GetInvitationsCountResponse (Maybe Int) Source #
The number of received invitations.
getInvitationsCountResponse_httpStatus :: Lens' GetInvitationsCountResponse Int Source #
The response's http status code.