// Restores a cluster to an arbitrary point in time. Users can restore to any point
// in time before LatestRestorableTime for up to BackupRetentionPeriod days. The
// target cluster is created from the source cluster with the same configuration as
// the original cluster, except that the new cluster is created with the default
// security group.
Restores a cluster to an arbitrary point in time. Users can restore to any point
in time before LatestRestorableTime for up to BackupRetentionPeriod days. The
target cluster is created from the source cluster with the same configuration as
the original cluster, except that the new cluster is created with the default
security group.
// Restores a cluster to an arbitrary point in time . Users can restore to any point // in time before LatestRestorableTime for up to BackupRetentionPeriod days . The // target cluster is created from the source cluster with the same configuration as // the original cluster except that the new cluster is created with the default // security group .
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 cluster to an arbitrary point in time.
Restores a cluster to an arbitrary point in time .