翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。
Amazon EventBridge を使用した HealthLake イベントのモニタリング EventBridge
Amazon EventBridge は、イベントを使用してアプリケーションコンポーネント同士を接続するサーバーレスサービスです。これにより、スケーラブルなイベント駆動型アプリケーションを簡単に構築できます。EventBridge の基礎は、イベントをターゲットにルーティングするルールを作成することです。 AWS HealthLake はEventBridge に状態変更を永続的に配信します。詳細については、「Amazon EventBridge ユーザーガイド」の「Amazon EventBridge とは」を参照してください。
EventBridge に送信される HealthLake イベント EventBridge
次の表に、処理のために EventBridge に送信されたすべての HealthLake イベントを示します。
| HealthLake イベントタイプ |
State |
| データストアイベント |
| データストアの作成 |
CREATING |
| データストアがアクティブ |
ACTIVE |
| データストアの削除 |
DELETING |
| データストアの削除 |
DELETED |
| データストアの作成に失敗しました |
CREATE_FAILED |
|
詳細については、「AWS HealthLake API リファレンス」の「datastoreStatus」を参照してください。
|
| ジョブイベントをインポートする |
| インポートジョブが送信されました |
SUBMITTED |
| インポート中のジョブ |
IN_PROGRESS |
| エラーで完了したジョブのインポート |
COMPLETED_WITH_ERRORS |
| インポートジョブが完了しました |
COMPLETED |
| ジョブのインポートに失敗しました |
FAILED |
|
詳細については、「AWS HealthLake API リファレンス」の「jobStatus」を参照してください。
|
| ジョブイベントのエクスポート |
| エクスポートジョブが送信されました |
SUBMITTED |
| ジョブのエクスポート中 |
IN_PROGRESS |
| エラーで完了したジョブのエクスポート |
COMPLETED_WITH_ERRORS |
| エクスポートジョブが完了しました |
COMPLETED |
| エクスポートジョブが失敗しました |
FAILED |
|
詳細については、「AWS HealthLake API リファレンス」の「jobStatus」を参照してください。
|
HealthLake イベント構造
HealthLake イベントは、メタデータの詳細を含む JSON 構造を持つオブジェクトです。メタデータを入力として使用して、イベントを再作成するか、詳細情報を確認できます。関連するすべてのメタデータフィールドは、次のメニューのコード例の下の表に一覧表示されます。詳細については、「Amazon EventBridge ユーザーガイド」のAWS 「サービスイベントメタデータ」を参照してください。
- Data Store Creating
-
状態 - CREATING
{
"version": "0",
"id": "514ad836-bb8a-4523-a10b-fa2756c3bdb0",
"detail-type": "Data Store Creating",
"source": "aws.healthlake",
"account": "123456789012",
"time": "2023-12-08T08:58:12Z",
"region": "us-east-1",
"resources":
[
"arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/eeb8005725ae22b35b4edbdc68cf2dfd"
],
"detail":
{
"datastoreId": "eeb8005725ae22b35b4edbdc68cf2dfd",
"datastoreName": "your-data-store-name",
"datastoreTypeVersion": "R4",
"datastoreEndpoint": "https://healthlake.us-east-1.amazonaws.com/datastore/eeb8005725ae22b35b4edbdc68cf2dfd/r4/"
}
}
- Data Store Active
-
状態 - ACTIVE
{
"version": "0",
"id": "d57105bc-0d2d-4009-b34d-453e2567c599",
"detail-type": "Data Store Active",
"source": "aws.healthlake",
"account": "123456789012",
"time": "2023-12-08T09:16:51Z",
"region": "us-east-1",
"resources":
[
"arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/eeb8005725ae22b35b4edbdc68cf2dfd"
],
"detail":
{
"datastoreId": "eeb8005725ae22b35b4edbdc68cf2dfd",
"datastoreName": "your-data-store-name",
"datastoreTypeVersion": "R4",
"datastoreEndpoint": "https://healthlake.us-east-1.amazonaws.com/datastore/eeb8005725ae22b35b4edbdc68cf2dfd/r4/"
}
}
- Data Store Deleting
-
状態 - DELETING
{
"version": "0",
"id": "d135ee1f-e14a-4730-8766-7b98f822c94a",
"detail-type": "Data Store Deleting",
"source": "aws.healthlake",
"account": "123456789012",
"time": "2023-12-08T12:44:47Z",
"region": "us-east-1",
"resources":
[
"arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/eeb8005725ae22b35b4edbdc68cf2dfd"
],
"detail":
{
"datastoreId": "eeb8005725ae22b35b4edbdc68cf2dfd",
"datastoreName": "your-data-store-name",
"datastoreTypeVersion": "R4",
"datastoreEndpoint": "https://healthlake.us-east-1.amazonaws.com/datastore/eeb8005725ae22b35b4edbdc68cf2dfd/r4/"
}
}
- Data Store Deleted
-
状態 - DELETED
{
"version": "0",
"id": "6d880b86-e115-4947-81a9-494db704571a",
"detail-type": "Data Store Deleted",
"source": "aws.healthlake",
"account": "123456789012",
"time": "2023-05-12T12:58:03Z",
"region": "us-east-1",
"resources":
[
"arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/eeb8005725ae22b35b4edbdc68cf2dfd"
],
"detail":
{
"datastoreId": "eeb8005725ae22b35b4edbdc68cf2dfd",
"datastoreName": "your-data-store-name",
"datastoreTypeVersion": "R4",
"datastoreEndpoint": "https://healthlake.us-east-1.amazonaws.com/datastore/eeb8005725ae22b35b4edbdc68cf2dfd/r4/"
}
}
データストアイベント - メタデータの説明
| 名前 |
型 |
説明 |
version |
string |
EventBridge イベントスキーマのバージョン。 |
id |
string |
イベントごとに生成されたバージョン 4 UUID。 |
detail-type |
string |
送信されるイベントのタイプ。 |
source |
string |
イベントを発生させたサービスを識別します。 |
account |
string |
データストア所有者の 12 桁の AWS アカウント ID。 |
time |
string |
イベントが発生した時刻。 |
region |
string |
データストアの AWS リージョンを識別します。 |
resources |
配列 (文字列) |
データストアの ARN を含む JSON 配列。 |
detail |
オブジェクト |
イベントに関する情報を含む JSON オブジェクト。 |
detail.datastoreId |
string |
ステータス変更イベントに関連付けられたデータストア ID。 |
detail.datastoreName |
string |
データストア名。 |
detail.datastoreTypeVersion |
string |
データストアの FHIR バージョン。 |
detail.datastoreEndpoint |
string |
データストアエンドポイント。 |
- Import Job Submitted
-
状態 - SUBMITTED
{
"version": "0",
"id": "25e606f7-800c-da41-45df-0e68587250c9",
"detail-type": "Import Job Submitted",
"source": "aws.healthlake",
"account": "123456789012",
"time": "2023-12-08T01:50:51Z",
"region": "us-east-1",
"resources":
[
"arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/eeb8005725ae22b35b4edbdc68cf2dfd"
],
"detail":
{
"jobId": "08c60716d6321710893ff88410e902c2",
"submitTime": "2023-12-08T01:50:50.986Z",
"datastoreId": "eeb8005725ae22b35b4edbdc68cf2dfd",
"inputDataConfig":
{
"s3Uri": "s3://amzn-s3-demo-source-bucket/input/"
}
}
}
- Import Job In Progress
-
状態 - IN_PROGRESS
{
"version": "0",
"id": "cc886b49-2737-19c4-7c4e-84ac9429ab73",
"detail-type": "Import Job In Progress",
"source": "aws.healthlake",
"account": "123456789012",
"time": "2023-12-08T01:51:23Z",
"region": "us-east-1",
"resources":
[
"arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/eeb8005725ae22b35b4edbdc68cf2dfd"
],
"detail":
{
"jobId": "08c60716d6321710893ff88410e902c2",
"submitTime": "2023-12-08T01:50:50.986Z",
"datastoreId": "eeb8005725ae22b35b4edbdc68cf2dfd",
"inputDataConfig":
{
"s3Uri": "s3://amzn-s3-demo-source-bucket/input/"
}
}
}
- Import Job Completed
-
状態 - COMPLETED
{
"version": "0",
"id": "36c865ef-da41-76ef-c882-3ba8dad8656b",
"detail-type": "Import Job Completed",
"source": "aws.healthlake",
"account": "123456789012",
"time": "2023-12-08T02:14:42Z",
"region": "us-east-1",
"resources":
[
"arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/eeb8005725ae22b35b4edbdc68cf2dfd"
],
"detail":
{
"jobId": "08c60716d6321710893ff88410e902c2",
"submitTime": "2023-12-08T01:50:50.986Z",
"datastoreId": "eeb8005725ae22b35b4edbdc68cf2dfd",
"inputDataConfig":
{
"s3Uri": "s3://amzn-s3-demo-source-bucket/input/"
}
}
}
- Import Job Completed With Errors
-
状態 - COMPLETED_WITH_ERRORS
{
"version": "0",
"id": "b61387d7-bffe-4f01-8291-65dc4be52cc1",
"detail-type": "Import Job Completed With Errors",
"source": "aws.healthlake",
"account": "123456789012",
"time": "2023-12-08T02:14:42Z",
"region": "us-east-1",
"resources":
[
"arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/eeb8005725ae22b35b4edbdc68cf2dfd"
],
"detail":
{
"jobId": "08c60716d6321710893ff88410e902c2",
"submitTime": "2023-12-08T01:50:50.986Z",
"datastoreId": "eeb8005725ae22b35b4edbdc68cf2dfd",
"inputDataConfig":
{
"s3Uri": "s3://amzn-s3-demo-source-bucket/input/"
}
}
}
- Import Job Failed
-
状態 - FAILED
{
"version": "0",
"id": "c4d65575-d1a7-4040-9c6c-c225bf6723c5",
"detail-type": "Import Job Failed",
"source": "aws.healthlake",
"account": "123456789012",
"time": "2023-12-08T02:14:42Z",
"region": "us-east-1",
"resources":
[
"arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/eeb8005725ae22b35b4edbdc68cf2dfd"
],
"detail":
{
"jobId": "08c60716d6321710893ff88410e902c2",
"submitTime": "2023-12-08T01:50:50.986Z",
"datastoreId": "eeb8005725ae22b35b4edbdc68cf2dfd",
"inputDataConfig":
{
"s3Uri": "s3://amzn-s3-demo-source-bucket/input/"
}
}
}
ジョブイベントのインポート - メタデータの説明
| 名前 |
型 |
説明 |
version |
string |
EventBridge イベントスキーマのバージョン。 |
id |
string |
イベントごとに生成されたバージョン 4 UUID。 |
detail-type |
string |
送信されるイベントのタイプ。 |
source |
string |
イベントを発生させたサービスを識別します。 |
account |
string |
データストア所有者の 12 桁の AWS アカウント ID。 |
time |
string |
イベントが発生した時刻。 |
region |
string |
データストアの AWS リージョンを識別します。 |
resources |
配列 (文字列) |
データストアの ARN を含む JSON 配列。 |
detail |
オブジェクト |
イベントに関する情報を含む JSON オブジェクト。 |
detail.jobId |
string |
ステータス変更イベントに関連付けられたインポートジョブ ID。 |
detail.submitTime |
string |
インポートジョブが送信された時刻。 |
detail.datastoreId |
string |
ステータス変更イベントを生成したデータストア。 |
detail.inputDataConfig |
string |
インポートする FHIR ファイルを含む Amazon S3 バケットの入力プレフィックスパス。 |
- Export Job Submitted
-
状態 - SUBMITTED
{
"version": "0",
"id": "f8af7d04-2221-4f02-a01a-6fc3ae403bab",
"detail-type": "Export Job Submitted",
"source": "aws.healthlake",
"account": "123456789012",
"time": "2023-12-08T01:50:51Z",
"region": "us-east-1",
"resources":
[
"arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/eeb8005725ae22b35b4edbdc68cf2dfd"
],
"detail":
{
"jobId": "45e899e545bf774710388260fc60b143",
"submitTime": "2023-12-08T01:50:50.986Z",
"datastoreId": "eeb8005725ae22b35b4edbdc68cf2dfd",
"outputDataConfig":
{
"s3Uri": "s3://amzn-s3-demo-source-bucket/output/"
}
}
}
- Export Job In Progress
-
状態 - IN_PROGRESS
{
"version": "0",
"id": "7bb7e39c-707d-4a83-8532-cee015299100",
"detail-type": "Export Job In Progress",
"source": "aws.healthlake",
"account": "123456789012",
"time": "2023-12-08T01:51:23Z",
"region": "us-east-1",
"resources":
[
"arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/eeb8005725ae22b35b4edbdc68cf2dfd"
],
"detail":
{
"jobId": "45e899e545bf774710388260fc60b143",
"submitTime": "2023-12-08T01:50:50.986Z",
"datastoreId": "eeb8005725ae22b35b4edbdc68cf2dfd",
"outputDataConfig":
{
"s3Uri": "s3://amzn-s3-demo-source-bucket/output/"
}
}
}
- Export Job Completed
-
状態 - COMPLETED
{
"version": "0",
"id": "d7629aa7-e63a-4b84-858c-96a62b57ebc8",
"detail-type": "Export Job Completed",
"source": "aws.healthlake",
"account": "123456789012",
"time": "2023-12-08T02:14:42Z",
"region": "us-east-1",
"resources":
[
"arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/eeb8005725ae22b35b4edbdc68cf2dfd"
],
"detail":
{
"jobId": "45e899e545bf774710388260fc60b143",
"submitTime": "2023-12-08T01:50:50.986Z",
"datastoreId": "eeb8005725ae22b35b4edbdc68cf2dfd",
"outputDataConfig":
{
"s3Uri": "s3://amzn-s3-demo-source-bucket/output/"
}
}
}
- Export Job Completed With Errors
-
状態 - COMPLETED_WITH_ERRORS
{
"version": "0",
"id": "5fa50bc5-50e3-4bc4-b66a-1b1d2f7b07a7",
"detail-type": "Export Job Completed With Errors",
"source": "aws.healthlake",
"account": "123456789012",
"time": "2023-12-08T02:14:42Z",
"region": "us-east-1",
"resources":
[
"arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/eeb8005725ae22b35b4edbdc68cf2dfd"
],
"detail":
{
"jobId": "45e899e545bf774710388260fc60b143",
"submitTime": "2023-12-08T01:50:50.986Z",
"datastoreId": "eeb8005725ae22b35b4edbdc68cf2dfd",
"outputDataConfig":
{
"s3Uri": "s3://amzn-s3-demo-source-bucket/output/"
}
}
}
- Export Job Failed
-
状態 - FAILED
{
"version": "0",
"id": "49fce45e-7e02-4846-8582-e7f19ca039cb",
"detail-type": "Export Job Failed",
"source": "aws.healthlake",
"account": "123456789012",
"time": "2023-12-08T02:14:42Z",
"region": "us-east-1",
"resources":
[
"arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/eeb8005725ae22b35b4edbdc68cf2dfd"
],
"detail":
{
"jobId": "45e899e545bf774710388260fc60b143",
"submitTime": "2023-12-08T01:50:50.986Z",
"datastoreId": "eeb8005725ae22b35b4edbdc68cf2dfd",
"outputDataConfig":
{
"s3Uri": "s3://amzn-s3-demo-source-bucket/output/"
}
}
}
ジョブイベントのエクスポート - メタデータの説明
| 名前 |
型 |
説明 |
version |
string |
EventBridge イベントスキーマのバージョン。 |
id |
string |
イベントごとに生成されたバージョン 4 UUID。 |
detail-type |
string |
送信されるイベントのタイプ。 |
source |
string |
イベントを発生させたサービスを識別します。 |
account |
string |
データストア所有者の 12 桁の AWS アカウント ID。 |
time |
string |
イベントが発生した時刻。 |
region |
string |
データストアの AWS リージョンを識別します。 |
resources |
配列 (文字列) |
データストアの ARN を含む JSON 配列。 |
detail |
オブジェクト |
イベントに関する情報を含む JSON オブジェクト。 |
detail.jobId |
string |
ステータス変更イベントに関連付けられたエクスポートジョブ ID。 |
detail.submitTime |
string |
エクスポートジョブが送信された時刻。 |
detail.datastoreId |
string |
ステータス変更イベントを生成したデータストア。 |
detail.outputDataConfig |
string |
エクスポートする FHIR ファイルを含む Amazon S3 バケットの出力プレフィックスパス。 |