

Le traduzioni sono generate tramite traduzione automatica. In caso di conflitto tra il contenuto di una traduzione e la versione originale in Inglese, quest'ultima prevarrà.

# Monitoraggio HealthLake degli eventi tramite Amazon EventBridge
<a name="monitoring-eventbridge"></a>

Amazon EventBridge è un servizio serverless che utilizza gli eventi per connettere tra loro i componenti delle applicazioni, semplificando la creazione di applicazioni scalabili basate sugli eventi. [https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-events.html](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-events.html) AWS HealthLake fornisce una fornitura duratura delle modifiche di stato a EventBridge. Per ulteriori informazioni, consulta [What is Amazon EventBridge?](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is.html) nella *Amazon EventBridge User Guide*.

**Nota**  
Per informazioni su come inviare HealthLake eventi ad Amazon EventBridge, consulta [Amazon EventBridge integration for AWS HealthLake](https://aws.amazon.com/blogs/industries/amazon-eventbridge-integration-for-aws-healthlake) nel blog *AWS for Industries*. 

**Topics**
+ [HealthLake eventi inviati a EventBridge](#event-notifications-listing)
+ [HealthLake struttura dell'evento](#event-notifications-structure)

## HealthLake eventi inviati a EventBridge
<a name="event-notifications-listing"></a>

La tabella seguente elenca tutti HealthLake gli eventi inviati EventBridge ad essere elaborati.

<a name="event-notifications-table"></a>
<table>
<thead>
  <tr><th>HealthLake tipo di evento</th><th>Stato</th></tr>
</thead>
<tbody>
  <tr><td colspan="2"> eventi dell'archivio dati </td></tr>
  <tr><td>     Creazione di archivi dati</td><td>CREATING</td></tr>
  <tr><td>     Data Store attivo</td><td>ACTIVE</td></tr>
  <tr><td>     Eliminazione dell'archivio dati</td><td>DELETING</td></tr>
  <tr><td>     Archivio dati eliminato</td><td>DELETED</td></tr>
  <tr><td>     Creazione dell'archivio dati non riuscita</td><td>CREATE\_FAILED</td></tr>
  <tr><td colspan="2">Per ulteriori informazioni, consulta [https://docs.aws.amazon.com/healthlake/latest/APIReference/API_DatastoreProperties.html#HealthLake-Type-DatastoreProperties-DatastoreStatus](https://docs.aws.amazon.com/healthlake/latest/APIReference/API_DatastoreProperties.html#HealthLake-Type-DatastoreProperties-DatastoreStatus) nella *documentazione di riferimento dell’API AWS HealthLake *.</td></tr>
  <tr><td colspan="2"> Importazione degli eventi di lavoro </td></tr>
  <tr><td>     Importa Job inviato</td><td>SUBMITTED</td></tr>
  <tr><td>     Importazione Job in corso</td><td>IN\_PROGRESS</td></tr>
  <tr><td>     Job di importazione completato con errori</td><td>COMPLETED\_WITH\_ERRORS</td></tr>
  <tr><td>     Importazione Job completata</td><td>COMPLETED</td></tr>
  <tr><td>     Importazione Job non riuscita</td><td>FAILED</td></tr>
  <tr><td colspan="2">Per ulteriori informazioni, consulta [https://docs.aws.amazon.com/healthlake/latest/APIReference/API_ImportJobProperties.html#HealthLake-Type-ImportJobProperties-JobStatus](https://docs.aws.amazon.com/healthlake/latest/APIReference/API_ImportJobProperties.html#HealthLake-Type-ImportJobProperties-JobStatus) nella *documentazione di riferimento dell’API AWS HealthLake *.</td></tr>
  <tr><td colspan="2"> Esportazione degli eventi di lavoro </td></tr>
  <tr><td>     Export Job inviato</td><td>SUBMITTED</td></tr>
  <tr><td>     Esporta Job in corso</td><td>IN\_PROGRESS</td></tr>
  <tr><td>     Job di esportazione completato con errori</td><td>COMPLETED\_WITH\_ERRORS</td></tr>
  <tr><td>     Job di esportazione completato</td><td>COMPLETED</td></tr>
  <tr><td>     Esportazione Job non riuscita</td><td>FAILED</td></tr>
  <tr><td colspan="2">Per ulteriori informazioni, consulta [https://docs.aws.amazon.com/healthlake/latest/APIReference/API_ExportJobProperties.html#HealthLake-Type-ExportJobProperties-JobStatus](https://docs.aws.amazon.com/healthlake/latest/APIReference/API_ExportJobProperties.html#HealthLake-Type-ExportJobProperties-JobStatus) nella *documentazione di riferimento dell’API AWS HealthLake *.</td></tr>
</tbody>
</table>


## HealthLake struttura dell'evento
<a name="event-notifications-structure"></a>

HealthLake gli eventi sono oggetti con struttura JSON che contengono anche dettagli sui metadati. È possibile utilizzare i metadati come input per ricreare un evento o ottenere ulteriori informazioni. Tutti i campi di metadati associati sono elencati in una tabella sotto gli esempi di codice nei seguenti menu. Per ulteriori informazioni, consulta i [metadati degli eventi di AWS servizio](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-events-structure.html) nella *Amazon EventBridge User Guide*.

**Nota**  
Per informazioni su come inviare HealthLake eventi ad Amazon EventBridge, consulta [Amazon EventBridge integration for AWS HealthLake](https://aws.amazon.com/blogs/industries/amazon-eventbridge-integration-for-aws-healthlake) nel blog *AWS for Industries*. 

### Eventi del data store
<a name="event-notifications-data-store"></a>

------
#### [ Data Store Creating ]

**Stato - `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 ]

**Stato - `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 ]

**Stato - `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 ]

**Stato - `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/"
    }
}
```

------


**Eventi dell'archivio dati: descrizioni dei metadati**  

| Name | Tipo | Description | 
| --- | --- | --- | 
| version | stringa | La versione dello schema degli EventBridge eventi. | 
| id | stringa | L'UUID della versione 4 generato per ogni evento. | 
| detail-type | stringa | Il tipo di evento che viene inviato. | 
| source | stringa | Identifica il servizio che ha generato l’evento. | 
| account | stringa | L'ID dell'account AWS a 12 cifre del proprietario del data store. | 
| time | stringa | L'ora in cui si è verificato l'evento. | 
| region | stringa | Identifica la AWS regione dell'archivio dati. | 
| resources | array (stringa) | Un array JSON che contiene l'ARN dell'archivio dati. | 
| detail | oggetto | Un oggetto JSON contenente informazioni sull’evento. | 
| detail.datastoreId | stringa | L'ID del data store associato all'evento di modifica dello stato. | 
| detail.datastoreName | stringa | Il nome del data store. | 
| detail.datastoreTypeVersion | stringa | La versione FHIR del data store. | 
| detail.datastoreEndpoint | stringa | L'endpoint del data store. | 

### Importa eventi di lavoro
<a name="event-notifications-import-jobs"></a>

------
#### [ Import Job Submitted ]

**Stato - `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 ]

**Stato - `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 ]

**Stato - `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 ]

**Stato - `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 ]

**Stato - `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/"
        }
    }
}
```

------


**Importa eventi di lavoro - descrizioni dei metadati**  

| Name | Tipo | Description | 
| --- | --- | --- | 
| version | stringa | La versione dello schema degli EventBridge eventi. | 
| id | stringa | L'UUID della versione 4 generato per ogni evento. | 
| detail-type | stringa | Il tipo di evento che viene inviato. | 
| source | stringa | Identifica il servizio che ha generato l’evento. | 
| account | stringa | L'ID dell'account AWS a 12 cifre del proprietario del data store. | 
| time | stringa | L'ora in cui si è verificato l'evento. | 
| region | stringa | Identifica la AWS regione dell'archivio dati. | 
| resources | array (stringa) | Un array JSON che contiene l'ARN dell'archivio dati. | 
| detail | oggetto | Un oggetto JSON contenente informazioni sull’evento. | 
| detail.jobId | stringa | L'ID del processo di importazione associato all'evento di modifica dello stato. | 
| detail.submitTime | stringa | L'ora in cui è stato inviato il processo di importazione. | 
| detail.datastoreId | stringa | L'archivio dati che ha generato l'evento di modifica dello stato. | 
| detail.inputDataConfig | stringa | Il percorso del prefisso di input per il bucket Amazon S3 che contiene i file FHIR da importare. | 

### Esporta eventi di lavoro
<a name="event-notifications-export-jobs"></a>

------
#### [ Export Job Submitted ]

**Stato - `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 ]

