// Creates a new DB cluster from a DB snapshot or DB cluster snapshot. This action
// only applies to Aurora DB clusters. 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. 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
// RestoreDBClusterFromSnapshot action has completed and the DB cluster is
// available. For more information on Amazon Aurora, see  What Is Amazon Aurora?
// (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html)
// in the Amazon Aurora User Guide. This action only applies to Aurora DB clusters.
Creates a new DB cluster from a DB snapshot or DB cluster snapshot. This action
only applies to Aurora DB clusters. 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. 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
RestoreDBClusterFromSnapshot action has completed and the DB cluster is
available. For more information on Amazon Aurora, see  What Is Amazon Aurora.

in the Amazon Aurora User Guide. This action only applies to Aurora DB clusters.
// Creates a new DB cluster from a DB snapshot or DB cluster snapshot . This action // only applies to Aurora DB clusters . 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 . 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 // RestoreDBClusterFromSnapshot action has completed and the DB cluster is // available . For more information on Amazon Aurora see What Is Amazon Aurora? // ( https : // docs . aws . amazon . com / AmazonRDS / latest / AuroraUserGuide / CHAP_AuroraOverview . html ) // in the Amazon Aurora User Guide . This action only applies to Aurora DB clusters .
func (c *Client) RestoreDBClusterFromSnapshot(ctx context.Context, params *RestoreDBClusterFromSnapshotInput, optFns ...func(*Options)) (*RestoreDBClusterFromSnapshotOutput, error) {
	if params == nil {
		params = &RestoreDBClusterFromSnapshotInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "RestoreDBClusterFromSnapshot", params, optFns, c.addOperationRestoreDBClusterFromSnapshotMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*RestoreDBClusterFromSnapshotOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) RestoreDBClusterFromSnapshot ( ctx context . Context , params * RestoreDBClusterFromSnapshotInput , optFns ... func ( * Options ) ) ( * RestoreDBClusterFromSnapshotOutput , error ) { if params == nil { params = & RestoreDBClusterFromSnapshotInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , c . addOperationRestoreDBClusterFromSnapshotMiddlewares ) if err != nil { return nil , err } out := result . ( * RestoreDBClusterFromSnapshotOutput ) out . ResultMetadata = metadata return out , nil }
Creates a new DB cluster from a DB snapshot or DB cluster snapshot.
Creates a new DB cluster from a DB snapshot or DB cluster snapshot .