Skip to content

Declines invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs

Description

Declines invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.

Usage

guardduty_decline_invitations(AccountIds)

Arguments

  • AccountIds

    [required] A list of account IDs of the Amazon Web Services accounts that sent invitations to the current member account that you want to decline invitations from.

Value

A list with the following syntax:

list(
  UnprocessedAccounts = list(
    list(
      AccountId = "string",
      Result = "string"
    )
  )
)

Request syntax

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