**Stato - `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 ]

**Stato - `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 ]

**Stato - `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 ]

**Stato - `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/"
        }
    }
}
```

------


**Esporta eventi di lavoro - descrizioni dei metadati**  

| Name | Tipo | Description | 
| --- | --- | --- | 
| version | stringa | La versione dello schema degli EventBridge eventi. | 
| id | stringa | L'UUID della versione 4 generato per ogni evento. | 
| detail-type | stringa | Il tipo di evento che viene inviato. | 
| source | stringa | Identifica il servizio che ha generato l’evento. | 
| account | stringa | L'ID dell'account AWS a 12 cifre del proprietario del data store. | 
| time | stringa | L'ora in cui si è verificato l'evento. | 
| region | stringa | Identifica la AWS regione dell'archivio dati. | 
| resources | array (stringa) | Un array JSON che contiene l'ARN dell'archivio dati. | 
| detail | oggetto | Un oggetto JSON contenente informazioni sull’evento. | 
| detail.jobId | stringa | L'ID del lavoro di esportazione associato all'evento di modifica dello stato. | 
| detail.submitTime | stringa | L'ora in cui è stato inviato il processo di esportazione. | 
| detail.datastoreId | stringa | L'archivio dati che ha generato l'evento di modifica dello stato. | 
| detail.outputDataConfig | stringa | Il percorso del prefisso di output per il bucket Amazon S3 che contiene i file FHIR da esportare. | 