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.

To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the list_detectors API.

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"
)