Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent the invitation.
Synopsis
- data AcceptAdministratorInvitation = AcceptAdministratorInvitation' {}
- newAcceptAdministratorInvitation :: Text -> Text -> Text -> AcceptAdministratorInvitation
- acceptAdministratorInvitation_detectorId :: Lens' AcceptAdministratorInvitation Text
- acceptAdministratorInvitation_administratorId :: Lens' AcceptAdministratorInvitation Text
- acceptAdministratorInvitation_invitationId :: Lens' AcceptAdministratorInvitation Text
- data AcceptAdministratorInvitationResponse = AcceptAdministratorInvitationResponse' {
- httpStatus :: Int
- newAcceptAdministratorInvitationResponse :: Int -> AcceptAdministratorInvitationResponse
- acceptAdministratorInvitationResponse_httpStatus :: Lens' AcceptAdministratorInvitationResponse Int
Creating a Request
data AcceptAdministratorInvitation Source #
See: newAcceptAdministratorInvitation
smart constructor.
AcceptAdministratorInvitation' | |
|
Instances
newAcceptAdministratorInvitation Source #
:: Text | |
-> Text | |
-> Text | |
-> AcceptAdministratorInvitation |
Create a value of AcceptAdministratorInvitation
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:
AcceptAdministratorInvitation
, acceptAdministratorInvitation_detectorId
- The unique ID of the detector of the GuardDuty member account.
AcceptAdministratorInvitation
, acceptAdministratorInvitation_administratorId
- The account ID of the GuardDuty administrator account whose invitation
you're accepting.
AcceptAdministratorInvitation
, acceptAdministratorInvitation_invitationId
- The value that is used to validate the administrator account to the
member account.
Request Lenses
acceptAdministratorInvitation_detectorId :: Lens' AcceptAdministratorInvitation Text Source #
The unique ID of the detector of the GuardDuty member account.
acceptAdministratorInvitation_administratorId :: Lens' AcceptAdministratorInvitation Text Source #
The account ID of the GuardDuty administrator account whose invitation you're accepting.
acceptAdministratorInvitation_invitationId :: Lens' AcceptAdministratorInvitation Text Source #
The value that is used to validate the administrator account to the member account.
Destructuring the Response
data AcceptAdministratorInvitationResponse Source #
See: newAcceptAdministratorInvitationResponse
smart constructor.
AcceptAdministratorInvitationResponse' | |
|
Instances
newAcceptAdministratorInvitationResponse Source #
Create a value of AcceptAdministratorInvitationResponse
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:AcceptAdministratorInvitationResponse'
, acceptAdministratorInvitationResponse_httpStatus
- The response's http status code.
Response Lenses
acceptAdministratorInvitationResponse_httpStatus :: Lens' AcceptAdministratorInvitationResponse Int Source #
The response's http status code.