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 |
Invites other AWS accounts (created as members of the current AWS account by CreateMembers) to enable GuardDuty and allow the current AWS account to view and manage these accounts' GuardDuty findings on their behalf as the master account.
Synopsis
- inviteMembers :: Text -> InviteMembers
- data InviteMembers
- imAccountIds :: Lens' InviteMembers [Text]
- imDisableEmailNotification :: Lens' InviteMembers (Maybe Bool)
- imMessage :: Lens' InviteMembers (Maybe Text)
- imDetectorId :: Lens' InviteMembers Text
- inviteMembersResponse :: Int -> InviteMembersResponse
- data InviteMembersResponse
- imrsUnprocessedAccounts :: Lens' InviteMembersResponse [UnprocessedAccount]
- imrsResponseStatus :: Lens' InviteMembersResponse Int
Creating a Request
Creates a value of InviteMembers
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
imAccountIds
- A list of account IDs of the accounts that you want to invite to GuardDuty as members.imDisableEmailNotification
- A boolean value that specifies whether you want to disable email notification to the accounts that you’re inviting to GuardDuty as members.imMessage
- The invitation message that you want to send to the accounts that you’re inviting to GuardDuty as members.imDetectorId
- The unique ID of the detector of the GuardDuty account with which you want to invite members.
data InviteMembers Source #
InviteMembers request body.
See: inviteMembers
smart constructor.
Instances
Request Lenses
imAccountIds :: Lens' InviteMembers [Text] Source #
A list of account IDs of the accounts that you want to invite to GuardDuty as members.
imDisableEmailNotification :: Lens' InviteMembers (Maybe Bool) Source #
A boolean value that specifies whether you want to disable email notification to the accounts that you’re inviting to GuardDuty as members.
imMessage :: Lens' InviteMembers (Maybe Text) Source #
The invitation message that you want to send to the accounts that you’re inviting to GuardDuty as members.
imDetectorId :: Lens' InviteMembers Text Source #
The unique ID of the detector of the GuardDuty account with which you want to invite members.
Destructuring the Response
inviteMembersResponse Source #
Creates a value of InviteMembersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
imrsUnprocessedAccounts
- A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.imrsResponseStatus
- -- | The response status code.
data InviteMembersResponse Source #
See: inviteMembersResponse
smart constructor.
Instances
Response Lenses
imrsUnprocessedAccounts :: Lens' InviteMembersResponse [UnprocessedAccount] Source #
A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.
imrsResponseStatus :: Lens' InviteMembersResponse Int Source #
- - | The response status code.