

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 回复行为图邀请
<a name="member-invitation-response"></a>

在你接受邀请后，Detective 会检查成员账户的数量。行为图的最大成员账户数为 1200 个。如果行为图中已包含 1200 个成员账户，则无法启用新账户。

接受邀请后，您的帐户中将启用 Detective。Detective 会检查你的数据量是否在侦探配额之内。流入行为图的数据量必须小于 Detective 允许的最大值。如果当前摄取的容量高于每天 10 TB 的限制，则无法添加更多帐户，Detective 将禁止进一步摄取数据。Detective 控制台会显示一条通知，指出数据量太大且状态仍为 “**未启用”**。

如果拒绝邀请，则该邀请就会从邀请列表中删除，Detective 也不会在行为图中使用账户数据。

## 回复行为图邀请（控制台）
<a name="member-invitation-response-console"></a>

您可以使用回复电子邮件邀请，其中包括指向 Detective 控制台的链接。 AWS 管理控制台 只能回复状态为**已邀请**的邀请。

**要回复行为图邀请（控制台）**

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
  ```