Skip to content

Create Invitations

macie2_create_invitations R Documentation

Sends an Amazon Macie membership invitation to one or more accounts

Description

Sends an Amazon Macie membership invitation to one or more accounts.

Usage

macie2_create_invitations(accountIds, disableEmailNotification, message)

Arguments

accountIds

[required] An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.

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.

message

Custom text to include in the email message that contains the invitation. The text can contain as many as 80 alphanumeric characters.

Value

A list with the following syntax:

list(
  unprocessedAccounts = list(
    list(
      accountId = "string",
      errorCode = "ClientError"|"InternalError",
      errorMessage = "string"
    )
  )
)

Request syntax

svc$create_invitations(
  accountIds = list(
    "string"
  ),
  disableEmailNotification = TRUE|FALSE,
  message = "string"
)