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 |
Accepts the invitation to be monitored by a GuardDuty administrator account.
Synopsis
- data AcceptInvitation = AcceptInvitation' {
- detectorId :: Text
- masterId :: Text
- invitationId :: Text
- newAcceptInvitation :: Text -> Text -> Text -> AcceptInvitation
- acceptInvitation_detectorId :: Lens' AcceptInvitation Text
- acceptInvitation_masterId :: Lens' AcceptInvitation Text
- acceptInvitation_invitationId :: Lens' AcceptInvitation Text
- data AcceptInvitationResponse = AcceptInvitationResponse' {
- httpStatus :: Int
- newAcceptInvitationResponse :: Int -> AcceptInvitationResponse
- acceptInvitationResponse_httpStatus :: Lens' AcceptInvitationResponse Int
Creating a Request
data AcceptInvitation Source #
See: newAcceptInvitation
smart constructor.
AcceptInvitation' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> AcceptInvitation |
Create a value of AcceptInvitation
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:detectorId:AcceptInvitation'
, acceptInvitation_detectorId
- The unique ID of the detector of the GuardDuty member account.
$sel:masterId:AcceptInvitation'
, acceptInvitation_masterId
- The account ID of the GuardDuty administrator account whose invitation
you're accepting.
$sel:invitationId:AcceptInvitation'
, acceptInvitation_invitationId
- The value that is used to validate the administrator account to the
member account.
Request Lenses
acceptInvitation_detectorId :: Lens' AcceptInvitation Text Source #
The unique ID of the detector of the GuardDuty member account.
acceptInvitation_masterId :: Lens' AcceptInvitation Text Source #
The account ID of the GuardDuty administrator account whose invitation you're accepting.
acceptInvitation_invitationId :: Lens' AcceptInvitation Text Source #
The value that is used to validate the administrator account to the member account.
Destructuring the Response
data AcceptInvitationResponse Source #
See: newAcceptInvitationResponse
smart constructor.
AcceptInvitationResponse' | |
|
Instances
newAcceptInvitationResponse Source #
Create a value of AcceptInvitationResponse
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:httpStatus:AcceptInvitationResponse'
, acceptInvitationResponse_httpStatus
- The response's http status code.
Response Lenses
acceptInvitationResponse_httpStatus :: Lens' AcceptInvitationResponse Int Source #
The response's http status code.