Skip to content

Get Master Account

guardduty_get_master_account R Documentation

Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account

Description

Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.

Usage

guardduty_get_master_account(DetectorId)

Arguments

DetectorId

[required] The unique ID of the detector of the GuardDuty member account.

Value

A list with the following syntax:

list(
  Master = list(
    AccountId = "string",
    InvitationId = "string",
    RelationshipStatus = "string",
    InvitedAt = "string"
  )
)

Request syntax

svc$get_master_account(
  DetectorId = "string"
)