Skip to content

Decline Invitations

macie2_decline_invitations R Documentation

Declines Amazon Macie membership invitations that were received from specific accounts

Description

Declines Amazon Macie membership invitations that were received from specific accounts.

Usage

macie2_decline_invitations(accountIds)

Arguments

accountIds

[required] An array that lists Amazon Web Services account IDs, one for each account that sent an invitation to decline.

Value

A list with the following syntax:

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

Request syntax

svc$decline_invitations(
  accountIds = list(
    "string"
  )
)