Learn R Programming

paws.security.identity (version 0.1.11)

guardduty_create_members: Creates member accounts of the current AWS account by specifying a list of AWS account IDs

Description

Creates member accounts of the current AWS account by specifying a list of AWS account IDs. This step is a prerequisite for managing the associated member accounts either by invitation or through an organization.

When using Create Members as an organizations delegated administrator this action will enable GuardDuty in the added member accounts, with the exception of the organization delegated administrator account, which must enable GuardDuty prior to being added as a member.

If you are adding accounts by invitation use this action after GuardDuty has been enabled in potential member accounts and before using Invite Members .

Usage

guardduty_create_members(DetectorId, AccountDetails)

Arguments

DetectorId

[required] The unique ID of the detector of the GuardDuty account that you want to associate member accounts with.

AccountDetails

[required] A list of account ID and email address pairs of the accounts that you want to associate with the GuardDuty administrator account.

Value

A list with the following syntax:

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

Request syntax

svc$create_members(
  DetectorId = "string",
  AccountDetails = list(
    list(
      AccountId = "string",
      Email = "string"
    )
  )
)