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 |
Accepts the invitation to be monitored by a master GuardDuty account.
- acceptInvitation :: Text -> AcceptInvitation
- data AcceptInvitation
- aiMasterId :: Lens' AcceptInvitation (Maybe Text)
- aiInvitationId :: Lens' AcceptInvitation (Maybe Text)
- aiDetectorId :: Lens' AcceptInvitation Text
- acceptInvitationResponse :: Int -> AcceptInvitationResponse
- data AcceptInvitationResponse
- airsResponseStatus :: Lens' AcceptInvitationResponse Int
Creating a Request
Creates a value of AcceptInvitation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aiMasterId
- The account ID of the master GuardDuty account whose invitation you're accepting.aiInvitationId
- This value is used to validate the master account to the member account.aiDetectorId
- The unique ID of the detector of the GuardDuty member account.
data AcceptInvitation Source #
AcceptInvitation request body.
See: acceptInvitation
smart constructor.
Request Lenses
aiMasterId :: Lens' AcceptInvitation (Maybe Text) Source #
The account ID of the master GuardDuty account whose invitation you're accepting.
aiInvitationId :: Lens' AcceptInvitation (Maybe Text) Source #
This value is used to validate the master account to the member account.
aiDetectorId :: Lens' AcceptInvitation Text Source #
The unique ID of the detector of the GuardDuty member account.
Destructuring the Response
acceptInvitationResponse Source #
Creates a value of AcceptInvitationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
airsResponseStatus
- -- | The response status code.
data AcceptInvitationResponse Source #
See: acceptInvitationResponse
smart constructor.
Response Lenses
airsResponseStatus :: Lens' AcceptInvitationResponse Int Source #
- - | The response status code.