// Restores 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.
Restores 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.
// Restores 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 .
func (c *Client) RestoreDBClusterToPointInTime(ctx context.Context, params *RestoreDBClusterToPointInTimeInput, optFns ...func(*Options)) (*RestoreDBClusterToPointInTimeOutput, error) {
	if params == nil {
		params = &RestoreDBClusterToPointInTimeInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "RestoreDBClusterToPointInTime", params, optFns, c.addOperationRestoreDBClusterToPointInTimeMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*RestoreDBClusterToPointInTimeOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) RestoreDBClusterToPointInTime ( ctx context . Context , params * RestoreDBClusterToPointInTimeInput , optFns ... func ( * Options ) ) ( * RestoreDBClusterToPointInTimeOutput , error ) { if params == nil { params = & RestoreDBClusterToPointInTimeInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , c . addOperationRestoreDBClusterToPointInTimeMiddlewares ) if err != nil { return nil , err } out := result . ( * RestoreDBClusterToPointInTimeOutput ) out . ResultMetadata = metadata return out , nil }
Restores a DB cluster to an arbitrary point in time.
Restores a DB cluster to an arbitrary point in time .