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 |
Sends an Amazon Macie membership invitation to one or more accounts.
Synopsis
- data CreateInvitations = CreateInvitations' {
- disableEmailNotification :: Maybe Bool
- message :: Maybe Text
- accountIds :: [Text]
- newCreateInvitations :: CreateInvitations
- createInvitations_disableEmailNotification :: Lens' CreateInvitations (Maybe Bool)
- createInvitations_message :: Lens' CreateInvitations (Maybe Text)
- createInvitations_accountIds :: Lens' CreateInvitations [Text]
- data CreateInvitationsResponse = CreateInvitationsResponse' {}
- newCreateInvitationsResponse :: Int -> CreateInvitationsResponse
- createInvitationsResponse_unprocessedAccounts :: Lens' CreateInvitationsResponse (Maybe [UnprocessedAccount])
- createInvitationsResponse_httpStatus :: Lens' CreateInvitationsResponse Int
Creating a Request
data CreateInvitations Source #
See: newCreateInvitations
smart constructor.
CreateInvitations' | |
|
Instances
newCreateInvitations :: CreateInvitations Source #
Create a value of CreateInvitations
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:disableEmailNotification:CreateInvitations'
, createInvitations_disableEmailNotification
- Specifies whether to send the invitation as an email message. If this
value is false, Amazon Macie sends the invitation (as an email message)
to the email address that you specified for the recipient's account
when you associated the account with your account. The default value is
false.
$sel:message:CreateInvitations'
, createInvitations_message
- Custom text to include in the email message that contains the
invitation. The text can contain as many as 80 alphanumeric characters.
$sel:accountIds:CreateInvitations'
, createInvitations_accountIds
- An array that lists Amazon Web Services account IDs, one for each
account to send the invitation to.
Request Lenses
createInvitations_disableEmailNotification :: Lens' CreateInvitations (Maybe Bool) Source #
Specifies whether to send the invitation as an email message. If this value is false, Amazon Macie sends the invitation (as an email message) to the email address that you specified for the recipient's account when you associated the account with your account. The default value is false.
createInvitations_message :: Lens' CreateInvitations (Maybe Text) Source #
Custom text to include in the email message that contains the invitation. The text can contain as many as 80 alphanumeric characters.
createInvitations_accountIds :: Lens' CreateInvitations [Text] Source #
An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.
Destructuring the Response
data CreateInvitationsResponse Source #
See: newCreateInvitationsResponse
smart constructor.
CreateInvitationsResponse' | |
|
Instances
newCreateInvitationsResponse Source #
Create a value of CreateInvitationsResponse
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:unprocessedAccounts:CreateInvitationsResponse'
, createInvitationsResponse_unprocessedAccounts
- An array of objects, one for each account whose invitation hasn't been
processed. Each object identifies the account and explains why the
invitation hasn't been processed for the account.
$sel:httpStatus:CreateInvitationsResponse'
, createInvitationsResponse_httpStatus
- The response's http status code.
Response Lenses
createInvitationsResponse_unprocessedAccounts :: Lens' CreateInvitationsResponse (Maybe [UnprocessedAccount]) Source #
An array of objects, one for each account whose invitation hasn't been processed. Each object identifies the account and explains why the invitation hasn't been processed for the account.
createInvitationsResponse_httpStatus :: Lens' CreateInvitationsResponse Int Source #
The response's http status code.