

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 回應行為圖表邀請
<a name="member-invitation-response"></a>

在您接受邀請後，Detective 會檢查成員帳戶的數量。行為圖表中成員帳戶的數目上限為 1,200。如果行為圖表已包含 1,200 個成員帳戶，則無法啟用新帳戶。

接受邀請後，Detective 會在您的帳戶中啟用。Detective 會檢查您的資料磁碟區是否在 Detective 配額內。流入行為圖表的資料量必須小於 Detective 允許的最大值。如果目前擷取的磁碟區超過每天 10 TB 的限制，您無法新增更多帳戶，且 Detective 會停用進一步的資料擷取。Detective 主控台會顯示通知，指出資料磁碟區太大且狀態保持**未啟用**。

如果您拒絕邀請，則該邀請會從邀請清單中移除，且 Detective 不會在行為圖表中使用您的帳戶資料。

## 回應行為圖表邀請 (主控台)
<a name="member-invitation-response-console"></a>

您可以使用 AWS 管理主控台 來回應電子郵件邀請，其中包含 Detective 主控台的連結。您只能回應狀態為**已邀請**的邀請。

**若要回應行為圖表邀請 (主控台)**

1. 前往 [https://console.aws.amazon.com/detective/](https://console.aws.amazon.com/detective/) 開啟 Amazon Detective 主控台。

1. 在 Detective 導覽窗格中，選擇**帳戶管理**。

1. 在**我的管理員帳戶**下，若要接受邀請並開始向行為圖表貢獻資料，選擇**接受邀請**。

   若要拒絕邀請並將其從清單中移除，選擇**拒絕**。

## 回應行為圖表邀請 (Detective API) AWS CLI
<a name="member-invitation-response-api"></a>

您可以從 Detective API 或 AWS Command Line Interface回應行為圖表邀請。

**接受行為圖表邀請 (Detective API) AWS CLI**
+ **Detective API：**使用 [https://docs.aws.amazon.com/detective/latest/APIReference/API_AcceptInvitation.html](https://docs.aws.amazon.com/detective/latest/APIReference/API_AcceptInvitation.html) 操作。您必須指定圖表 ARN。
+ **AWS CLI：**在命令列中執行 [https://docs.aws.amazon.com/cli/latest/reference/detective/accept-invitation.html](https://docs.aws.amazon.com/cli/latest/reference/detective/accept-invitation.html) 命令。

  ```
  aws detective accept-invitation --graph-arn {{<behavior graph ARN>}}
  ```

  範例：

  ```
  aws detective accept-invitation --graph-arn arn:aws:detective:us-east-1:111122223333:graph:123412341234
  ```

**拒絕行為圖表邀請 (Detective API) AWS CLI**
+ **Detective API：**使用 [https://docs.aws.amazon.com/detective/latest/APIReference/API_RejectInvitation.html](https://docs.aws.amazon.com/detective/latest/APIReference/API_RejectInvitation.html) 操作。您必須指定圖表 ARN。
+ **AWS CLI：**在命令列中執行 [https://docs.aws.amazon.com/cli/latest/reference/detective/reject-invitation.html](https://docs.aws.amazon.com/cli/latest/reference/detective/reject-invitation.html) 命令。

  ```
  aws detective reject-invitation --graph-arn {{<behavior graph ARN>}}
  ```

  範例：

  ```
  aws detective reject-invitation --graph-arn arn:aws:detective:us-east-1:111122223333:graph:123412341234
  ```