Smaws_Client_Neptune.RestoreDBClusterToPointInTimeRestores a DB cluster to an arbitrary point in time. Users can restore to any point in time before LatestRestorableTime for up to BackupRetentionPeriod days. The target DB cluster is created from the source DB cluster with the same configuration as the original DB cluster, except that the new DB cluster is created with the default DB security group.
This action only restores the DB cluster, not the DB instances for that DB cluster. You must invoke the CreateDBInstance action to create DB instances for the restored DB cluster, specifying the identifier of the restored DB cluster in DBClusterIdentifier. You can create DB instances only after the RestoreDBClusterToPointInTime action has completed and the DB cluster is available.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `DBClusterAlreadyExistsFault of Types.db_cluster_already_exists_fault
| `DBClusterNotFoundFault of Types.db_cluster_not_found_fault
| `DBClusterParameterGroupNotFoundFault of
Types.db_cluster_parameter_group_not_found_fault
| `DBClusterQuotaExceededFault of Types.db_cluster_quota_exceeded_fault
| `DBClusterSnapshotNotFoundFault of
Types.db_cluster_snapshot_not_found_fault
| `DBSubnetGroupNotFoundFault of Types.db_subnet_group_not_found_fault
| `InsufficientDBClusterCapacityFault of
Types.insufficient_db_cluster_capacity_fault
| `InsufficientStorageClusterCapacityFault of
Types.insufficient_storage_cluster_capacity_fault
| `InvalidDBClusterSnapshotStateFault of
Types.invalid_db_cluster_snapshot_state_fault
| `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault
| `InvalidDBSnapshotStateFault of Types.invalid_db_snapshot_state_fault
| `InvalidRestoreFault of Types.invalid_restore_fault
| `InvalidSubnet of Types.invalid_subnet
| `InvalidVPCNetworkStateFault of Types.invalid_vpc_network_state_fault
| `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault
| `NetworkTypeNotSupportedFault of Types.network_type_not_supported_fault
| `OptionGroupNotFoundFault of Types.option_group_not_found_fault
| `StorageQuotaExceededFault of Types.storage_quota_exceeded_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.restore_db_cluster_to_point_in_time_message ->
(Types.restore_db_cluster_to_point_in_time_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DBClusterAlreadyExistsFault of Types.db_cluster_already_exists_fault
| `DBClusterNotFoundFault of Types.db_cluster_not_found_fault
| `DBClusterParameterGroupNotFoundFault of
Types.db_cluster_parameter_group_not_found_fault
| `DBClusterQuotaExceededFault of Types.db_cluster_quota_exceeded_fault
| `DBClusterSnapshotNotFoundFault of
Types.db_cluster_snapshot_not_found_fault
| `DBSubnetGroupNotFoundFault of Types.db_subnet_group_not_found_fault
| `InsufficientDBClusterCapacityFault of
Types.insufficient_db_cluster_capacity_fault
| `InsufficientStorageClusterCapacityFault of
Types.insufficient_storage_cluster_capacity_fault
| `InvalidDBClusterSnapshotStateFault of
Types.invalid_db_cluster_snapshot_state_fault
| `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault
| `InvalidDBSnapshotStateFault of Types.invalid_db_snapshot_state_fault
| `InvalidRestoreFault of Types.invalid_restore_fault
| `InvalidSubnet of Types.invalid_subnet
| `InvalidVPCNetworkStateFault of Types.invalid_vpc_network_state_fault
| `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault
| `NetworkTypeNotSupportedFault of Types.network_type_not_supported_fault
| `OptionGroupNotFoundFault of Types.option_group_not_found_fault
| `StorageQuotaExceededFault of Types.storage_quota_exceeded_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.restore_db_cluster_to_point_in_time_message ->
(Types.restore_db_cluster_to_point_in_time_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DBClusterAlreadyExistsFault of Types.db_cluster_already_exists_fault
| `DBClusterNotFoundFault of Types.db_cluster_not_found_fault
| `DBClusterParameterGroupNotFoundFault of
Types.db_cluster_parameter_group_not_found_fault
| `DBClusterQuotaExceededFault of Types.db_cluster_quota_exceeded_fault
| `DBClusterSnapshotNotFoundFault of
Types.db_cluster_snapshot_not_found_fault
| `DBSubnetGroupNotFoundFault of Types.db_subnet_group_not_found_fault
| `InsufficientDBClusterCapacityFault of
Types.insufficient_db_cluster_capacity_fault
| `InsufficientStorageClusterCapacityFault of
Types.insufficient_storage_cluster_capacity_fault
| `InvalidDBClusterSnapshotStateFault of
Types.invalid_db_cluster_snapshot_state_fault
| `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault
| `InvalidDBSnapshotStateFault of Types.invalid_db_snapshot_state_fault
| `InvalidRestoreFault of Types.invalid_restore_fault
| `InvalidSubnet of Types.invalid_subnet
| `InvalidVPCNetworkStateFault of Types.invalid_vpc_network_state_fault
| `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault
| `NetworkTypeNotSupportedFault of Types.network_type_not_supported_fault
| `OptionGroupNotFoundFault of Types.option_group_not_found_fault
| `StorageQuotaExceededFault of Types.storage_quota_exceeded_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result