restore_fhir_datastore
¶
restore_fhir_datastore(
source_datastore_id: DatastoreId,
restore_configuration: RestoreConfiguration,
*,
config_overrides: Optional[HealthLakeClientConfig] = None,
datastore_name: Optional[DatastoreName] = None,
sse_configuration: Optional[SseConfiguration] = None,
client_token: Optional[ClientTokenString] = None,
tags: Optional[TagList] = None,
identity_provider_configuration: Optional[IdentityProviderConfiguration] = None,
analytics_configuration: Optional[AnalyticsConfiguration] = None,
nlp_configuration: Optional[NlpConfiguration] = None,
profile_configuration: Optional[ProfileConfiguration] = None,
) -> RestoreFHIRDatastoreResponse
Restore a backup-enabled data store to a point in time. Creates a new data store from the backup.
Parameters:
-
source_datastore_id(DatastoreId) –The identifier of the source data store to restore from.
-
restore_configuration(RestoreConfiguration) –The restore configuration specifying the type and parameters for the restore.
-
datastore_name(Optional[DatastoreName], default:None) –The name for the restored data store.
-
sse_configuration(Optional[SseConfiguration], default:None) –The server-side encryption key configuration for the restored data store.
-
client_token(Optional[ClientTokenString], default:None) –An optional user-provided token to ensure API idempotency of the restore.
-
tags(Optional[TagList], default:None) –The resource tags applied to the restored data store.
-
identity_provider_configuration(Optional[IdentityProviderConfiguration], default:None) –The identity provider configuration for the restored data store.
-
analytics_configuration(Optional[AnalyticsConfiguration], default:None) –The analytics configuration for the restored data store.
-
nlp_configuration(Optional[NlpConfiguration], default:None) –The NLP configuration for the restored data store.
-
profile_configuration(Optional[ProfileConfiguration], default:None) –The profile configuration for the restored data store.
Raises:
-
AccessDeniedException–Access is denied. Your account is not authorized to perform this operation.
-
ConflictException–The data store is in a transition state and the user requested action cannot be performed.
-
InternalServerException–An unknown internal error occurred in the service.
-
ResourceNotFoundException–The requested data store was not found.
-
ThrottlingException–The user has exceeded their maximum number of allowed calls to the given API.
-
ValidationException–The user input parameter was invalid.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Restore a data store to a point in time
>>> client.restore_fhir_datastore(source_datastore_id='source-datastore-id', restore_configuration={'ContinuousBackupRestoreConfiguration': {'RestorePointTime': '2026-08-01T00:00:00Z'}}, datastore_name='RestoredFhirDatastore')
Source code in docs_src/capo_healthlake/_services/health_lake.py
1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 | |