

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

# AWS Supply Chain 事件詳細資訊參考
<a name="events-detail-reference"></a>

 AWS 服務中的所有事件都有一組通用的欄位，其中包含事件的中繼資料，例如事件來源 AWS 的服務、事件產生的時間、事件發生的帳戶和區域，以及其他。如需這些一般欄位的定義，請參閱*Amazon EventBridge 《 使用者指南*》中的[事件結構參考](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-events-structure.html)。

此外，每個事件都有一個 `detail` 欄位，其中包含該特定事件的特定資料。以下參考定義了各種 AWS Supply Chain 事件的詳細資訊欄位。

使用 EventBridge 來選取和管理 AWS Supply Chain 事件時，請謹記下列事項：
+ 來自 的所有事件的 `source` 欄位 AWS Supply Chain 都設定為 `aws.supplychain`。
+ `detail-type` 欄位指定事件類型。

  例如 `AWS Supply Chain Data Integration Status Change`。
+ `detail` 欄位包含該特定事件的特定資料。

如需建構事件模式以讓規則符合 AWS Supply Chain 事件的資訊，請參閱*Amazon EventBridge 《 使用者指南*》中的[事件模式](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html)。

如需事件及其 EventBridge 處理方式的詳細資訊，請參閱*Amazon EventBridge 《 使用者指南*》中的[Amazon EventBridge 事件](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-events.html)。

## AWS 供應鏈資料整合狀態變更
<a name="event-detail-event-name-1-no-caps-or-spaces"></a>

以下是`AWS Supply Chain Data Integration Status Change event`事件的範例。

```
                  
{
    "version": "0",
    "id": "instanceID",
    "detail-type": "AWS Supply Chain Data Integration Status Change",
    "source": "aws.supplychain",
    "account": "acccountID",
    "time": "2024-03-30T12:26:13Z",
    "region": "us-east-1",
    "resources": [],
    "detail": {
        "version": "1.0",
        "instanceId": "instanceID",
        "flowArn": "arn:aws:scn:region:acccountID:instance/instanceID/data-integration-flows/flowname",
        "flowExecutionId": "flowExecutionId",
        "status": "IN_PROGRESS",
        "startTime": "2024-03-30T12:26:13Z",
        "endTime": "",
        "message": "",
        "sourceType": "S3",
        "sourceInfo": {
            "s3Source": {
                "bucketName": "aws-supply-chain-data-instanceID",
                "key": "flowname"
            }
        }
    }
}
```

`endTime` 只有在*狀態*為失敗或成功時才可用。