

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

# AWS 使用者通知 搭配 使用 AWS Billing Conductor
<a name="using-user-notifications"></a>

您可以使用 [AWS 使用者通知](https://docs.aws.amazon.com/notifications/latest/userguide/what-is-service.html)來設定交付管道，以通知您有關 AWS Billing Conductor 事件的資訊。當事件符合指定的規則時，您會收到通知。您可以透過多個管道接收事件通知，包括電子郵件、Amazon Chime、Microsoft Teams [和 Slack 等聊天應用程式中的 Amazon Q Developer](https://docs.aws.amazon.com/chatbot/latest/adminguide/what-is.html)，或[AWS Console Mobile Application](https://docs.aws.amazon.com/consolemobileapp/latest/userguide/what-is-consolemobileapp.html)推送通知。您也可以使用[主控台中的主控台通知中心來查看通知](https://console.aws.amazon.com/notifications/) AWS 使用者通知 。

AWS 使用者通知 也支援彙總，這可以減少您在特定事件期間收到的通知數量。如需詳細資訊，請參閱[「AWS 使用者通知 使用者指南」](https://docs.aws.amazon.com/notifications/latest/userguide/what-is-service.html)。

若要使用 AWS 使用者通知，您必須擁有正確的 AWS Identity and Access Management (IAM) 許可。如需設定 IAM 許可的詳細資訊，請參閱*AWS 使用者通知 《 使用者指南*》中的[建立通知組態](https://docs.aws.amazon.com/notifications/latest/userguide/getting-started.html#getting-started-step1)。

下表列出 支援 AWS Billing Conductor 的事件類型 AWS 使用者通知。


**AWS Billing Conductor 事件類型**  

| 事件類型 | Description | 
| --- | --- | 
| 建議用於帳單轉移的帳單群組組態 | 帳單轉移事件的每日摘要，其中接受的轉移未設定對應的帳單群組，或已刪除與作用中帳單轉移相關聯的帳單群組。接受帳單轉移時，建議您為帳單來源帳戶的組織設定帳單群組，讓該組織中的帳戶能夠存取帳單和成本管理工具中的形式成本資料。如果沒有帳單群組，用量資料仍可透過 CloudWatch 取得，但設定帳單群組可讓帳單來源帳戶管理員更輕鬆地監控成本，例如透過預算組態。此事件類型目前僅支援美國東部 （維吉尼亞北部） 區域 (us-east-1)。 | 

## 範例事件
<a name="using-user-notifications-example-event"></a>

以下是來自 `Billing Group Configuration Recommended for Billing Transfer`的事件範例 AWS Billing Conductor。此事件會發出至來源為 的 Amazon EventBridge`aws.billingconductor`。

```
{
  "account": "<account ID>", // 12-digit account ID
  "region": "us-east-1", // Currently only us-east-1 is supported
  "detail-type": "Billing Group Configuration Recommended for Billing Transfer",
  "source": "aws.billingconductor",
  "version": "0",
  "time": "<date>", // Format: yyyy-MM-dd'T'HH:mm:ssZ
  "id": "<id>", // alphanumeric string
  "resources": [],
  "detail": {
    "targetDate": "<date>", // Format: yyyy-MM-dd
    "recipientId": "<account ID>", // 12-digit recipient account ID
    "eventBridgeEventId": "<event ID>", // unique event identifier
    "directTransfersAccepted": [
      {
        "transferArn": "<transfer ARN>", // ARN of the one-level billing transfer
        "billSourceAccountId": "<account ID>", // 12-digit bill source account ID
        "effectiveTimestamp": "<timestamp>", // Format: yyyy-MM-dd'T'HH:mm:ssZ
        "acceptedTimestamp": "<timestamp>" // Format: yyyy-MM-dd'T'HH:mm:ssZ
      }
    ],
    "indirectTransfersAccepted": [
      {
        "receiverTransferTransferArn": "<transfer ARN>", // ARN of the receiver's transfer
        "transferBillSourceTransferArn": "<transfer ARN>", // ARN of the bill source's transfer
        "billTransferAccountId": "<account ID>", // 12-digit bill transfer account ID
        "billSourceAccountId": "<account ID>", // 12-digit bill source account ID
        "effectiveTimestamp": "<timestamp>", // Format: yyyy-MM-dd'T'HH:mm:ssZ
        "acceptedTimestamp": "<timestamp>" // Format: yyyy-MM-dd'T'HH:mm:ssZ
      }
    ],
    "directBillingGroupsDeleted": [
      {
        "billingGroupArn": "<billing group ARN>", // ARN of the deleted billing group
        "billSourceAccountId": "<account ID>", // 12-digit bill source account ID
        "transferId": "<transfer ID>", // associated transfer ID
        "deletedTimestamp": "<timestamp>" // Format: yyyy-MM-dd'T'HH:mm:ssZ
      }
    ],
    "indirectBillingGroupsDeleted": [
      {
        "billingGroupArn": "<billing group ARN>", // ARN of the deleted billing group
        "billTransferAccountId": "<account ID>", // 12-digit bill transfer account ID
        "billSourceAccountId": "<account ID>", // 12-digit bill source account ID
        "receiverTransferTransferId": "<transfer ID>", // receiver's transfer ID
        "transferBillSourceTransferId": "<transfer ID>", // bill source's transfer ID
        "deletedTimestamp": "<timestamp>" // Format: yyyy-MM-dd'T'HH:mm:ssZ
      }
    ]
  }
}
```