Module Smaws_Client_RDS.RestoreDBClusterFromSnapshot

Creates a new DB cluster from a DB snapshot or DB cluster snapshot.

The target DB cluster is created from the source snapshot with a default configuration. If you don't specify a security group, the new DB cluster is associated with the default security group.

You can use the EnableVPCNetworking and EnableInternetAccessGateway parameters together to restore an Aurora PostgreSQL cluster without VPC networking and with internet-based connectivity. These two parameters must always be specified together. Set EnableVPCNetworking to false to disable the VPC network interface (ENI) for the cluster. EnableInternetAccessGateway enables internet-based connectivity through an internet access gateway. IAM database authentication is required and must be enabled using EnableIAMDatabaseAuthentication. Once the cluster is restored, you need to modify the DB cluster to update MasterUserAuthenticationType to iam-db-auth.

This operation only restores the DB cluster, not the DB instances for that DB cluster. You must invoke the CreateDBInstance operation 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 RestoreDBClusterFromSnapshot operation has completed and the DB cluster is available.

For more information on Amazon Aurora DB clusters, see What is Amazon Aurora? in the Amazon Aurora User Guide.

For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments in the Amazon RDS User Guide.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `DBClusterAlreadyExistsFault of Types.db_cluster_already_exists_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 | `DBSnapshotNotFoundFault of Types.db_snapshot_not_found_fault | `DBSubnetGroupDoesNotCoverEnoughAZs of Types.db_subnet_group_does_not_cover_enough_a_zs | `DBSubnetGroupNotFoundFault of Types.db_subnet_group_not_found_fault | `DomainNotFoundFault of Types.domain_not_found_fault | `InsufficientDBClusterCapacityFault of Types.insufficient_db_cluster_capacity_fault | `InsufficientDBInstanceCapacityFault of Types.insufficient_db_instance_capacity_fault | `InsufficientStorageClusterCapacityFault of Types.insufficient_storage_cluster_capacity_fault | `InvalidDBClusterSnapshotStateFault of Types.invalid_db_cluster_snapshot_state_fault | `InvalidDBInstanceStateFault of Types.invalid_db_instance_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 | `NetworkTypeNotSupported of Types.network_type_not_supported | `OptionGroupNotFoundFault of Types.option_group_not_found_fault | `StorageQuotaExceededFault of Types.storage_quota_exceeded_fault | `StorageTypeNotSupportedFault of Types.storage_type_not_supported_fault | `VpcEncryptionControlViolationException of Types.vpc_encryption_control_violation_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.restore_db_cluster_from_snapshot_message -> (Types.restore_db_cluster_from_snapshot_result, [> Smaws_Lib.Protocols.AwsQuery.error | `DBClusterAlreadyExistsFault of Types.db_cluster_already_exists_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 | `DBSnapshotNotFoundFault of Types.db_snapshot_not_found_fault | `DBSubnetGroupDoesNotCoverEnoughAZs of Types.db_subnet_group_does_not_cover_enough_a_zs | `DBSubnetGroupNotFoundFault of Types.db_subnet_group_not_found_fault | `DomainNotFoundFault of Types.domain_not_found_fault | `InsufficientDBClusterCapacityFault of Types.insufficient_db_cluster_capacity_fault | `InsufficientDBInstanceCapacityFault of Types.insufficient_db_instance_capacity_fault | `InsufficientStorageClusterCapacityFault of Types.insufficient_storage_cluster_capacity_fault | `InvalidDBClusterSnapshotStateFault of Types.invalid_db_cluster_snapshot_state_fault | `InvalidDBInstanceStateFault of Types.invalid_db_instance_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 | `NetworkTypeNotSupported of Types.network_type_not_supported | `OptionGroupNotFoundFault of Types.option_group_not_found_fault | `StorageQuotaExceededFault of Types.storage_quota_exceeded_fault | `StorageTypeNotSupportedFault of Types.storage_type_not_supported_fault | `VpcEncryptionControlViolationException of Types.vpc_encryption_control_violation_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.restore_db_cluster_from_snapshot_message -> (Types.restore_db_cluster_from_snapshot_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsQuery.error | `DBClusterAlreadyExistsFault of Types.db_cluster_already_exists_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 | `DBSnapshotNotFoundFault of Types.db_snapshot_not_found_fault | `DBSubnetGroupDoesNotCoverEnoughAZs of Types.db_subnet_group_does_not_cover_enough_a_zs | `DBSubnetGroupNotFoundFault of Types.db_subnet_group_not_found_fault | `DomainNotFoundFault of Types.domain_not_found_fault | `InsufficientDBClusterCapacityFault of Types.insufficient_db_cluster_capacity_fault | `InsufficientDBInstanceCapacityFault of Types.insufficient_db_instance_capacity_fault | `InsufficientStorageClusterCapacityFault of Types.insufficient_storage_cluster_capacity_fault | `InvalidDBClusterSnapshotStateFault of Types.invalid_db_cluster_snapshot_state_fault | `InvalidDBInstanceStateFault of Types.invalid_db_instance_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 | `NetworkTypeNotSupported of Types.network_type_not_supported | `OptionGroupNotFoundFault of Types.option_group_not_found_fault | `StorageQuotaExceededFault of Types.storage_quota_exceeded_fault | `StorageTypeNotSupportedFault of Types.storage_type_not_supported_fault | `VpcEncryptionControlViolationException of Types.vpc_encryption_control_violation_exception ] * Smaws_Lib.Response.metadata) Stdlib.result